Bug 2096197 - Ease of deployment: NFV derive parameters is broken.
Summary: Ease of deployment: NFV derive parameters is broken.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: tripleo-ansible
Version: 18.0 (Zed)
Hardware: Unspecified
OS: Linux
low
low
Target Milestone: ga
: ---
Assignee: Jaganathan Palanisamy
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-06-13 09:19 UTC by Jaganathan Palanisamy
Modified: 2023-08-01 16:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-01 16:38:41 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker NFV-2526 0 None None None 2022-06-13 09:35:53 UTC
Red Hat Issue Tracker OSP-15633 0 None None None 2022-06-13 09:35:56 UTC

Description Jaganathan Palanisamy 2022-06-13 09:19:36 UTC
Description of problem:
Not working Derive parameters in OSP18.
Getting this error,
TASK [Get baremetal inspection data] *********************************************************
task path: /home/stack/xena/hci/derive-local-hci-parameters.yml:14
<127.0.0.1> ESTABLISH LOCAL CONNECTION FOR USER: stack
<127.0.0.1> EXEC /bin/sh -c 'echo ~stack && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '( umask 77 && mkdir -p "` echo /home/stack/.ansible/tmp `"&& mkdir "` echo /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585 `" && echo ansible-tmp-1654542636.3314762-265361-35179738564585="` echo /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585 `" ) && sleep 0'
Using module file /usr/share/ansible/plugins/modules/tripleo_get_introspected_data.py
<127.0.0.1> PUT /home/stack/.ansible/tmp/ansible-local-265280johtnbi2/tmpmnqteacw TO /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585/AnsiballZ_tripleo_get_introspected_data.py
<127.0.0.1> EXEC /bin/sh -c 'chmod u+x /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585/ /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585/AnsiballZ_tripleo_get_introspected_data.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c '/usr/bin/python3.9 /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585/AnsiballZ_tripleo_get_introspected_data.py && sleep 0'
<127.0.0.1> EXEC /bin/sh -c 'rm -f -r /home/stack/.ansible/tmp/ansible-tmp-1654542636.3314762-265361-35179738564585/ > /dev/null 2>&1 && sleep 0'
The full traceback is:
  File "/tmp/ansible_tripleo_get_introspected_data_payload_mpmbktl7/ansible_tripleo_get_introspected_data_payload.zip/ansible/modules/tripleo_get_introspected_data.py", line 73, in main
  File "/tmp/ansible_tripleo_get_introspected_data_payload_mpmbktl7/ansible_tripleo_get_introspected_data_payload.zip/ansible/module_utils/tripleo_common_utils.py", line 186, in return_introspected_node_data
    client = self.get_ironic_inspector_client()
  File "/tmp/ansible_tripleo_get_introspected_data_payload_mpmbktl7/ansible_tripleo_get_introspected_data_payload.zip/ansible/module_utils/tripleo_common_utils.py", line 62, in get_ironic_inspector_client
    ironic_inspector_client.ClientV1(session=self.sess)
  File "/usr/lib/python3.9/site-packages/ironic_inspector_client/v1.py", line 87, in __init__
    super(ClientV1, self).__init__(**kwargs)
  File "/usr/lib/python3.9/site-packages/ironic_inspector_client/common/http.py", line 166, in __init__
    raise EndpointNotFound(service_type=service_type)
fatal: [localhost]: FAILED! => {
    "changed": false,
    "error": "Endpoint of type baremetal-introspection was not found in the service catalog and was not provided explicitly",
    "invocation": {
        "module_args": {
            "api_timeout": null,
            "auth": null,
            "auth_type": null,
            "availability_zone": null,
            "ca_cert": null,
            "client_cert": null,
            "client_key": null,
            "interface": "public",
            "node_id": "39db0ae1-79c8-43b4-90e4-5a81f3299a41",
            "region_name": null,
            "timeout": 180,
            "validate_certs": null,
            "wait": true
        }
    },
    "msg": "Error pulling introspection data for 39db0ae1-79c8-43b4-90e4-5a81f3299a41: Endpoint of type baremetal-introspection was not found in the service catalog and was not provided explicitly",
    "success": false
}

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:
Failed

Expected results:
Need to derive the NFV parameters.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.