Dean Troyer
74759aa17a
Remove DEFAULT_STACK_USER, just use STACK_USER
...
STACK_USER needs to be set for more than just stack.sh, there
was no real distinction for using DEFAULT_STACK_USER instead
of just setting STACK_USER directly in stackrc and allowing it
to be overridden in localrc.
Change-Id: I9e8d70db29bb421f1ce3dbf40a5ad299cc7ea785
2013-01-25 11:09:17 -06:00
Attila Fazekas
91b8d13eda
Fix "sudo: sorry, you must have a tty to run sudo"
...
On many systems the requiretty sudoers option is turned on by default.
With "requiretty" option the sudo ensures the user have real tty access.
Just several "su" variant has an option for skipping the new session creation step.
Only one session can posses a tty, so after a "su -c" the sudo will not
work.
We will use sudo instead of su, when we create the stack account.
This change adds new variable the STACK_USER for
service username.
Change-Id: I1b3fbd903686884e74a5a22d82c0c0890e1be03c
2013-01-11 09:15:30 +01:00
Vincent Untz
7c3053da69
Remove leftover references to files/pips/
...
The files/pips/* files were removed a while ago (replaced by
pip-requires in individual projects). So remove leftover code that was
dealing with that.
Change-Id: Id521a3365ab018193607389f022a25acddb49714
2012-11-29 09:19:16 +01:00
Dean Troyer
e62ba4d312
Cleanup tools scripts
...
* whitespace and comment cleanups only
Change-Id: I4e631e9a9b8151758dc8c96b3aef76b963d5ea7e
2012-06-27 22:25:56 -05:00
Hengqing Hu
3b719e50fb
Remove trailing whitespaces in regular file
...
Change-Id: I5faf840dd6649afcb53e91f1d033447f9729cee1
2012-03-09 16:04:56 +08:00
Dean Troyer
7f9aa71bce
Extract common functions into a separate file
...
This is the start of an effort to organize devstack's code
to better document the requirements for configuring the individual
components.
Change-Id: I3476b76b9d1f9ee63687fb9898a98729118cbd84
2012-01-31 12:18:16 -06:00
Anthony Young
331ae29e4f
Fix build_uec to properly respect the devstack directory that is used when COPY_ENV=1
...
Change-Id: Ib9fd5d18d58349a145d50faa33228dd161965a9e
2011-12-21 12:40:21 -08:00
Jesse Andrews
d7326d2ea9
remove old build scripts and clean for those that work
...
Change-Id: I5c156879f3c85f1555a1411695ac43cefbbf3b99
2011-11-21 10:14:56 -08:00
Anthony Young
8326fd2038
fix for concurrent builds
2011-11-15 13:03:19 -08:00
Jesse Andrews
28c6779856
Merge pull request #192 from cloudbuilders/jenkins
...
Jenkins
2011-11-14 11:32:15 -08:00
Jesse Andrews
c20428241a
always check deps
2011-11-11 13:59:05 -08:00
Jesse Andrews
2679303c89
build_uec requires libvirt
2011-11-11 13:56:29 -08:00
Anthony Young
715944008a
byobu is nor getting disabled :/
2011-11-11 11:19:57 -08:00
Anthony Young
760ddde157
configuring stack user is optional
2011-11-10 13:46:52 -08:00
Anthony Young
7faa17e368
byobu-disable
2011-11-10 13:43:01 -08:00
Anthony Young
ff7771e5fb
fix useradd
2011-11-10 13:33:31 -08:00
Anthony Young
b7661282d1
still trying to get pub key working
2011-11-10 13:09:25 -08:00
Anthony Young
ddb44b4e09
missing quotes around pub key
2011-11-10 13:06:44 -08:00
Anthony Young
2838f12e75
fix appends on user data
2011-11-10 13:04:40 -08:00
Anthony Young
b225682189
progress on getting a working test configuration
2011-11-10 12:57:59 -08:00
Anthony Young
c986b3f8c7
Merge remote-tracking branch 'origin/master' into jenkins
2011-11-10 09:38:43 -08:00
Anthony Young
72eab2276e
fix network name in libvirt.xml
2011-11-09 23:38:18 -08:00
Anthony Young
8b47cdf15a
working to improve debugability
2011-11-09 23:36:18 -08:00
Anthony Young
593e9aa87a
fix message - no natty support
2011-11-09 12:42:08 -08:00
Anthony Young
e28f77565d
install cloud-utils, so that we have resize-part-image
2011-11-09 11:48:09 -08:00
Jesse Andrews
e3c47a351e
parameterize vm size, improve metadata, conditional for ubuntu version
2011-11-07 10:44:43 -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
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