Bug 1755656
| Summary: | [DDF] Am getting invalid ipv4 address comming from the deploy in the | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Direct Docs Feedback <ddf-bot> |
| Component: | documentation | Assignee: | RHOS Documentation Team <rhos-docs> |
| Status: | CLOSED EOL | QA Contact: | RHOS Documentation Team <rhos-docs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 15.0 (Stein) | CC: | camorris, cmuresan, dmacpher, rheslop |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-03-10 05:55:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
It looks like the IP and NETMASK environment variables weren't correctly set, hence the errors such as: '' is not a valid IPv4 address string! base address '' is not IPv4 invalid partial IPv4 address: ''! invalid IPNetwork / Instructions for setting these envrionment variable before deployment are here: https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/15/html/quick_start_guide/deploying-the-all-in-one-openstack-installation That said, it's hard to know what went wrong without know what configuration was used. OSP15 was EOL Oct 30, 2020 and will be closing this BZ as EOL. If this issue still exists in OSP16.1, please feel free to reopen and reassign this BZ to OSP16.1. |
Am getting invalid ipv4 address comming from the deploy in the jinja2 rendering normal template neutron-ml2-cisco-nexus-ucsm.j2.yaml rendering j2 template to file: /home/cloud-user/tripleo-heat-installer-templates/./puppet/extraconfig/all_nodes/neutron-ml2-cisco-nexus-ucsm.yaml Exception: invalid IPNetwork / Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/netaddr/strategy/ipv4.py", line 125, in str_to_int return _struct.unpack('>I', _inet_pton(AF_INET, addr))[0] OSError: illegal IP address string passed to inet_pton During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 311, in __init__ self._value = self._module.str_to_int(addr, flags) File "/usr/lib/python3.6/site-packages/netaddr/strategy/ipv4.py", line 129, in str_to_int raise AddrFormatError('%r is not a valid IPv4 address string!' % addr) netaddr.core.AddrFormatError: '' is not a valid IPv4 address string! During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 791, in parse_ip_network ip = IPAddress(val1, module.version, flags=INET_PTON) File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 314, in __init__ % (addr, self._module.version)) netaddr.core.AddrFormatError: base address '' is not IPv4 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/netaddr/strategy/ipv4.py", line 265, in expand_partial_address tokens = ['%d' % int(addr)] ValueError: invalid literal for int() with base 10: '' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 928, in __init__ implicit_prefix, flags) File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 795, in parse_ip_network expanded_addr = _ipv4.expand_partial_address(val1) File "/usr/lib/python3.6/site-packages/netaddr/strategy/ipv4.py", line 267, in expand_partial_address raise error netaddr.core.AddrFormatError: invalid partial IPv4 address: ''! During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1207, in _standalone_deploy parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 758, in _deploy_tripleo_heat_templates roles_file_path, networks_file_path, parsed_args) File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 692, in _setup_heat_environments ip_nw = netaddr.IPNetwork(parsed_args.local_ip) File "/usr/lib/python3.6/site-packages/netaddr/ip/__init__.py", line 938, in __init__ raise AddrFormatError('invalid IPNetwork %s' % addr) netaddr.core.AddrFormatError: invalid IPNetwork / None Not cleaning working directory /home/cloud-user/tripleo-heat-installer-templates Not cleaning ansible directory /home/cloud-user/undercloud-ansible-hnbieive Install artifact is located at /home/cloud-user/undercloud-install-20190926004159.tar.bzip2 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Deployment Failed! ERROR: Heat log files: /var/log/heat-launcher/undercloud_deploy-zqkczayy !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Deployment failed. Reported by: rhn-sa-jwp https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/15/html/quick_start_guide/deploying-the-all-in-one-openstack-installation#annotations:ea098c88-f7b5-4ca5-9697-a27fe951dbca