Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neutronclient.common.exceptions.BadRequest: Invalid input for allocation_pools. Reason: '172.16.202\nfe80' is not a valid IP address. #1045

Open
freyes opened this issue Apr 27, 2023 · 0 comments

Comments

@freyes
Copy link
Member

freyes commented Apr 27, 2023

Issue seen in the CI:
https://openstack-ci-reports.ubuntu.com/artifacts/980/881446/1/check/vault-focal-wallaby/980ab0f/job-output.txt
https://openstack-ci-reports.ubuntu.com/artifacts/980/881446/1/check/vault-focal-wallaby/980ab0f/

2023-04-26 23:58:23.219506 | focal-medium | 2023-04-26 23:58:23 [INFO] Creating flat external network: ext_net
2023-04-26 23:58:23.851672 | focal-medium | 2023-04-26 23:58:23 [INFO] Network ext_net created: fbe328cb-8874-425a-81a7-4affe9b3fc2a
2023-04-26 23:58:23.912822 | focal-medium | 2023-04-26 23:58:23 [INFO] Creating new subnet
2023-04-26 23:58:23.942694 | focal-medium | 2023-04-26 23:58:23 [ERROR] {'vault': 'zaza-f46b40e49197'}
2023-04-26 23:58:23.943056 | focal-medium | 2023-04-26 23:58:23 [ERROR] Model vault (zaza-f46b40e49197)
2023-04-26 23:58:26.454406 | focal-medium | Traceback (most recent call last):
2023-04-26 23:58:26.454512 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/bin/functest-run-suite", line 8, in <module>
2023-04-26 23:58:26.454552 | focal-medium |     sys.exit(main())
2023-04-26 23:58:26.454601 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 364, in main
2023-04-26 23:58:26.454636 | focal-medium |     func_test_runner(
2023-04-26 23:58:26.454686 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 277, in func_test_runner
2023-04-26 23:58:26.454792 | focal-medium |     run_env_deployment(env_deployment, keep_model=preserve_model,
2023-04-26 23:58:26.454837 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/charm_lifecycle/func_test_runner.py", line 151, in run_env_deployment
2023-04-26 23:58:26.454925 | focal-medium |     configure.configure(
2023-04-26 23:58:26.455012 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/charm_lifecycle/configure.py", line 51, in configure
2023-04-26 23:58:26.455054 | focal-medium |     run_configure_list(functions)
2023-04-26 23:58:26.455090 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/charm_lifecycle/configure.py", line 37, in run_configure_list
2023-04-26 23:58:26.455122 | focal-medium |     utils.get_class(func)()
2023-04-26 23:58:26.455183 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/charm_tests/neutron/setup.py", line 121, in basic_overcloud_network
2023-04-26 23:58:26.455217 | focal-medium |     network.setup_sdn(network_config, keystone_session=keystone_session)
2023-04-26 23:58:26.455249 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/configure/network.py", line 133, in setup_sdn
2023-04-26 23:58:26.455281 | focal-medium |     openstack_utils.create_provider_subnet(
2023-04-26 23:58:26.455328 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/zaza/openstack/utilities/openstack.py", line 1295, in create_provider_subnet
2023-04-26 23:58:26.455359 | focal-medium |     subnet = neutron_client.create_subnet({'subnet': subnet_msg})['subnet']
2023-04-26 23:58:26.455388 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/neutronclient/v2_0/client.py", line 848, in create_subnet
2023-04-26 23:58:26.455416 | focal-medium |     return self.post(self.subnets_path, body=body)
2023-04-26 23:58:26.455445 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/neutronclient/v2_0/client.py", line 358, in post
2023-04-26 23:58:26.455485 | focal-medium |     return self.do_request("POST", action, body=body,
2023-04-26 23:58:26.455522 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/neutronclient/v2_0/client.py", line 294, in do_request
2023-04-26 23:58:26.455556 | focal-medium |     self._handle_fault_response(status_code, replybody, resp)
2023-04-26 23:58:26.455590 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
2023-04-26 23:58:26.455618 | focal-medium |     exception_handler_v20(status_code, error_body)
2023-04-26 23:58:26.455646 | focal-medium |   File "/home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/lib/python3.8/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
2023-04-26 23:58:26.455672 | focal-medium |     raise client_exc(message=error_message,
2023-04-26 23:58:26.455699 | focal-medium | neutronclient.common.exceptions.BadRequest: Invalid input for allocation_pools. Reason: '172.16.202
2023-04-26 23:58:26.455728 | focal-medium | fe80' is not a valid IP address.
2023-04-26 23:58:26.455758 | focal-medium | Neutron server returns request_ids: ['req-0eea4e40-9266-40ae-bc2e-fd0f461ac5c8']
2023-04-26 23:58:27.156050 | focal-medium | ERROR: InvocationError for command /home/ubuntu/src/review.opendev.org/openstack/charm-nova-cloud-controller/.tox/func-target/bin/functest-run-suite --keep-model --bundle vault:focal-wallaby (exited with code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant