magnum pod-show does not work

Bug #1501892 reported by Adrian Otto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Invalid
High
Vilobh Meshram
python-magnumclient
Fix Released
High
Vilobh Meshram

Bug Description

Overview: If you try "magnum pod-show", it will not work regardless if you use a uuid, or name as the argument:

Steps to Reproduce:

1) Set up a devstack environment to run magnum, in accordance with:
http://docs.openstack.org/developer/magnum/dev/dev-quickstart.html

2) From the quickstart, create the baymodel, k8sbay, and a pod.

3) See the bug:

$ magnum pod-list
+--------------------------------------+--------------+
| uuid | name |
+--------------------------------------+--------------+
| 7960f307-10c7-4960-a36f-2a38f848b184 | redis-master |
+--------------------------------------+--------------+
$ magnum pod-show 7960f307-10c7-4960-a36f-2a38f848b184
ERROR: Missing argument: "bay_uuid" (HTTP 400)
$ magnum pod-show redis-master
ERROR: Missing argument: "bay_uuid" (HTTP 400)
$ magnum help pod-show
usage: magnum pod-show <pod>

Show details about the given pod.

Positional arguments:
  <pod> ID or name of the pod to show.
$

Adrian Otto (aotto)
affects: python-magnumclient → magnum
Changed in python-magnumclient:
status: New → Triaged
importance: Undecided → High
Changed in python-magnumclient:
assignee: nobody → Vilobh Meshram (vilobhmm)
Changed in magnum:
assignee: nobody → Vilobh Meshram (vilobhmm)
Revision history for this message
Vilobh Meshram (vilobhmm) wrote :
Changed in python-magnumclient:
status: Triaged → Fix Committed
Adrian Otto (aotto)
Changed in python-magnumclient:
status: Fix Committed → Fix Released
Adrian Otto (aotto)
Changed in magnum:
milestone: none → mitaka-1
Revision history for this message
Michael liu (ztehypervisor) wrote :

When running magnum by the way 'http://docs.openstack.org/developer/magnum/dev/dev-quickstart.html', the two VMs will have two local IP and can't access the internet, so the bay status will be CREATE_FAILED.
As this is a general model for magnum, I think there should not be some limitation about the network.

Revision history for this message
Drago (dragorosson) wrote :

Should this be updated to Invalid or Wont fix due to the /pods endpoint being removed?

Revision history for this message
Michael liu (ztehypervisor) wrote :

You can try "magnum pod-list --bay bayname".

hongbin (hongbin034)
Changed in magnum:
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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