manila dsvm jobs fail due to "Could not satisfy constraints for 'horizon': installation from path or url cannot be constrained to a version"

Bug #1540188 reported by Matt Riedemann
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Shared File Systems Service (Manila)
Fix Released
Critical
Valeriy Ponomaryov

Bug Description

Looks like this happens when installing manila-ui test requirements:

http://logs.openstack.org/86/260186/10/check/gate-manila-tempest-dsvm-neutron/b1e4ab2/logs/devstacklog.txt.gz#_2016-01-31_23_31_41_005

2016-01-31 23:31:37.518 | Installing collected packages: python-manilaclient, manila-ui
2016-01-31 23:31:37.518 | Running setup.py develop for python-manilaclient
2016-01-31 23:31:38.517 | Running setup.py develop for manila-ui
2016-01-31 23:31:39.648 | Successfully installed manila-ui python-manilaclient-1.6.1.dev23
2016-01-31 23:31:39.950 | ++ result=0
2016-01-31 23:31:39.950 | ++ local test_req=/opt/stack/new/manila-ui/test-requirements.txt
2016-01-31 23:31:39.950 | ++ [[ 0 == 0 ]]
2016-01-31 23:31:39.951 | ++ [[ -e /opt/stack/new/manila-ui/test-requirements.txt ]]
2016-01-31 23:31:39.951 | ++ echo 'Installing test-requirements for /opt/stack/new/manila-ui/test-requirements.txt'
2016-01-31 23:31:39.951 | Installing test-requirements for /opt/stack/new/manila-ui/test-requirements.txt
2016-01-31 23:31:39.951 | ++ sudo -H http_proxy= https_proxy= no_proxy= PIP_FIND_LINKS= /usr/local/bin/pip2.7 install -c /opt/stack/new/requirements/upper-constraints.txt -r /opt/stack/new/manila-ui/test-requirements.txt
2016-01-31 23:31:40.776 | Ignoring dnspython3: markers "python_version=='3.4'" don't match your environment
2016-01-31 23:31:40.850 | Ignoring os-win: markers "python_version=='3.4'" don't match your environment
2016-01-31 23:31:40.909 | Ignoring python-ironic-inspector-client: markers "python_version=='3.4'" don't match your environment
2016-01-31 23:31:40.941 | Ignoring requestsexceptions: markers "python_version=='3.4'" don't match your environment
2016-01-31 23:31:41.005 | Could not satisfy constraints for 'horizon': installation from path or url cannot be constrained to a version
2016-01-31 23:31:41.306 | + exit_trap
2016-01-31 23:31:41.306 | + local r=1

http://logstash.openstack.org/#dashboard/file/logstash.json?query=message%3A%5C%22Could%20not%20satisfy%20constraints%20for%20'horizon'%3A%20installation%20from%20path%20or%20url%20cannot%20be%20constrained%20to%20a%20version%5C%22&from=7d

Started around 1/29. I'm not sure what's causing it.

Revision history for this message
Matt Riedemann (mriedem) wrote :

Whatever it is it doesn't like this not having a version:

https://github.com/openstack/manila-ui/blob/master/test-requirements.txt#L5

So it's probably something in devstack or devstack-gate that's having a hard time using upper-constraints to constrain the horizon version that's installed from git.

Changed in manila:
importance: Undecided → Critical
milestone: none → mitaka-3
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Problem in new PIP version - 8.0.2 It has changed logic about getting package versions

Changed in manila:
status: New → In Progress
assignee: nobody → Valeriy Ponomaryov (vponomaryov)
Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

And PIP of 8.* version started to be used after following devstack commit: https://review.openstack.org/#/c/271985/

that was merged on Jan 29 9:06 PM and allowed to use 8.* PIP versions

None of all other projects fail with such error, because Mainla project is the only who installs its "UI" subproject in its devstack installation.

Revision history for this message
Valeriy Ponomaryov (vponomaryov) wrote :

Filed bug against Devstack project: https://bugs.launchpad.net/devstack/+bug/1540328

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila (master)

Reviewed: https://review.openstack.org/274631
Committed: https://git.openstack.org/cgit/openstack/manila/commit/?id=d495ea535ef921d1257811fdd7b482b73edb8a07
Submitter: Jenkins
Branch: master

commit d495ea535ef921d1257811fdd7b482b73edb8a07
Author: vponomaryov <email address hidden>
Date: Mon Feb 1 14:12:22 2016 +0200

    Fix Devstack and Manila-ui interaction

    Devstack always installs test-requirements, but we do not expect it for
    Manila UI project. Moreover, such installation started failing with
    PIP versions 8.x
    Change that triggered bug is Devstack change at [1].

    [1] I49658ce4056c773943321270defd461bbf3e9fb9

    Change-Id: I841b56f65b50e9c5673cc02e93b4329ed29125ba
    Closes-Bug: #1540188

Changed in manila:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/manila 2.0.0.0b3

This issue was fixed in the openstack/manila 2.0.0.0b3 development milestone.

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.