AttributeError: 'HeatNativeLauncher' object has no attribute 'install_tmp'

Bug #1917583 reported by Bhagyashri Shewale
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Bhagyashri Shewale

Bug Description

2021-03-03 02:25:15.873718 | fa163e3f-9a00-d9f1-a8fe-0000000004aa | TASK | Install - IPA client test
2021-03-03 02:25:15.904120 | fa163e3f-9a00-d9f1-a8fe-0000000004aa | FATAL | Install - IPA client test | undercloud | error={"msg": "The task includes an option with an undefined variable. The error was: 'ansible_fqdn' is undefined\n\nThe error appears to be in '/usr/share/ansible/roles/ipaclient/tasks/install.yml': line 30, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Install - IPA client test\n ^ here\n"}
2021-03-03 02:25:15.905708 | fa163e3f-9a00-d9f1-a8fe-0000000004aa | TIMING | ipaclient : Install - IPA client test | undercloud | 0:00:30.100182 | 0.03s

PLAY RECAP *********************************************************************
undercloud : ok=49 changed=26 unreachable=0 failed=1 skipped=8 rescued=0 ignored=0
2021-03-03 02:25:15.946294 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.947262 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 63 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.948091 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:30.142573 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.949228 | UUID | Info | Host | Task Name | Run Time
2021-03-03 02:25:15.950060 | fa163e3f-9a00-d9f1-a8fe-0000000004a5 | SUMMARY | undercloud | ipaclient : Install - Ensure that IPA client packages are installed | 8.67s
2021-03-03 02:25:15.951052 | fa163e3f-9a00-d9f1-a8fe-000000000191 | SUMMARY | undercloud | tripleo_bootstrap : Deploy required packages to bootstrap TripleO | 3.04s
2021-03-03 02:25:15.951952 | fa163e3f-9a00-d9f1-a8fe-0000000002c1 | SUMMARY | undercloud | Ensure openssl-perl package is present on RHEL8 | 1.59s
2021-03-03 02:25:15.952928 | fa163e3f-9a00-d9f1-a8fe-000000000194 | SUMMARY | undercloud | tripleo_bootstrap : Deploy network-scripts required for deprecated network service | 1.57s
2021-03-03 02:25:15.953891 | fa163e3f-9a00-d9f1-a8fe-00000000019b | SUMMARY | undercloud | tripleo_bootstrap : Create empty ruleset in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables | 1.10s
2021-03-03 02:25:15.954879 | fa163e3f-9a00-d9f1-a8fe-0000000000e4 | SUMMARY | undercloud | Gathering Facts | 0.74s
2021-03-03 02:25:15.955816 | fa163e3f-9a00-d9f1-a8fe-000000000336 | SUMMARY | undercloud | tripleo_create_admin : create user tripleo-admin | 0.59s
2021-03-03 02:25:15.956815 | fa163e3f-9a00-d9f1-a8fe-000000000016 | SUMMARY | undercloud | Set selinux state | 0.58s
2021-03-03 02:25:15.957627 | fa163e3f-9a00-d9f1-a8fe-000000000195 | SUMMARY | undercloud | tripleo_bootstrap : Ensure network service is enabled | 0.56s
2021-03-03 02:25:15.958568 | fa163e3f-9a00-d9f1-a8fe-000000000010 | SUMMARY | undercloud | Render all_nodes data as group_vars for overcloud | 0.53s
2021-03-03 02:25:15.959451 | fa163e3f-9a00-d9f1-a8fe-00000000023b | SUMMARY | undercloud | tripleo_ssh_known_hosts : Write temporary file | 0.50s
2021-03-03 02:25:15.960349 | fa163e3f-9a00-d9f1-a8fe-00000000014c | SUMMARY | undercloud | tripleo_hosts_entries : Update /etc/hosts contents (if changed) | 0.47s
2021-03-03 02:25:15.961254 | fa163e3f-9a00-d9f1-a8fe-000000000197 | SUMMARY | undercloud | tripleo_bootstrap : Set 'dns=none' in /etc/NetworkManager/NetworkManager.conf | 0.46s
2021-03-03 02:25:15.962162 | fa163e3f-9a00-d9f1-a8fe-00000000002a | SUMMARY | undercloud | Write container-puppet.sh | 0.45s
2021-03-03 02:25:15.963096 | fa163e3f-9a00-d9f1-a8fe-00000000023a | SUMMARY | undercloud | tripleo_ssh_known_hosts : Create a temporary copy of ssh_known_hosts | 0.42s
2021-03-03 02:25:15.963971 | fa163e3f-9a00-d9f1-a8fe-000000000337 | SUMMARY | undercloud | tripleo_create_admin : grant admin rights to user tripleo-admin | 0.42s
2021-03-03 02:25:15.964940 | fa163e3f-9a00-d9f1-a8fe-000000000149 | SUMMARY | undercloud | tripleo_hosts_entries : Remove old Heat hosts configuration (if present) | 0.42s
2021-03-03 02:25:15.965755 | fa163e3f-9a00-d9f1-a8fe-00000000014d | SUMMARY | undercloud | tripleo_hosts_entries : Clean up temporary hosts file | 0.41s
2021-03-03 02:25:15.966440 | fa163e3f-9a00-d9f1-a8fe-000000000148 | SUMMARY | undercloud | tripleo_hosts_entries : Prepare temporary /etc/hosts | 0.39s
2021-03-03 02:25:15.967350 | fa163e3f-9a00-d9f1-a8fe-000000000198 | SUMMARY | undercloud | tripleo_bootstrap : Reload NetworkManager | 0.37s
2021-03-03 02:25:15.968138 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.969090 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ State Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.969835 | ~~~~~~~~~~~~~~~~~~ Number of nodes which did not deploy successfully: 1 ~~~~~~~~~~~~~~~~~
2021-03-03 02:25:15.970510 | The following node(s) had failures: undercloud
2021-03-03 02:25:15.971498 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[WARNING]: Failure using method (v2_playbook_on_stats) in callback plugin
(<ansible.plugins.callback.validation_json.CallbackModule object at
0x7fcf25c55470>): [Errno 2] No such file or directory: '/var/log/validations/fa
163e3f-9a00-d9f1-a8fe-000000000007_deploy_steps_playbook_2021-03-03T02:24:45.80
5660Z.json'
Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2
Not cleaning working directory /home/zuul/tripleo-heat-installer-templates
Not cleaning ansible directory /home/zuul/undercloud-ansible-misvqh09
Install artifact is located at /home/zuul/tripleo-heat-installer-templates/undercloud-install-20210303022516.tar.bzip2
Exception: 'HeatNativeLauncher' object has no attribute 'install_tmp'
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1324, in _standalone_deploy
    **operation)
  File "/usr/lib/python3.6/site-packages/tripleoclient/utils.py", line 712, in run_ansible_playbook
    raise RuntimeError(err_msg)
