*** tetsuro has joined #openstack-placement | 00:18 | |
*** tetsuro has quit IRC | 00:20 | |
*** irclogbot_0 has quit IRC | 02:09 | |
*** irclogbot_3 has joined #openstack-placement | 02:12 | |
*** tetsuro has joined #openstack-placement | 02:31 | |
*** tetsuro has quit IRC | 02:33 | |
*** takashin has joined #openstack-placement | 04:37 | |
*** sean-k-mooney has quit IRC | 04:40 | |
*** sean-k-mooney has joined #openstack-placement | 04:40 | |
*** ttsiouts has joined #openstack-placement | 06:39 | |
*** ttsiouts has quit IRC | 07:26 | |
*** ttsiouts has joined #openstack-placement | 07:26 | |
*** rastos2 has quit IRC | 07:30 | |
*** rastos2 has joined #openstack-placement | 07:30 | |
*** ttsiouts has quit IRC | 07:31 | |
*** tetsuro has joined #openstack-placement | 07:41 | |
*** tetsuro has quit IRC | 07:46 | |
*** ttsiouts has joined #openstack-placement | 07:56 | |
*** e0ne has joined #openstack-placement | 07:57 | |
*** takashin has left #openstack-placement | 08:00 | |
*** ttsiouts has quit IRC | 08:12 | |
*** ttsiouts has joined #openstack-placement | 08:12 | |
*** ttsiouts has quit IRC | 08:17 | |
*** ttsiouts has joined #openstack-placement | 08:18 | |
*** tssurya_ has joined #openstack-placement | 08:19 | |
*** e0ne has quit IRC | 08:20 | |
*** tetsuro has joined #openstack-placement | 09:03 | |
*** tetsuro has quit IRC | 09:08 | |
*** tssurya_ is now known as tssurya | 09:19 | |
*** e0ne has joined #openstack-placement | 09:24 | |
*** tetsuro has joined #openstack-placement | 09:39 | |
*** tetsuro has quit IRC | 09:45 | |
*** tetsuro has joined #openstack-placement | 10:13 | |
*** tetsuro has quit IRC | 10:18 | |
*** ttsiouts has quit IRC | 10:32 | |
*** ttsiouts has joined #openstack-placement | 10:33 | |
*** ttsiouts has quit IRC | 10:37 | |
*** tetsuro has joined #openstack-placement | 10:48 | |
*** e0ne has quit IRC | 10:51 | |
*** tetsuro has quit IRC | 10:53 | |
*** cdent has joined #openstack-placement | 10:55 | |
*** cdent has quit IRC | 11:03 | |
*** openstackstatus has quit IRC | 11:09 | |
*** ttsiouts has joined #openstack-placement | 11:14 | |
*** artom has joined #openstack-placement | 11:47 | |
*** mriedem has joined #openstack-placement | 13:08 | |
*** e0ne has joined #openstack-placement | 13:13 | |
*** mriedem has quit IRC | 14:10 | |
*** mriedem has joined #openstack-placement | 14:10 | |
*** openstackstatus has joined #openstack-placement | 14:28 | |
*** ChanServ sets mode: +v openstackstatus | 14:28 | |
*** rastos3 has joined #openstack-placement | 14:28 | |
rastos3 | anybody here for the office hours? | 15:07 |
---|---|---|
rastos3 | I'm trying to follow https://docs.openstack.org/install-guide/openstack-services.html#minimal-deployment-for-stein and I got stuck at verifying installation 'placement' service where the step #3 at https://docs.openstack.org/placement/stein/install/verify.html fails with message that just says: 'errors' | 15:10 |
*** cdent has joined #openstack-placement | 15:12 | |
gibi | rastos3: what is the exact commnad you run? | 15:13 |
rastos3 | gibi: openstack --os-placement-api-version 1.2 resource class list --sort-column name | 15:13 |
rastos3 | the apache log says: | 15:14 |
rastos3 | WARNING keystonemiddleware.auth_token [-] Identity response: {"error":{"code":401,"message":"The request you have made requires authentication.","title":"Unauthorized"}} | 15:14 |
rastos3 | 2019-10-02 17:06:24.241708 : keystoneauth1.exceptions.http.Unauthorized: The request you have made requires authentication. (HTTP 401) (Request-ID: req-ea00e7c0-5166-4d5c-bb99-3a54c1f5d06d)\x1b[00m | 15:14 |
gibi | rastos3: could you run openstack --debug <rest of your command> ? and paste the output some pastebin? | 15:14 |
gibi | rastos3: do you have proper user / pass set up? can you say $ opentack endpoint list? | 15:15 |
cdent | rastos3: did you do the '. admin-openrc' (or whatever the equivalent is in your environment)? | 15:15 |
rastos3 | https://pastebin.com/saWMYE9w | 15:16 |
rastos3 | I believe that I do have the username and passwords correct. | 15:16 |
rastos3 | I can do "token issue" command and I get a reasonabe output from that | 15:16 |
cdent | rastos3: this part "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"" | 15:17 |
rastos3 | cdent: yes - see the pastebin. the same happens for "admin" user as well as "placement" user (I created placement-openrc with the right OS_ variable values) | 15:17 |
cdent | suggests that placement isn't configured to talk to keystone prorperly | 15:17 |
cdent | or may have a problem reaching it | 15:18 |
cdent | if you do 'curl http://controller:8778/ ' do you get placement version info (it shouldn't need auth) | 15:18 |
rastos3 | root@controller:~# curl http://controller:8778/ | 15:19 |
rastos3 | {"versions": [{"id": "v1.0", "max_version": "1.31", "min_version": "1.0", "status": "CURRENT", "links": [{"rel": "self", "href": ""}]}]} | 15:19 |
* gibi let cdent handle rastos3's problem | 15:20 | |
cdent | yeah, sorry for jumping in gibi, but it was another case of distraction from other less interesting stuff | 15:20 |
rastos3 | I think I'm not the only one with the problem. see http://lists.openstack.org/pipermail/openstack/2017-March/018880.html and https://ask.openstack.org/en/question/123187/release-stein-placement-service-credentials-do-not-work/ | 15:21 |
gibi | cdent: no worries I'm glad that I'm not alone | 15:21 |
cdent | rastos3: are you seeing similar errors in keystone? | 15:23 |
rastos3 | cdent: I'm new to all this. Where should I see that? | 15:23 |
cdent | in something like /var/log/keystone/keystone-wsgi-public.log | 15:24 |
cdent | but it depends on how you did your install. Are you using packages, from source, osa, ? | 15:24 |
rastos3 | 2019-10-02 17:14:55.013 36 WARNING keystone.auth.core [req-f53a6c95-4ca3-41e8-b622-d91e53b4e068 - - - - -] Could not find domain: default.: keystone.exception.DomainNotFound: Could not find domain: default. | 15:24 |
rastos3 | 2019-10-02 17:14:55.017 36 WARNING keystone.server.flask.application [req-f53a6c95-4ca3-41e8-b622-d91e53b4e068 - - - - -] Authorization failed. The request you have made requires authentication. from 172.17.0.3: keystone.exception.Unauthorized: The request you have made requires authentication. | 15:24 |
rastos3 | can it be that the domain name is case sensitive? | 15:25 |
rastos3 | I think I have "Default" on some places and "default" on others | 15:25 |
rastos3 | the "domain list" returns: | 15:26 |
rastos3 | root@controller:~# openstack domain list | 15:26 |
rastos3 | +----------------------------------+------------+---------+--------------------+ | 15:26 |
rastos3 | | ID | Name | Enabled | Description | | 15:26 |
rastos3 | +----------------------------------+------------+---------+--------------------+ | 15:26 |
rastos3 | | default | Default | True | The default domain | | 15:26 |
rastos3 | | 9a54d3588ad047bba35343d19dee4cca | amc_domain | True | Automarker Domain | | 15:26 |
rastos3 | +----------------------------------+------------+---------+--------------------+ | 15:26 |
efried | seems like osc can talk to keystone, but placement can't talk to keystone. This suggests that something may be amiss with your placement.conf's [keystone_authtoken] section. | 15:26 |
rastos3 | I have appended this to the end of the installed keystone.conf: | 15:28 |
rastos3 | [keystone_authtoken] | 15:28 |
rastos3 | auth_url = http://controller:5000/v3 | 15:28 |
rastos3 | memcached_servers = controller:11211 | 15:28 |
rastos3 | auth_type = password | 15:28 |
rastos3 | project_domain_name = default | 15:28 |
rastos3 | user_domain_name = default | 15:28 |
rastos3 | project_name = service | 15:28 |
rastos3 | username = placement | 15:28 |
rastos3 | password = PLACEMENT_PASS | 15:28 |
rastos3 | uh. sorry. meant to say " ... to the end of installed placement.conf" | 15:28 |
cdent | sorry, got called away, catching up | 15:32 |
cdent | efried: yes, that's what I think do | 15:32 |
efried | rastos3: you had that in your placement.conf originally, or you're trying that now? | 15:33 |
cdent | that keystone_authoken chunk needs to be in placement.conf not keystone.conf and you need whatever the real password is where PLACEMENT_PASS is (unless | 15:33 |
efried | ...and I'm not sure whether you can use the domain ID (default) rather than the name (Default) as {project|user}_domain_name | 15:34 |
rastos3 | I'm actually doing all this in a docker container and the hostname in that container is indeed controller, the password for placement user is indeed PLACEMENT_PASS and the pasted [keystone_authtoken] section was and is in placement.conf | 15:35 |
cdent | rastos3: is keystone in the same container as placement? | 15:36 |
cdent | or are you doing some kind of port mapping amongst containers? | 15:37 |
cdent | what you might do is exec /bin/bash into the placement container and see if you can reach http://controller:5000/ | 15:37 |
rastos3 | it is all in the same container | 15:37 |
rastos3 | I can | 15:37 |
rastos3 | see curl comand above | 15:37 |
cdent | that was 8778, can you get to port 5000? | 15:38 |
*** ttsiouts has quit IRC | 15:39 | |
rastos3 | root@controller:~# curl http://controller:5000 | 15:40 |
rastos3 | {"versions": {"values": [{"id": "v3.12", "status": "stable", "updated": "2019-01-22T00:00:00Z", "links": [{"rel": "self", "href": "http://controller:5000/v3/"}], "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}]}]}} | 15:40 |
*** ttsiouts has joined #openstack-placement | 15:40 | |
cdent | thank | 15:41 |
cdent | s | 15:41 |
* cdent thinks | 15:41 | |
cdent | efried: as I recall keystonemiddleware is a bit cagey with the 503. It's a catchall that doesn't accurately align with what 503 really means | 15:43 |
*** ttsiouts has quit IRC | 15:44 | |
rastos3 | I think that the log message from /var/log/keystone/keystone-wsgi-public.log should be pretty narrowing it down. | 15:44 |
cdent | rastos3: I'd try changing the case of default/Default and see what happens | 15:44 |
efried | can we try s/default/Default/... yeah | 15:44 |
cdent | jinx | 15:44 |
rastos3 | root@controller:~# openstack --os-placement-api-version 1.2 --os-domain-id Default resource class list --sort-column name | 15:45 |
rastos3 | The request you have made requires authentication. (HTTP 401) (Request-ID: req-da04f60b-6ee4-4087-8d2b-8345d8f4ea43) | 15:45 |
rastos3 | root@controller:~# openstack --os-placement-api-version 1.2 --os-domain-id default resource class list --sort-column name | 15:45 |
rastos3 | 'errors' | 15:45 |
rastos3 | mhm. in the admin-openrc I have: | 15:46 |
rastos3 | export OS_PROJECT_DOMAIN_NAME=Default | 15:46 |
rastos3 | export OS_USER_DOMAIN_NAME=Default | 15:46 |
cdent | rastos3: no, in placement.conf | 15:46 |
rastos3 | ok. just a sec ... | 15:46 |
cdent | and then restart the service | 15:46 |
rastos3 | wow! | 15:48 |
rastos3 | root@controller:~# openstack --os-placement-api-version 1.2 resource class list --sort-column name | 15:48 |
rastos3 | +----------------------------+ | 15:48 |
rastos3 | | name | | 15:48 |
rastos3 | +----------------------------+ | 15:48 |
rastos3 | | DISK_GB | | 15:48 |
rastos3 | | IPV4_ADDRESS | | 15:48 |
rastos3 | | MEMORY_MB | | 15:48 |
rastos3 | | NET_BW_EGR_KILOBIT_PER_SEC | | 15:48 |
rastos3 | | NET_BW_IGR_KILOBIT_PER_SEC | | 15:48 |
rastos3 | | NUMA_CORE | | 15:48 |
rastos3 | | NUMA_MEMORY_MB | | 15:48 |
rastos3 | | NUMA_SOCKET | | 15:48 |
rastos3 | | NUMA_THREAD | | 15:48 |
rastos3 | | PCI_DEVICE | | 15:48 |
efried | woot | 15:48 |
rastos3 | root@controller:~# grep -i domain /etc/placement/placement.conf | 15:48 |
rastos3 | #logging_user_identity_format = %(user)s %(tenant)s %(domain)s %(user_domain)s %(project_domain)s | 15:48 |
rastos3 | project_domain_name = Default | 15:48 |
rastos3 | user_domain_name = Default | 15:48 |
rastos3 | thanks guys. thanks a lot | 15:48 |
gibi | good job cdent, efried :) | 15:49 |
rastos3 | I guess the documentation https://docs.openstack.org/placement/stein/install/install-ubuntu.html should be fixed to reflect that. | 15:50 |
cdent | rastos3: can you recall which piece of document had it wrong | 15:50 |
cdent | jinxu again :)( | 15:50 |
rastos3 | ( or the case sensitivity check in code) | 15:50 |
cdent | hmm. I wonder where the domain is being created, because I suspect those instructions are correct some of the time... | 15:52 |
rastos3 | the domain comes from https://docs.openstack.org/keystone/stein/install/keystone-install-ubuntu.html | 15:53 |
rastos3 | I think. | 15:54 |
rastos3 | probably from "keystone-manage bootstrap ..." command. In the subsequent pages it is already expected to exist. | 15:54 |
openstackgerrit | Balazs Gibizer proposed openstack/placement master: Refine concurrent_update error code https://review.opendev.org/686194 | 15:54 |
rastos3 | gibi, cdent, efried: I appreciate your help, I'll have to disconnect now and try to continue with "nova" tomorrow. | 15:57 |
rastos3 | bye | 15:57 |
efried | o/ | 15:57 |
gibi | rastos3: bye | 15:57 |
cdent | good luck | 15:57 |
rastos3 | thanks | 15:57 |
*** rastos3 has quit IRC | 15:57 | |
cdent | gibi, efried : https://storyboard.openstack.org/#!/story/2006652 | 16:01 |
efried | ack | 16:01 |
cdent | i wanted to get that captured, mostly because this is about the extent of my available attention until friday | 16:01 |
gibi | efried, cdent: I can push a doc patch quickly | 16:07 |
cdent | gibi: we'll likely want to confirm that "Default" is the default everywhere | 16:17 |
*** cdent has quit IRC | 16:18 | |
gibi | cdent: I quickly checked the different config guides and all the tree (ubunut, obs, rdo) has the domain created with name Default and with id default | 16:18 |
gibi | so the confusion is between id and name | 16:19 |
openstackgerrit | Balazs Gibizer proposed openstack/placement master: Fix domain name in install doc https://review.opendev.org/686214 | 16:42 |
gibi | cdent, efried: ^^ | 16:42 |
*** e0ne has quit IRC | 16:55 | |
*** tssurya has quit IRC | 16:56 | |
*** kevko_ has joined #openstack-placement | 17:17 | |
kevko_ | hello guys , can someone advice me why placement is logging CRITICAL keystonemiddleware.auth_token [req-e33c4601-9398-4940-b52d-51e7cdcb8b78 - - - - -] Unable to validate token: Unable to establish connection to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f16ee6ee860>: Failed to establi | 17:17 |
kevko_ | sh a new connection: [Errno 111] Connection refused')): keystoneauth1.exceptions.connection.ConnectFailure: Unable to establish connection to https://127.0.0.1:35357: HTTPSConnectionPool(host='127.0.0.1', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f16ee6ee860>: Failed to establish a new connection: [Errno 111] Connection refused')) even | 17:17 |
kevko_ | if I have correct url configured ? thanks | 17:17 |
kevko_ | and also , if it is hardcoded in a code ...why 35357 ? public and admin endpoint is the same few versions past .. | 17:19 |
*** kevko_ has quit IRC | 17:46 | |
*** rastos3 has joined #openstack-placement | 18:04 | |
*** e0ne has joined #openstack-placement | 18:34 | |
*** e0ne has quit IRC | 18:40 | |
*** e0ne has joined #openstack-placement | 21:49 | |
*** takashin has joined #openstack-placement | 21:51 | |
*** rastos3 has quit IRC | 21:56 | |
mriedem | efried: you're placement stable core, can you hit this https://review.opendev.org/#/c/684392/ to unblock the rest of that series? | 22:12 |
efried | ... | 22:12 |
efried | mriedem: done. But are you not a placement stable core? | 22:14 |
mriedem | it's my patch... | 22:14 |
efried | I thought there was an implicit +2 somewhere in [Chris's +1, your +2, and smcginnis's +2] | 22:15 |
efried | anyway, done. | 22:15 |
openstackgerrit | Merged openstack/osc-placement stable/train: Be explicit about auth type in functional tests https://review.opendev.org/684392 | 22:25 |
openstackgerrit | Merged openstack/osc-placement stable/train: Update .gitreview for stable/train https://review.opendev.org/683494 | 22:26 |
*** mriedem has quit IRC | 22:31 | |
*** e0ne has quit IRC | 22:35 | |
openstackgerrit | Merged openstack/osc-placement stable/train: Update TOX/UPPER_CONSTRAINTS_FILE for stable/train https://review.opendev.org/683495 | 23:05 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!