Swift storage is used as glance image back-end. Tempest have cinder to
uploads 1 GiB image from cinder in twice.
In parallel execution in cause an issue, bacuse the current default size is
1_000_000 KiB.
Increasing the default swit storage size from 1_000_000 KiB 4_000_000
KiB when tempest is enabled.
Fixing bug 1225664
Change-Id: Iccd6368e4df71abb5ccfe7d361c64d86e1071d35
This function allowed you to change the process running user for all of
apache. This is better handled on a per-process basis.
Change-Id: I165adc0c49fc328f34835856b49983c4e189f143
Fixes: bug 1226346
Fixes: bug 1225853
This reverts commit f208aafa35996c98de40c1388bbebf326ab2ed20. This
commit broke swift functional tests because the ceilometer middleware
changes HTTP 404 responses into zero byte responses. This results in
BadStatusLine exceptions. Back out the use of ceilometer middleware
until it can be fixed.
Change-Id: Ie25269b58334c40dc1ecae985326af1cf29c3af4
This allows the storage.objects.{incoming,outgoing}.bytes measurements to be
easily used.
Closes-Bug: #1221097
Change-Id: If988a85930d7df1e043997763c3b5ebd720d6d86
Update keystone cli by changing parameter options (user_id, role_id and tenant_id)
to use '-' rather than '_' in the method user_role_add and consequently the method
user_role_remove without maintain backward compatibility because these are deprecated.
python-keystoneclient - Bug #1150434
Change-Id: Ia5113718eb050cf7dba443b8d0caf3bdaa1730f0
1.install apache and wsgi module
2.config apache2 vhost and wsgi files for proxy,
account, container and object server.
3.refactor apache functions from horizon and swift
into lib/apache
Change-Id: I3a5d1e511c5dca1e6d01a1adca8fda0a43d4f632
Implements: blueprint enable-apache-frontend-for-swift
- We used to set max_file_size to 10000 to get the functional tests
passing on devstack but this was the wrong way. We are now disabling
fallocate like done in saio to get the large objects test passing.
- Fixes bug 1201077.
Change-Id: I33058352f5abfb06f2a992890cbc7339cedc0ad3
swift3 and s3token middlewares were not set in correct order in
/etc/swift/proxy-server.conf when the swift3 service is enabled
with keystone. swift3 must be set before s3token.
Fixes: bug #1166123
Change-Id: I97c051af95cbdc26ccfe9753c5719394e1875dde
Move setup_develop() call into the install_XXX() function as the
distinction has no real purpose. This eliminates the configure_XXXclient()
function for Nova and Swift.
Also create install_cinderclient() as we will need it to handle dependencies
in a followup patch.
Chasing down another #$^%&&^^^$%%#$ prettytable version pin
Change-Id: I61d761bc57a31caf2ed0ade326ab236eb2bb7358
DevStack's Swift port defaults changed in the Grizzly cycle, we need to
put it back to complete the upgrade without going through the ring build process.
Change-Id: I30c09839690ad7ba9bb3fdffa3f05aedfc47559e
for files that don't start with a #! or end in .sh, the added tags
are nice for emacs users to automatically switch to the right mode.
Change-Id: If4b93e106191bc744ccad8420cef20e751cdf902
Grenade needs to be able to configure Swift without initializing the
backing disk files. Move it into create_swift_disk() and call
from init_swift().
Also move start of n-obj (if swift3 is not enabled) to start_nova().
Change-Id: Id33939182d84eeff10ba4139eeced2c1bc532f0f
* Clean up interactive configuration
* Complete moving initialization of service-specific varialbes into the
service lib/* files.
* Cosmetic cleanups
Change-Id: Iea14359bd224dd5533201d4c7cb1437d5382c4d1
- By default use the default pipeline as shipped with swift.
- Add option SWIFT_EXTRAS_MIDDLEWARE which by default include tempurl
formpost staticweb bulk to enable extra featuress.
- Clean pids in cleanup_swift Fix bug 1140364.
Rebased
Change-Id: Ida537ae8d3e319a5b84546f82ebf00615f070be1
clean.sh gets rid of all residue of running DevStack except installed
packages and pip modules.
And it eradicates rabbitmq-server and ts erlang dependencies as well as
the other RPC backends and databases.
Change-Id: I2b9a251a0a151c012bae85a5a2f9c2f72e7700be
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
instead of having to specify all s- services to enable swift. This will be
removed in the future.
- Set object server starting at 6013 instead of 6010 to not conflict
with remote ssh x11 forwarding.
Change-Id: I890b6953b70283bfa0927fff0cf5e92f3c08455b
This reverts commit 5a5cbf7274a6a50bb766ec590cf885430ed5c5d0.
This breaks on a default openstack install on Ubuntu 12.10,
revert for now until this can be cleaned up to work out of the
box.
Change-Id: I185509cc30bd28e920cdab60fc92129949bd6b0d
- Set by default SWIFT_REPLICAS to 1 since this is the most common use
case when using it in devstack.
- If we have swift_replicas to 1 launch the object container account and
proxy servers in foreground in screen.
- Allow any s- services if we have just 'swift' in service enabled
instead of having to specify all s- services to enable swift. This will be
removed in the future.
Change-Id: I496f79e14f99bd7e9f2c7deee12a4b6e935c3a5b
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
The comment regarding SWIFT_LOOPBACK_DISK_SIZE in lib/swift used the
incorrect unit (bytes instead of kilobytes).
Change-Id: I86117e36141c0a028a6fa6878a4d540f624e759d
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
This replaces all of the [[ "$os_PACKAGE" = "deb" ]] tests, except when
those tests are before straight calls to dpkg.
Change-Id: I8a3ebf1b1bc5a55d736f9258d5ba1d24dabf04ea