baymodel-update command not found

Bug #1497519 reported by vikas choudhary
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Magnum
Fix Released
Undecided
vikas choudhary

Bug Description

baymodel-update command is not there in python-client but internally code is there in magnum api and magnum conductor for baymodel-update command.

root@PRINHYLTPHP0400:/home/devstack/devstack# magnum help
usage: magnum [--version] [--debug] [--os-cache]
              [--os-region-name <region-name>]
              [--os-tenant-id <auth-tenant-id>]
              [--service-type <service-type>]
              [--endpoint-type <endpoint-type>]
              [--magnum-api-version <magnum-api-ver>]
              [--os-cacert <ca-certificate>] [--bypass-url <bypass-url>]
              [--os-auth-system <auth-system>] [--os-username <username>]
              [--os-password <password>] [--os-tenant-name <tenant-name>]
              [--os-token <token>] [--os-auth-url <auth-url>]
              <subcommand> ...

Command-line interface to the OpenStack Magnum API.

Positional arguments:
  <subcommand>
    bay-create Create a bay.
    bay-delete Delete specified bay.
    bay-list Print a list of available bays.
    bay-show Show details about the given bay.
    bay-update Update information about the given bay.
    baymodel-create Create a baymodel.
    baymodel-delete Delete specified baymodel.
    baymodel-list Print a list of bay models.
    baymodel-show Show details about the given baymodel.
    coe-service-create Create a coe service.
    coe-service-delete Delete specified coe service(s).

Try 'magnum help baymodel-create' for more information.
root@PRINHYLTPHP0400:/home/devstack/devstack# magnum baymodel-update
usage: magnum [--version] [--debug] [--os-cache]
              [--os-region-name <region-name>]
              [--os-tenant-id <auth-tenant-id>]
              [--service-type <service-type>]
              [--endpoint-type <endpoint-type>]
              [--magnum-api-version <magnum-api-ver>]
              [--os-cacert <ca-certificate>] [--bypass-url <bypass-url>]
              [--os-auth-system <auth-system>] [--os-username <username>]
              [--os-password <password>] [--os-tenant-name <tenant-name>]
              [--os-token <token>] [--os-auth-url <auth-url>]
              <subcommand> ...
error: argument <subcommand>: invalid choice: u'baymodel-update'
Try 'magnum help ' for more information.

Changed in magnum:
assignee: nobody → vikas choudhary (choudharyvikas16)
Changed in magnum:
status: New → In Progress
Revision history for this message
vikas choudhary (choudharyvikas16) wrote :

By design Api and conductor both can access db.

Changed in magnum:
status: In Progress → Invalid
Changed in magnum:
status: Invalid → In Progress
Changed in magnum:
status: In Progress → Fix Committed
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.