Project

General

Profile

Actions

Bug #2562

closed

Hosts created with wrong listen address

Added by Ryan Davies almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
VM management
Target version:
Difficulty:
Triaged:
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

Actions

Also available in: Atom PDF