Validate coe field before processing requests
Bug #1470963 reported by
hongbin
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Fix Released
|
Undecided
|
hongbin |
Bug Description
Pod/Service/RC should be used when bay type is "kubernetes", and Contaner should be used when bay type is "swarm". If the bay type is not right, Magnum should reject the request instead of processing it.
Changed in magnum: | |
assignee: | nobody → hongbin (hongbin034) |
Changed in magnum: | |
status: | New → In Progress |
Changed in magnum: | |
status: | In Progress → Fix Committed |
Changed in magnum: | |
milestone: | none → mitaka-1 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I guess this is what you are referring to?
magnum baymodel-create --name k8sbaymodel --image-id fedora-21-atomic-3 \ network- id $NIC_ID \ volume- size 5 --coe xxx ------- ------- -+----- ------- ------- ------- ------- -----+ ------- ------- -+----- ------- ------- ------- ------- -----+ db92-4608- 9fca-0bb34f52dd d9 | 3fe3-41a0- ac19-89a0b4cc73 3b | 03T00:18: 50.983407+ 00:00 | ------- ------- -+----- ------- ------- ------- ------- -----+
> --keypair-id testkey \
> --external-
> --dns-nameserver 8.8.8.8 --flavor-id m1.small \
> --docker-
+------
| Property | Value |
+------
| fixed_network | None |
| apiserver_port | None |
| uuid | a9bd8caf-
| external_network_id | 9367926e-
| created_at | 2015-07-
| updated_at | None |
| cluster_distro | fedora-atomic |
| name | k8sbaymodel |
| ssh_authorized_key | None |
| image_id | fedora-21-atomic-3 |
| coe | xxx |
| keypair_id | testkey |
| master_flavor_id | None |
| flavor_id | m1.small |
| dns_nameserver | 8.8.8.8 |
| docker_volume_size | 5 |
+------