Create for cluster failed: Unknown attribute for argument cluster: labels (HTTP 400)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Triaged
|
Medium
|
Unassigned |
Bug Description
I'm evaluating magnum, and found that vanilla devstack installation for pike fails on cluster-create command with message Create for cluster foobar failed: Unknown attribute for argument cluster: labels (HTTP 400)
Steps to reproduce:
devstack, stable/pike branch
local.conf:
[[local|localrc]]
ADMIN_PASSWORD=
DATABASE_
RABBIT_
SERVICE_
enable_plugin heat https:/
enable_plugin magnum https:/
source openrc
magnum cluster-
(image - fedora-atomic, external-network - public network).
magnum cluster-create --cluster-template 282b0792-
Create for cluster foobar failed: Unknown attribute for argument cluster: labels (HTTP 400) (Request-ID: req-b47a0fa2-
Log entry from magnum-api:
Oct 10 13:44:12 devstack magnum-api[16595]: 2017-10-10 13:44:12.191 DEBUG magnum.
me": "foobar", "labels": {}, "keypair": null, "master_count": 1, "node_count": 1, "create_timeout": 60, "discovery_url": null} from (pid=27420) _route /opt/stack/
Oct 10 13:44:12 devstack magnum-api[16595]: 2017-10-10 13:44:12.194 DEBUG oslo_policy.
file /usr/local/
Oct 10 13:44:12 devstack magnum-api[16595]: 2017-10-10 13:44:12.197 DEBUG oslo_policy.policy [req-a25b98ef-
sr/local/
Oct 10 13:44:12 devstack magnum-api[16595]: 2017-10-10 13:44:12.200 DEBUG wsme.api [req-a25b98ef-
eption /usr/local/
Oct 10 13:44:12 devstack magnum-api[16595]: 2017-10-10 13:44:12.201 INFO werkzeug [req-a25b98ef-
devstack commit: 4358418d7d20a18
magnum commit: 133352d3bb06a35
Update: I fixed this by manually switching branch for magnumclient repo to stable/pike and running sudo python setup.py install. IMHO it should be done by devstack or magnum (both were pinned to stable/pike).