TASK [os_keystone : Ensure service tenant]

Bug #1692383 reported by Alvaro
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Expired
Undecided
Unassigned

Bug Description

TASK [os_keystone : Ensure service tenant] *************************************
FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (5 retries left).
FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (4 retries left).
FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (3 retries left).
FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (2 retries left).
FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (1 retries left).
An exception occurred during task execution. To see the full traceback, use -vvvd: Unable to establish connection to http://192.168.250.217:35357/v3/auth/tokens
fatal: [infra1_keystone_container-8e2828c1]: FAILED! => {"changed": false, "failAGP1N/ansible_module_keystone.py\", line 1446, in <module>\n main()\n File \uter()\n File \"/tmp/ansible_XAGP1N/ansible_module_keystone.py\", line 480, in /ansible_XAGP1N/ansible_module_keystone.py\", line 660, in ensure_tenant\n ree.py\", line 670, in ensure_project\n self._authenticate()\n File \"/tmp/ans_name=project_domain_name,\n File \"/usr/local/lib/python2.7/dist-packages/keys/local/lib/python2.7/dist-packages/positional/__init__.py\", line 101, in inner\ystoneclient/httpclient.py\", line 578, in authenticate\n resp = self.get_rawkeystoneclient/v3/client.py\", line 317, in get_raw_token_from_identity_service\ure: Authorization failed: Unable to establish connection to http://192.168.250.

NO MORE HOSTS LEFT *************************************************************

PLAY RECAP *********************************************************************
infra1_keystone_container-8e2828c1 : ok=94 changed=6 unreachable=0 faile

TASK: galera_client : Update apt if needed ----------------------------- 65.00s
TASK: os_keystone : Ensure service tenant ------------------------------ 55.45s
TASK: os_keystone : Wait for keystone admin to come up ----------------- 10.39s
TASK: os_keystone : Wait for keystone service to come up --------------- 10.32s
TASK: galera_client : Ensure host can talk to HTTPS apt repos ----------- 8.99s
TASK: Create DB for service --------------------------------------------- 7.56s
TASK: os_keystone : Install required pip packages ----------------------- 4.05s
TASK: os_keystone : Rotate credential keys for Keystone ----------------- 3.66s
TASK: os_keystone : Bootstrap keystone admin and endpoint --------------- 3.52s
TASK: os_keystone : Ensure newest key is used for credential in Keystone --- 3.5
root@ANSIBLE-NEWTON:/opt/openstack-ansible/playbooks#

any ideia??? thanks a lot

Tags: docs
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Hello,

Two comments:
- Could you give us the version you're running?
- "Unable to establish connection to http://192.168.250.
NO MORE HOSTS LEFT" -> Is that a problem with the copy/paste? Else the IPv4 looks malformed.
- Did your playbook run properly? Is that the second time (or more) you're running the keystone playbook?
- Could you give us a log of a full run of the keystone playbook?

Changed in openstack-ansible:
status: New → Incomplete
Revision history for this message
Nolan Brubaker (nolan-brubaker) wrote :

Is this using multiple domains? there's been issues with creating a tenant in that situation in the past, and they've never been fully resolved.

Revision history for this message
Alvaro (alvarobcdv) wrote : Re: [Bug 1692383] Re: TASK [os_keystone : Ensure service tenant]
Download full text (3.4 KiB)

I resolved this issue yesterday. I put a subinterface with other IP of
subnet containers to the service public VIP. ALL right at now with playbook
setup-openstack.yml

Em 23 de mai de 2017 2:02 PM, "Nolan Brubaker" <email address hidden>
escreveu:

> Is this using multiple domains? there's been issues with creating a
> tenant in that situation in the past, and they've never been fully
> resolved.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1692383
>
> Title:
> TASK [os_keystone : Ensure service tenant]
>
> Status in openstack-ansible:
> Incomplete
>
> Bug description:
>
> TASK [os_keystone : Ensure service tenant] ******************************
> *******
> FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (5 retries
> left).
> FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (4 retries
> left).
> FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (3 retries
> left).
> FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (2 retries
> left).
> FAILED - RETRYING: TASK: os_keystone : Ensure service tenant (1 retries
> left).
> An exception occurred during task execution. To see the full traceback,
> use -vvvd: Unable to establish connection to http://192.168.250.217:35357/
> v3/auth/tokens
> fatal: [infra1_keystone_container-8e2828c1]: FAILED! => {"changed":
> false, "failAGP1N/ansible_module_keystone.py\", line 1446, in <module>\n
> main()\n File \uter()\n File \"/tmp/ansible_XAGP1N/ansible_module_keystone.py\",
> line 480, in /ansible_XAGP1N/ansible_module_keystone.py\", line 660, in
> ensure_tenant\n ree.py\", line 670, in ensure_project\n
> self._authenticate()\n File \"/tmp/ans_name=project_domain_name,\n File
> \"/usr/local/lib/python2.7/dist-packages/keys/local/lib/
> python2.7/dist-packages/positional/__init__.py\", line 101, in
> inner\ystoneclient/httpclient.py\", line 578, in authenticate\n resp =
> self.get_rawkeystoneclient/v3/client.py\", line 317, in
> get_raw_token_from_identity_service\ure: Authorization failed: Unable to
> establish connection to http://192.168.250.
>
> NO MORE HOSTS LEFT
> *************************************************************
>
> PLAY RECAP ************************************************************
> *********
> infra1_keystone_container-8e2828c1 : ok=94 changed=6
> unreachable=0 faile
>
> TASK: galera_client : Update apt if needed -----------------------------
> 65.00s
> TASK: os_keystone : Ensure service tenant ------------------------------
> 55.45s
> TASK: os_keystone : Wait for keystone admin to come up -----------------
> 10.39s
> TASK: os_keystone : Wait for keystone service to come up ---------------
> 10.32s
> TASK: galera_client : Ensure host can talk to HTTPS apt repos
> ----------- 8.99s
> TASK: Create DB for service ---------------------------------------------
> 7.56s
> TASK: os_keystone : Install required pip packages
> ----------------------- 4.05s
> TASK: os_keystone : Rotate credential keys for Keystone
> ----------------- 3.66s
> TASK: os_keystone : Bootstrap keystone admin and endpoint
> ---...

Read more...

Revision history for this message
Hammad Shah (hammad-shah) wrote :

I have been hitting this issue on the setup-openstack.yml run repeatedly. Using OSA 14.2.3, this is a new installation. complete verbose logs of the run at: https://pastebin.com/YmGwwEHd

Revision history for this message
Hammad Shah (hammad-shah) wrote :

@Alvaro can you explain a bit more how you managed to fix this problem.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for openstack-ansible because there has been no activity for 60 days.]

Changed in openstack-ansible:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.