RuntimeError: Ansible execution failed. playbook: deploy_steps_playbook.yaml, Run Status: failed, Return Code: 2

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 1411, in take_action
    self._standalone_deploy(parsed_args)
  File "/usr/lib/python3.6/site-packages/tripleoclient/v1/tripleo_deploy.py", line 1365, in _standalone_deploy
    self.heat_launch.install_tmp
AttributeError: 'HeatNativeLauncher' object has no attribute 'install_tmp'
None
'HeatNativeLauncher' object has no attribute 'install_tmp'

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

An error has occured while deploying the Undercloud.

See the previous output for details about what went wrong.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Affected job list:

1. periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master [1]
2. periodic-tripleo-ci-centos-8-scenario001-standalone-master [5]
3. periodic-tripleo-ci-centos-8-scenario004-standalone-master [6]
4. periodic-tripleo-ci-centos-8-scenario010-standalone-master [7]
5. periodic-tripleo-ci-centos-8-scenario010-ovn-provider-standalone-master [8]

[1]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/9edd55c/logs/undercloud/home/zuul/undercloud_install.log.txt.gz

[2]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/9edd55c/logs/undercloud/home/zuul/install-undercloud.log.txt.gz

[3]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master/9edd55c/job-output.txt

[4]: https://review.rdoproject.org/zuul/builds?pipeline=openstack-periodic-integration-main&job_name=periodic-tripleo-ci-centos-8-ovb-3ctlr_1comp_1supp-featureset039-master

[5]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario001-standalone-master/7e30565/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

[6]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario004-standalone-master/4ce16e8/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

[7]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario010-standalone-master/7376c7c/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

[8]: https://logserver.rdoproject.org/openstack-periodic-integration-main/opendev.org/openstack/tripleo-ci/master/periodic-tripleo-ci-centos-8-scenario010-ovn-provider-standalone-master/a9bfb07/logs/undercloud/home/zuul/standalone_deploy.log.txt.gz

tags: added: promotion-blocker
Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :
Changed in tripleo:
assignee: nobody → Bhagyashri Shewale (bhagyashri-shewale)
description: updated
Revision history for this message
Bhagyashri Shewale (bhagyashri-shewale) wrote :

Hi All,

Fix has been merged https://review.opendev.org/c/openstack/python-tripleoclient/+/778381

Marking this bug as Fix Released

Thank you :)

Changed in tripleo:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 16.0.0

This issue was fixed in the openstack/python-tripleoclient 16.0.0 release.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.