ERROR: Multiple baymodels exist with same name.

Bug #1441586 reported by Digambar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
Invalid
High
Digambar

Bug Description

When I try to create a baymodel with same name then it should raise the error, but current behavior raise this error in bay-create call.

See this

digambar@Openstack_iot_diga:~$ magnum baymodel-create --name testbaymodel --image-id bbaeb798-7c29-4ee2-9f40-6487fc6d7b24 --keypair-id testkey --external-network-id f98abaf2-bd3b-47cc-8fba-5f2037a29542 --dns-nameserver 8.8.8.8 --flavor-id m1.small --docker-volume-size 5
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| fixed_network | None |
| apiserver_port | None |
| uuid | 198253f9-5c79-4b21-9c72-98493ad66ce9 |
| external_network_id | f98abaf2-bd3b-47cc-8fba-5f2037a29542 |
| created_at | 2015-04-08T10:34:52.349892+00:00 |
| updated_at | None |
| name | testbaymodel |
| ssh_authorized_key | None |
| image_id | bbaeb798-7c29-4ee2-9f40-6487fc6d7b24 |
| keypair_id | testkey |
| master_flavor_id | None |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
| docker_volume_size | 5 |
+---------------------+--------------------------------------+

It should raise duplicate name or name already exist error in this call..
digambar@Openstack_iot_diga:~$ magnum baymodel-create --name testbaymodel --image-id bbaeb798-7c29-4ee2-9f40-6487fc6d7b24 --keypair-id testkey --external-network-id f98abaf2-bd3b-47cc-8fba-5f2037a29542 --dns-nameserver 8.8.8.8 --flavor-id m1.small --docker-volume-size 5
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| fixed_network | None |
| apiserver_port | None |
| uuid | bf375543-50b6-42fe-a817-24b9bb095620 |
| external_network_id | f98abaf2-bd3b-47cc-8fba-5f2037a29542 |
| created_at | 2015-04-08T11:01:14.689502+00:00 |
| updated_at | None |
| name | testbaymodel |
| ssh_authorized_key | None |
| image_id | bbaeb798-7c29-4ee2-9f40-6487fc6d7b24 |
| keypair_id | testkey |
| master_flavor_id | None |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
| docker_volume_size | 5 |
+---------------------+--------------------------------------+

but it raise error in the bay-create..
digambar@Openstack_iot_diga:~$ magnum bay-create --name testbay --baymodel testbaymodel --node-count 2 ERROR: Multiple baymodels exist with same name. Please use the baymodel uuid instead. (HTTP 409)

Changed in magnum:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Digambar (digambarpatil15)
Changed in magnum:
milestone: none → k3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to magnum (master)

Fix proposed to branch: master
Review: https://review.openstack.org/182207

Changed in magnum:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on magnum (master)

Change abandoned by Digambar (<email address hidden>) on branch: master
Review: https://review.openstack.org/182207

Changed in magnum:
status: In Progress → 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.