Ask Your Question

Unable to use Magnum on Packstack

asked 2018-11-15 08:06:00 -0500

Ahmed Ben Abid gravatar image

updated 2018-11-15 09:16:56 -0500

Hello everyone,

I'm new to OpenStack and I'm interested in setting up a Kubernetes cluster using Magnum.

To quickly set up the platform, I choose to install PackStack on a CentOS VM following RDO Project guide

After installing PackStack, I generated an answer file and edited it to enabled installation of both Magnum and Heat.

The installation of all services was successful, but when using the dashboard and go the "Container Infra" section I get the following error notifications:

On the "Clusters" tab:

Error: Unable to retrieve the clusters.

Error: Unable to retrieve the stats.

On the "Cluster Templates" tab:

Error: Unable to retrieve the cluster templates

And on the CLI, when using using this command: openstack coe cluster list

Not Found (HTTP 404) (Request-ID: req-23df8ec9-788f-41c4-b60a-efbe828b484e) (HTTP 500) (Request-ID: req-c5f74fb5-4908-441f-a73b-9d32d6494d40)

Here is an entry in the Magnum API log about this error:

2018-11-15 13:26:19.429 15350 INFO werkzeug [req-280fad9c-cc27-4ee6-a140-3a802e14fa05 - - - - -] X.X.X.X - - [15/Nov/2018 13:26:19] "GET /v1/clusters/detail HTTP/1.1" 500 - 2018-11-15 13:26:19.454 15351 ERROR wsme.api [req-a1334dd2-e3d5-4421-8b99-d3fd24085ba1 - - - - -] Server-side error: "Not Found (HTTP 404) (Request-ID: req-c384491f-a225-418e-98fb-e52b66fe1bdc)". Detail: Traceback (most recent call last):

File "/usr/lib/python2.7/site-packages/wsmeext/", line 85, in callfunction result = f(self, args, *kwargs)

File "/usr/lib/python2.7/site-packages/magnum/api/controllers/v1/", line 54, in get_all policy.enforce(context, 'stats:get_all', action='stats:get_all')

File "/usr/lib/python2.7/site-packages/magnum/common/", line 100, in enforce add_policy_attributes(target)

File "/usr/lib/python2.7/site-packages/magnum/common/", line 110, in add_policy_attributes trustee_domain_id = admin_osc.keystone().trustee_domain_id

File "/usr/lib/python2.7/site-packages/magnum/common/", line 180, in trustee_domain_id self.domain_admin_session

File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/", line 134, in get_access self.auth_ref = self.get_auth_ref(session)

File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/", line 178, in get_auth_ref authenticated=False, log=False, **rkwargs)

File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 1019, in post return self.request(url, 'POST', **kwargs)

File "/usr/lib/python2.7/site-packages/keystoneauth1/", line 869, in request raise exceptions.from_response(resp, method, url)

NotFound: Not Found (HTTP 404) (Request-ID: req-c384491f-a225-418e-98fb-e52b66fe1bdc) : NotFound: Not Found (HTTP 404) (Request-ID: req-c384491f-a225-418e-98fb-e52b66fe1bdc) 2018-11-15 13:26:19.456 15351 INFO werkzeug [req-a1334dd2-e3d5-4421-8b99-d3fd24085ba1 - - - - -] X.X.X.X - - [15/Nov/2018 13:26:19] "GET /v1/stats HTTP/1.1" 500 -

Is there a way to fix this problem ?

Thank you !

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2020-04-08 06:23:41 -0500

FarnazZ gravatar image

This Error will be resolved by editing magnum.conf, auth_uri is deprecated and you need to add www_authentication_uri = http://controller_IP:5000/v3 instead.

edit flag offensive delete link more

answered 2018-12-04 04:24:20 -0500

frippe1975 gravatar image

Two things you needs to fix.

First one is Magnum itself not discovering new conf parameters (

As well as Packstack not setting them properly.

Restart magnum services and it should be resolved. At least that did it for me

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-15 07:40:35 -0500

Seen: 849 times

Last updated: Dec 04 '18