← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1282709] [NEW] Instance names always include the first uuid in cell environment when creating multiple instances

 

Public bug reported:

When launching multiple instances using nova api in a cell environment
(parent-child setup) the display_name always have the uuid of the first
instance.

Example:
1) instance_name-<uuid-1>-<uuid-1>
2) instance_name-<uuid-1>-<uuid-2>
3) instance_name-<uuid-1>-<uuid-3>
4) instance_name-<uuid-1>-<uuid-4>

Expected:
1) instance_name-<uuid-1>
2) instance_name-<uuid-2>
3) instance_name-<uuid-3>
4) instance_name-<uuid-4>

How to reproduce:
* Have cell environment (default devstack with cells enabled is enough)
* nova boot --image <image_uuid> --flavor <flavor_name> --num-instances 4  instance_name

** Affects: nova
     Importance: Undecided
     Assignee: Belmiro Moreira (moreira-belmiro-email-lists)
         Status: New


** Tags: cells

** Description changed:

- When launching multiple instances using nova api in a cell environment (parent-child setup) 
+ When launching multiple instances using nova api in a cell environment (parent-child setup)
  the hostnames always have the uuid of the first instance.
  
  Example:
  1) instance_name-<uuid-1>-<uuid-1>
- 
  2) instance_name-<uuid-1>-<uuid-2>
- 
  3) instance_name-<uuid-1>-<uuid-3>
- 
  4) instance_name-<uuid-1>-<uuid-4>
  
  Expected:
  1) instance_name-<uuid-1>
- 
  2) instance_name-<uuid-2>
- 
  3) instance_name-<uuid-3>
- 
  4) instance_name-<uuid-4>
  
  How to reproduce:
- 1) Have cell environment (default devstack with cells enabled is enough)
- 2) nova boot --image <image_uuid> --flavor <flavor_name> --num-instances 4  instance_name
+ * Have cell environment (default devstack with cells enabled is enough)
+ * nova boot --image <image_uuid> --flavor <flavor_name> --num-instances 4  instance_name

** Description changed:

- When launching multiple instances using nova api in a cell environment (parent-child setup)
- the hostnames always have the uuid of the first instance.
+ When launching multiple instances using nova api in a cell environment
+ (parent-child setup) the display_name always have the uuid of the first
+ instance.
  
  Example:
  1) instance_name-<uuid-1>-<uuid-1>
  2) instance_name-<uuid-1>-<uuid-2>
  3) instance_name-<uuid-1>-<uuid-3>
  4) instance_name-<uuid-1>-<uuid-4>
  
  Expected:
  1) instance_name-<uuid-1>
  2) instance_name-<uuid-2>
  3) instance_name-<uuid-3>
  4) instance_name-<uuid-4>
  
  How to reproduce:
  * Have cell environment (default devstack with cells enabled is enough)
  * nova boot --image <image_uuid> --flavor <flavor_name> --num-instances 4  instance_name

** Changed in: nova
     Assignee: (unassigned) => Belmiro Moreira (moreira-belmiro-email-lists)

-- 
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/1282709

Title:
  Instance names always include the first uuid in cell environment when
  creating multiple instances

Status in OpenStack Compute (Nova):
  New

Bug description:
  When launching multiple instances using nova api in a cell environment
  (parent-child setup) the display_name always have the uuid of the
  first instance.

  Example:
  1) instance_name-<uuid-1>-<uuid-1>
  2) instance_name-<uuid-1>-<uuid-2>
  3) instance_name-<uuid-1>-<uuid-3>
  4) instance_name-<uuid-1>-<uuid-4>

  Expected:
  1) instance_name-<uuid-1>
  2) instance_name-<uuid-2>
  3) instance_name-<uuid-3>
  4) instance_name-<uuid-4>

  How to reproduce:
  * Have cell environment (default devstack with cells enabled is enough)
  * nova boot --image <image_uuid> --flavor <flavor_name> --num-instances 4  instance_name

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1282709/+subscriptions


Follow ups

References