Vishvananda Ishaya
6abc5cde0f
make novnc work on oneiric
2011-10-31 10:15:33 -07:00
Yun Mao
9720eb8a24
added the fixed range flag in nova.conf (to fix issue #119 )
2011-10-29 23:37:14 -04:00
Jesse Andrews
c4cc93f9be
Merge pull request #113 from cloudbuilders/pause
...
Add pause to exercise.sh (requires nova flag)
2011-10-29 16:14:27 -07:00
Jesse Andrews
2f4118828a
Merge pull request #118 from ohnoimdead/horizon
...
changing dash to horizon
2011-10-29 15:35:58 -07:00
Tres Henry
ca85b7996a
changing dash to horizon
2011-10-28 15:34:44 -07:00
Vishvananda Ishaya
e72bdb0945
add the fi
2011-10-28 13:34:38 -07:00
Vishvananda Ishaya
4d4cf0c49a
Merge branch 'master' into instances-path
...
Conflicts:
stack.sh
2011-10-28 12:28:30 -07:00
Vishvananda Ishaya
3e2b1744ed
allow instances path to be set in the script
2011-10-28 12:20:07 -07:00
Jesse Andrews
8094469253
Merge pull request #108 from cloudbuilders/jcannava
...
Restart apache after linking the default dash config.
2011-10-28 10:42:37 -07:00
Jesse Andrews
c96b024767
don't need to restart apache inside screen
...
it is now being restarted during installation
2011-10-28 10:34:26 -07:00
Todd Willey
f8c4684b6c
Change cp -p to mv.
2011-10-28 12:27:20 -04:00
Brad Hall
d9e544e5c3
Add Quantum support: address code review comments
...
(commit 1bfa3d53c1
)
2011-10-28 08:28:26 -07:00
Brad Hall
1bfa3d53c1
Add Quantum support
2011-10-28 08:15:08 -07:00
Todd Willey
0a16145a93
Make running as root work.
2011-10-28 02:34:19 -04:00
Anthony Young
082cc3bec6
Merge remote-tracking branch 'origin/master' into xen
2011-10-27 17:07:32 -07:00
Jesse Andrews
a2710c518a
Merge remote-tracking branch 'origin/master' into pause
2011-10-27 14:10:13 -07:00
Jesse Andrews
7767d0b7ca
Merge pull request #112 from cloudbuilders/better_floats
...
fix so that our first floating ip doesn't end in .0
2011-10-27 13:35:40 -07:00
Anthony Young
0e74ecb4ac
fix so that our first floating ip doesn't end in .0
2011-10-27 13:21:52 -07:00
Vishvananda Ishaya
293c2ef633
turn on admin api to make pause work
2011-10-27 12:55:29 -07:00
Anthony Young
ea1290a997
use better bridge names
2011-10-27 12:53:30 -07:00
Jesse Andrews
4d53b1ab11
Merge pull request #104 from jeblair/master
...
Add syslog option
2011-10-27 12:42:37 -07:00
Jesse Andrews
47bb211cad
need to chmod 440 for sudoers file
2011-10-27 11:30:01 -07:00
Jesse Andrews
84a399b43d
typo
2011-10-27 11:20:38 -07:00
Jesse Andrews
509992fe4c
if you are running as a regular user add sudo priveledges
2011-10-27 11:18:09 -07:00
Jason Cannavale
aca9a418e1
Restart apache after linking the default dash config.
2011-10-27 08:45:20 -07:00
Anthony Young
cc5028ded1
Merge remote-tracking branch 'origin/master' into xen
2011-10-26 22:35:17 -07:00
Anthony Young
b62b4ca292
Initial commit of xen devstack support
2011-10-26 22:29:08 -07:00
James E. Blair
a0988480dd
Merge branch 'master' into syslog
2011-10-26 15:45:52 -04:00
James E. Blair
5855a64434
Add syslog option, off by default.
...
Add syslog option to glance and nova.
2011-10-26 15:44:27 -04:00
Jesse Andrews
73e5a1a74f
Merge pull request #94 from cloudbuilders/redo_clone
...
Redo clone
2011-10-25 23:05:40 -07:00
Jesse Andrews
6e34422884
Merge pull request #97 from cloudbuilders/fix_paste
...
don't modify the paste.ini inplace - copy to nova, then modify
2011-10-25 22:58:26 -07:00
Anthony Young
70506b1b74
in multi mode, send gratuitous arp
2011-10-25 00:20:44 -07:00
Anthony Young
216ad69435
fix basename invocation
2011-10-25 00:10:21 -07:00
Jesse Andrews
42dc9a7715
this is why we do a test run before merging
2011-10-24 22:03:11 -07:00
Jesse Andrews
f70569e33d
don't modify the paste.ini inplace - copy to nova, then modify
2011-10-24 21:56:25 -07:00
Jesse Andrews
ac1831e074
simplify uec image url parsing
2011-10-24 21:37:00 -07:00
Jesse Andrews
e09a6e4a82
update comment
2011-10-24 19:09:52 -07:00
Jesse Andrews
9fef844fd9
use git clean - thanks lundy
2011-10-24 19:06:46 -07:00
Jesse Andrews
480644bd74
error in conversion
2011-10-24 18:52:58 -07:00
Jesse Andrews
b9b3ad49a6
some of the files are owned by root
2011-10-24 18:52:13 -07:00
Jesse Andrews
917c66584f
use variable names for git_clone function
2011-10-24 18:47:06 -07:00
Jesse Andrews
eeec020628
another attempt at reclone which preserves existing git object dir
2011-10-24 18:42:11 -07:00
Jesse Andrews
13050a8735
Merge pull request #85 from cloudbuilders/n-vol
...
initial support for volumes
2011-10-21 11:32:25 -07:00
James E. Blair
698fc619b7
Merge remote-tracking branch 'cloudbuilders/master'
...
Conflicts:
stack.sh
2011-10-21 12:07:23 -04:00
Anthony Young
a7e2bfbf3f
disable n-vol by default for now
2011-10-20 15:30:25 -07:00
Anthony Young
b22263a604
tweaks per jesse comments
2011-10-20 10:26:30 -07:00
James E. Blair
7057ae991d
Reduce timeouts to 60 seconds.
2011-10-20 12:23:50 -05:00
Scott Moser
ee1b495dc9
add non-interactive flags to apt.
...
This replaces 'apt-get' calls with 'apt_get' function that just
ensures that each call has flags to be non-interactive. This prevents
potential prompts for conf file overwrites and such.
2011-10-20 13:13:12 -04:00
Scott Moser
199d76e253
redirect output of rabbitmq install (LP: #878600 )
...
as documented in ubuntu bug bug 878600, starting the rabbitmq
daemon was keeping its output filehandle open, which caused the 'tee'
to never die, and an ssh connection to never close.
2011-10-20 13:13:12 -04:00
Anthony Young
acff87a202
initial support for volumes
2011-10-20 10:12:58 -07:00
Vishvananda Ishaya
9b3536714a
fix whitespace
2011-10-20 10:08:20 -07:00
James E. Blair
92e81992c1
Add bare-metal build scripts.
...
Add ROOTSLEEP parameter to avoid 10 second sleep.
Add host argument to mysql password change command so that it
will still work if mysql is already installed and running
(otherwise, the my.cnf created immediately prior takes precedence).
Add timeouts when waiting for things to start so they aren't in
infinite loops.
2011-10-20 11:26:08 -05:00
Jesse Andrews
0e0affddb6
Merge pull request #67 from dtroyer/7-stack-home
...
stack home dir
2011-10-19 15:59:19 -07:00
Jesse Andrews
f1a98143dc
Merge branch 'master' of github.com:cloudbuilders/devstack
2011-10-19 15:38:17 -07:00
Jesse Andrews
a50a34619a
standardize mysql/rabbit password/user settings
2011-10-19 15:38:10 -07:00
Jesse Andrews
fe95e0fee3
only chown if needed (fixes nfs issue)
2011-10-19 14:30:37 -07:00
Jesse Andrews
c8d9ce4ef4
vish points out that sudo isn't needed here since DEST is owned by user
2011-10-19 14:21:08 -07:00
vishvananda
3fc8571bba
Merge pull request #79 from cloudbuilders/docs
...
update comments and added check for double mount bug
2011-10-19 10:40:01 -07:00
Jesse Andrews
aab7eae0b9
docs
2011-10-19 10:30:19 -07:00
Jesse Andrews
51fb22efd1
update comments and added check for double mount bug
2011-10-19 09:24:34 -07:00
Jesse Andrews
1f27360089
redux of reclone
2011-10-17 13:20:40 -07:00
Dean Troyer
9122e7b173
Set stack user's home dir to DEST
2011-10-17 14:08:42 -05:00
Jesse Andrews
59a285cd86
change variable to RESET_BRANCHES
2011-10-17 10:39:28 -07:00
Jesse Andrews
64c2ba225a
fixes anthony's comment about not working if you aren't switching branches
2011-10-16 19:08:04 -07:00
Jesse Andrews
aa8bb244be
rearrange order of setup.py develop as novaclient is needed by nova in essex
2011-10-16 12:24:11 -07:00
Jesse Andrews
b1304f2d35
if RECLONE is set, reclone the directories
2011-10-16 12:18:50 -07:00
Anthony Young
7a8989e971
fix doc
2011-10-14 10:20:30 -07:00
Anthony Young
120f4860cd
allow multiple images
2011-10-14 09:31:09 -07:00
Anthony Young
93947e59be
improve docs
2011-10-13 23:07:56 -07:00
Anthony Young
0ab1d46e05
Allow user to download and install arbitrary images
2011-10-13 23:03:23 -07:00
Anthony Young
696b6a3aae
Merge remote-tracking branch 'origin/master' into image_config
2011-10-13 22:20:24 -07:00
Anthony Young
f2b5f8856f
starting work to extract image configuration so it isn't hard coded
2011-10-13 16:44:42 -07:00
Anthony Young
cf145b77e4
merge trunk, and also make sure localrc exists before running build_lxc.sh
2011-10-13 15:07:36 -07:00
Anthony Young
f8dfba1c73
Merge remote-tracking branch 'origin/master' into password_prompt
2011-10-13 11:45:07 -07:00
Jesse Andrews
2e536a3faf
add some docs
2011-10-13 11:40:16 -07:00
Chmouel Boudjnah
d5d5b680f8
Set sensible default for mysql client
...
Using $HOME/.my.cnf to make easier for user to connect to mysql client.
2011-10-13 18:45:42 +01:00
Scott Moser
4bec581e4e
add includedir entry to sudoers if its not there
2011-10-12 20:32:16 -04:00
Scott Moser
55c9d3f13d
fix writing of 50_stack_sh in sudoers
2011-10-12 20:19:46 -04:00
Scott Moser
df47967da4
fix STACK_DIR variable
2011-10-12 20:15:50 -04:00
Scott Moser
102e440e2b
fix bad usage of 'su'. instead use 'set -e'.
...
I had had tried to use -e argument to su, thinking that it would
go through to sh, but it does not. instead, just use 'set -e'
2011-10-12 20:00:34 -04:00
Anthony Young
b4db225494
No need to check localrc for password. Also use TOP_DIR as described by smoser.
2011-10-12 14:08:08 -07:00
Scott Moser
f9da508122
move setting variables and run-as-stack-user code
...
Change the over all flow so that the default settings are
filled in in the outside shell (not inside the '()' and 'tee').
This way, those variables pass through to the subshell, but they're
also available in the parent shell at the end for outputting status.
Also, exit failure rather than success if 'exec' to run as stack
user failed.
2011-10-12 08:52:09 -04:00
Scott Moser
8ab1ade42e
instead of 'newgrp' and a pipe, use 'sg'
...
sg and newgrp basically do the same thing, but sg takes a command to
execute rather than just executing sh. This just seems cleaner.
2011-10-12 08:52:09 -04:00
Scott Moser
b94f4bf35b
move 'how to use cloud' info outside of xtrace
...
make the successful run output end with more clear messages.
By moving them outside of the "do it all" path, the xtrace output
will not mix with echo statements.
2011-10-12 08:52:09 -04:00
Scott Moser
d67a18bb07
make sure apt-get update is run
...
Previously, the only path that would only ensure that 'apt-get update'
was run was when the stack user was created.
Archives can be out of date, apt-get should be run.
2011-10-12 08:52:09 -04:00
Scott Moser
0d2145a0f3
some improvements to 'create stack user' path
...
* Increase the timeout from 3 to 10, so user has a bigger chance
to kill the script if being run interactively before a 'stack'
user is created.
* explicitly ask 'getent' for the stack user rather than getting
all users and grepping (which would match an "openstack" user,
or a user named "bob.stack")
* use $PWD rather than `pwd`
* create file in sudoers.d rather than modifying /etc/sudoers.
2011-10-12 08:52:09 -04:00
Scott Moser
7c481189bd
log output of stack.sh to logfile in current dir
...
use the variable LOGFILE to log stack.sh output for debugging
2011-10-12 08:41:17 -04:00
Scott Moser
c4e47ab858
simplify script duration output
...
Bash contains a variable 'SECONDS' that indicates how long
the current shell has been alive. It seems sane to just use that
to indicate to the user how long the script took.
2011-10-12 08:39:44 -04:00
Anthony Young
66b8bbcbd8
update msg
2011-10-12 07:21:41 +00:00
Anthony Young
6015c82a2b
use hard path to localrc
2011-10-12 07:17:11 +00:00
Anthony Young
7a549f40f5
Prompt users for passwords, and write those passwords to localrc
2011-10-12 07:13:13 +00:00
James E. Blair
74c084cd1c
Add option not to run bash after execing stack.sh
...
If stack.sh is run as root, it execs stack.sh as stack, but also
runs bash after doing so to provide a prompt as the stack user.
In unattended installations this isn't desired as it will prevent
the original job from completing.
This change adds a paremeter "SHELL_AFTER_RUN" which can be set
to "no" to prevent the final invocation of bash.
2011-10-10 08:06:14 -05:00
Jesse Andrews
461bfdc89f
delete instances needs sudo
2011-10-09 17:50:38 -07:00
Jesse Andrews
e4304238c2
only mount cgroups if you haven't already
2011-10-07 10:34:32 -04:00
Anthony Young
1c598da608
call novnc with flagfile
2011-10-05 08:07:53 -07:00
Anthony Young
f2aee71a2a
use 10 bytes for dash password, as the UI truncates at 20 characters
2011-10-04 13:32:45 -07:00
Anthony Young
06b7ad7c05
don't require uuidgen, as it isn't always in sparse natty installs
2011-10-04 13:30:19 -07:00
Jesse Andrews
0031df019d
spacing fixes
2011-10-03 23:10:55 -04:00
Jesse Andrews
2abbdd4751
fix comparisons
2011-10-03 22:48:30 -04:00
Jesse Andrews
5372f43387
update readmes
2011-10-03 01:08:24 -04:00