901 Commits

Author SHA1 Message Date
Doug Hellmann
2340c1c589 Move package-specific logic into custom package manager classes
and allow the distro file to specify when to use them. There
are two examples, one for Rabbit on Oneiric and another more general
for managing symlinks needed after installing a package with
Yum.
2012-03-23 16:48:43 -04:00
Doug Hellmann
679f33b242 Make all of the packager method signatures consistent by moving the loops for pre_install and post_install into the component method where the packager is invoked.
Have the component get a packager for each package and use that, falling back to a default provided by the distro. This will allow us to override the packaging rules for specific packages by providing a class reference in the distro file.
2012-03-23 16:46:15 -04:00
Doug Hellmann
eb68327cbb pep8 changes 2012-03-23 16:46:14 -04:00
Doug Hellmann
0ae7ff4b2b Move the keep_old flag out of the packager and let the component check it. 2012-03-23 16:46:14 -04:00
Joshua Harlow
76f02b8dd1 Just unset these for euca ec2 tasks 2012-03-22 17:15:45 -07:00
Joshua Harlow
95e909cbff More fixes for ec2 variables not working 2012-03-22 16:59:25 -07:00
Joshua Harlow
ef1902e925 Seems like we can't have the keystone services exported as env variables 2012-03-22 16:45:12 -07:00
Joshua Harlow
d08b8c0d1d Resync with devstack.sh, issue #75 2012-03-22 11:19:30 -07:00
Joshua Harlow
d77b5984d8 Add in a misc var env section 2012-03-22 10:48:57 -07:00
Joshua Harlow
d2eeea4d32 Dougs recommended fixups. Thx Doug. 2012-03-22 10:42:21 -07:00
Joshua Harlow
3903e1aa82 Class'ify' libvirt util 2012-03-21 23:33:36 -07:00
Doug Hellmann
a8780f0dac reorg yaml file to make it easier to not pass some component metadata to component constructors 2012-03-21 18:11:08 -04:00
Doug Hellmann
931b896cc1 Split the action runner into several subclasses and move the logic
for each action into the appropriate subclass.
2012-03-21 18:10:13 -04:00
Doug Hellmann
cefd378401 Switch all of the commands in YAML files to simple strings and
parse them into lists in the code that fetches commands from
the config.
2012-03-21 11:59:03 -04:00
Joshua Harlow
54da76edb0 Fix libvirt policy kit file that was commented out 2012-03-20 16:20:04 -07:00
Joshua Harlow
cd724c3d6b Resync with devstack.sh v1, seems like confs were updated and horizon no longer needs to link to the quantum client directory, yippe.
Issue #75
2012-03-19 13:57:19 -07:00
Joshua Harlow
4276fdae52 Fix distro command references usage during downloads. Darn u python 2012-03-19 13:38:15 -07:00
Joshua Harlow
cc59ddd69d Show what is being fetched 2012-03-19 13:36:14 -07:00
Joshua Harlow
a03ffd73cf Merge branch 'master' of git://github.com/harlowja/Openstack-DevstackPy into harlowja-master
Conflicts:
	devstack/components/rabbit.py
2012-03-19 13:11:19 -07:00
Joshua Harlow
7622e95d7e Made the git commands use the distro class/conf 2012-03-19 13:07:27 -07:00
Doug Hellmann
4421913c8a move rabbit-mq commands into yaml files 2012-03-19 13:15:13 -04:00
Doug Hellmann
46ac3c8207 finish moving libvirt commands into yaml files 2012-03-19 13:15:13 -04:00
Joshua Harlow
bee1f55cbe Make a tempdir context manager function 2012-03-18 22:26:01 -07:00
Joshua Harlow
a2fc6a8c2d Use reverse bar on uninstalls... 2012-03-18 21:18:37 -07:00
Joshua Harlow
898980f8c8 Removed static time sleep number and moved to config, except for libvirt... 2012-03-17 23:59:44 -07:00
Joshua Harlow
1aa74de841 Fixed image ids (should be blank, not none for execute template to not puke) 2012-03-17 23:36:40 -07:00
Joshua Harlow
c336908eeb Show what extracting from... 2012-03-17 23:31:47 -07:00
Joshua Harlow
8812881d35 Fixed usage of '%r' 2012-03-17 23:30:37 -07:00
Joshua Harlow
0e1e2728be No wonder this was always stopping... 2012-03-17 23:06:27 -07:00
Joshua Harlow
7fe22b216e Reduced logging levels. 2012-03-17 22:55:00 -07:00
Joshua Harlow
88a29f7bb9 Turning down some logging levels 2012-03-17 22:44:11 -07:00
Joshua Harlow
78f3e95ff5 Fixed variable for ramdisk filename 2012-03-17 21:32:06 -07:00
Joshua Harlow
5cdd410d0e Made opens explicilty have 'r' 2012-03-17 21:30:02 -07:00
Joshua Harlow
8e6f54c1b7 Fixed init 2012-03-17 21:22:33 -07:00
Joshua Harlow
bc7d385956 Big refactor on downloading to make it more class oriented... 2012-03-17 21:21:36 -07:00
Joshua Harlow
50b9df3e65 Tiny re-work to allow url lib to download more schemes, might be useful to allow that... 2012-03-17 13:58:55 -07:00
Joshua Harlow
57a746ed2e Add in persona that should always exist 2012-03-17 13:35:51 -07:00
Joshua Harlow
273aaba651 Removed useless report size 2012-03-17 13:05:40 -07:00
Joshua Harlow
1bc9559a02 Cleaning up the downloader module and adding progress bar support to it for http downloads and using this for the image downloading parts - which should now show a better download progress status... 2012-03-17 13:02:39 -07:00
Joshua Harlow
419686f229 Fixed it so that db/apache/rabbit now counts the unrecognized service as stopped which helps handle failures better, also fixed the progress bar, coloring seems to make the bars offsets wrong, so turning off coloring. 2012-03-17 01:51:25 -07:00
Joshua Harlow
2b7d461abb Some pip cleanups and progress bar prettifying 2012-03-17 01:19:20 -07:00
Joshua Harlow
993005da61 More progress bar usage 2012-03-17 00:43:30 -07:00
Joshua Harlow
5e33d025a3 A nice progress bar when installing our long running pips/pkgs 2012-03-17 00:21:07 -07:00
Joshua Harlow
0ecf3ae1f4 This seems prettier 2012-03-16 23:20:39 -07:00
Joshua Harlow
0ddfde2d69 Show the self info when showing these errors/warnings 2012-03-16 23:12:14 -07:00
Joshua Harlow
b18f54b546 Fixed key error 2012-03-16 23:09:14 -07:00
Joshua Harlow
8180624032 Making good use of component options to get rid of all the weird cross component checks 2012-03-16 23:06:21 -07:00
Joshua Harlow
31c4d3301b Comment about removing this... 2012-03-16 20:40:54 -07:00
Joshua Harlow
cb169c9e5b Added license header. 2012-03-16 20:40:29 -07:00
Joshua Harlow
45446dfb44 Show which package names are going to be removed 2012-03-16 17:43:31 -07:00