[agent] master branch setup.sh fails

Bug #1367543 reported by Angus Salkeld
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
High
Angus Salkeld

Bug Description

If you run:

sudo ./setup.sh install

you get:

[...]

copying setup.cfg -> muranoagent-2014.2.b3.1.g6a5a61a
Writing muranoagent-2014.2.b3.1.g6a5a61a/setup.cfg
creating dist
Creating tar archive
removing 'muranoagent-2014.2.b3.1.g6a5a61a' (and everything under it)
ls: cannot access /home/vagrant/murano-agent/dist/murano-agent*.tar.gz: No such file or directory
basename: missing operand
Try 'basename --help' for more information.
Directory '/home/vagrant/murano-agent/dist/' is not installable. File 'setup.py' not found.
Storing debug log for failure in /home/vagrant/.pip/pip.log
LOG:> /usr/bin/pip install "" FAILS, recreate terball with "python setup.py sdist" command, exiting!!!

vagrant@devstack:~/murano-agent$ ll dist/
total 388
drwxr-xr-x 2 root root 4096 Sep 10 03:02 ./
drwxrwxr-x 12 vagrant vagrant 4096 Sep 10 03:02 ../
-rw-r--r-- 1 root root 385585 Sep 10 03:02 muranoagent-2014.2.b3.1.g6a5a61a.tar.gz

basically the name in setup.cfg is wrong:
it is currently muranoagent and it should be murano-agent.

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

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

Changed in murano:
assignee: nobody → Angus Salkeld (asalkeld)
status: New → In Progress
ruhe (ruhe)
Changed in murano:
milestone: none → juno-rc1
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano-agent (master)

Reviewed: https://review.openstack.org/120305
Committed: https://git.openstack.org/cgit/stackforge/murano-agent/commit/?id=840ef721acf0b3dfce14230e7f221fe91ae777e4
Submitter: Jenkins
Branch: master

commit 840ef721acf0b3dfce14230e7f221fe91ae777e4
Author: Angus Salkeld <email address hidden>
Date: Fri Sep 12 13:47:05 2014 +1000

    Make sure the name in setup.cfg is murano-agent not muranoagent

    This also reverts the following oslo-incubator commit
    https://github.com/openstack/oslo-incubator/commit/f6a1848688483c34be2fb5ba2544f80bc659a26c

    Change-Id: I467699eb70c5332d097b072e6696cb21f6c6de63
    Closes-bug: #1367543

Changed in murano:
status: In Progress → Fix Committed
Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: juno-rc1 → 2014.2
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.