Errors during the Murano installation: pip 1.5 problems

Bug #1267420 reported by Timur Nurlygayanov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Dmitry Teselkin

Bug Description

Steps To Reproduce:
1. Install Murano from the devbox script

Observed Result:
Error messages during the installation:

Downloading/unpacking muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)

 Could not find any downloads that satisfy the requirement muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)
 Some externally hosted files were ignored (use --allow-external muranoclient to allow).
Cleaning up...
No distributions at all found for muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)
Storing debug log for failure in /root/.pip/pip.log
LOG:> pip install "murano-dashboard-0.4.dev439.ga6665d3.tar.gz" FAILS, exiting!!!

and

Downloading/unpacking jsonpath (from murano-conductor==0.3.dev226.g897b391)
 Could not find any downloads that satisfy the requirement jsonpath (from murano-conductor==0.3.dev226.g897b391)
 Some externally hosted files were ignored (use --allow-external jsonpath to allow).
Cleaning up...
No distributions at all found for jsonpath (from murano-conductor==0.3.dev226.g897b391)
Storing debug log for failure in /root/.pip/pip.log
LOG:> pip install "murano-conductor-0.3.dev226.g897b391.tar.gz" FAILS, exiting!!!

Note:
probably the following link will help to fix this issue:
http://www.pip-installer.org/en/latest/logic.html#externally-hosted-files

or

Downloading/unpacking muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)

 Could not find any downloads that satisfy the requirement muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)
 Some insecure and unverifiable files were ignored (use --allow-unverified muranoclient to allow).
Cleaning up...
No distributions at all found for muranoclient>=0.4 (from murano-dashboard==0.4.dev439.ga6665d3)
Storing debug log for failure in /root/.pip/pip.log
LOG:> pip install "murano-dashboard-0.4.dev439.ga6665d3.tar.gz" FAILS, exiting!!!

Tags: verified
Changed in murano:
assignee: nobody → Igor Yozhikov (iyozhikov)
description: updated
description: updated
Changed in murano:
assignee: Igor Yozhikov (iyozhikov) → Timur Nurlygayanov (tnurlygayanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-common (master)

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

Changed in murano:
status: New → In Progress
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote : Re: Errors during the Murano installation

Fixed with the following parameters in ~/.pip/pip.conf:

[install]
allow-all-external = true
allow-unverified = true

summary: - Errors during the Murano installation
+ Errors during the Murano installation: pip 1.5 problems
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-common (master)

Reviewed: https://review.openstack.org/65672
Committed: https://git.openstack.org/cgit/stackforge/murano-common/commit/?id=f2afa2412c82cd7297c502dc689caeb1c8fd2eda
Submitter: Jenkins
Branch: master

commit f2afa2412c82cd7297c502dc689caeb1c8fd2eda
Author: TimurNurlygayanov <email address hidden>
Date: Thu Jan 9 15:44:17 2014 +0400

    Fix issue with secure pip download

    It is require for new version of pip 1.5:
      pip no longer will scrape insecure external urls by default
      nor will it install externally hosted files by default.
      Users may opt into installing externally hosted or
      insecure files or urls using --allow-external PROJECT and
      --allow-unverified PROJECT. (Pull #1055)

      link with more detailed information:
      http://www.pip-installer.org/en/latest/news.html

    Change-Id: Id5255c17b4240ad4025f16b9ebcacb9f55568c04
    Closes-Bug: #1267420

Changed in murano:
status: In Progress → Fix Committed
Revision history for this message
Timur Nurlygayanov (tnurlygayanov) wrote :

Need to use pip 1.4.1 to install Murano 0.3.x-0.4.x versions:

pip install --upgrade pip==1.4.1

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano-common (release-0.4)

Fix proposed to branch: release-0.4
Review: https://review.openstack.org/65923

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-common (release-0.4)

Reviewed: https://review.openstack.org/65923
Committed: https://git.openstack.org/cgit/stackforge/murano-common/commit/?id=6048799773adfadff7777d6fc10a59d33db8b1a3
Submitter: Jenkins
Branch: release-0.4

commit 6048799773adfadff7777d6fc10a59d33db8b1a3
Author: TimurNurlygayanov <email address hidden>
Date: Thu Jan 9 15:44:17 2014 +0400

    Cherry-pick changes from master

       * fix issue with secure pip download
    Closes-Bug: #1267420

    Change-Id: Ie931449cf8ba2e1a3bd0413aea00d8d38df045f8

Changed in murano:
status: Fix Committed → New
Revision history for this message
Anastasia Kuznetsova (akuznetsova) wrote :

This problem is still actual. When we run our ./murano-git-install.sh script it make pip upgrade and then we see errors in our installation log (like in bug description). Need to fix pip installation in setup script and download the right version

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to murano-deployment (release-0.4)

Related fix proposed to branch: release-0.4
Review: https://review.openstack.org/69834

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to murano-deployment (release-0.4)

Reviewed: https://review.openstack.org/69834
Committed: https://git.openstack.org/cgit/stackforge/murano-deployment/commit/?id=1ee1d66c5f1df789db87e09d26f71a370161f4ed
Submitter: Jenkins
Branch: release-0.4

commit 1ee1d66c5f1df789db87e09d26f71a370161f4ed
Author: Dmitry Teselkin <email address hidden>
Date: Wed Jan 29 14:55:40 2014 +0400

    Fix pip upgrade issue

    Upgrade pip to a version less than 1.5

    Change-Id: I8bad98eef98a1a1192680460c31bf3557a98d687
    Related-Bug: 1267420

Changed in murano:
status: New → In Progress
assignee: Timur Nurlygayanov (tnurlygayanov) → Dmitry Teselkin (teselkin-d)
Changed in murano:
status: In Progress → Fix Committed
tags: added: verified
removed: installation
Changed in murano:
status: Fix Committed → Fix Released
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.