<div dir="ltr"><div>Hi ,<br><br></div><div>Can anyone have a look at the logs and help me out.<br><br></div><div>I am using python-magnumclient -2.3.0 . along with magnum installed on ubuntu 14.04 with Mitaka<br></div><div><br>CINDER VOLUMES<br>-----------------------------<br>root@VFSR1:/opt/mesos_image# pvs<br>  PV         VG             Fmt  Attr PSize   PFree  <br>  /dev/loop2 cinder-volumes lvm2 a--  250.00g 213.00g<br>  /dev/sda3  ubuntu-vg      lvm2 a--    3.64t      0 <br>root@VFSR1:/opt/mesos_image# vgs<br>  VG             #PV #LV #SN Attr   VSize   VFree  <br>  cinder-volumes   1   7   1 wz--n- 250.00g 213.00g<br>  ubuntu-vg        1   2   0 wz--n-   3.64t      0 <br><br><br>root@VFSR1:/opt/mesos_image# openstack image list<br>+--------------------------------------+----------------------+--------+<br>| ID                                   | Name                 | Status |<br>+--------------------------------------+----------------------+--------+<br>| f9acd880-f50f-493a-b6ed-46620b7b3481 | ubuntu-mesos         | active |<br>| 94ee6d6e-93fa-47b2-844f-2d8d2ad1a788 | ubuntu-14.04.3-mesos | active |<br>| affb50c2-ca04-41fa-bf73-48ae526d2b15 | fedora-atomic-latest | active |<br>| c1c8e84e-12ba-4b05-b382-e57850e5dd6d | cirros               | active |<br>+--------------------------------------+----------------------+--------+<br>root@VFSR1:/opt/mesos_image# glance -v image-list<br>+--------------------------------------+----------------------+-------------+------------------+-----------+--------+----------------------------------+<br>| ID                                   | Name                 | Disk_format | Container_format | Size      | Status | Owner                            |<br>+--------------------------------------+----------------------+-------------+------------------+-----------+--------+----------------------------------+<br>| c1c8e84e-12ba-4b05-b382-e57850e5dd6d | cirros               | qcow2       | bare             | 13287936  | active | 4db51f28e56742a6b62333cdd7ec890d |<br>| affb50c2-ca04-41fa-bf73-48ae526d2b15 | fedora-atomic-latest | qcow2       | bare             | 507928064 | active | 4db51f28e56742a6b62333cdd7ec890d |<br>| 94ee6d6e-93fa-47b2-844f-2d8d2ad1a788 | ubuntu-14.04.3-mesos | qcow2       | bare             | 753616384 | active | 4db51f28e56742a6b62333cdd7ec890d |<br>| f9acd880-f50f-493a-b6ed-46620b7b3481 | ubuntu-mesos         | qcow2       | bare             | 753616384 | active | 4db51f28e56742a6b62333cdd7ec890d |<br>+--------------------------------------+----------------------+-------------+------------------+-----------+--------+----------------------------------+<br>root@VFSR1:/opt/mesos_image# openstack keypair list<br>+--------+-------------------------------------------------+<br>| Name   | Fingerprint                                     |<br>+--------+-------------------------------------------------+<br>| mykey  | f8:7b:3a:df:1d:eb:b3:12:97:d5:7f:b2:bd:af:77:86 |<br>| mykey1 | be:eb:0e:05:73:5f:59:5c:07:c4:26:d7:18:98:d9:d5 |<br>+--------+-------------------------------------------------+<br>root@VFSR1:/opt/mesos_image# openstack flavor list<br>+----+-----------+-------+------+-----------+-------+-----------+<br>| ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |<br>+----+-----------+-------+------+-----------+-------+-----------+<br>| 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |<br>| 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |<br>| 3  | m1.medium |  4096 |   40 |         0 |     2 | True      |<br>| 4  | m1.large  |  8192 |   80 |         0 |     4 | True      |<br>| 5  | m1.xlarge | 16384 |  160 |         0 |     8 | True      |<br>+----+-----------+-------+------+-----------+-------+-----------+<br>root@VFSR1:/opt/mesos_image# openstack network list<br>+--------------------------------------+-------------------------------------------------------+--------------------------------------+<br>| ID                                   | Name                                                  | Subnets                              |<br>+--------------------------------------+-------------------------------------------------------+--------------------------------------+<br>| 2241a192-589c-48ce-ac31-bd133c02d15b | public                                                | 58a123cb-37a3-457d-ad23-350fab00cab1 |<br>| baeb67e9-0612-45cf-bb8e-7945e20bfba7 | private                                               | 52787572-803c-4688-b3b4-a747c3e73e51 |<br>| 61d1cae1-f270-41cb-969c-08aca208f5a9 | public1                                               | 839dcf6c-97cd-4ed3-b241-e29079aff206 |<br>| e3f63530-2ddc-44bd-ad9b-0c9002ce6766 | private                                               | aecb2758-ced7-4d43-8ab5-5d0f38dc68d1 |<br>| a91b3943-ac8b-41ca-9767-ad9cf2c1dc60 | swarm-cluster-zhxyvth46o5c-fixed_network-xaz6nx43ec5e | 61789da1-17c9-431e-b728-22c4b923fd53 |<br>+--------------------------------------+-------------------------------------------------------+--------------------------------------+<br><br></div>MAGNUM command<br><br>root@VFSR1:/var/log/magnum# /opt/python-magnumclient/.magnumclient-env/bin/magnum service-list<br>+----+-----------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br>| id | host            | binary           | state | disabled | disabled_reason | created_at                | updated_at                |<br>+----+-----------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br>| 1  | <a href="http://VFSR1.svcmgr.io">VFSR1.svcmgr.io</a> | magnum-conductor | up    |          | -               | 2016-09-30T05:24:19+00:00 | 2016-09-30T09:58:17+00:00 |<br>+----+-----------------+------------------+-------+----------+-----------------+---------------------------+---------------------------+<br><br><br><div><br>root@VFSR1:/opt/mesos_image# /opt/python-magnumclient/.magnumclient-env/bin/magnum cluster-template-create --name mesos-cluster-template --image-id ubuntu-mesos --keypair-id mykey --external-network-id public --dns-nameserver 172.27.10.76 --flavor-id m1.small --coe mesos<br>ERROR: Method Not Allowed (HTTP 405) (Request-ID: req-bb2bd994-7453-44e7-aa73-66b4fafa8796)<br>root@VFSR1:/opt/mesos_image# /opt/python-magnumclient/.magnumclient-env/bin/magnum --debug cluster-template-create --name mesos-cluster-template --image-id ubuntu-mesos --keypair-id mykey --external-network-id public --dns-nameserver 172.27.10.76 --flavor-id m1.small --coe mesos<br>DEBUG (extension:157) found extension EntryPoint.parse('v2token = keystoneauth1.loading._plugins.identity.v2:Token')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3oauth1 = keystoneauth1.extras.oauth1._loading:V3OAuth1')<br>DEBUG (extension:157) found extension EntryPoint.parse('admin_token = keystoneauth1.loading._plugins.admin_token:AdminToken')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3oidcauthcode = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAuthorizationCode')<br>DEBUG (extension:157) found extension EntryPoint.parse('v2password = keystoneauth1.loading._plugins.identity.v2:Password')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3samlpassword = keystoneauth1.extras._saml2._loading:Saml2Password')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3password = keystoneauth1.loading._plugins.identity.v3:Password')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3oidcaccesstoken = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectAccessToken')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3oidcpassword = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectPassword')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3kerberos = keystoneauth1.extras.kerberos._loading:Kerberos')<br>DEBUG (extension:157) found extension EntryPoint.parse('token = keystoneauth1.loading._plugins.identity.generic:Token')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3oidcclientcredentials = keystoneauth1.loading._plugins.identity.v3:OpenIDConnectClientCredentials')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3tokenlessauth = keystoneauth1.loading._plugins.identity.v3:TokenlessAuth')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3token = keystoneauth1.loading._plugins.identity.v3:Token')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3totp = keystoneauth1.loading._plugins.identity.v3:TOTP')<br>DEBUG (extension:157) found extension EntryPoint.parse('password = keystoneauth1.loading._plugins.identity.generic:Password')<br>DEBUG (extension:157) found extension EntryPoint.parse('v3fedkerb = keystoneauth1.extras.kerberos._loading:MappedKerberos')<br>DEBUG (session:337) REQ: curl -g -i -X GET <a href="http://VFSR1:35357/v3">http://VFSR1:35357/v3</a> -H "Accept: application/json" -H "User-Agent: magnum keystoneauth1/2.12.1 python-requests/2.11.1 CPython/2.7.6"<br>INFO (connectionpool:214) Starting new HTTP connection (1): vfsr1<br>DEBUG (connectionpool:401) "GET /v3 HTTP/1.1" 200 245<br>DEBUG (session:366) RESP: [200] Date: Fri, 30 Sep 2016 10:15:11 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-560a5d64-5b95-4a4c-a3ad-ac3f7e040b1d Content-Length: 245 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json <br>RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "<a href="http://vfsr1:35357/v3/">http://vfsr1:35357/v3/</a>", "rel": "self"}]}}<br><br>DEBUG (base:165) Making authentication request to <a href="http://vfsr1:35357/v3/auth/tokens">http://vfsr1:35357/v3/auth/tokens</a><br>DEBUG (connectionpool:401) "POST /v3/auth/tokens HTTP/1.1" 201 5791<br>DEBUG (base:170) {"token": {"methods": ["password"], "roles": [{"id": "20b84b42947e4605979a1616df15b1f9", "name": "admin"}], "expires_at": "2016-09-30T11:15:11.706358Z", "project": {"domain": {"id": "3eb00003f30847e6be79f1f7b1295276", "name": "default"}, "id": "4db51f28e56742a6b62333cdd7ec890d", "name": "admin"}, "catalog": [{"endpoints": [{"url": "<a href="http://VFSR1:8000/v1">http://VFSR1:8000/v1</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4159e4f0becf45e5b22e0d7f79a3e8e1"}, {"url": "<a href="http://VFSR1:8000/v1">http://VFSR1:8000/v1</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "939431700edc44fa9ba6178f65f4770b"}, {"url": "<a href="http://VFSR1:8000/v1">http://VFSR1:8000/v1</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "da519a3218374c0f9beeeaffb9dc183c"}], "type": "cloudformation", "id": "07a812778ce94168a12436b0b3ec9265", "name": "heat-cfn"}, {"endpoints": [{"url": "<a href="http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7e23305b957a40aebdb89ccec9fd247a"}, {"url": "<a href="http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "84a255caa89f423e956882eab99b8926"}, {"url": "<a href="http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "85e21af71ca648b590db6428ab7c3b97"}], "type": "volume", "id": "211229f855b449d69460c1f63f2ac24f", "name": "cinder"}, {"endpoints": [{"url": "<a href="http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "22a08265fd164d509efc54ae4046f6ac"}, {"url": "<a href="http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "89bad1f8756c4b68a9cd3b9d19beab65"}, {"url": "<a href="http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8776/v2/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "c1276098101647b483e1d5fe7627c2cd"}], "type": "volumev2", "id": "42f8cb97e4da4ed2b417aeb3c2b0a1ed", "name": "cinderv2"}, {"endpoints": [{"url": "<a href="http://VFSR1:35357/v3">http://VFSR1:35357/v3</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e515fa624534b7e991bd7629bb99add"}, {"url": "<a href="http://VFSR1:5000/v3">http://VFSR1:5000/v3</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "75edc1fdbace46a4832de17e4104c8d4"}, {"url": "<a href="http://VFSR1:5000/v3">http://VFSR1:5000/v3</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f4c49c33c35f4107ad318ab122a494db"}], "type": "identity", "id": "734adc8737a147889b6d4d9b84a2e53e", "name": "keystone"}, {"endpoints": [{"url": "<a href="http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "5d863fea75224f8e975de30b685720aa"}, {"url": "<a href="http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d07e368fe2ec46eda4308462ec0a17c6"}, {"url": "<a href="http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8774/v2.1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "feaf2d955112493695fc37dd6487852b"}], "type": "compute", "id": "758ee85faf24404bb07a72f5d0230f4a", "name": "nova"}, {"endpoints": [{"url": "<a href="http://VFSR1:9511/v1">http://VFSR1:9511/v1</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "38a55b4f0ba148b8a373289bc99a759b"}, {"url": "<a href="http://VFSR1:9511/v1">http://VFSR1:9511/v1</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3f57223d4d9a4c55adb6269903e7d54c"}, {"url": "<a href="http://VFSR1:9511/v1">http://VFSR1:9511/v1</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "403894a2863740b7b378f834dc5e1c94"}], "type": "container-infra", "id": "89eef987c8d34793a519b732c5031277", "name": "magnum"}, {"endpoints": [{"url": "<a href="http://VFSR1:9292">http://VFSR1:9292</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0d5f2dc981e94c348cc7a16ddea9302d"}, {"url": "<a href="http://VFSR1:9292">http://VFSR1:9292</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "6d7a7585dc1541ffbb1eb37d05549376"}, {"url": "<a href="http://VFSR1:9292">http://VFSR1:9292</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f21462af5bfc450e8ee3038f6a3744e4"}], "type": "image", "id": "b27c5b3779744f239675e8f990245e2b", "name": "glance"}, {"endpoints": [{"url": "<a href="http://VFSR1:9696">http://VFSR1:9696</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "4f69c5610b594fed811233da612540d9"}, {"url": "<a href="http://VFSR1:9696">http://VFSR1:9696</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "c6c62f290a074bf2987e20c2349fd41a"}, {"url": "<a href="http://VFSR1:9696">http://VFSR1:9696</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "de6d308a61774c43a84eee665d379227"}], "type": "network", "id": "c33e3e2572e345f2bdf037cb8fc3aaf1", "name": "neutron"}, {"endpoints": [{"url": "<a href="http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "614f00d7df0f4f13931d4c589b7cc342"}, {"url": "<a href="http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "cae0b628063645b2b29e4e2a7af4d63b"}, {"url": "<a href="http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d">http://VFSR1:8004/v1/4db51f28e56742a6b62333cdd7ec890d</a>", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d21e8bbcc97c40f48940bb106505eeb8"}], "type": "orchestration", "id": "d763c396741747d6bceae777307e1432", "name": "heat"}], "user": {"domain": {"id": "3eb00003f30847e6be79f1f7b1295276", "name": "default"}, "id": "3bb731e1886347a19e90c06185be8a9c", "name": "admin"}, "audit_ids": ["BK5DedQERwC-k0-9tutp2Q"], "issued_at": "2016-09-30T10:15:11.000000Z"}}<br>DEBUG (session:337) REQ: curl -g -i -X POST <a href="http://VFSR1:9511/v1/clustertemplates">http://VFSR1:9511/v1/clustertemplates</a> -H "OpenStack-API-Version: container-infra latest" -H "X-Auth-Token: {SHA1}1ec170abc088b6173e78d9dd29199f685d79f30f" -H "Content-Type: application/json" -H "Accept: application/json" -H "User-Agent: None" -d '{"labels": {}, "floating_ip_enabled": true, "fixed_subnet": null, "master_flavor_id": null, "no_proxy": null, "https_proxy": null, "tls_disabled": false, "keypair_id": "mykey", "public": false, "http_proxy": null, "docker_volume_size": null, "server_type": "vm", "external_network_id": "public", "image_id": "ubuntu-mesos", "volume_driver": null, "registry_enabled": false, "docker_storage_driver": "devicemapper", "name": "mesos-cluster-template", "network_driver": null, "fixed_network": null, "coe": "mesos", "flavor_id": "m1.small", "master_lb_enabled": false, "dns_nameserver": "172.27.10.76"}'<br>INFO (connectionpool:214) Starting new HTTP connection (1): vfsr1<br>DEBUG (connectionpool:401) "POST /v1/clustertemplates HTTP/1.1" 405 117<br>DEBUG (session:366) RESP: [405] Date: Fri, 30 Sep 2016 10:15:11 GMT Server: WSGIServer/0.1 Python/2.7.6 Allow: GET Content-Type: application/json Content-Length: 117 x-openstack-request-id: req-f9354287-afa1-46bd-af69-f4a20f9611b3 <br>RESP BODY: {"errors": [{"status": 405, "code": "", "links": [], "title": "Method Not Allowed", "detail": "", "request_id": ""}]}<br><br>DEBUG (shell:694) Method Not Allowed (HTTP 405) (Request-ID: req-f9354287-afa1-46bd-af69-f4a20f9611b3)<br>Traceback (most recent call last):<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/shell.py", line 691, in main<br>    OpenStackMagnumShell().main(map(encodeutils.safe_decode, sys.argv[1:]))<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/shell.py", line 633, in main<br>    args.func(self.cs, args)<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/v1/cluster_templates_shell.py", line 150, in do_cluster_template_create<br>    cluster_template = cs.cluster_templates.create(**opts)<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/v1/basemodels.py", line 107, in create<br>    return self._create(self._path(), new)<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/common/base.py", line 49, in _create<br>    resp, body = self.api.json_request('POST', url, body=body)<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/common/httpclient.py", line 366, in json_request<br>    resp = self._http_request(url, method, **kwargs)<br>  File "/opt/python-magnumclient/.magnumclient-env/local/lib/python2.7/site-packages/magnumclient/common/httpclient.py", line 350, in _http_request<br>    error_json.get('debuginfo'), method, url)<br>MethodNotAllowed: Method Not Allowed (HTTP 405) (Request-ID: req-f9354287-afa1-46bd-af69-f4a20f9611b3)<br>ERROR: Method Not Allowed (HTTP 405) (Request-ID: req-f9354287-afa1-46bd-af69-f4a20f9611b3)<br><br><br><br></div></div>