[Openstack] [Swift] Where can I get the libshss library ?

2016-10-12 Thread Yu Watanabe
Hello.

I would like to ask question related to swift object storage node.

I have set up swift object storage node following the installation guide
and now finalizing the installation using the guide.

http://docs.openstack.org/mitaka/install-guide-rdo/swift-finalize-installation.html

However, I get error when I start up the services.

systemctl status openstack-swift-account.service
openstack-swift-account-auditor.service
openstack-swift-account-reaper.service
openstack-swift-account-replicator.service
● openstack-swift-account.service - OpenStack Object Storage (swift) -
Account Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-swift-account.service;
enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2016-10-12 19:44:45 JST;
15h ago
  Process: 27793 ExecStart=/usr/bin/swift-account-server
/etc/swift/account-server.conf (code=exited, status=1/FAILURE)
 Main PID: 27793 (code=exited, status=1/FAILURE)

Oct 12 19:44:44 opstack-objstorage1 systemd[1]: Started OpenStack Object
Storage (swift) - Account Server.
Oct 12 19:44:44 opstack-objstorage1 systemd[1]: Starting OpenStack Object
Storage (swift) - Account Server...
Oct 12 19:44:45 opstack-objstorage1 liberasurecode[27793]:
liberasurecode_instance_create: dynamic linking error libshss.so.1: cannot
open shared ...rectory
Oct 12 19:44:45 opstack-objstorage1 swift-account-server[27793]: Error:
[swift-hash]: both swift_hash_path_suffix and swift_hash_path_prefix are
m...ft.conf
Oct 12 19:44:45 opstack-objstorage1 systemd[1]:
openstack-swift-account.service: main process exited, code=exited,
status=1/FAILURE
Oct 12 19:44:45 opstack-objstorage1 systemd[1]: Unit
openstack-swift-account.service entered failed state.
Oct 12 19:44:45 opstack-objstorage1 systemd[1]:
openstack-swift-account.service failed.

I have already installed libJerasure.so.2 and libisal.so.2 from source code
but still not able to install libshss.so.1.

Below is information about my environment.

[root@opstack-objstorage1 system 2016.10.13 11:34:26]# cat
/etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
[root@opstack-objstorage1 system 2016.10.13 11:33:53]# rpm -qa | grep swift
openstack-swift-container-2.7.0-2.el7.noarch
openstack-swift-2.7.0-2.el7.noarch
openstack-swift-object-2.7.0-2.el7.noarch
openstack-swift-account-2.7.0-2.el7.noarch

Is there a web site where I can get the source code for libshss?

Thanks.

-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Swift] Where can I get the libshss library ?

2016-10-12 Thread Yu Watanabe
Thank you for the response.

I will check the latest liberasurecode (ver1.2.0).

https://github.com/openstack/liberasurecode

Best Regards,
Yu Watanabe

On Thu, Oct 13, 2016 at 1:47 PM, Kota TSUYUZAKI <
tsuyuzaki.k...@lab.ntt.co.jp> wrote:

