Quantcast
Channel: Ask OpenStack: Q&A Site for OpenStack Users and Developers - Individual question feed
Viewing all articles
Browse latest Browse all 2

Unable to use Magnum on Packstack

Previous: Answer by frippe1975 for 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/pecan.py", line 85, in callfunction result = f(self, args, *kwargs) File "/usr/lib/python2.7/site-packages/magnum/api/controllers/v1/stats.py", line 54, in get_all policy.enforce(context, 'stats:get_all', action='stats:get_all') File "/usr/lib/python2.7/site-packages/magnum/common/policy.py", line 100, in enforce add_policy_attributes(target) File "/usr/lib/python2.7/site-packages/magnum/common/policy.py", line 110, in add_policy_attributes trustee_domain_id = admin_osc.keystone().trustee_domain_id File "/usr/lib/python2.7/site-packages/magnum/common/keystone.py", line 180, in trustee_domain_id self.domain_admin_session File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access self.auth_ref = self.get_auth_ref(session) File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 178, in get_auth_ref authenticated=False, log=False, **rkwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1019, in post return self.request(url, 'POST', **kwargs) File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", 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 !
$
0
0
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/pecan.py", line 85, in callfunction result = f(self, *args, **kwargs) > File "/usr/lib/python2.7/site-packages/magnum/api/controllers/v1/stats.py", line 54, in get_all policy.enforce(context, 'stats:get_all', action='stats:get_all') > File "/usr/lib/python2.7/site-packages/magnum/common/policy.py", line 100, in enforce add_policy_attributes(target) > File "/usr/lib/python2.7/site-packages/magnum/common/policy.py", line 110, in add_policy_attributes trustee_domain_id = admin_osc.keystone().trustee_domain_id > File "/usr/lib/python2.7/site-packages/magnum/common/keystone.py", line 180, in trustee_domain_id self.domain_admin_session > File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access self.auth_ref = self.get_auth_ref(session) > File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 178, in get_auth_ref authenticated=False, log=False, **rkwargs) > File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1019, in post return self.request(url, 'POST', **kwargs) > File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", 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 !

Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images