Thanks again for al the work on this Tyler. It seems to be getting closer and I'm looking forward to having this all packaged so that distribution is easier. Comments inline..
On Thu, Sep 29, 2011 at 2:08 PM, Tyler Smith <tyles...@cisco.com> wrote: > Hi everybody, > > I've gotten the packaging issues we discussed taken care of in regards to > trying to keep with Nova's layout/style. I hope that it's close to what > everyone's envisioning. I kind of liked having everything in one directory before (quantum/...) and that's the way that nova does it but I see how the way you've split it makes it easier for packaging. Not a big deal. > > I've updated the Blueprint: http://wiki.openstack.org/QuantumPackaging > > It has a full run-down of getting started with the using the Quantum > packages. You can get the source on github: > https://github.com/CiscoSystems/quantum > > There are also packages on PyPi so you can install Quantum with: > > virtualenv ~/.quantum-venv&& pip install quantum -E ~/.quantum-venv > #Install the sample-plugin > pip install quantum-sample-plugin -E ~/.quantum-venv > I like the idea of the packages on pypi but you've got some typos in the descriptions (thw -> the) and the description for the sample plugin says that it is cisco specific. > > This is a huge update in the way everything works, because it now has a > unified build script, with a few different installation options (some > requiring system privileges, some not). You can also run directly from the > source code so you don't have to reinstall constantly. This still doesn't work in the github branch (I just pulled 5 minutes ago): ubuntu ~/src/git/tyler-quantum-packaging (55)$ ./run_tests.sh -N Traceback (most recent call last): File ".//run_tests.py", line 9, in <module> from quantum.run_tests import main as tests ImportError: No module named run_tests I want to be able to run the tests without installing.. > Building of both RPMs and deb packages are working. Deb support is a bit > hacked together. It first has to build an RPM, then use alien to convert > it, so it would most likely need to be extracted/rebuilt after the initial > building to make nice release packages. I'm working on finding a better > solution. We should do the same thing as nova here instead of the alien conversion: http://wiki.openstack.org/Packaging/Ubuntu (i.e. have a debian directory and build packages from that) If you aren't familiar with debian packaging let me know and I can handle that part. > Please test out installing and using the software and let me know if you run > into any problems, or have any suggestions. (I didn't actually install it .. I'm just trying to run the pieces from the source tree) ubuntu ~/src/git/tyler-quantum-packaging (55)$ bin/quantum Traceback (most recent call last): File "bin/quantum", line 10, in <module> from quantum.cli import main as cli ImportError: cannot import name main ubuntu ~/src/git/tyler-quantum-packaging (57)$ bin/quantum-server Traceback (most recent call last): File "bin/quantum-server", line 10, in <module> from quantum.server import main as server ImportError: No module named server Maybe some files were missed in the commit? (I don't see an __init__.py inside of common, etc) > Thanks, > -Tyler > Thanks, Brad -- Mailing list: https://launchpad.net/~netstack Post to : netstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~netstack More help : https://help.launchpad.net/ListHelp