Anthony Young
ccd4ea37b8
more work on jenkins stuff
2011-11-08 17:25:12 -06:00
Anthony Young
b996b2b855
Merge remote-tracking branch 'origin/master' into jenkins
2011-11-08 17:24:58 -06:00
Anthony Young
43acae4aa5
add initial build_jenkins script
2011-11-08 14:23:56 -08:00
Anthony Young
208ae2f6aa
fix some comments
2011-11-07 16:38:03 -06:00
Anthony Young
8655bf0e6e
more checks to make sure script is run as intended
2011-11-07 16:37:00 -06:00
Anthony Young
069f2f7a53
+x
2011-11-07 16:13:03 -06:00
Anthony Young
e7fa90934d
script to warm apts/pips on a base image, to speed up performace of build_ scripts
2011-11-07 16:10:59 -06:00
sleepsonthefloor
2403e71736
Merge pull request #168 from cloudbuilders/uec-simple
...
Uec simple
2011-11-07 10:50:05 -08:00
Jesse Andrews
e3c47a351e
parameterize vm size, improve metadata, conditional for ubuntu version
2011-11-07 10:44:43 -08:00
Jesse Andrews
955e5e73f2
don't need static uec meta/user data since we generate
2011-11-07 10:29:05 -08:00
Jesse Andrews
dca89009f5
destroying the network isn't enough to delete the leases
2011-11-06 10:33:33 -08:00
Jesse Andrews
02cc96ca32
increase the dhcp range
2011-11-06 10:29:10 -08:00
Jesse Andrews
1a5a65f4a0
Merge pull request #164 from cloudbuilders/xen_multi
...
Add script that demonstrates separation of head and compute roles for xen
2011-11-06 10:12:55 -08:00
Jesse Andrews
6e3a4c56a5
run hostname on remote server
2011-11-06 09:35:13 -08:00
Jesse Andrews
b17c4f30eb
make sure hostname resolves
2011-11-06 09:25:55 -08:00
Jesse Andrews
d55a515912
egrep needed for parens
2011-11-06 08:16:42 -08:00
Jesse Andrews
dadb07f5be
Switch the way we check for completion
2011-11-06 08:09:03 -08:00
Jesse Andrews
c7f72ad890
should speed up by 20 seconds - sudo and no sleep
2011-11-06 08:00:28 -08:00
Jesse Andrews
00d6bc6529
Don't forget to echo so we can find it
2011-11-06 07:56:18 -08:00
Jesse Andrews
53d7533d15
pull DIST_NAME from source
2011-11-06 07:54:11 -08:00
Jesse Andrews
11416bfeaf
use the right revision
2011-11-06 00:32:21 -07:00
Jesse Andrews
0c0089576a
accidentally running stack.sh ...
2011-11-06 00:26:29 -07:00
Jesse Andrews
81881ec89f
use the right devstack sha
2011-11-06 00:22:41 -07:00
Jesse Andrews
6b1c26e961
use the provided localrc
2011-11-06 00:13:30 -07:00
Jesse Andrews
9102d454f6
resize the uec image
2011-11-05 23:49:08 -07:00
Jesse Andrews
446a3304bc
another attempt at userdata
2011-11-05 23:36:29 -07:00
Jesse Andrews
2d40c26850
git clone
2011-11-05 23:30:22 -07:00
Jesse Andrews
e735833c1f
more userdata
2011-11-05 23:20:11 -07:00
Jesse Andrews
63cb9239aa
more userdata
2011-11-05 23:16:53 -07:00
Jesse Andrews
7306f3bfc7
more metadata
2011-11-05 23:13:34 -07:00
Jesse Andrews
9645b0c9c9
kill ...
2011-11-05 23:05:33 -07:00
Jesse Andrews
cc03cc8d58
kill works
2011-11-05 22:54:54 -07:00
Jesse Andrews
3ce79aa55b
improve kill
2011-11-05 22:52:20 -07:00
Jesse Andrews
947a765130
switch lsof syntax
2011-11-05 22:49:51 -07:00
Jesse Andrews
d7ce7afe0f
set the hostname
2011-11-05 22:47:28 -07:00
Jesse Andrews
ee34f62ba7
kill the old metadata process
2011-11-05 22:41:57 -07:00
Jesse Andrews
e49f751aa9
force the uec to be recreated
2011-11-05 22:34:45 -07:00
Jesse Andrews
438ea577c4
typo
2011-11-05 22:33:49 -07:00
Jesse Andrews
f504e281c0
don't need to spawn a bash
2011-11-05 22:29:35 -07:00
Jesse Andrews
9ed6bbd503
attempt to run the metadata service
2011-11-05 22:28:46 -07:00
Jesse Andrews
64164078c1
simple metadata service
2011-11-05 22:15:50 -07:00
Jesse Andrews
63fa7abd56
tweaks
2011-11-05 18:49:36 -07:00
Jesse Andrews
a628262344
let dhcp work
2011-11-05 18:39:33 -07:00
Jesse Andrews
f5a76919b3
closer to fine
2011-11-05 17:47:50 -07:00
Jesse Andrews
3b7685823c
extract tarball in image dir
2011-11-05 17:40:20 -07:00
Jesse Andrews
96dffbcdce
uec_url should be underscore
2011-11-05 17:37:33 -07:00
Jesse Andrews
228f246a83
work towards booting
2011-11-05 17:36:14 -07:00
Jesse Andrews
8b3eb5ffe3
work towards simpiler uec
2011-11-05 16:05:14 -07:00
Dean Troyer
43392f74b8
Beef up error handling ( #886666 )
2011-11-05 16:55:15 -05:00
Anthony Young
40b5737c4d
fix comment
2011-11-05 00:30:07 -05:00
Anthony Young
346e49131b
add script that demonstrates separation of head abd compute roles when using xen
2011-11-05 00:22:47 -05:00
sleepsonthefloor
5f3f21f677
Merge pull request #161 from cloudbuilders/lessapt
...
rework how pre-caching works. add the ability to flag packages #NOPRIME in files/apts so that services that can't be installed with chroot can be skipped.
2011-11-04 11:43:47 -07:00
Anthony Young
ca2c047b6e
fix caching so that there is the ability to download services without installing them. This is done with a #NOPRIME comment in apts/files/
2011-11-03 16:29:32 -07:00
Anthony Young
23324e94e2
create the uec cachedir if it doesn't exist. Otherwise build_libvirt fails on clean installs
2011-11-03 13:47:15 -07:00
Jesse Andrews
df5e9949aa
don't install memcached in general list
2011-11-03 09:36:13 -05:00
Anthony Young
af6ed6b1b5
source stackrc
2011-11-02 07:50:27 -05:00
Anthony Young
2cec3dc846
unpause paused instances before terminating
2011-11-02 07:03:38 -05:00
Jesse Andrews
4bd41ad77f
deleting build_kvm.sh in favor of build_libvirt.sh
2011-11-01 22:06:41 -07:00
Jesse Andrews
1d1dda1457
allow build_libvirt.sh not to destroy/recreate net
2011-11-01 19:46:17 -07:00
Jesse Andrews
037d3bdea4
Merge pull request #143 from cloudbuilders/fix_races
...
Fix NBD race conditions
2011-11-01 17:34:35 -07:00
Dean Troyer
55c0273723
Trap SIGINT, etc and release used resources
2011-11-01 17:44:03 -05:00
Anthony Young
f0dca55a29
fix typos
2011-11-01 14:23:14 -07:00
Dean Troyer
2826911a9c
Merge remote-tracking branch 'origin/master' into fix_races
2011-11-01 15:47:38 -05:00
Dean Troyer
dccd6b923e
Add map_nbd function
2011-11-01 15:46:14 -05:00
Anthony Young
1de18c6250
Changes to make exercise.sh work with xen
2011-11-01 14:22:26 -05:00
Dean Troyer
2567c81b27
Update for variable dist name
2011-11-01 12:36:59 -05:00
Jesse Andrews
a06ac1cb2d
build_libvirt should check for completion not failure
2011-10-31 22:29:23 -07:00
Jesse Andrews
02a0869615
Merge pull request #130 from cloudbuilders/fix_races
...
Address races in NBD and images
2011-10-31 19:02:07 -07:00
Dean Troyer
6fe687b989
Cleanups for NBD and GRUB2
2011-10-31 20:30:04 -05:00
Jesse Andrews
981f194877
Merge pull request #131 from cloudbuilders/xen_env
...
copy over ssh keys and other env
2011-10-31 15:34:44 -07:00
Dean Troyer
7a56973441
Address NBD race
2011-10-31 17:34:29 -05:00
Anthony Young
a1a90773a0
copy over ssh keys and other env
2011-10-31 15:32:38 -07:00
Dean Troyer
71745fe62a
Address races in NBD and images
2011-10-31 16:59:02 -05:00
Dean Troyer
2dfdbc9e65
Fix up sources.list
2011-10-31 15:46:49 -05:00
Dean Troyer
2c1a2d56c1
Switch to e2fsck
2011-10-31 15:32:54 -05:00
Dean Troyer
c2ddc97003
Leave downloaded image untouched
2011-10-31 15:09:43 -05:00
Jesse Andrews
8b42562d0e
Merge pull request #128 from cloudbuilders/grub1
...
Remove GRUB 1 config
2011-10-31 12:24:27 -07:00
Dean Troyer
4e20969e36
Remove GRUB 1 config
2011-10-31 14:18:31 -05:00
Jesse Andrews
04156dbe86
attempt to fix path issues
2011-10-31 11:59:55 -07:00
Jesse Andrews
97c84744ce
sources.list needs to support multiple dists - #124
2011-10-31 11:45:27 -07:00
Jesse Andrews
0d0cddd125
don't need to reboot with proper console
2011-10-31 09:18:37 -07:00
Jesse Andrews
16341967b1
don't show the grep in build_libvirt.sh
2011-10-31 00:21:56 -07:00
Jesse Andrews
0a247835ac
attempt to get around the tail not outputing issue
2011-10-31 00:05:35 -07:00
Jesse Andrews
b07381f1c3
nbd default via the guest network
2011-10-30 22:55:45 -07:00
Jesse Andrews
ddcc36d445
try to overwrite the overwrite
2011-10-30 22:41:23 -07:00
Jesse Andrews
2c5201b461
can't figure out cloudinit
2011-10-30 20:44:26 -07:00
Jesse Andrews
ed8aa54909
try ds=nocloud-net;h=foo
2011-10-30 20:34:44 -07:00
Jesse Andrews
932649fac3
proper way of setting hostname using uec kernel params
2011-10-30 20:30:39 -07:00
Jesse Andrews
7e4a33bc6b
another attemp at setting guest name
2011-10-30 20:02:03 -07:00
Jesse Andrews
fd584eb6bb
set hostname using uec kernel options
2011-10-30 19:58:16 -07:00
Jesse Andrews
5f894cd346
typo
2011-10-30 19:52:50 -07:00
Jesse Andrews
b0559b2e4d
having work_dir in here complicates jenkins
2011-10-30 19:46:54 -07:00
Jesse Andrews
d6ee73f94f
blow up if CACHEDIR doesn't exist
2011-10-30 19:40:38 -07:00
Jesse Andrews
2b7d221e6c
switch to uec
2011-10-30 19:37:56 -07:00
Jesse Andrews
19d62879dd
another attempt at exclude
2011-10-30 19:26:28 -07:00
Jesse Andrews
16ba919aea
use rsync so we can exclude the work_dir
2011-10-30 19:24:05 -07:00
Jesse Andrews
319897424c
topdir should be a real path
2011-10-30 18:56:05 -07:00
Jesse Andrews
7fa561371a
fix sourcing
2011-10-30 18:43:54 -07:00
Jesse Andrews
489edb0385
don't need bridge
2011-10-30 18:42:16 -07:00
Jesse Andrews
e97a2e79b9
convert build_kvm to build_libvirt - using libvirt net
2011-10-30 18:37:49 -07:00