Ask Your Question
0

Unable to create container

asked 2014-07-04 00:10:52 -0500

Nouamn gravatar image

Hi, The issue is I am not able to create container. My architecture is One Controller node - One compute node -One network node - One proxy server node - 2 storage nodes with 2 drives.

The issue is when i run swift post new-container command it gives me this error. Container put failed : http//proxy-server:8080/v1/AUTH__b34a799d6657449bb4d6751282072955/new-container 404 not found. [first 60 chars of response] <html>

Not foud

The resource not found .<

For past couple of days I have tried several things but no luck. The major issue is there is no swift log so no way of knowing what I am doing wrong. So Please any help will be really appreciated.

P.S I am following official guide of installing openstack icehouse.

Regards

edit retag flag offensive close merge delete

Comments

Hi, Are you able to create and access the container from the terminal? How about swift stat and swift list commands?

Varsha gravatar imageVarsha ( 2015-02-08 05:19:24 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-07-04 01:58:40 -0500

foexle gravatar image

Hi Nouamn,

could you please check your swift-proxy.conf.

[app:proxy-server]
use = egg:swift#proxy
account_autocreate = true
allow_account_management = true
[..]

In addition you should check:

  • Keystone endpoint
  • Communication between Keystone and Swift

Could you also check the syslog of you'r Swift hosts and post it?

edit flag offensive delete link more

Comments

I have checked proxy-server.conf it has all the configuration you mentioned. My keystone endpoints are = http://proxy-server:8080/v1/AUTH_%(te...http://proxy-server:8080/v1/AUTH_%(te... , http://proxy-server:8080 . My syslog is showing the same thing it is actually going to storage nodes but the error is same 404

Nouamn gravatar imageNouamn ( 2014-07-04 02:31:03 -0500 )edit

Hi Nouamn, I am facing similar problem in Junos after installation. Were you able to fix this? Any hints?

bala2014 gravatar imagebala2014 ( 2015-01-10 00:08:05 -0500 )edit

It's possible to get all containers or available objects with swift list or swift stat

foexle gravatar imagefoexle ( 2015-01-13 03:13:10 -0500 )edit

swift -A http://proxy-server:8080/auth/v1.0 -U demo:demo -K list or stat works fine. The problem is that following will report error: swift -A http://proxy-server:8080/auth/v1.0 -U demo -K list or stat
even though I have setup environment var export OS_TENANT_NAME=demo

bala2014 gravatar imagebala2014 ( 2015-01-13 07:12:43 -0500 )edit

Which auth method you're using ? Keystone oder swift-auth ?

Thats normal if you missing the user or tenant for -U <tenant>:<username>

foexle gravatar imagefoexle ( 2015-01-14 08:52:51 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-07-04 00:10:52 -0500

Seen: 1,091 times

Last updated: Jul 04 '14