# Revision history [back]

### problem in editing swift_hash_path_suffix

I am installing and configuring swift following the steps given in the book "Software defined storage with OpenStack Swift" by Joe Arnold.

According to book, I have to configure proxy server. For this, I have to edit /etc/swift/swift.conf and change the swift_hash_path_suffix to something secret and then, start the proxy server process

for this, I use the following commands: root@arun-Aspire-5742:~# vi /etc/swift/swift.conf

with this command, swift.conf file is opened:

[swift-hash]

# once a cluster has been deployed.

swift_hash_path_suffix = changeme swift_hash_path_prefix = changeme

# saved in the swift cluster.

[swift-constraints]

# on a single account, container, or object

but, I am not able to change the value of swift_hash_path_suffix. Please help me in this regard.

and also Is it necessary to change the value of swift_hash_path_prefix?

 2 No.2 Revision Jobin 492 ●21 ●28 ●45 http://thelittleican.b...

### problem in editing swift_hash_path_suffix

I am installing and configuring swift following the steps given in the book "Software defined storage with OpenStack Swift" by Joe Arnold.

According to book, I have to configure proxy server. For this, I have to edit /etc/swift/swift.conf /etc/swift/swift.conf and change the swift_hash_path_suffix swift_hash_path_suffix to something secret and then, start the proxy server process

for this, I use the following commands: commands:

root@arun-Aspire-5742:~# vi /etc/swift/swift.conf/etc/swift/swift.conf


with this command, swift.conf swift.conf file is opened:

[swift-hash]

# [swift-hash] # swift_hash_path_suffix and swift_hash_path_prefix are used as part of the

 the # the hashing algorithm when determining data placement in the cluster. cluster. # These values should remain secret and MUST NOT change change # once a cluster has been deployed. deployed. swift_hash_path_suffix = changeme swift_hash_path_prefix = changeme changeme # The swift-constraints section sets the basic constraints on data data # saved in the swift cluster. [swift-constraints] cluster. [swift-constraints] # max_file_size is the largest "normal" object that can be saved in in # the cluster. This is also the limit on the size of each segment of of # a "large" object when using the large object manifest support. support. # This value is set in bytes. Setting it to lower than 1MiB will cause cause # some tests to fail. It is STRONGLY recommended to leave this value at at # the default (5 * 2**30 + 2). max_file_size = 5368709122 2). #max_file_size = 5368709122 # max_meta_name_length is the max number of bytes in the utf8 encoding encoding # of the name portion of a metadata header. max_meta_name_length = 128 header. #max_meta_name_length = 128 # max_meta_value_length is the max number of bytes in the utf8 encoding encoding # of a metadata value max_meta_value_length = 256 value #max_meta_value_length = 256 # max_meta_count is the max number of metadata keys that can be stored stored # on a single account, container, or object
object 

but, I am not able to change the value of swift_hash_path_suffix. Please help me in this regard.

and also Is it necessary to change the value of swift_hash_path_prefix?swift_hash_path_prefix?

 3 retagged fifieldt 4708 ●13 ●52 ●50 http://docs.openstack....

### problem in editing swift_hash_path_suffix

I am installing and configuring swift following the steps given in the book "Software defined storage with OpenStack Swift" by Joe Arnold.

According to book, I have to configure proxy server. For this, I have to edit /etc/swift/swift.conf and change the swift_hash_path_suffix to something secret and then, start the proxy server process

for this, I use the following commands:

root@arun-Aspire-5742:~# vi /etc/swift/swift.conf


with this command, swift.conf file is opened:

[swift-hash]

# swift_hash_path_suffix and swift_hash_path_prefix are used as part of the
# the hashing algorithm when determining data placement in the cluster.
# These values should remain secret and MUST NOT change
# once a cluster has been deployed.

swift_hash_path_suffix = changeme
swift_hash_path_prefix = changeme

# The swift-constraints section sets the basic constraints on data
# saved in the swift cluster.

[swift-constraints]

# max_file_size is the largest "normal" object that can be saved in
# the cluster. This is also the limit on the size of each segment of
# a "large" object when using the large object manifest support.
# This value is set in bytes. Setting it to lower than 1MiB will cause
# some tests to fail. It is STRONGLY recommended to leave this value at
# the default (5 * 2**30 + 2).

#max_file_size = 5368709122

# max_meta_name_length is the max number of bytes in the utf8 encoding
# of the name portion of a metadata header.

#max_meta_name_length = 128

# max_meta_value_length is the max number of bytes in the utf8 encoding
# of a metadata value

#max_meta_value_length = 256

# max_meta_count is the max number of metadata keys that can be stored
# on a single account, container, or object


but, I am not able to change the value of swift_hash_path_suffix. Please help me in this regard.

and also Is it necessary to change the value of swift_hash_path_prefix?