55f4dab4c640c6ed69d1796ecbafeef8e67fe7d7
Commit Graph

21 Commits

Author SHA1 Message Date
Christian Schwede
4ed29f8591 Fix Swift rsync/replication configuration
Swift rsync and replication services are up and running, however they
fail to replicate any data if needed and if used with more than one
replica.
This patch removes a deprecated option setting[1] and replaces it with
the required setting to use the correct rsync module suffix.
Additionally it removes an outdated subdirectory suffix in the rsyncd
configuration that has been removed as well[2].
Closes-Bug: #2100272
[1] 675145ef4a
[2] 0e58d22897
Change-Id: I5283405d00883a4dd11b7c001b1bba3776e576b8
2025年02月26日 11:40:10 +01:00
Jordan Pittier
ea1abcde18 Swift: fix rsyncd.conf, ports were incorrect
Swift port base was changed in Ifd95b99004aead5ddc8ae1a8dd3ccd9c4f2abe91
but we forgot to update the rsyncd.conf. This patch update the rsyncd.conf
file.
Change-Id: Id457c047c672a810c4c0c7721b6beeb01b719879
2016年11月16日 18:47:44 +01:00
Chmouel Boudjnah
ad8b27626e have the run and logs files in $SWIFT_DATA_DIR
- Set all the run lock and logs files to go to $SWIFT_DATA_DIR.
Change-Id: I42b72572e9700457475398043057d37d0dbc65ac
2013年01月22日 11:30:49 +00:00
Chmouel Boudjnah
c7214e838e Use swift config files shipped with swift.
- Fixes bug 1004548.
- Add function iniuncomment.
- Trying to match the indent as the other stack.sh file.
Change-Id: I70339f7b4c0dd3ef8a018daecb2e1b3fb72c741b
2012年06月06日 13:56:39 +02:00
Joe Gordon
42b1aa9c13 Fix devstack to support the new pulled out swift3
Change-Id: Ia4f5092e666b581aab4af4851c2848e84817c07a
2012年05月25日 15:07:43 +00:00
Joe Gordon
1fad810cef Remove unused service_* from authtoken middleware
service_port and service_host are not used by the current keystone authtoken
Change-Id: Iff5d2dccdc69b0a05443500d45b144acfbbe3c79
2012年05月17日 15:54:36 -07:00
Dean Troyer
1e51c11582 C) Move swift defaults for config & data
* change config vars _LOCATION to _DIR to be consistient with other vars
* let config files live in /etc/swift like they want to
* move swift backing files to $DEST/data/swift
Change-Id: Idbd507736b46c5c2330e0255cc87f40068d3faf6
2012年04月05日 10:56:47 -05:00
Chmouel Boudjnah
ecdd8fc6ba Remove service_ and admin_token.
- Remove cache = swift.cache as well from swift config as not needed as
 well.
Change-Id: I39f0b7ed48e6ee8926cdc011a46fdd2d01880a89
2012年03月19日 16:55:04 +00:00
Dean Troyer
b328838104 Add service account configuration
* Use username/password instead of service token for service auth to Keystone
* Updates files/glance-*-paste.ini and files/swift/proxy-server.conf
* keystone_data.sh creates 'service' tenant, 'nova' and 'glance' users
 ('swift' and 'quantum' if those services are enabled)
* Uses $SERVICE_PASSWORD for the service auth password. There is no default;
 to default to $ADMIN_PASSWORD, place the assignment in localrc.
Fixes bug 942983
Change-Id: If78eed1b509a9c1e8441bb4cfa095da9052f9395
2012年02月29日 16:22:10 -06:00
Chmouel Boudjnah
8534bcb6bb Update Swift configuration with keystone latest.
- Update Swift to use the new tokenauth and swift_auth from keystone.
- Drop swift-keystone2.
- Add swift3 / s3token in swift proxy pipeline (TODO: figure out
testing).
- Fix exercises/swift.sh (workaround until review #3712 get merged).
Change-Id: Ie85d30e14cee21c6f80043fccde92dfb229f0e80
2012年02月25日 18:44:26 +01:00
Chmouel Boudjnah
a95efab1c3 Allow to configure a number of swift replicas.
Remove the scripts swift-remakerings and swift-startmain along the way.
Change-Id: I7c65303791689523f02e5ae44483a6c50b2eed1e
2012年02月16日 23:24:48 +01:00
Chmouel Boudjnah
12c7d4b303 Add object-expirer.
Fixes bug 928198.
Change-Id: I0f3bbe323cdb285714d1c80fe7e7b7d9842ece06
2012年02月09日 16:44:32 +01:00
Dean Troyer
2e8bb8851f Fixes bug 920762: change Admin to admin in swift/proxy-server.conf
Change-Id: I6cb564ed2a6eaaf325a9573b4a6d372ae8a73c8d
2012年02月03日 13:16:07 -06:00
Jenkins
3ffd5c1222 Merge "Configure swift logging." 2012年01月05日 23:26:53 +00:00
Gabriel Hurley
98f4ce82f0 Added "Admin" as an allowed role in swift proxy-server.conf.
Change-Id: Ia98ef5c5ff02a7a9bd24729ca37d87338087ab66
2011年12月28日 16:17:29 -08:00
Chmouel Boudjnah
cb9fbd905b Rename of keystone_admin_group variable.
It has been moved to keystone_swift_operator_roles
Change-Id: I74db43379fac55c75efcfbb5f7328c41661b5578
2011年12月15日 18:02:15 +00:00
Chmouel Boudjnah
769eb1cf45 Configure swift logging.
Split logs by storage node proxy and don't fill up the
/var/log/messages.
Set proxy-server in debug.
Only one worker by proxy-server since we are usually in debugging mode.
Change-Id: If39f35b98ad821e8a62e36e4c22e723f83e01db8
2011年11月22日 13:17:02 +01:00
Chmouel Boudjnah
ce1b4a24da Admin group is Member.
This is not the admin group per-se but the group where users can
create/delete containers.
This is will be fixed properly when the swift-keystone2 middleware would
be commited in keystone (should be sometime soon).
2011年11月10日 19:37:17 +01:00
Chmouel Boudjnah
3a64826b67 Redefine swift configs in SWIFT_DIR
We still need a link in /etc/swift until #885595 is fixed.
2011年11月03日 10:43:46 +01:00
Chmouel Boudjnah
3875015010 Change SWIFT_LOCATION to SWIFT_DATA_LOCATION 2011年11月03日 10:16:28 +01:00
Chmouel Boudjnah
537ddff259 Move all swift files to $FILES/swift/ 2011年11月02日 19:09:30 +01:00