7 Commits

Author SHA1 Message Date
Jenkins
47791f70e2 Merge "Fix pep8 errors in modules dir" 2013-12-02 16:55:12 +00:00
Clark Boylan
5f5354a73e Handle lack of rpms or debs in devstack-cache.
* modules/openstack_project/files/nodepool/scripts/devstack-cache.py:
When running on Ubuntu only debs will be listed for install, when
running on Fedora only RPMs will be listed for install. Handle the lack
of the other when checking which should be installed (use dict.get
instead of a normal index operation which will throw a KeyError instead
of returning None). Add an error message if no debs or rpms are found.

Change-Id: Iafb57f43ce6b51414593b909e1a9fde7c7c0ebf0
2013-11-27 10:19:09 -08:00
Dan Prince
301504f241 Update devstack-cache.py to install RPMs.
Change-Id: I952c0b474218552a98ad3f499fc0e7f3eba67e23
2013-11-25 14:21:13 -05:00
Monty Taylor
24a91df7db Fix pep8 errors in modules dir
There weren't that many of them - just fix them.

Change-Id: I6aa6d056746c4a6804146b89c12e6313f9d22d9a
2013-11-12 11:30:34 -05:00
Jeremy Stanley
38327704ec Expand user when caching files for devstack
* modules/openstack_project/files/nodepool/scripts/devstack-cache.py:
Since subprocess.Popen doesn't expand user when the default
shell=False is in effect, make a separate os.path.expanduser call to
resolve the destination path for caching downloads.

Change-Id: Ia0024d03ea23f201f6e88ba14ff6b478f32c0684
2013-10-20 01:58:36 +00:00
James E. Blair
aa49eb18ad Fix devstack image-cache script
Change-Id: Ia28ad64fb45234dabbb6dedd1a4c27b60f6969a7
2013-10-10 07:58:39 -07:00
James E. Blair
f1c342cdf4 Add nodepool host
Change-Id: Ib216bd400aa269ccdb17848b3870ab65400cf3d2
2013-08-16 13:15:42 -07:00