14.04 LiveMigration configuration from UI does not work on SM provisioned LiveM cluster

Bug #1381894 reported by Vinod Nair
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
High
Thilak Raj
R1.1
Won't Fix
High
Thilak Raj
R2.0
Fix Committed
High
Thilak Raj
R2.1
Fix Committed
Critical
Thilak Raj

Bug Description

Livemigration doesn't work from UI on a Server Manager provisioned cluster,
The UI has the hostnames as FQDN where as nova has the hosts by the shortname.

root@cmbu-gravity-06:/store# nova-manage service list
Binary Host Zone Status State Updated_At
nova-scheduler cmbu-gravity-06 internal enabled :-) 2014-10-14 02:27:33
nova-console cmbu-gravity-06 internal enabled :-) 2014-10-14 02:27:29
nova-consoleauth cmbu-gravity-06 internal enabled :-) 2014-10-14 02:27:27
nova-conductor cmbu-gravity-06 internal enabled :-) 2014-10-14 02:27:31
nova-compute cmbu-gravity-06 nova enabled :-) 2014-10-14 02:27:35
nova-compute cmbu-starwars-02 nova enabled :-) 2014-10-14 02:27:29
nova-compute cmbu-starwars-01 nova enabled :-) 2014-10-14 02:27:30

root@cmbu-gravity-06:/store# nova live-migration a4b0102d-7afd-4cd3-9e45-ce0bc30d4a96 cmbu-starwars-02.englab.juniper.net
ERROR: Compute service of cmbu-starwars-02.englab.juniper.net is unavailable at this time. (HTTP 400) (Request-ID: req-d69821c3-6a06-44d2-a91d-e8d12ff14f36)

root@cmbu-gravity-06:/store# nova live-migration a4b0102d-7afd-4cd3-9e45-ce0bc30d4a96 cmbu-starwars-02 < this is ok

Vinod Nair (vinodnair)
Changed in juniperopenstack:
milestone: none → r2.0-fcs
assignee: nobody → Dheeraj Gautam (dgautam)
importance: Undecided → High
tags: added: storage
Revision history for this message
Dheeraj Gautam (dgautam) wrote :

Re-assigning to Abhay as this is a issue of base compute configuration instead of storage configuration

Changed in juniperopenstack:
assignee: Dheeraj Gautam (dgautam) → Abhay Joshi (abhayj)
Revision history for this message
Abhay Joshi (abhayj) wrote :

Does this work with fab provisioning? If so, we need to debug for SM. If it's not working with fab too, then we have to get someone in contrail team to work on this. Thilak, please take a look.

Changed in juniperopenstack:
assignee: Abhay Joshi (abhayj) → Thilak Raj (tsurendra)
Revision history for this message
Thilak Raj (tsurendra) wrote :

Live migration fom UI doesnot work on SM provisioned Livem cluter

Closes-Bug: #1381894
Issue: Live migration through openstack UI works, when the host is not a
FQDN, i.e only hostname and doesnt have domain name with it.
Openstack-ui picks the list the from the hostname.

Fix: Populate only hostname and not FQDN in /etc/hosts/
Test: validated by provisioning machine through server manager and
live migrate a VM.

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/3960
Committed: http://github.org/Juniper/contrail-server-manager/commit/345d26929a259e612fe6f880ae1d4af0f78d66f7
Submitter: Zuul
Branch: master

commit 345d26929a259e612fe6f880ae1d4af0f78d66f7
Author: tsurendra <email address hidden>
Date: Tue Oct 21 11:27:15 2014 -0700

Live migration fom UI doesnot work on SM provisioned Livem cluter

Closes-Bug: #1381894
Issue: Live migration through openstack UI works, when the host is not a
FQDN, i.e only hostname and doesnt have domain name with it.
Openstack-ui picks the list the from the hostname.

Fix: Populate only hostname and not FQDN in /etc/hosts/
Test: validated by provisioning machine through server manager and
live migrate a VM.

Change-Id: Ic046ae38ad32f1bbc16b4ce315ebe90f5a2c4dff

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/5029
Committed: http://github.org/Juniper/contrail-server-manager/commit/86ad4ddb2feaf55f4419ddbd76b3bc10e36302f3
Submitter: Zuul
Branch: master

commit 86ad4ddb2feaf55f4419ddbd76b3bc10e36302f3
Author: tsurendra <email address hidden>
Date: Wed Nov 26 22:22:25 2014 -0800

Closes-Bug: #1381894
Issue: Live migration through openstack UI works, when the host is not a
FQDN, i.e only hostname and doesnt have domain name with it.
Openstack-ui picks the list the from the hostname.

Remove the fix for Centos.
As its not populating domain name properly.

Change-Id: Ic11584a0164582df15099e281d1f18f4822342ac

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/5133
Committed: http://github.org/Juniper/contrail-server-manager/commit/ccf681f19c8ba8fb8381725948e1cd6893d89c39
Submitter: Zuul
Branch: R2.0

commit ccf681f19c8ba8fb8381725948e1cd6893d89c39
Author: tsurendra <email address hidden>
Date: Wed Nov 26 22:22:25 2014 -0800

Closes-Bug: #1381894
Issue: Live migration through openstack UI works, when the host is not a
FQDN, i.e only hostname and doesnt have domain name with it.
Openstack-ui picks the list the from the hostname.

Remove the fix for Centos.
As its not populating domain name properly.

Change-Id: Ic11584a0164582df15099e281d1f18f4822342ac

Revision history for this message
Vinod Nair (vinodnair) wrote : Re: Livemigration fom UI doesnot work on SM provisioned Livem cluster

The issue is seen again in 2.10 , hence reopening

Changed in juniperopenstack:
milestone: r2.0-fcs → none
status: Fix Committed → New
status: New → Fix Committed
summary: - Livemigration fom UI doesnot work on SM provisioned Livem cluster
+ Livemigration from UI does not work on SM provisioned LiveM cluster
Revision history for this message
Michael Nishimoto (mnishimoto) wrote : Re: Livemigration from UI does not work on SM provisioned LiveM cluster

release note: [workaround] By changing the order of host names in /etc/hosts (put shorter name first), this issue can be worked around. This change should be done after provisioning everything in Server Manager. This workaround is not needed for Ubuntu 12.04 installs but is needed for Ubuntu 14.04 installs.

summary: - Livemigration from UI does not work on SM provisioned LiveM cluster
+ 14.04 Livemigration from UI does not work on SM provisioned LiveM
+ cluster
tags: added: releasenote
summary: - 14.04 Livemigration from UI does not work on SM provisioned LiveM
- cluster
+ 14.04 Livemigration configuration from UI does not work on SM
+ provisioned LiveM cluster
summary: - 14.04 Livemigration configuration from UI does not work on SM
+ 14.04 LiveMigration configuration from UI does not work on SM
provisioned LiveM cluster
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : R2.1

Review in progress for https://review.opencontrail.org/8197
Submitter: Thilak Raj (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/8197
Committed: http://github.org/Juniper/contrail-server-manager/commit/7ccdbaf0fa5eec1d74f1bd0811d96f6a70b977aa
Submitter: Zuul
Branch: R2.1

commit 7ccdbaf0fa5eec1d74f1bd0811d96f6a70b977aa
Author: tsurendra <email address hidden>
Date: Mon Mar 9 16:47:53 2015 -0700

Live migration fom UI doesnot work on SM provisioned Livem cluter

Closes-Bug: #1381894
Issue: Live migration through openstack UI works, when the host is not a
FQDN, i.e only hostname and doesnt have domain name with it.
Openstack-ui picks the list the from the hostname.

Fix: Populate only hostname and not FQDN in /etc/hosts/
Test: validated by provisioning machine through server manager and
live migrate a VM.

Change-Id: I7195c53f81c56aae2d262d35523b6679971ef1ca

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.