← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1431685] [NEW] juju nova-compute charm not enabling live-migration via tcp with auth set to none

 

Public bug reported:

nova.cfg >>
nova-compute:
    openstack-origin: cloud:trusty-juno
    enable-resize: true
    enable-live-migration: true
    migration-auth-type: "none"
    sysctl: '{ kernel.pid_max : 4194303 }'
    libvirt-image-backend: rbd

libvirtd.conf >>
#listen_tcp = 1
#auth_tcp = "sasl"

After running live-migration command, the log from the original host of
a given vm:

/var/log/nova/nova-compute.log >>
2015-03-13 00:30:01.062 1796 ERROR nova.virt.libvirt.driver [-] [instance: 92e1fb07-1bbe-4209-a98d-bae5e1d6a36c] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://maas-pute-04/system: unable to connect to server at 'maas-pute-04:16509': Connection refused

After changing the config on the /var/lib/juju/agents/unit-nova-
compute-1/charm/templates/libvirtd.conf to reflect the intended config
(tcp_listen = 1 and auth_tcp = "none") and restarting the service, it
throws a config-changed hook error. After running the config-changed
hook, it works and I am able to live-migrate between the nodes with the
correct config.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1431685

Title:
  juju nova-compute charm not enabling live-migration via tcp with auth
  set to none

Status in OpenStack Compute (Nova):
  New

Bug description:
  nova.cfg >>
  nova-compute:
      openstack-origin: cloud:trusty-juno
      enable-resize: true
      enable-live-migration: true
      migration-auth-type: "none"
      sysctl: '{ kernel.pid_max : 4194303 }'
      libvirt-image-backend: rbd

  libvirtd.conf >>
  #listen_tcp = 1
  #auth_tcp = "sasl"

  After running live-migration command, the log from the original host
  of a given vm:

  /var/log/nova/nova-compute.log >>
  2015-03-13 00:30:01.062 1796 ERROR nova.virt.libvirt.driver [-] [instance: 92e1fb07-1bbe-4209-a98d-bae5e1d6a36c] Live Migration failure: operation failed: Failed to connect to remote libvirt URI qemu+tcp://maas-pute-04/system: unable to connect to server at 'maas-pute-04:16509': Connection refused

  After changing the config on the /var/lib/juju/agents/unit-nova-
  compute-1/charm/templates/libvirtd.conf to reflect the intended config
  (tcp_listen = 1 and auth_tcp = "none") and restarting the service, it
  throws a config-changed hook error. After running the config-changed
  hook, it works and I am able to live-migrate between the nodes with
  the correct config.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1431685/+subscriptions


Follow ups

References