> Correct. Thanks John for your quick response.
>
> Kota
>
> (2016/10/13 12:14), John Dickinson wrote:
> > Unfortunately, no (as far as i know). It's a proprietary library used by
> NTT.
> >
> > However, if you update to the latest version of liberasurecode, that
> warning message is suppressed.
> >
> > --John
> >
> >
> >
> > On 12 Oct 2016, at 19:58, Yu Watanabe wrote:
> >
> >> Hello.
> >>
> >> I would like to ask question related to swift object storage node.
> >>
> >> I have set up swift object storage node following the installation
> guide and now finalizing the installation using the guide.
> >>
> >> http://docs.openstack.org/mitaka/install-guide-rdo/
> swift-finalize-installation.html
> >>
> >> However, I get error when I start up the services.
> >>
> >> systemctl status openstack-swift-account.service
> openstack-swift-account-auditor.service openstack-swift-account-reaper.service
> openstack-swift-account-replicator.service ●
> >> openstack-swift-account.service - OpenStack Object Storage (swift) -
> Account Server Loaded: loaded (/usr/lib/systemd/system/
> openstack-swift-account.service; enabled; vendor preset: disabled)
> >> Active: failed (Result: exit-code) since Wed 2016-10-12 19:44:45 JST;
> 15h ago Process: 27793 ExecStart=/usr/bin/swift-account-server
> /etc/swift/account-server.conf (code=exited,
> >> status=1/FAILURE) Main PID: 27793 (code=exited, status=1/FAILURE)
> >>
> >> Oct 12 19:44:44 opstack-objstorage1 systemd[1]: Started OpenStack
> Object Storage (swift) - Account Server. Oct 12 19:44:44
> opstack-objstorage1 systemd[1]: Starting OpenStack Object Storage
> >> (swift) - Account Server... Oct 12 19:44:45 opstack-objstorage1
> liberasurecode[27793]: liberasurecode_instance_create: dynamic linking
> error libshss.so.1: cannot open shared ...rectory Oct 12
> >> 19:44:45 opstack-objstorage1 swift-account-server[27793]: Error:
> [swift-hash]: both swift_hash_path_suffix and swift_hash_path_prefix are
> m...ft.conf Oct 12 19:44:45 opstack-objstorage1
> >> systemd[1]: openstack-swift-account.service: main process exited,
> code=exited, status=1/FAILURE Oct 12 19:44:45 opstack-objstorage1
> systemd[1]: Unit openstack-swift-account.service entered
> >> failed state. Oct 12 19:44:45 opstack-objstorage1 systemd[1]:
> openstack-swift-account.service failed.
> >>
> >> I have already installed libJerasure.so.2 and libisal.so.2 from source
> code but still not able to install libshss.so.1.
> >>
> >> Below is information about my environment.
> >>
> >> [root@opstack-objstorage1 system 2016.10.13 11:34:26]# cat
> /etc/redhat-release CentOS Linux release 7.2.1511 (Core)
> [root@opstack-objstorage1 system 2016.10.13 11:33:53]# rpm -qa | grep
> swift
> >> openstack-swift-container-2.7.0-2.el7.noarch
> openstack-swift-2.7.0-2.el7.noarch openstack-swift-object-2.7.0-2.el7.noarch
> openstack-swift-account-2.7.0-2.el7.noarch
> >>
> >> Is there a web site where I can get the source code for libshss?
> >>
> >> Thanks.
> >>
> >> -- Yu Watanabe 渡辺 裕
> >>
> >> LinkedIn : jp.linkedin.com/in/yuwatanabe1
> >
> >
> >> _______ Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to
>  : openstack@lists.openstack.org Unsubscribe :
> >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
> >
> >
> > ___ Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to
>  : openstack@lists.openstack.org Unsubscribe :
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
>
>
>
>
>


-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [Swift] Where can I get the libshss library ?

2016-10-13 Thread Yu Watanabe
Thanks Pete.

I got my openstack-swift-account.service up now.
SELINUX was the root cause for preventing the service to go up.

[root@opstack-objstorage1 srv 2016.10.14 10:46:00]# ls -lZ
/etc/swift/swift.conf
-rw-r--r--. root swift system_u:object_r:etc_t:s0
/etc/swift/swift.conf



On Fri, Oct 14, 2016 at 8:37 AM, Pete Zaitcev  wrote:

> On Thu, 13 Oct 2016 11:58:58 +0900
> Yu Watanabe  wrote:
>
> > Oct 12 19:44:45 opstack-objstorage1 swift-account-server[27793]: Error:
> > [swift-hash]: both swift_hash_path_suffix and swift_hash_path_prefix are
> > m...ft.conf
>
> Leaving libshss aside, Swift being unable to read /etc/swift/swift.conf
> is typically caused by SElinux (assumed you have actually set the
> hash prefix previously).
>
> -- Pete
>



-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


[Openstack] [openstack][swift] swift stat ends with 503 Service Unavailable

2016-10-13 Thread Yu Watanabe
Hi!

I am verifying the installation using the swift stat command but it returns
503 Service Unavailable.

[root@opstack-controller src 2016.10.14 11:55:37]# swift stat
Account HEAD failed:
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004
503 Service Unavailable

