Project

General

Profile

Bug #2562

Hosts created with wrong listen address

Added by Ryan Davies over 6 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
VM management
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Setting the listen address for new domains to 0 is breaking libvirt's API standard, http://libvirt.org/formatdomain.html#elementsGraphics

Changed
lib/foreman/model/libvirt.rb#console:
vm.update_display(:password => password, :listen => '0')
to
vm.update_display(:password => password, :listen => '0.0.0.0')

The websocket still works (and starts working for existing systems), and virt-manager starts working again (For newly defined machines)

See pull request https://github.com/theforeman/foreman/pull/626

Associated revisions

Revision 710dfa86 (diff)
Added by Ryan Davies over 6 years ago

fixes #2562 libvirt domain listen address, add libvirt_default_console_address setting

Revision c8151d16 (diff)
Added by Ryan Davies over 6 years ago

fixes #2562 libvirt domain listen address, add libvirt_default_console_address setting
(cherry picked from commit 710dfa86835e7b8b430cf59646a7888746c3b0bc)

History

#1 Updated by Dominic Cleal over 6 years ago

  • Status changed from New to Ready For Testing
  • Priority changed from High to Normal

#2 Updated by Ryan Davies over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF