yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #65687
[Bug 1702935] [NEW] Unshelving an offloaded server does not restrict to the original cell
Public bug reported:
This was mentioned in bug 1702932 but is a separate issue.
When we create a server it gets put in a specific cell and it's
instance_mappings record in the API DB is set to map that instance to
that cell.
If we migrate (cold, resize or live) the instance, the conductor task
manager restrict the instance move operation to the same cell:
https://github.com/openstack/nova/blob/56cd608d3a199dcb02ac2ae071ff3057241259da/nova/conductor/tasks/migrate.py#L63-L66
However, when we unshelve an offloaded server, there is nothing
restricting the scheduler from picking a host in another cell:
https://github.com/openstack/nova/blob/56cd608d3a199dcb02ac2ae071ff3057241259da/nova/conductor/manager.py#L673-L700
** Affects: nova
Importance: High
Status: Confirmed
** Tags: cells shelve
** Changed in: nova
Status: New => Confirmed
** Changed in: nova
Importance: Undecided => High
--
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/1702935
Title:
Unshelving an offloaded server does not restrict to the original cell
Status in OpenStack Compute (nova):
Confirmed
Bug description:
This was mentioned in bug 1702932 but is a separate issue.
When we create a server it gets put in a specific cell and it's
instance_mappings record in the API DB is set to map that instance to
that cell.
If we migrate (cold, resize or live) the instance, the conductor task
manager restrict the instance move operation to the same cell:
https://github.com/openstack/nova/blob/56cd608d3a199dcb02ac2ae071ff3057241259da/nova/conductor/tasks/migrate.py#L63-L66
However, when we unshelve an offloaded server, there is nothing
restricting the scheduler from picking a host in another cell:
https://github.com/openstack/nova/blob/56cd608d3a199dcb02ac2ae071ff3057241259da/nova/conductor/manager.py#L673-L700
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1702935/+subscriptions
Follow ups