Public bug reported:

When creating multiple instances with a single request the instance name has 
the format defined in the "multi_instance_display_name_template" option.
By default: multi_instance_display_name_template=%(name)s-%(count)d
When booting two instances (num-instances=2) with the name=test is expected to 
have the following instance names:
test-1
test-2

However, if using cells (only considering 2 levels) we have the following names:
test-1-1
test-1-2

Increasing the number of cell levels adds more hops in the instance name.
Changing the "multi_instance_display_name_template" to uuids has the same 
problem.
For example: (consider <uuid> a random uuid)
test-<uuid1>-<uuid1>
test-<uuid1>-<uuid2>

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


** Tags: cells

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

** Description changed:

- When creating multiple instances with a single request the instance name has 
the
- format defined in the "multi_instance_display_name_template" option.
+ When creating multiple instances with a single request the instance name has 
the format defined in the "multi_instance_display_name_template" option.
  By default: multi_instance_display_name_template=%(name)s-%(count)d
- When booting two instances (num-instances=2) with the name=test is expected 
to have
- the following instance names:
+ When booting two instances (num-instances=2) with the name=test is expected 
to have the following instance names:
  test-1
  test-2
  
  However, if using cells (only considering 2 levels) we have the following 
names:
  test-1-1
  test-1-2
  
  Increasing the number of cell levels adds more hops in the instance name.
  Changing the "multi_instance_display_name_template" to uuids has the same 
problem.
  For example: (consider <uuid> a random uuid)
  test-<uuid1>-<uuid1>
  test-<uuid1>-<uuid2>

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

Title:
  Creating multiple instances with a single request when using cells
  creates wrong instance names

Status in OpenStack Compute (nova):
  New

Bug description:
  When creating multiple instances with a single request the instance name has 
the format defined in the "multi_instance_display_name_template" option.
  By default: multi_instance_display_name_template=%(name)s-%(count)d
  When booting two instances (num-instances=2) with the name=test is expected 
to have the following instance names:
  test-1
  test-2

  However, if using cells (only considering 2 levels) we have the following 
names:
  test-1-1
  test-1-2

  Increasing the number of cell levels adds more hops in the instance name.
  Changing the "multi_instance_display_name_template" to uuids has the same 
problem.
  For example: (consider <uuid> a random uuid)
  test-<uuid1>-<uuid1>
  test-<uuid1>-<uuid2>

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to