live migration fails if domain name is incorrect

Bug #1758034 reported by Oliver Walsh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
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).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/pike)

Related fix proposed to branch: stable/pike
Review: https://review.openstack.org/555265

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to tripleo-heat-templates (stable/ocata)

Related fix proposed to branch: stable/ocata
Review: https://review.openstack.org/555273

Oliver Walsh (owalsh)
Changed in tripleo:
importance: Undecided → High
assignee: nobody → Oliver Walsh (owalsh)
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

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

Changed in tripleo:
status: New → In Progress
Oliver Walsh (owalsh)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/ocata)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/pike)

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

Revision history for this message
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)
tags: added: queens-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/555313

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/555317

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/555319

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/queens)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/pike)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/ocata)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/563650

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on tripleo-heat-templates (stable/newton)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/queens)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/pike)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/ocata)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (stable/newton)

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
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 7.0.13

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 6.2.14

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.3

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 9.0.0.0b3

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

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/tripleo-heat-templates 5.3.13

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.