configure_instances.yaml fails to install python-pip package

Bug #1796885 reported by musharani
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Released
Critical
Andrey Pavlov
Trunk
Fix Released
Critical
Andrey Pavlov

Bug Description

The issue is seen in master branch build id-316.

Provision is failed while running ansible-playbook -i inventory/ -e orchestrator=openstack playbooks/configure_instances.yml to install all the dependent packages. It is failing while installing python-pip package.

2018-10-09 15:17:02,752 p=12854 u=root | TASK [contrail_deployer : install pyopenssl tools] ********************************************************************************************
2018-10-09 15:17:03,163 p=12854 u=root | fatal: [localhost]: FAILED! => {"changed": false, "msg": "Unable to find any of pip2, pip to use. pip needs to be installed."}
2018-10-09 15:17:03,166 p=12854 u=root | to retry, use: --limit @/root/contrail-ansible-deployer/playbooks/configure_instances.retry

2018-10-09 15:17:03,166 p=12854 u=root | PLAY RECAP ************************************************************************************************************************************
2018-10-09 15:17:03,166 p=12854 u=root | localhost : ok=33 changed=1 unreachable=0 failed=1

musharani (musharani)
Changed in juniperopenstack:
milestone: none → r5.1.0
Revision history for this message
Leela Bharath Kumar Kassetti (klbharat) wrote :

Hi,

Can you share the instances.yaml that was used and /var/log/ansible.log file.

Revision history for this message
Leela Bharath Kumar Kassetti (klbharat) wrote :

I could reproduce the issue. It is observed when SSL is enabled in instances.yml file.

For example:

contrail_configuration:
  SSL_ENABLE: yes

pip is not installed on deployer node but pip install (pyopenssl package) is invoked.

Re-assigning this to owner of SSL changes

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46868
Submitter: Andrey Pavlov (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/46869
Submitter: Andrey Pavlov (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: blocker
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/46868
Committed: http://github.com/Juniper/contrail-ansible-deployer/commit/10a7045b5db5991daf8e8cce4da45d0e2a595bc8
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 10a7045b5db5991daf8e8cce4da45d0e2a595bc8
Author: Andrey Pavlov <email address hidden>
Date: Wed Oct 10 21:03:48 2018 +0300

add python-pip installation before call pip utility

Change-Id: Ida9d982d829af59282377fbb0606bd5adc186ba4
Closes-Bug: #1796885

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/46869
Committed: http://github.com/Juniper/contrail-ansible-deployer/commit/5caf4818d9d929c3640b9ae976b7f09f5ae66d56
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 5caf4818d9d929c3640b9ae976b7f09f5ae66d56
Author: Andrey Pavlov <email address hidden>
Date: Wed Oct 10 21:03:48 2018 +0300

add python-pip installation before call pip utility

Change-Id: Ida9d982d829af59282377fbb0606bd5adc186ba4
Closes-Bug: #1796885

Revision history for this message
musharani (musharani) wrote :

This issue is not seen in the latest build. Hope fix is working fine. Hence move this bug to fix-release state.

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.