Commit Graph

10 Commits

Author SHA1 Message Date
e029b500e5 Merge "Make sure to cleanup swift on unstack/relaunch." 2013-01-15 13:59:44 +00:00
43eb0b3159 Make sure to cleanup swift on unstack/relaunch.
- Fixes bug 1049553.

Change-Id: I9fef93d25512c014dfb882adf0e169487bf877d8
2013-01-12 20:10:34 +00:00
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
d66c965b0c Correct comment about SWIFT_LOOPBACK_DISK_SIZE.
The comment regarding SWIFT_LOOPBACK_DISK_SIZE in lib/swift used the
incorrect unit (bytes instead of kilobytes).

Change-Id: I86117e36141c0a028a6fa6878a4d540f624e759d
2013-01-10 13:12:54 +00:00
8e5d2f0c7a Set recon_cache_path to ${SWIFT_DATA_DIR}/cache.
- Fixes bug 1092538.

Change-Id: Id9eb9446b32a800b1c7e0ef72882747424c65b6e
2013-01-09 10:40:39 -06:00
6d04fd7ba5 Holiday docs and comment formatting cleanup
Change-Id: Ia4ca88c67d3b94e306a79a669805a2fa1b0dc069
2012-12-28 18:03:10 -06:00
64ab774313 Set up swift's auth cache dir
Swift backing glance doesn't work due to auth_token failing without
a signing_dir configured and set up.  Create the dir and configure
in proxy-server.conf

Bug 1092783

Change-Id: If9ac46592bb7fc09e6cfd0a802a4fa61304fc369
2012-12-28 15:44:21 -06:00
c18b965152 Add is_ubuntu function
This replaces all of the [[ "$os_PACKAGE" = "deb" ]] tests, except when
those tests are before straight calls to dpkg.

Change-Id: I8a3ebf1b1bc5a55d736f9258d5ba1d24dabf04ea
2012-12-04 18:30:13 +01:00
83e109571e Allow Versioning with swift
* add the allow_versions to the container configs

Change-Id: I2d39ba7c60f5f1c4cd4f80ed61a02a64979e8f19
2012-11-30 23:28:07 +01:00
ece6a332b7 Refactor swift installation
* Optimize loops
* Move install steps to the lib/swift

Change-Id: Ie8a74b2627395620ccb0501171fa0150ee7497f2
2012-11-30 20:36:50 +01:00