devstack fail with noattribute error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Incomplete
|
Wishlist
|
Unassigned | ||
devstack |
New
|
Undecided
|
Unassigned |
Bug Description
I use the latest devstack (20150407), when I running ./stack.sh I got an error.
2015-04-07 05:53:50.819 | + cd /opt/stack/
2015-04-07 05:53:50.820 | + python update.py /opt/stack/keystone
2015-04-07 05:53:51.115 | Traceback (most recent call last):
2015-04-07 05:53:51.116 | File "update.py", line 274, in <module>
2015-04-07 05:53:51.116 | main(options, args)
2015-04-07 05:53:51.116 | File "update.py", line 259, in main
2015-04-07 05:53:51.116 | _copy_requires(
2015-04-07 05:53:51.116 | File "update.py", line 219, in _copy_requires
2015-04-07 05:53:51.116 | source_reqs = _parse_
2015-04-07 05:53:51.116 | File "update.py", line 140, in _parse_reqs
2015-04-07 05:53:51.116 | reqs[_parse_
2015-04-07 05:53:51.116 | File "update.py", line 101, in _parse_pip
2015-04-07 05:53:51.116 | elif install_
2015-04-07 05:53:51.116 | AttributeError: 'InstallRequire
Changed in magnum: | |
status: | New → Incomplete |
Seems pip 6.1.0 has changed 'url' to 'link'. ------- ------- ------- --- require. url/install_ require. link/g' /opt/stack/ new/requirement s/update. py ------- ------- ------- --
I use below workaround:
-------
sed -i 's/install_
-------
And this change can overcome the 'AttributeError' error.