'magnum pod-list' not showing pods created via rc creation

Bug #1491235 reported by vikas choudhary
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
vikas choudhary

Bug Description

1. create a pod:
  magnum pod-create --manifest ./redis-master.yaml --bay k8sbay

2. create a rc for redis-sentinel:
root@PRINHYLTPHP0400:~/kubernetes/examples/redis/v1beta3# magnum rc-create --manifest ./redis-sentinel-controller.yaml --bay k8sbay

3. Do 'magnum pod-list':
root@PRINHYLTPHP0400:~/kubernetes/examples/redis/v1beta3# magnum pod-list
+--------------------------------------+--------------+
| uuid | name |
+--------------------------------------+--------------+
| 04352691-f8f3-4e07-b7f2-63c28f6270b2 | redis-master |
+--------------------------------------+--------------+

4. ssh to minion node, and do 'kubectl get pods':
-bash-4.3# kubectl get pods
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS CREATED
redis-master 10.100.6.2 master kubernetes/redis:v1 10.0.0.6/ name=redis,redis-sentinel=true,role=master Running 16 minutes
                                    sentinel kubernetes/redis:v1
redis-sentinel-zvih4 10.100.6.3 sentinel kubernetes/redis:v1 10.0.0.6/ name=redis-sentinel,redis-sentinel=true,role=sentinel Running 6 minutes

I verified even running k8s rest api , "api/v1beta3/namespaces/default/pods" . That also returns both pods.

Changed in magnum:
assignee: nobody → vikas choudhary (choudharyvikas16)
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.