I have checked the syslog of storage node side and account server was
returning 404 .
Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
[14/Oct/2016:02:56:11 +] "HEAD
/sdc/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004";
"tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158" 0.0003 "-" 19870 -
Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
[14/Oct/2016:02:56:11 +] "HEAD
/sdd/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004";
"tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158" 0.0002 "-" 19870 -

My SELINUX permission of /srv/node/ is set to what the doucment says.

http://docs.openstack.org/mitaka/install-guide-rdo/swift-verify.html

[root@opstack-objstorage1 swift 2016.10.14 11:57:18]# ls -ltR /srv/node/
/srv/node/:
total 0
drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdd
drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdc

/srv/node/sdd:
total 0
drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects

/srv/node/sdd/objects:
total 0

/srv/node/sdc:
total 0
drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects

/srv/node/sdc/objects:
total 0

I want to diagnose the problem but is there any other setting I should look
for?

-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [openstack][swift] swift stat ends with 503 Service Unavailable

2016-10-13 Thread Yu Watanabe
Thanks for the reply.

I confirmed that proxy config has account_autocreate = true defined and
restarted the openstack-swift-proxy.service.

But still the account-server returns 404.

Oct 14 13:46:40 opstack-objstorage1 account-server: 10.1.0.6 - -
[14/Oct/2016:04:46:40 +] "HEAD
/sdd/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004";
"tx874203d701cc421fa1ec1-0058006330" "proxy-server 28685" 0.0004 "-" 19869 -
Oct 14 13:46:40 opstack-objstorage1 account-server: 10.1.0.6 - -
[14/Oct/2016:04:46:40 +] "HEAD
/sdc/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004";
"tx874203d701cc421fa1ec1-0058006330" "proxy-server 28685" 0.0003 "-" 19868 -

Are there any other setting I am missing?

Thanks.


On Fri, Oct 14, 2016 at 12:25 PM, Mark Kirkwood <
mark.kirkw...@catalyst.net.nz> wrote:

> On 14/10/16 16:03, Yu Watanabe wrote:
>
> Hi!
>>
>> I am verifying the installation using the swift stat command but it
>> returns 503 Service Unavailable.
>>
>> [root@opstack-controller src 2016.10.14 11:55:37]# swift stat
>> Account HEAD failed: http://opstack-cont-manage:808
>> 0/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004 503 Service Unavailable
>>
>> I have checked the syslog of storage node side and account server was
>> returning 404 .
>> Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
>> [14/Oct/2016:02:56:11 +] "HEAD 
>> /sdc/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004"
>> 404 - "HEAD http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d
>> 6c1de6c4c004" "tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158"
>> 0.0003 "-" 19870 -
>> Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
>> [14/Oct/2016:02:56:11 +] "HEAD 
>> /sdd/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004"
>> 404 - "HEAD http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d
>> 6c1de6c4c004" "tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158"
>> 0.0002 "-" 19870 -
>>
>> My SELINUX permission of /srv/node/ is set to what the doucment says.
>>
>> http://docs.openstack.org/mitaka/install-guide-rdo/swift-verify.html
>>
>> [root@opstack-objstorage1 swift 2016.10.14 11:57:18]# ls -ltR /srv/node/
>> /srv/node/:
>> total 0
>> drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdd
>> drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdc
>>
>> /srv/node/sdd:
>> total 0
>> drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects
>>
>> /srv/node/sdd/objects:
>> total 0
>>
>> /srv/node/sdc:
>> total 0
>> drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects
>>
>> /srv/node/sdc/objects:
>> total 0
>>
>> I want to diagnose the problem but is there any other setting I should
>> look for?
>>
>>
>>
> Looking at the 404 from the account HEAD, you might want to see if you
> have set:
>
> account_autocreate = true
>
> in your proxy config.
>
> regards
>
> Mark
>
> ___
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstac
> k
>



-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


Re: [Openstack] [openstack][swift] swift stat ends with 503 Service Unavailable

2016-10-13 Thread Yu Watanabe
At the same time , I see connection errors in the proxy server.

