Devstack always uses soft requirements updates

Bug #1469067 reported by Ihar Hrachyshka
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Ihar Hrachyshka

Bug Description

In any grenade job, f.e. http://logs.openstack.org/94/162894/6/gate/gate-grenade-dsvm/67b726b/logs/grenade.sh.txt.gz

I can see that update.py is always passed -s (soft-update) argument because of the following error in logs:

2015-06-25 22:29:42.451 | + return grep '/ceilometer$' /opt/stack/new/requirements/projects.txt
2015-06-25 22:29:42.451 | /opt/stack/new/devstack/inc/python: line 198: return: grep: numeric argument required
2015-06-25 22:29:42.451 | + echo '/opt/stack/new/ceilometer not a constrained repository, soft enforcing requirements'
2015-06-25 22:29:42.451 | /opt/stack/new/ceilometer not a constrained repository, soft enforcing requirements

Changed in devstack:
assignee: nobody → Ihar Hrachyshka (ihar-hrachyshka)
status: New → In Progress
Revision history for this message
Jeremy Stanley (fungi) wrote :

Yep, we should just remove the "return" at the end of that function. It's superfluous, but also syntactically incorrect.

Changed in devstack:
assignee: Ihar Hrachyshka (ihar-hrachyshka) → Jeremy Stanley (fungi)
Revision history for this message
Jeremy Stanley (fungi) wrote :
Jeremy Stanley (fungi)
Changed in devstack:
assignee: Jeremy Stanley (fungi) → Ihar Hrachyshka (ihar-hrachyshka)
Changed in devstack:
status: In Progress → 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.