container-list fails with unexpected bay-id
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Invalid
|
Low
|
Andrew Melton |
Bug Description
stack@ao-
{"name"
stack@ao-
+------
| Property | Value |
+------
| uuid | 4a12301e-
| links | [{u'href': u'http://
| bay_uuid | 74a09f86-
| updated_at | None |
| image_id | centos:centos6 |
| command | sleep 365d |
| created_at | 2015-05-
| name | demo |
+------
stack@ao-
ERROR: Bay 59b8e0ac-
stack@ao-
+------
| uuid | name | node_count | status |
+------
| 74a09f86-
| d8c00ae1-
+------
I don't know why "Bay 59b8e0ac-
Changed in magnum: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in magnum: | |
milestone: | none → mitaka-1 |
This is the contents of the containers table:
mysql> select * from container\G ******* ******* ****** 1. row ******* ******* ******* ****** 5ad9-44b2- bbea-136a21619d f4 0a84beeb8f1047f fc f9103193a525119 bd 412e-44ab- b38b-8e31241ce8 21 ******* ******* ****** 2. row ******* ******* ******* ****** a6b3-4e95- b545-05ecc2cd53 58 0a84beeb8f1047f fc f9103193a525119 bd d3b1-4f75- aca5-f4e03a941b a6 ******* ******* ****** 3. row ******* ******* ******* ****** e0ba-45c2- 964f-f07757deb1 46 0a84beeb8f1047f fc f9103193a525119 bd d3b1-4f75- aca5-f4e03a941b a6
*******
created_at: 2015-05-07 06:31:43
updated_at: NULL
id: 1
uuid: a80b4219-
name: demo
image_id: centos:centos6
project_id: 5b093590f5d64ac
user_id: 5cc61d296fab44f
command: NULL
bay_uuid: 59b8e0ac-
*******
created_at: 2015-05-07 09:33:56
updated_at: NULL
id: 2
uuid: a2b4212a-
name: demo
image_id: centos:centos6
project_id: 5b093590f5d64ac
user_id: 5cc61d296fab44f
command: NULL
bay_uuid: 74a09f86-
*******
created_at: 2015-05-07 09:35:27
updated_at: NULL
id: 3
uuid: 4a12301e-
name: demo
image_id: centos:centos6
project_id: 5b093590f5d64ac
user_id: 5cc61d296fab44f
command: sleep 365d
bay_uuid: 74a09f86-
3 rows in set (0.00 sec)
My guess is that I had a container in a bay that I deleted, and the container is still there, but the bay is not. So perhaps the bug is that when bays are deleted, the containers in the pods they create are not deleted.