Oct 14 14:05:08 opstack-controller proxy-server: Deferring reject downstream
Oct 14 14:05:08 opstack-controller proxy-server: - - 14/Oct/2016/05/05/08
HEAD /v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004 HTTP/1.0 204 - Swift - - - -
tx60f54bfed6d94357a10c0-0058006784 - 0.0268 RL - 1476421508.123720884
1476421508.150515079 -
Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
contact the endpoint at http://opstack-cont-manage:5000/v3 for discovery.
Fallback to using that endpoint as the base url.
Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
contact the endpoint at http://opstack-cont-manage:5000/v3 for discovery.
Fallback to using that endpoint as the base url.
Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 0.5s.
Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 1.0s.
Oct 14 14:05:09 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 2.0s.

Does this mean that problem lies on proxy server side?

On Fri, Oct 14, 2016 at 1:51 PM, Yu Watanabe  wrote:

> Thanks for the reply.
>
> I confirmed that proxy config has account_autocreate = true defined and
> restarted the openstack-swift-proxy.service.
>
> But still the account-server returns 404.
>
> Oct 14 13:46:40 opstack-objstorage1 account-server: 10.1.0.6 - -
> [14/Oct/2016:04:46:40 +] "HEAD /sdd/292/AUTH_
> a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD http://opstack-cont-manage:
> 8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 
> "tx874203d701cc421fa1ec1-0058006330"
> "proxy-server 28685" 0.0004 "-" 19869 -
> Oct 14 13:46:40 opstack-objstorage1 account-server: 10.1.0.6 - -
> [14/Oct/2016:04:46:40 +] "HEAD /sdc/292/AUTH_
> a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 404 - "HEAD http://opstack-cont-manage:
> 8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004" 
> "tx874203d701cc421fa1ec1-0058006330"
> "proxy-server 28685" 0.0003 "-" 19868 -
>
> Are there any other setting I am missing?
>
> Thanks.
>
>
> On Fri, Oct 14, 2016 at 12:25 PM, Mark Kirkwood <
> mark.kirkw...@catalyst.net.nz> wrote:
>
>> On 14/10/16 16:03, Yu Watanabe wrote:
>>
>> Hi!
>>>
>>> I am verifying the installation using the swift stat command but it
>>> returns 503 Service Unavailable.
>>>
>>> [root@opstack-controller src 2016.10.14 11:55:37]# swift stat
>>> Account HEAD failed: http://opstack-cont-manage:808
>>> 0/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004 503 Service Unavailable
>>>
>>> I have checked the syslog of storage node side and account server was
>>> returning 404 .
>>> Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
>>> [14/Oct/2016:02:56:11 +] "HEAD 
>>> /sdc/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004"
>>> 404 - "HEAD http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d
>>> 6c1de6c4c004" "tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158"
>>> 0.0003 "-" 19870 -
>>> Oct 14 11:56:11 opstack-objstorage1 account-server: 10.1.0.6 - -
>>> [14/Oct/2016:02:56:11 +] "HEAD 
>>> /sdd/292/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004"
>>> 404 - "HEAD http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d
>>> 6c1de6c4c004" "tx818ef0bc14b24f599a4b5-005800494b" "proxy-server 24158"
>>> 0.0002 "-" 19870 -
>>>
>>> My SELINUX permission of /srv/node/ is set to what the doucment says.
>>>
>>> http://docs.openstack.org/mitaka/install-guide-rdo/swift-verify.html
>>>
>>> [root@opstack-objstorage1 swift 2016.10.14 11:57:18]# ls -ltR /srv/node/
>>> /srv/node/:
>>> total 0
>>> drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdd
>>> drwxr-xr-x. 3 swift swift 20 Oct 14 10:50 sdc
>>>
>>> /srv/node/sdd:
>>> total 0
>>> drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects
>>>
>>> /srv/node/sdd/objects:
>>> total 0
>>>
>>> /srv/node/sdc:
>>> total 0
>>> drwxr-xr-x. 2 swift swift 6 Oct 14 12:02 objects
>>>
>>> /srv/node/sdc/objects:
>>> total 0
>>>
>>> I want to diagnose the problem but is there any other setting I should
>>> look for?

Re: [Openstack] [openstack][swift] swift stat ends with 503 Service Unavailable

