[Openstack] [Icehouse] Object Container error

Amit Anand aanand at viimed.com
Wed Oct 29 20:39:15 UTC 2014


Hi all,

So I have whats seems to be a weird error and I have no clue where this is
coming from.

When I try to do the upload of mytest files from the Icehouse documentation
(I guess it also creates a container as well), I see this error on my
object node:

[root at object1 tmp]# swift upload myfiles test.txt
Object HEAD failed:
http://10.7.5.11:8080/v1/AUTH_ca2e3f4d6f8b4afa9e712aa318e1ac4c/myfiles/test.txt
503 Internal Server Error


And on the controller I see this error in the logs:

Oct 29 16:21:44 controller proxy-server: ERROR with Object server
10.7.5.51:6003/sda4 re: Trying to HEAD
/v1/AUTH_ca2e3f4d6f8b4afa9e712aa318e1ac4c/myfiles/test.txt: Connection
refused (txn: txe2222291b0864f2c9eea9-0054514c58)
Oct 29 16:21:44 controller proxy-server: Object HEAD returning 503 for []
(txn: txe2222291b0864f2c9eea9-0054514c58) (client_ip: 10.7.5.51)



So what I see that seems to be weird is that the in the controller error,
ERROR with Object server 10.7.5.51:6003/sda4 it looks like its trying to
get back to the object node on port 6003. Now I have no idea where that is
coming from - below is my out of swift-ring-builder (there is no
replication ip network and i didnt add that part of the command when
creating so no idea how that is showing up either but dont think that is a
problem):

[root at controller swift]# swift-ring-builder account.builder
account.builder, build version 1
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 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       10.7.5.51  6002       10.7.5.51
     6002      sda4 100.00     786432    0.00

[root at controller swift]# swift-ring-builder container.builder
container.builder, build version 1
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 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       10.7.5.51  6001       10.7.5.51
     6002      sda4 100.00     786432    0.00

[root at controller swift]# swift-ring-builder object.builder
object.builder, build version 1
262144 partitions, 3.000000 replicas, 1 regions, 1 zones, 1 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       10.7.5.51  6000       10.7.5.51
     6002      sda4 100.00     786432    0.00

So the ports are 6000, 6001, and 6002 which match with the config files on
the object node. Where is port 6003 coming from? I can also do a swift stat
no prob:

[root at controller swift]# swift stat
       Account: AUTH_ca2e3f4d6f8b4afa9e712aa318e1ac4c
    Containers: 1
       Objects: 0
         Bytes: 0
 Accept-Ranges: bytes
   X-Timestamp: 1414516348.41483
    X-Trans-Id: tx424add6ef763489f857e9-0054514fa8
  Content-Type: text/plain; charset=utf-8


And another thing I notice on init of swift on object node:

Starting container-updater...(/etc/swift/container-server.conf)
Starting account-auditor...(/etc/swift/account-server.conf)
Starting object-replicator...(/etc/swift/object-server.conf)
Unable to locate config for proxy-server
Starting container-replicator...(/etc/swift/container-server.conf)
Starting object-auditor...(/etc/swift/object-server.conf)
Unable to locate config for object-expirer
Starting container-auditor...(/etc/swift/container-server.conf)
Starting container-server...(/etc/swift/container-server.conf)
Starting account-server...(/etc/swift/account-server.conf)
Starting account-reaper...(/etc/swift/account-server.conf)
Starting container-sync...(/etc/swift/container-server.conf)
Starting account-replicator...(/etc/swift/account-server.conf)
Starting object-updater...(/etc/swift/object-server.conf)
Starting object-server...(/etc/swift/object-server.conf)


the config for the proxy-server and object-expirer cant be found?

In any case if anyone could let me know where the port 6003 is defined I
would appreciate it as Ive looked everyhwere!

Thanks yall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141029/6321aa49/attachment.html>


More information about the Openstack mailing list