Thursday, 2024-08-22

*** mhen_ is now known as mhen01:53
*** __ministry is now known as Guest113609:00
*** melwitt is now known as jgwentworth19:38
*** jgwentworth is now known as melwitt19:38
bholaHi. Looking for some help with Openstack installation issues. I have already installed it on multiple nodes. openstack volume service list returns HTTP 503 error saying "The Keystone service is temporarily unavailable."19:58
bholabut it available Dashboard showing all services up and running.19:58
bholaWhat I am missing?19:58
Mc-does cinder conf has the right auth_url stuff ?20:15
DeHackEdall services need to have an admin account in keystone20:16
DeHackEdit's a requirement for them to identify the user details20:16
bholaMc- Yes it has auth_url and got correct credentials and endpoint address20:27
bholaDeHackEd all services got admin account. But just to get confirmed, what commands do I need? I issued relevant command to add default users of all services to admin20:30
DeHackEdthere's a tenant/project named 'admin', and a role named 'admin'... so you have to assign cinder, nova, etc to the admin project with the admin role20:30
bholaDeHackEd Yes I did when installing openstack20:31
DeHackEdyou might want to also check with `openstack --debug [...]` to see what request is getting the error. the openstack client must login to keystone first, both to login and because the URL to the cinder service comes from keystone as well.20:32
bholalike this openstack role add --project service --user <service user> admin20:32
DeHackEdoops, right, the "service" project, but "admin" role..20:33
bholajust a sec let me check it20:36
bholaDeHackEd Yes I can see admin role in Dashboard user Identity->Roles20:41
bholaunder*20:42
bholaopenstack role list also shows admin role20:45
DeHackEdrole assignment list --names20:47
bholaDeHackEd admin is assigned to nova, cinder, neutron, glance and placement for project "service"20:50
bholait is also assigned to "admin" user for project "admin"20:52
DeHackEdokay, good.... so then what's wrong? it sounds like cinder can't authenticate to keystone itself... wrong auth_url/auth_uri (check the docs to see what is correct...), right username and password, and service name ("service")20:55
bholachecked it gain. It is correct. cinder --dubug list returned an error.20:57
bholacurl -g -i -X GET http://cinder:8776/v3/5bc8f7bdf0da41eb9dfa2d4ae82f7818/volumes/detail -H "Accept: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}3c8102413607fd29f88ebe45b0625e8646b14354451de6bba5c3d5faa6ac8584"20:58
bholaDEBUG:keystoneauth:REQ: curl -g -i -X GET http://cinder:8776/v3/5bc8f7bdf0da41eb9dfa2d4ae82f7818/volumes/detail -H "Accept: application/json" -H "User-Agent: python-cinderclient" -H "X-Auth-Token: {SHA256}3c8102413607fd29f88ebe45b0625e8646b14354451de6bba5c3d5faa6ac8584"20:59
DeHackEdthen there's still something wrong here... have you made config changes and not restarted cinder or something?20:59
bholaDEBUG:keystoneauth:RESP: [503] Connection: close Content-Length: 218 Content-Type: application/json Date: Thu, 22 Aug 2024 20:55:02 GMT Server: Apache/2.4.52 (Ubuntu) x-openstack-request-id: req-211e3139-4d2d-4117-8ecc-70d72741b83820:59
bholaDEBUG:keystoneauth:RESP BODY: {"message": "The server is currently unavailable. Please try again at a later time.<br /><br />\nThe Keystone service is temporarily unavailable.\n\n", "code": "503 Service Unavailable", "title": "Service Unavailable"}21:00
bholaI ma sorry but I am new to openstack. These errors give some hints?21:00
DeHackEdcheck cinder's own logs... maybe /var/log/cinder or such ?21:01
bholaDeHackEd No changes made other than adding a new hdd for cinder-volumes. created voulme group and applied filter. Then restarted cinder-scheduler service21:02
bholaDeHackEd I don't see cinder-api service on cinder host. Has it been replaced with cinder-sheduler?21:05
DeHackEdno. you need cinder-api. but they don't need to be run on the same host... just that the service catalog lists a working URL21:05
bholaopenstack service list shows 6 services placement, neutron, cinderv3, glance, keystone and nova21:10
bholaI don't see cinder-api service running on any host21:11
bholaI installed cinder-api cinder-scheduler packages on cinder host but it didn't create cinder-api service. It only created cinder-scheduler service21:12
bholaopenstack calaog list shows 3 endpoints public, internal and admin for admin project only. Is this correct?21:17
bholashould there be separate endpoints for service project as well?21:18
DeHackEdsorry, i'm running out of ideas. but "cinder" in your URL.. is that literal? are you using /etc/hosts for DNS shenanigans? are the same entries on any remote hosts running openstack services?21:51
bholaDeHackEd yes I have installed all 6 services on separate nodes. cinder host name is "cinder" and its entry with corresponding ip address is in /etc/hosts file and this file is available on all nodes21:54
bholaAll other services are running perfect and communicating with each other but cinder. can't figure out what is wrong. 21:56

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!