live migration fails if domain name is incorrect

Bug #1758034 reported by Oliver Walsh on 2018-03-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
High
Oliver Walsh

Bug Description

As live migration is now tunnelled over ssh (by default), the fqdn of the target (e.g overcloud-novacompute-0.example.com) must exist in /etc/hosts and resolve to the internal api network address.

If CloudDomain has not been set correctly on initial deployment (to match DNS/DHCP etc...) then the /etc/hosts entries will default to localdomain and live-migration will fail.

However altering ClouldDomain after initial deployment is known to cause issues (e.g with galera).

Oliver Walsh (owalsh) on 2018-03-22
Changed in tripleo:
importance: Undecided → High
assignee: nobody → Oliver Walsh (owalsh)
milestone: none → rocky-1

Fix proposed to branch: master
Review: https://review.openstack.org/555278

Changed in tripleo:
status: New → In Progress
Oliver Walsh (owalsh) on 2018-03-22
description: updated

Change abandoned by Oliver Walsh (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/555273
Reason: Shouldn't be required with https://review.openstack.org/555278

Change abandoned by Oliver Walsh (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/555265
Reason: Shouldn't be required with https://review.openstack.org/555278

Oliver Walsh (owalsh) wrote :

https://review.openstack.org/555278 removes the current hostname/domainname from the equation by explicitly setting the nova host param to the same value that we set in /etc/hosts

Oliver Walsh (owalsh) on 2018-03-22
tags: added: queens-backport-potential

Change abandoned by Oliver Walsh (<email address hidden>) on branch: stable/queens
Review: https://review.openstack.org/555313
Reason: abandon for now

Change abandoned by Oliver Walsh (<email address hidden>) on branch: stable/pike
Review: https://review.openstack.org/555317
Reason: abandon for now

Change abandoned by Oliver Walsh (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/555319
Reason: abandon for now

Changed in tripleo:
milestone: rocky-1 → rocky-2

Change abandoned by Athlan-Guyot sofer (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/562517
Reason: in favor of https://review.openstack.org/#/c/563650/2

Reviewed: https://review.openstack.org/555278
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=31e4c0194dd1d6e049a728c876347df93ce89908
Submitter: Zuul
Branch: master

commit 31e4c0194dd1d6e049a728c876347df93ce89908
Author: Oliver Walsh <email address hidden>
Date: Thu Mar 22 12:09:13 2018 +0000

    Explicitly set nova/neutron/ceilometer host to expected fqdn

    This avoids any issues where the host/domainname is altered by a DHCP lease.
    Also the puppet/facter fqdn can be unpredictable when there are multiple NICs.

    Change-Id: I7ed52727d1515ee7f191a82b0b1d645a9d597cd3
    Closes-bug: 1758034

Changed in tripleo:
status: In Progress → Fix Released

Reviewed: https://review.openstack.org/555313
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=3381d59f0a6bafac47c98ed8754ee4170e749354
Submitter: Zuul
Branch: stable/queens

commit 3381d59f0a6bafac47c98ed8754ee4170e749354
Author: Oliver Walsh <email address hidden>
Date: Thu Mar 22 12:09:13 2018 +0000

    Explicitly set nova/neutron/ceilometer host to expected fqdn

    This avoids any issues where the host/domainname is altered by a DHCP lease.
    Also the puppet/facter fqdn can be unpredictable when there are multiple NICs.

    Change-Id: I7ed52727d1515ee7f191a82b0b1d645a9d597cd3
    Closes-bug: 1758034
    (cherry picked from commit 31e4c0194dd1d6e049a728c876347df93ce89908)

tags: added: in-stable-queens

Reviewed: https://review.openstack.org/555317
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=c48ae0b42f06dacd8615ef52f718674ec95c12af
Submitter: Zuul
Branch: stable/pike

commit c48ae0b42f06dacd8615ef52f718674ec95c12af
Author: Oliver Walsh <email address hidden>
Date: Thu Mar 22 12:09:13 2018 +0000

    Explicitly set nova/neutron/ceilometer host to expected fqdn

    This avoids any issues where the host/domainname is altered by a DHCP lease.
    Also the puppet/facter fqdn can be unpredictable when there are multiple NICs.

    Change-Id: I7ed52727d1515ee7f191a82b0b1d645a9d597cd3
    Closes-bug: 1758034
    (cherry picked from commit 31e4c0194dd1d6e049a728c876347df93ce89908)
    (cherry picked from commit 3381d59f0a6bafac47c98ed8754ee4170e749354)

tags: added: in-stable-pike

Reviewed: https://review.openstack.org/555319
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=7df20fd5738e9c00a4daf7e4f633c634f3b81f69
Submitter: Zuul
Branch: stable/ocata

commit 7df20fd5738e9c00a4daf7e4f633c634f3b81f69
Author: Oliver Walsh <email address hidden>
Date: Thu Mar 22 12:09:13 2018 +0000

    Explicitly set nova/neutron/ceilometer host to expected fqdn

    This avoids any issues where the host/domainname is altered by a DHCP lease.
    Also the puppet/facter fqdn can be unpredictable when there are multiple NICs.

    Change-Id: I7ed52727d1515ee7f191a82b0b1d645a9d597cd3
    Closes-bug: 1758034
    (cherry picked from commit 31e4c0194dd1d6e049a728c876347df93ce89908)
    (cherry picked from commit 3381d59f0a6bafac47c98ed8754ee4170e749354)
    (cherry picked from commit c48ae0b42f06dacd8615ef52f718674ec95c12af)

tags: added: in-stable-ocata

Reviewed: https://review.openstack.org/563650
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=fccf6d346fcc87ccbff0a733473f3ecf7c1e3aea
Submitter: Zuul
Branch: stable/newton

commit fccf6d346fcc87ccbff0a733473f3ecf7c1e3aea
Author: Oliver Walsh <email address hidden>
Date: Thu Mar 22 12:09:13 2018 +0000

    Explicitly set nova/neutron/ceilometer host to expected fqdn

    This avoids any issues where the host/domainname is altered by a DHCP lease.
    Also the puppet/facter fqdn can be unpredictable when there are multiple NICs.

    Change-Id: I7ed52727d1515ee7f191a82b0b1d645a9d597cd3
    Closes-bug: 1758034
    (cherry picked from commit 31e4c0194dd1d6e049a728c876347df93ce89908)
    (cherry picked from commit 3381d59f0a6bafac47c98ed8754ee4170e749354)
    (cherry picked from commit c48ae0b42f06dacd8615ef52f718674ec95c12af)
    (cherry picked from commit 7df20fd5738e9c00a4daf7e4f633c634f3b81f69)

tags: added: in-stable-newton

This issue was fixed in the openstack/tripleo-heat-templates 7.0.13 release.

This issue was fixed in the openstack/tripleo-heat-templates 6.2.14 release.

This issue was fixed in the openstack/tripleo-heat-templates 8.0.3 release.

This issue was fixed in the openstack/tripleo-heat-templates 9.0.0.0b3 development milestone.

This issue was fixed in the openstack/tripleo-heat-templates 5.3.13 release.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers