Unable to migrate instances after multi-node install

Bug #1925707 reported by michael bales on 2021-04-23
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Billy Olsen

Bug Description

After installing Microstack multi-node using the instructions found here: https://ubuntu.com/openstack/install#multi-node-deployment
on Ubuntu 20.04.2 LTS it was unable to migrate instances between nodes. No error appeared in the GUI and logs showed the following error on the sending node:
openstack2 libvirtd[820]: operation failed: Failed to connect to remote libvirt URI qemu+tcp://openstack1/system: unable to connect to server at 'openstack1:16509': Connection refused
Verified that the ports were not open, though the conf looked correct in /var/snap/microstack/common/libvirt/libvirtd.conf. FOund that the conf file is no longer a valid way to enable listening / port for libvirtd: https://libvirt.org/manpages/libvirtd.html

Resolution is to copy the following files to /etc/systemd/system/:

edit the libvirtd.service lines to correct the service path, and then enable the socket / reload the systemctl daemon. Once thats done migrating instances could be done via GUI or CLI successfully.

Changed in microstack:
status: New → Triaged
importance: Undecided → High
michael bales (mtbales) on 2021-04-23
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to microstack (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/x/microstack/+/788354

Changed in microstack:
status: Triaged → In Progress
Changed in microstack:
assignee: nobody → Billy Olsen (billy-olsen)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to microstack (master)

Reviewed: https://review.opendev.org/c/x/microstack/+/788354
Committed: https://opendev.org/x/microstack/commit/6bb7c63cd180ff311acb5c5de90236362dc7bece
Submitter: "Zuul (22348)"
Branch: master

commit 6bb7c63cd180ff311acb5c5de90236362dc7bece
Author: Billy Olsen <email address hidden>
Date: Tue Apr 27 12:39:12 2021 -0700

    Enable libvirt daemon to listen for remote connections

    Enable the libvirt daemon to listen for remote connections. This
    enables the live migration of instances between nodes in a microstack
    cluster. Note, this is using TCP based connections and not secured
    TLS based connections. That work should be done as part of enabling
    TLS everywhere.

    Closes-Bug: #1925707
    Change-Id: If00d825c52c2d0dd12bc652ba26f67160dc7a6c5

Changed in microstack:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers