Revision history [back]

click to hide/show revision 1
initial version

swift upload : Error Trying to create container 'myfiles' : 503 ISE

Hello everyone,

First, Sorry for my English. I little speak English. I do not get created containers so not upload.

When I write "swift upload myfiles test.txt"

  Error trying to create container 'myfiles': 503 Internal Server Error: <html><h1>Service Unavailable</h1><p>The server is currently
Object PUT failed: http://192.168.1.16:8080:8080/v1/AUTH_a6b68e303ca8426b977d8c730b00755b/myfiles/test.txt 503 Service Unavailable  [first 60 chars of response] <html><h1>Service Unavailable</h1><p>The server is currently

And my conf

root@swift:/etc/swift# swift-ring-builder object.builder
object.builder, build version 4
262144 partitions, 3.000000 replicas, 1 regions, 4 zones, 4 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices:    id  region  zone      ip address  port  replication ip  replication port      name weight partitions balance meta
             0       1     1    192.168.1.16  6000    192.168.1.16              6000         1 100.00     196608    0.00
             1       1     2    192.168.1.16  6022    192.168.1.16              6022         2 100.00     196608    0.00
             2       1     3    192.168.1.16  6032    192.168.1.16              6032         3 100.00     196608    0.00
             3       1     4    192.168.1.16  6042    192.168.1.16              6042         4 100.00     196608    0.00
root@swift:/etc/swift# swift-ring-builder container.builder
container.builder, build version 4
262144 partitions, 3.000000 replicas, 1 regions, 4 zones, 4 devices, 0.00 balance
The minimum number of hours before a partition can be reassigned is 1
Devices:    id  region  zone      ip address  port  replication ip  replication port      name weight partitions balance meta
             0       1     1    192.168.1.16  6001    192.168.1.16              6001         1 100.00     196608    0.00
             1       1     2    192.168.1.16  6021    192.168.1.16              6021         2 100.00     196608    0.00
             2       1     3    192.168.1.16  6031    192.168.1.16              6031         3 100.00     196608    0.00
             3       1     4    192.168.1.16  6041    192.168.1.16              6041         4 100.00     196608    0.00
root@swift:/etc/swift# swift-ring-builder account.builder
account.builder, build version 5
262144 partitions, 3.000000 replicas, 1 regions, 4 zones, 5 devices, 16.67 balance
The minimum number of hours before a partition can be reassigned is 1
Devices:    id  region  zone      ip address  port  replication ip  replication port      name weight partitions balance meta
             0       1     1    192.168.1.16  6002    192.168.1.16              6002      sdb1 100.00     131072  -16.67
             1       1     1    192.168.1.16  6002    192.168.1.16              6002         1 100.00     131072  -16.67
             2       1     2    192.168.1.16  6020    192.168.1.16              6020         2 100.00     174763   11.11
             3       1     3    192.168.1.16  6030    192.168.1.16              6030         3 100.00     174762   11.11
             4       1     4    192.168.1.16  6040    192.168.1.16              6040         4 100.00     174763   11.11

(I can not delete id 0 in swift-ring-builder account.builder) And

syl@swift:/etc/swift$ swift stat
       Account: AUTH_a6b68e303ca8426b977d8c730b00755b
    Containers: 0
       Objects: 0
         Bytes: 0
 Accept-Ranges: bytes
   X-Timestamp: 1406060404.30970
    X-Trans-Id: tx76e84ea5969841b5b0ecc-0053d4e6ce
  Content-Type: text/plain; charset=utf-8

For my conf file rsyncd.conf : (I have mount /srv/node/1 - /srv/node/2 - /srv/node/3)

uid = swift
gid = swift
log file = /var/log/rsyncd.log
pid file = /var/run/rsyncd.pid
address = 192.168.1.16

[account]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/account.lock

[container]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/container.lock

[object]
max connections = 2
path = /srv/node/
read only = false
lock file = /var/lock/object.lock

here is my export:

export OS_USERNAME=admin 
export OS_PASSWORD=password 
export OS_TENANT_NAME=admin 
export OS_AUTH_URL=http://192.168.1.16:35357/v2.0

for Keystone, I took the script (change) link: http://behindtheracks.com/2014/05/openstack-high-availability-keystone-and-rabbitmq/

The script keystone_populate.sh

I really need your help. I'm desperate ... = \

Thank you !