Container Undercloud - UndercloudAllNodesValidationDeployment: No module named ipaddr

Bug #1751934 reported by Harald Jensås
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Harald Jensås

Bug Description

TASK [Output for UndercloudAllNodesValidationDeployment] **********************************************************************************************************************************************************
fatal: [172.20.0.1]: FAILED! => {
    "changed": false,
    "failed_when_result": true,
    "msg": [
        {
            "stderr": [
                "[2018-02-27 00:05:27,756] (heat-config) [DEBUG] Running /usr/libexec/heat-config/hooks/script < /var/lib/heat-config/deployed/f6928225-5190-4123-88e6-0623a20aa9d5.json",
                "[2018-02-27 00:05:27,800] (heat-config) [INFO] {\"deploy_stdout\": \"\", \"deploy_stderr\": \"Traceback (most recent call last):\\n File \\\"<string>\\\", line 1, in <module>\\nImportError: No module named ipaddr\\n\", \"deploy_status_code\": 1}",
                "[2018-02-27 00:05:27,800] (heat-config) [DEBUG] [2018-02-27 00:05:27,776] (heat-config) [INFO] ping_test_ips=172.20.0.1 172.20.0.1 172.20.0.1 172.20.0.1 172.20.0.1",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] validate_fqdn=False",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] validate_ntp=True",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] deploy_server_id=57fe99e4-f11a-4d1a-b5b0-43ae688a3ebb",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] deploy_action=CREATE",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] deploy_stack_id=undercloud-UndercloudAllNodesValidationDeployment-eev26fvcd77h-0-4lgbhfhw7c3b/d330415a-1e0e-4c4f-b05e-49d34a045599",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] deploy_resource_name=TripleOSoftwareDeployment",
                "[2018-02-27 00:05:27,777] (heat-config) [INFO] deploy_signal_transport=NO_SIGNAL",
                "[2018-02-27 00:05:27,777] (heat-config) [DEBUG] Running /var/lib/heat-config/heat-config-script/f6928225-5190-4123-88e6-0623a20aa9d5",
                "[2018-02-27 00:05:27,796] (heat-config) [INFO] ",
                "[2018-02-27 00:05:27,797] (heat-config) [DEBUG] Traceback (most recent call last):",
                " File \"<string>\", line 1, in <module>",
                "ImportError: No module named ipaddr",
                "",
                "[2018-02-27 00:05:27,797] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-script/f6928225-5190-4123-88e6-0623a20aa9d5. [1]",
                "",
                "",
                "[2018-02-27 00:05:27,800] (heat-config) [INFO] Completed /usr/libexec/heat-config/hooks/script",
                "[2018-02-27 00:05:27,800] (heat-config) [DEBUG] Running heat-config-notify /var/lib/heat-config/deployed/f6928225-5190-4123-88e6-0623a20aa9d5.json < /var/lib/heat-config/deployed/f6928225-5190-4123-88e6-0623a20aa9d5.notify.json",
                "[2018-02-27 00:05:29,025] (heat-config) [INFO] ",
                "[2018-02-27 00:05:29,025] (heat-config) [DEBUG] "
            ]
        },
        {
            "status_code": "1"
        }
    ]
}

Changed in tripleo:
status: New → Triaged
importance: Undecided → High
milestone: none → rocky-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/548099

Changed in tripleo:
assignee: nobody → Harald Jensås (harald-jensas)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/548099
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=d0a03972a6b835bd19f3a13cc87c9e84fbb9d16d
Submitter: Zuul
Branch: master

commit d0a03972a6b835bd19f3a13cc87c9e84fbb9d16d
Author: Harald Jensas <email address hidden>
Date: Mon Feb 26 23:19:30 2018 +0100

    Use ipaddress module

    This patch replaces use of ipaddr python module with
    ipaddress module. The ipaddr has been superseded by the
    ipaddress module.

    Also install python-ipaddress instead of python-ipaddr in
    deployed-server bootstrap scripts.

    Closes-Bug: #1751934
    Change-Id: I63ae89869c8994e17b3460f9ae94e5fa922f6237

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 8.0.0.0rc1

This issue was fixed in the openstack/tripleo-heat-templates 8.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers