← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1715533] Re: 'nova-manage cell_v2 map_instances' return argument error when --max-count option is used

 

** Changed in: nova
   Importance: Undecided => High

** Also affects: nova/ocata
   Importance: Undecided
       Status: New

** Also affects: nova/newton
   Importance: Undecided
       Status: New

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Changed in: nova/newton
       Status: New => Confirmed

** Changed in: nova/ocata
       Status: New => Confirmed

** Changed in: nova/pike
       Status: New => Confirmed

** Changed in: nova/ocata
   Importance: Undecided => High

** Changed in: nova/pike
   Importance: Undecided => High

** Changed in: nova
     Assignee: Matt Riedemann (mriedem) => Eunjin Baek (ej218-baek)

** Changed in: nova/newton
   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/1715533

Title:
  'nova-manage cell_v2 map_instances' return argument error when --max-
  count option is used

Status in OpenStack Compute (nova):
  In Progress
Status in OpenStack Compute (nova) newton series:
  Confirmed
Status in OpenStack Compute (nova) ocata series:
  Confirmed
Status in OpenStack Compute (nova) pike series:
  Confirmed

Bug description:
  [Test step]
  1. Create cell1
  2. Commit a command "nova-manage cell_v2 map_instances --cell_uuid <cell1 uuid> --max-count <max_conut>",
  error is occured because of 'max-count' argument like below.

  [root@aosc cmd(keystone_admin)]# nova-manage cell_v2 list_cells
  +-------+--------------------------------------+
  |  Name |                 UUID                 |
  +-------+--------------------------------------+
  | cell0 | 00000000-0000-0000-0000-000000000000 |
  | cell1 | b0fd1642-2836-4de7-9d2c-2b44d890bd89 |
  +-------+--------------------------------------+

  [root@osc ~(keystone_admin)]#  nova-manage cell_v2 map_instances --cell_uuid b0fd1642-2836-4de7-9d2c-2b44d890bd89 --max-count 2000
  An error has occurred:
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/nova/cmd/manage.py", line 1609, in main
      ret = fn(*fn_args, **fn_kwargs)
  TypeError: map_instances() got an unexpected keyword argument 'max-count'

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


References