can't create dcos template

Bug #1722199 reported by Denis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Magnum
New
Undecided
Unassigned

Bug Description

Hi

Working with piko , and magnum installed from scratch :
https://docs.openstack.org/magnum/latest/install/install-guide-from-source.html
git for magnum updated today(9.10)

I'v successfully created templates for mesos and kubernetes

But for dcos i get :
$ magnum cluster-template-create dcos-cluster-template \
    --image centos7-dcos \
    --keypair test_key \
    --external-network extnet \
    --dns-nameserver 8.8.8.8 \
    --flavor m1.medium \
    --labels oauth_enabled=false \
    --coe dcos
ERROR: Requested COE type dcos is not supported (HTTP 400) (Request-ID: req-bb86cd77-3357-44f5-9cec-03f556dcbb9e)

from magnum-api log i see :

2017-10-09 12:33:33.564 16400 DEBUG magnum.api.controllers.v1 [-] Processing request: url: http://172.29.32.236:9511/v1/clustertemplates, POST, body: {"insecure_registry": null, "labels": {"oauth_enabled": "false"}, "floating_ip_enabled": true, "fixed_subnet": null, "master_flavor_id": null, "no_proxy": null, "https_proxy": null, "tls_disabled": false, "keypair_id": "test_key", "public": false, "http_proxy": null, "docker_volume_size": null, "server_type": "vm", "external_network_id": "extnet", "image_id": "centos7-dcos", "volume_driver": null, "registry_enabled": false, "docker_storage_driver": "devicemapper", "name": "dcos-cluster-template", "network_driver": null, "fixed_network": null, "coe": "dcos", "flavor_id": "m1.medium", "master_lb_enabled": false, "dns_nameserver": "8.8.8.8"} _route /var/lib/magnum/env/lib/python2.7/site-packages/magnum/api/controllers/v1/__init__.py:233
2017-10-09 12:33:33.567 16400 DEBUG oslo_policy._cache_handler [req-45bdda09-afb5-44e7-bef7-deba004dc9aa 48045d75915e4b60948e1f9a9c8c5a3c 29b45c2ca39d4a57a70eddefe8ac9e48 default - -] Reloading cached file /etc/magnum/policy.json read_cached_file /var/lib/magnum/env/lib/python2.7/site-packages/oslo_policy/_cache_handler.py:40
2017-10-09 12:33:33.569 16400 DEBUG oslo_policy.policy [req-45bdda09-afb5-44e7-bef7-deba004dc9aa 48045d75915e4b60948e1f9a9c8c5a3c 29b45c2ca39d4a57a70eddefe8ac9e48 default - -] Reloaded policy file: /etc/magnum/policy.json _load_policy_file /var/lib/magnum/env/lib/python2.7/site-packages/oslo_policy/policy.py:681
2017-10-09 12:33:33.573 16400 DEBUG wsme.api [req-45bdda09-afb5-44e7-bef7-deba004dc9aa 48045d75915e4b60948e1f9a9c8c5a3c 29b45c2ca39d4a57a70eddefe8ac9e48 default - -] Client-side error: Requested COE type dcos is not supported. format_exception /var/lib/magnum/env/lib/python2.7/site-packages/wsme/api.py:222
2017-10-09 12:33:33.574 16400 INFO werkzeug [req-45bdda09-afb5-44e7-bef7-deba004dc9aa 48045d75915e4b60948e1f9a9c8c5a3c 29b45c2ca39d4a57a70eddefe8ac9e48 default - -] 172.29.32.236 - - [09/Oct/2017 12:33:33] "POST /v1/clustertemplates HTTP/1.1" 400 -

Denis (denisl78)
tags: added: in-stable-pike
tags: added: magnum
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.