2016-10-20 Thread Yu Watanabe
I am still tackling with this issue...

I appreciate if someone can help me out.

I figured out that token issue(POST request)  succeeds but GET request
comes after is not proxied to keystone.

[POST request]
1. Swift client log
[root@opstack-controller src 2016.10.21 11:28:16]# swift list --debug
DEBUG:keystoneclient.auth.identity.v3.base:Making authentication request to
http://opstack-cont-manage:5000/v3/auth/tokens
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection
(1): opstack-cont-manage
DEBUG:requests.packages.urllib3.connectionpool:"POST /v3/auth/tokens
HTTP/1.1" 201 6420

2. Keystone access log
10.1.1.6 - - [21/Oct/2016:11:28:26 +0900] "POST /v3/auth/tokens HTTP/1.1"
201 6420 "-" "python-keystoneclient"

[GET request]
1. Swift client log
INFO:requests.packages.urllib3.connectionpool:Starting new HTTP connection
(1): opstack-cont-manage
DEBUG:requests.packages.urllib3.connectionpool:"GET
/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004?format=json HTTP/1.1" 503 100
INFO:swiftclient:REQ: curl -i
http://opstack-cont-manage:8080/v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004?format=json
-X GET -H "X-Auth-Token:
gABYCX1KbdDk_Fl45pyHbfOwsPPVgjuAi7nnvF1-Qone51N4S8Z7B_S56RR0a78NjT1C-gJgngtkmiCYrlmUCAkQQIoPG0V4heRUjbAHYBSy22L2EvXexzK_f-hlcnBmqrNKcMUHFGEWgWMvwC6QrUVYP8dP332Sg5mOASEv5sCW9t9_VxA"
INFO:swiftclient:RESP STATUS: 503 Service Unavailable

2. Keyston access log
Nothing logged

Instead errors are seen in syslog.

Oct 21 11:29:15 opstack-controller keystoneauth.identity.base: Failed to
contact the endpoint at http://opstack-cont-manage:5000/v3 for discovery.
Fallback to using that endpoint as the base url.
Oct 21 11:29:15 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 0.5s.
Oct 21 11:29:15 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 1.0s.
Oct 21 11:29:16 opstack-controller keystoneauth.session: Failure: Unable to
establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
Retrying in 2.0s.

May I ask which setting should  I look at either on keystone or swift-proxy?


On Fri, Oct 14, 2016 at 2:52 PM, Mark Kirkwood <
mark.kirkw...@catalyst.net.nz> wrote:

>
>
> On 14/10/16 18:07, Yu Watanabe wrote:
>
>> At the same time , I see connection errors in the proxy server.
>>
>> Oct 14 14:05:08 opstack-controller proxy-server: Deferring reject
>> downstream
>> Oct 14 14:05:08 opstack-controller proxy-server: - - 14/Oct/2016/05/05/08
>> HEAD /v1/AUTH_a31f7e8e9ecc4d0e9d0d6c1de6c4c004 HTTP/1.0 204 - Swift - -
>> - - tx60f54bfed6d94357a10c0-0058006784 - 0.0268 RL -
>> 1476421508.123720884 1476421508.150515079 -
>> Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
>> contact the endpoint at http://opstack-cont-manage:5000/v3 for
>> discovery. Fallback to using that endpoint as the base url.
>> Oct 14 14:05:08 opstack-controller keystoneauth.identity.base: Failed to
>> contact the endpoint at http://opstack-cont-manage:5000/v3 for
>> discovery. Fallback to using that endpoint as the base url.
>> Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 0.5s.
>> Oct 14 14:05:08 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 1.0s.
>> Oct 14 14:05:09 opstack-controller keystoneauth.session: Failure: Unable
>> to establish connection to http://opstack-cont-manage:5000/v3/auth/tokens.
>> Retrying in 2.0s.
>>
>> Does this mean that problem lies on proxy server side?
>>
>>
> Looks like the swift proxy - keystone connection is not happy. Have a look
> at what your keystone logs are saying.
>
> Cheers
>
> Mark
>



-- 
Yu Watanabe
渡辺 裕

LinkedIn : jp.linkedin.com/in/yuwatanabe1
___
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack