os_octavia : Setup the service project quota endpoint for block-storage service in RegionOne region not found

Bug #1834394 reported by Satish Patel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jonathan Rosser

Bug Description

Deploying stein 3 node controller on CentOS 7.6 and getting following error, I am not using cinder block-storage service, not sure why its looking for block-storage endpoint which i don't have.

TASK [os_octavia : Ensure mgmt subnet exists] *************************************************************************************************************************************
ok: [ostack-infra-2-1_octavia_server_container-d9cb19fb -> localhost]

TASK [os_octavia : include_tasks] *************************************************************************************************************************************************
included: /etc/ansible/roles/os_octavia/tasks/octavia_security_group.yml for ostack-infra-2-1_octavia_server_container-d9cb19fb

TASK [os_octavia : Setup the service project quota] *******************************************************************************************************************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: keystoneauth1.exceptions.catalog.EndpointNotFound: admin endpoint for block-storage service in RegionOne region not found
fatal: [ostack-infra-2-1_octavia_server_container-d9cb19fb -> localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/root/.ansible/tmp/ansible-tmp-1561602767.9-179364445049908/AnsiballZ_os_quota.py\", line 113, in <module>\n _ansiballz_main()\n File \"/root/.ansible/tmp/ansible-tmp-1561602767.9-179364445049908/AnsiballZ_os_quota.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/root/.ansible/tmp/ansible-tmp-1561602767.9-179364445049908/AnsiballZ_os_quota.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/tmp/ansible_os_quota_payload_H9Yyjh/__main__.py\", line 449, in <module>\n File \"/tmp/ansible_os_quota_payload_H9Yyjh/__main__.py\", line 384, in main\n File \"/tmp/ansible_os_quota_payload_H9Yyjh/__main__.py\", line 251, in _get_quotas\n File \"/tmp/ansible_os_quota_payload_H9Yyjh/__main__.py\", line 234, in _get_volume_quotas\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/openstack/cloud/openstackcloud.py\", line 11530, in get_volume_quotas\n error_message=\"cinder client call failed\")\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/adapter.py\", line 375, in get\n return self.request(url, 'GET', **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/openstack/_adapter.py\", line 138, in request\n response = super(ShadeAdapter, self).request(url, method, **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/openstack/_adapter.py\", line 124, in request\n **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/adapter.py\", line 237, in request\n return self.session.request(url, method, **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/session.py\", line 726, in request\n **endpoint_filter)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/session.py\", line 1139, in get_endpoint\n return auth.get_endpoint(self, **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/identity/base.py\", line 380, in get_endpoint\n allow_version_hack=allow_version_hack, **kwargs)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/identity/base.py\", line 279, in get_endpoint_data\n service_name=service_name)\n File \"/opt/ansible-runtime/lib/python2.7/site-packages/keystoneauth1/access/service_catalog.py\", line 462, in endpoint_data_for\n raise exceptions.EndpointNotFound(msg)\nkeystoneauth1.exceptions.catalog.EndpointNotFound: admin endpoint for block-storage service in RegionOne region not found\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

PLAY RECAP ************************************************************************************************************************************************************************
ostack-infra-2-1_octavia_server_container-d9cb19fb : ok=83 changed=3 unreachable=0 failed=1

Revision history for this message
Satish Patel (satish-txt) wrote :
Revision history for this message
Satish Patel (satish-txt) wrote :

My ansible version is following:

ansible 2.7.9
  config file = None
  configured module search path = [u'/etc/ansible/roles/config_template/library', u'/etc/ansible/roles/plugins/library', u'/etc/ansible/roles/ceph-ansible/library']
  ansible python module location = /opt/ansible-runtime/lib/python2.7/site-packages/ansible
  executable location = /opt/ansible-runtime/bin/ansible
  python version = 2.7.5 (default, Jun 20 2019, 20:27:34) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)]

Changed in openstack-ansible:
assignee: nobody → Jonathan Rosser (jrosser)
status: New → In Progress
Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

Correct me if I'm wrong, but I think this should have been resolved for a while?

Revision history for this message
Satish Patel (satish-txt) wrote :

Yes, this is very old bug and i am 100% sure it has been resolved because i have deployed multiple time after that. Lets close this issue.

Changed in openstack-ansible:
status: In Progress → Fix Released
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.