Skip to content

fails at create network #56

@shnacharya

Description

@shnacharya

14:04:20 An exception occurred during task execution. To see the full traceback, use -vvv. The error was: keystoneauth1.exceptions.http.BadRequest: Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-4fb9fcbc-d70f-454b-99ff-7c108261498d)
14:04:20 fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1575534859.71-245779769581856/AnsiballZ_os_network.py", line 102, in \n _ansiballz_main()\n File "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1575534859.71-245779769581856/AnsiballZ_os_network.py", line 94, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File "/var/lib/jenkins/.ansible/tmp/ansible-tmp-1575534859.71-245779769581856/AnsiballZ_os_network.py", line 40, in invoke_module\n runpy.run_module(mod_name='ansible.modules.cloud.openstack.os_network', init_globals=None, run_name='main', alter_sys=True)\n File "/usr/lib64/python2.7/runpy.py", line 176, in run_module\n fname, loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 82, in _run_module_code\n mod_name, mod_fname, mod_loader, pkg_name)\n File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code\n exec code in run_globals\n File "/tmp/ansible_os_network_payload_JJKaTw/ansible_os_network_payload.zip/ansible/modules/cloud/openstack/os_network.py", line 255, in \n File "/tmp/ansible_os_network_payload_JJKaTw/ansible_os_network_payload.zip/ansible/modules/cloud/openstack/os_network.py", line 237, in main\n File "/usr/lib/python2.7/site-packages/openstack/cloud/_network.py", line 543, in create_network\n data = self.network.post("/networks.json", json={'network': network})\n File "/usr/lib/python2.7/site-packages/openstack/service_description.py", line 87, in get\n proxy = self._make_proxy(instance)\n File "/usr/lib/python2.7/site-packages/openstack/service_description.py", line 235, in _make_proxy\n **version_kwargs\n File "/usr/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 710, in get_session_client\n service_type, constructor)\n File "/usr/lib/python2.7/site-packages/openstack/config/cloud_region.py", line 656, in _get_hardcoded_endpoint\n endpoint = adapter.get_endpoint()\n File "/usr/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 282, in get_endpoint\n return self.session.get_endpoint(auth or self.auth, **kwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1225, in get_endpoint\n return auth.get_endpoint(self, **kwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 380, in get_endpoint\n allow_version_hack=allow_version_hack, **kwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 271, in get_endpoint_data\n service_catalog = self.get_access(session).service_catalog\n File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 134, in get_access\n self.auth_ref = self.get_auth_ref(session)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 208, in get_auth_ref\n return self._plugin.get_auth_ref(session, **kwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 184, in get_auth_ref\n authenticated=False, log=False, **rkwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 1131, in post\n return self.request(url, 'POST', **kwargs)\n File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 968, in request\n raise exceptions.from_response(resp, method, url)\nkeystoneauth1.exceptions.http.BadRequest: Expecting to find domain in user - the server could not comply with the request since it is either malformed or otherwise incorrect. The client is assumed to be in error. (HTTP 400) (Request-ID: req-4fb9fcbc-d70f-454b-99ff-7c108261498d)\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions