Re: [Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Kota TSUYUZAKI
Hi Alexandr,

Though I cannot see the actual reason why the proxy-server failed (your report 
looks just proxy-server exist with status code 1),
looking at your procedure, you might need to install dependencies (e.g. lxml) 
for swift3. I mean,

> git clone https://github.com/openstack/swift3
> cd swift3
> python setup.py install

sudo pip install -r requirements.txt
(you may need also "sudo pip install -r test-requirements.txt" for testing)

If you could share sort of logs why proxy-server got failed, it might be 
helpful to figure out more.

Thanks,
Kota


(2016/10/13 14:34), Alexandr Porunov wrote:
> No, I didn't.
> 
> I ran "python setup.py install" one more time. Here is the output:
> http://paste.openstack.org/show/585535/
> 
> On Thu, Oct 13, 2016 at 8:21 AM, John van Ommen 
> wrote:
> 
>> To me, the errors you're receiving are indicative of the swift3
>> package not installing correctly.
>>
>> When you ran that first step (setup.py), did you get errors?
>>
>> John
>>
>> On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov
>>  wrote:
>>> Hello,
>>>
>>> It still doesn't work... The same error is shown. Maybe I missed
>> something?
>>> Maybe before the installation I had to done something or something else.
>> I
>>> tried different things to run it. But when we do have swift3 or/and
>> s3token
>>> in pipeline it doesn't work.
>>>
>>> Sincerely,
>>> Alexandr
>>>
>>> On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood
>>>  wrote:



 On 13/10/16 06:26, Alexandr Porunov wrote:
>
> Hello,
>
> I want to use S3 api for Swift.
>
> I have installed swift3 as here:
>
> git clone https://github.com/openstack/swift3
> cd swift3
> python setup.py install
>
> Then I have configured my proxy-server.conf as here:
>
> [pipeline:main]
> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
> container-quotas account-quotas slo dlo versioned_writes proxy-logging
> proxy-server
>
> [filter:swift3]
> use = egg:swift3#swift3
>
> [filter:s3token]
> use = egg:swift3#s3token
> auth_uri = http://keystone:35357/
> reseller_prefix = AUTH_
>
> Then I tried to restart the proxy:
> systemctl restart openstack-swift-proxy
>
> And it failes.
>
>

 Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to
 change:

 [filter:s3token]
 paste.filter_factory = keystoneclient.middleware.s3_
>> token:filter_factory
 auth_uri = http://keystone:35357/
 reseller_prefix = AUTH_

 Alternatively the older port/protocol/host variables still work instead
>> of
 auth_uri:

 [filter:s3token]
 paste.filter_factory = keystoneclient.middleware.s3_
>> token:filter_factory
 auth_port = 35357
 auth_host = keystone
 auth_protocol = http

 The swift3 docs need updating, as it is not obvious what has gone wrong
 when you hit this.

 regards

 Mark






 ___
 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
>>>
>>
> 
> 
> 
> ___
> 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
> 


-- 
--
Kota Tsuyuzaki(露﨑 浩太)  
NTT Software Innovation Center
Cloud Solution Project
Phone  0422-59-2837
Fax0422-59-2965
---



___
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] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
No, I didn't.

I ran "python setup.py install" one more time. Here is the output:
http://paste.openstack.org/show/585535/

On Thu, Oct 13, 2016 at 8:21 AM, John van Ommen 
wrote:

> To me, the errors you're receiving are indicative of the swift3
> package not installing correctly.
>
> When you ran that first step (setup.py), did you get errors?
>
> John
>
> On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov
>  wrote:
> > Hello,
> >
> > It still doesn't work... The same error is shown. Maybe I missed
> something?
> > Maybe before the installation I had to done something or something else.
> I
> > tried different things to run it. But when we do have swift3 or/and
> s3token
> > in pipeline it doesn't work.
> >
> > Sincerely,
> > Alexandr
> >
> > On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood
> >  wrote:
> >>
> >>
> >>
> >> On 13/10/16 06:26, Alexandr Porunov wrote:
> >>>
> >>> Hello,
> >>>
> >>> I want to use S3 api for Swift.
> >>>
> >>> I have installed swift3 as here:
> >>>
> >>> git clone https://github.com/openstack/swift3
> >>> cd swift3
> >>> python setup.py install
> >>>
> >>> Then I have configured my proxy-server.conf as here:
> >>>
> >>> [pipeline:main]
> >>> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
> >>> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
> >>> container-quotas account-quotas slo dlo versioned_writes proxy-logging
> >>> proxy-server
> >>>
> >>> [filter:swift3]
> >>> use = egg:swift3#swift3
> >>>
> >>> [filter:s3token]
> >>> use = egg:swift3#s3token
> >>> auth_uri = http://keystone:35357/
> >>> reseller_prefix = AUTH_
> >>>
> >>> Then I tried to restart the proxy:
> >>> systemctl restart openstack-swift-proxy
> >>>
> >>> And it failes.
> >>>
> >>>
> >>
> >> Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to
> >> change:
> >>
> >> [filter:s3token]
> >> paste.filter_factory = keystoneclient.middleware.s3_
> token:filter_factory
> >> auth_uri = http://keystone:35357/
> >> reseller_prefix = AUTH_
> >>
> >> Alternatively the older port/protocol/host variables still work instead
> of
> >> auth_uri:
> >>
> >> [filter:s3token]
> >> paste.filter_factory = keystoneclient.middleware.s3_
> token:filter_factory
> >> auth_port = 35357
> >> auth_host = keystone
> >> auth_protocol = http
> >>
> >> The swift3 docs need updating, as it is not obvious what has gone wrong
> >> when you hit this.
> >>
> >> regards
> >>
> >> Mark
> >>
> >>
> >>
> >>
> >>
> >>
> >> ___
> >> 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
> >
>
___
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] How to install Swift3 middleware?

2016-10-12 Thread John van Ommen
To me, the errors you're receiving are indicative of the swift3
package not installing correctly.

When you ran that first step (setup.py), did you get errors?

John

On Wed, Oct 12, 2016 at 10:03 PM, Alexandr Porunov
 wrote:
> Hello,
>
> It still doesn't work... The same error is shown. Maybe I missed something?
> Maybe before the installation I had to done something or something else. I
> tried different things to run it. But when we do have swift3 or/and s3token
> in pipeline it doesn't work.
>
> Sincerely,
> Alexandr
>
> On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood
>  wrote:
>>
>>
>>
>> On 13/10/16 06:26, Alexandr Porunov wrote:
>>>
>>> Hello,
>>>
>>> I want to use S3 api for Swift.
>>>
>>> I have installed swift3 as here:
>>>
>>> git clone https://github.com/openstack/swift3
>>> cd swift3
>>> python setup.py install
>>>
>>> Then I have configured my proxy-server.conf as here:
>>>
>>> [pipeline:main]
>>> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
>>> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
>>> container-quotas account-quotas slo dlo versioned_writes proxy-logging
>>> proxy-server
>>>
>>> [filter:swift3]
>>> use = egg:swift3#swift3
>>>
>>> [filter:s3token]
>>> use = egg:swift3#s3token
>>> auth_uri = http://keystone:35357/
>>> reseller_prefix = AUTH_
>>>
>>> Then I tried to restart the proxy:
>>> systemctl restart openstack-swift-proxy
>>>
>>> And it failes.
>>>
>>>
>>
>> Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to
>> change:
>>
>> [filter:s3token]
>> paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
>> auth_uri = http://keystone:35357/
>> reseller_prefix = AUTH_
>>
>> Alternatively the older port/protocol/host variables still work instead of
>> auth_uri:
>>
>> [filter:s3token]
>> paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
>> auth_port = 35357
>> auth_host = keystone
>> auth_protocol = http
>>
>> The swift3 docs need updating, as it is not obvious what has gone wrong
>> when you hit this.
>>
>> regards
>>
>> Mark
>>
>>
>>
>>
>>
>>
>> ___
>> 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
>

___
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] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
Hello,

It still doesn't work... The same error is shown. Maybe I missed something?
Maybe before the installation I had to done something or something else. I
tried different things to run it. But when we do have swift3 or/and s3token
in pipeline it doesn't work.

Sincerely,
Alexandr

On Thu, Oct 13, 2016 at 12:17 AM, Mark Kirkwood <
mark.kirkw...@catalyst.net.nz> wrote:

>
>
> On 13/10/16 06:26, Alexandr Porunov wrote:
>
>> Hello,
>>
>> I want to use S3 api for Swift.
>>
>> I have installed swift3 as here:
>>
>> git clone https://github.com/openstack/swift3
>> cd swift3
>> python setup.py install
>>
>> Then I have configured my proxy-server.conf as here:
>>
>> [pipeline:main]
>> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
>> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
>> container-quotas account-quotas slo dlo versioned_writes proxy-logging
>> proxy-server
>>
>> [filter:swift3]
>> use = egg:swift3#swift3
>>
>> [filter:s3token]
>> use = egg:swift3#s3token
>> auth_uri = http://keystone:35357/
>> reseller_prefix = AUTH_
>>
>> Then I tried to restart the proxy:
>> systemctl restart openstack-swift-proxy
>>
>> And it failes.
>>
>>
>>
> Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to
> change:
>
> [filter:s3token]
> paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
> auth_uri = http://keystone:35357/
> reseller_prefix = AUTH_
>
> Alternatively the older port/protocol/host variables still work instead of
> auth_uri:
>
> [filter:s3token]
> paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
> auth_port = 35357
> auth_host = keystone
> auth_protocol = http
>
> The swift3 docs need updating, as it is not obvious what has gone wrong
> when you hit this.
>
> 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
>
___
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 Kota TSUYUZAKI
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
> 





___
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 John Dickinson
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


signature.asc
Description: OpenPGP digital signature
___
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] [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


[Openstack] [openstack] Prevent floating IP reassignment

2016-10-12 Thread Derek Wood
Hi,

I have a question regarding using the compute "action" API to assign a
floating IP to a server
(http://developer.openstack.org/api-ref-compute-v2.1.html#addFloatingIp).
Using the API call below [1],  I am able to successfully assign a
floating IP to a server, even if the floating IP is already assigned
to another server.  My question is, is there a way or an equivalent
API that will fail if the floating IP is already assigned to another
node?

My use-case is that I have a couple processes running in parallel,
each provisioning instances with floating ips.  They often end up
querying for the list of available floating ips around the same time,
and request the same floating ip to be assigned to different
servers... both succeed, and last one "wins".  I'd like to find an API
call that will fail instead of reassign, so I can avoid implementing
some sort of inter-process synchronization on the client side.  Any
pointers appreciated.

Thanks,
-Derek

[1] $ curl -s -v -X POST -d @addfloatingip.json -H "Content-type:
application/json" -H "X-Auth-Token: $OS_TOKEN"
https://[hostname]:8774/v2/$OS_TENANT_NAME/servers/[uuid]/action

where addfloatingip.json:
{
"addFloatingIp": {
"address": "[ip-address]"
}
}

where "ip-address" is a floating ip already assigned to another instance.

___
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] Trove MySQL v5.[67] images?

2016-10-12 Thread Mark Kirkwood

On 12/10/16 21:53, Turbo Fredriksson wrote:



Also, the bug I reported a few months ago (about hardcoded Security
Groups) was also a problem. But in the meantime, I have to try to remember
to go in and add a SG every time I add a DB.. Not ideal, but it will work
for now..


I think you can avoid having to do that by including 22 in tcp_ports 
variable (see trove/common/cfg.py). I only noticed this after 
laboriously amending sec groups many times myself...


regards

Mark


___
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] How to install Swift3 middleware?

2016-10-12 Thread Mark Kirkwood



On 13/10/16 06:26, Alexandr Porunov wrote:

Hello,

I want to use S3 api for Swift.

I have installed swift3 as here:

git clone https://github.com/openstack/swift3
cd swift3
python setup.py install

Then I have configured my proxy-server.conf as here:

[pipeline:main]
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache 
container_sync bulk ratelimit swift3 s3token authtoken keystoneauth 
container-quotas account-quotas slo dlo versioned_writes proxy-logging 
proxy-server


[filter:swift3]
use = egg:swift3#swift3

[filter:s3token]
use = egg:swift3#s3token
auth_uri = http://keystone:35357/
reseller_prefix = AUTH_

Then I tried to restart the proxy:
systemctl restart openstack-swift-proxy

And it failes.




Yeah - for Mitaka (or thereabouts) onwards that s3token config needs to 
change:


[filter:s3token]
paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
auth_uri = http://keystone:35357/
reseller_prefix = AUTH_

Alternatively the older port/protocol/host variables still work instead 
of auth_uri:


[filter:s3token]
paste.filter_factory = keystoneclient.middleware.s3_token:filter_factory
auth_port = 35357
auth_host = keystone
auth_protocol = http

The swift3 docs need updating, as it is not obvious what has gone wrong 
when you hit this.


regards

Mark





___
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] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
No, I have only OpenStack Swift and Keystone.
I used simple installation and configuration from this tutorials:
http://docs.openstack.org/mitaka/install-guide-rdo/

On Wed, Oct 12, 2016 at 8:44 PM, John van Ommen 
wrote:

> Are you installing OpenStack from trunk?
>
> I've installed Swift3 on Helion Open Stack 2.0, and the published
> instructions didn't work for me at all.
>
> On Wed, Oct 12, 2016 at 10:26 AM, Alexandr Porunov
>  wrote:
> > Hello,
> >
> > I want to use S3 api for Swift.
> >
> > I have installed swift3 as here:
> >
> > git clone https://github.com/openstack/swift3
> > cd swift3
> > python setup.py install
> >
> > Then I have configured my proxy-server.conf as here:
> >
> > [pipeline:main]
> > pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
> > container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
> > container-quotas account-quotas slo dlo versioned_writes proxy-logging
> > proxy-server
> >
> > [filter:swift3]
> > use = egg:swift3#swift3
> >
> > [filter:s3token]
> > use = egg:swift3#s3token
> > auth_uri = http://keystone:35357/
> > reseller_prefix = AUTH_
> >
> > Then I tried to restart the proxy:
> > systemctl restart openstack-swift-proxy
> >
> > And it failes.
> >
> > systemctl status openstack-swift-proxy -l
> > shows next:
> >
> > ● openstack-swift-proxy.service - OpenStack Object Storage (swift) -
> Proxy
> > Server
> >Loaded: loaded (/usr/lib/systemd/system/
> openstack-swift-proxy.service;
> > enabled; vendor preset: disabled)
> >Active: failed (Result: exit-code) since Wed 2016-10-12 23:17:06 EEST;
> > 3min 0s ago
> >   Process: 2213 ExecStart=/usr/bin/swift-proxy-server
> > /etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
> >  Main PID: 2213 (code=exited, status=1/FAILURE)
> >
> > Oct 12 23:17:06 proxy2 systemd[1]: Started OpenStack Object Storage
> (swift)
> > - Proxy Server.
> > Oct 12 23:17:06 proxy2 systemd[1]: Starting OpenStack Object Storage
> (swift)
> > - Proxy Server...
> > Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> > dynamic linking error libJerasure.so.2: cannot open shared object file:
> No
> > such file or directory
> > Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> > dynamic linking error libJerasure.so.2: cannot open shared object file:
> No
> > such file or directory
> > Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> > dynamic linking error libisal.so.2: cannot open shared object file: No
> such
> > file or directory
> > Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> > dynamic linking error libshss.so.1: cannot open shared object file: No
> such
> > file or directory
> > Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service: main
> > process exited, code=exited, status=1/FAILURE
> > Oct 12 23:17:06 proxy2 systemd[1]: Unit openstack-swift-proxy.service
> > entered failed state.
> > Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service failed.
> >
> >
> > If I remove "swift3 s3token" form pipeline then it works.. Why my proxy
> > crashes with swift3?
> >
> > I have an OpenStack Swift Mitaka
> >
> > Sincerely,
> > Alexandr
> >
> > ___
> > 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


Re: [Openstack] Missed Domain tab

2016-10-12 Thread Brad Pokorny
Please see the info here on things to watch for in the setup and common
configuration issues:
https://www.symantec.com/connect/blogs/domain-support-horizon-here

Thanks,
Brad

On 10/12/16, 10:47 AM, "Mindaugas"  wrote:

>Hello,
>
>After dashboard was installed (newton release) - i could not find domain
>tab in a identity section. Domain appears in a login screen.
>Controller OS Centos 7.2.
>Issue or configuration problems?
>Thank you in advance.
>
>Pagarbiai /Best regards
>Mindaugas
>
>
>
>___
>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


Re: [Openstack] Does anybody know something about ceph.com unavailability?!

2016-10-12 Thread Jens Rosenboom
2016-10-12 20:18 GMT+02:00 Erdősi Péter :
> Hello!
>
> I know, it's not exactly OS question, but I think a lot of us using it with
> libvirt, and maybe somebody have info, cause I cannot reach
> download.ceph.com and ceph.com either for 3-4 days, and not found anything
> about this issue...

These sites seem to have been affected by an issue at Dreamhost:
http://www.dreamhoststatus.com/2016/10/11/dreamcompute-us-east-1-cluster-service-disruption/

___
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] Does anybody know something about ceph.com unavailability?!

2016-10-12 Thread Erdősi Péter

Hello!

I know, it's not exactly OS question, but I think a lot of us using it 
with libvirt, and maybe somebody have info, cause I cannot reach 
download.ceph.com and ceph.com either for 3-4 days, and not found 
anything about this issue...


Thanks,
 Peter

___
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] Missed Domain tab

2016-10-12 Thread Mindaugas
Hello,

After dashboard was installed (newton release) - i could not find domain tab in 
a identity section. Domain appears in a login screen.
Controller OS Centos 7.2.
Issue or configuration problems?
Thank you in advance.

Pagarbiai /Best regards
Mindaugas



___
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] How to install Swift3 middleware?

2016-10-12 Thread John van Ommen
Are you installing OpenStack from trunk?

I've installed Swift3 on Helion Open Stack 2.0, and the published
instructions didn't work for me at all.

On Wed, Oct 12, 2016 at 10:26 AM, Alexandr Porunov
 wrote:
> Hello,
>
> I want to use S3 api for Swift.
>
> I have installed swift3 as here:
>
> git clone https://github.com/openstack/swift3
> cd swift3
> python setup.py install
>
> Then I have configured my proxy-server.conf as here:
>
> [pipeline:main]
> pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
> container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
> container-quotas account-quotas slo dlo versioned_writes proxy-logging
> proxy-server
>
> [filter:swift3]
> use = egg:swift3#swift3
>
> [filter:s3token]
> use = egg:swift3#s3token
> auth_uri = http://keystone:35357/
> reseller_prefix = AUTH_
>
> Then I tried to restart the proxy:
> systemctl restart openstack-swift-proxy
>
> And it failes.
>
> systemctl status openstack-swift-proxy -l
> shows next:
>
> ● openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy
> Server
>Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service;
> enabled; vendor preset: disabled)
>Active: failed (Result: exit-code) since Wed 2016-10-12 23:17:06 EEST;
> 3min 0s ago
>   Process: 2213 ExecStart=/usr/bin/swift-proxy-server
> /etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
>  Main PID: 2213 (code=exited, status=1/FAILURE)
>
> Oct 12 23:17:06 proxy2 systemd[1]: Started OpenStack Object Storage (swift)
> - Proxy Server.
> Oct 12 23:17:06 proxy2 systemd[1]: Starting OpenStack Object Storage (swift)
> - Proxy Server...
> Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> dynamic linking error libJerasure.so.2: cannot open shared object file: No
> such file or directory
> Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> dynamic linking error libJerasure.so.2: cannot open shared object file: No
> such file or directory
> Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> dynamic linking error libisal.so.2: cannot open shared object file: No such
> file or directory
> Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
> dynamic linking error libshss.so.1: cannot open shared object file: No such
> file or directory
> Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service: main
> process exited, code=exited, status=1/FAILURE
> Oct 12 23:17:06 proxy2 systemd[1]: Unit openstack-swift-proxy.service
> entered failed state.
> Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service failed.
>
>
> If I remove "swift3 s3token" form pipeline then it works.. Why my proxy
> crashes with swift3?
>
> I have an OpenStack Swift Mitaka
>
> Sincerely,
> Alexandr
>
> ___
> 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


[Openstack] [OpenStack] [Swift] How to install Swift3 middleware?

2016-10-12 Thread Alexandr Porunov
Hello,

I want to use S3 api for Swift.

I have installed swift3 as here:

git clone https://github.com/openstack/swift3
cd swift3
python setup.py install

Then I have configured my proxy-server.conf as here:

[pipeline:main]
pipeline = catch_errors gatekeeper healthcheck proxy-logging cache
container_sync bulk ratelimit swift3 s3token authtoken keystoneauth
container-quotas account-quotas slo dlo versioned_writes proxy-logging
proxy-server

[filter:swift3]
use = egg:swift3#swift3

[filter:s3token]
use = egg:swift3#s3token
auth_uri = http://keystone:35357/
reseller_prefix = AUTH_

Then I tried to restart the proxy:
systemctl restart openstack-swift-proxy

And it failes.

systemctl status openstack-swift-proxy -l
shows next:

● openstack-swift-proxy.service - OpenStack Object Storage (swift) - Proxy
Server
   Loaded: loaded (/usr/lib/systemd/system/openstack-swift-proxy.service;
enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2016-10-12 23:17:06 EEST;
3min 0s ago
  Process: 2213 ExecStart=/usr/bin/swift-proxy-server
/etc/swift/proxy-server.conf (code=exited, status=1/FAILURE)
 Main PID: 2213 (code=exited, status=1/FAILURE)

Oct 12 23:17:06 proxy2 systemd[1]: Started OpenStack Object Storage (swift)
- Proxy Server.
Oct 12 23:17:06 proxy2 systemd[1]: Starting OpenStack Object Storage
(swift) - Proxy Server...
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libJerasure.so.2: cannot open shared object file: No
such file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libJerasure.so.2: cannot open shared object file: No
such file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libisal.so.2: cannot open shared object file: No such
file or directory
Oct 12 23:17:06 proxy2 liberasurecode[2213]: liberasurecode_backend_open:
dynamic linking error libshss.so.1: cannot open shared object file: No such
file or directory
Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service: main
process exited, code=exited, status=1/FAILURE
Oct 12 23:17:06 proxy2 systemd[1]: Unit openstack-swift-proxy.service
entered failed state.
Oct 12 23:17:06 proxy2 systemd[1]: openstack-swift-proxy.service failed.


If I remove "swift3 s3token" form pipeline then it works.. Why my proxy
crashes with swift3?

I have an OpenStack Swift Mitaka

Sincerely,
Alexandr
___
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] Trove MySQL v5.[67] images?

2016-10-12 Thread Turbo Fredriksson
On Oct 12, 2016, at 9:53 AM, Turbo Fredriksson wrote:

> On Oct 11, 2016, at 10:12 PM, Mark Kirkwood wrote:
> 
>> Hmm - so what error are you getting?
> 
> Which must be because I'm running an old guest agent.. I'm upgrading my
> guest image at the moment.


Oh, YEAH! Now working just fine (with a couple of tweaks)!!
Thanx Mark, much appreciated!!
--
Geologists recently discovered that "earthquakes" are
nothing more than Bruce Schneier and Chuck Norris
communicating via a roundhouse kick-based cryptosystem.


___
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] Trove MySQL v5.[67] images?

2016-10-12 Thread Turbo Fredriksson
On Oct 11, 2016, at 10:12 PM, Mark Kirkwood wrote:

> Hmm - so what error are you getting?

For a long time i got problem with trove-guestagent not being able
to connect to the RabbitMQ cluster I have.

After a lot of trial and error I finally realized it must be the same
cluster that Openstack uses! Doh!!

But now I'm getting:

- s n i p -
2016-10-11 12:31:10.059 1006 ERROR trove.openstack.common.rpc.amqp 
[req-bed22a20-7c9f-444f-8e04-d0bb609cf2d2 4b0e25c70d2b4ad6ba4c50250f2f0b0b 
04ee0e71babe4fd7aa16c3f64a8fca89 - - -] Exception during message handling
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp Traceback 
(most recent call last):
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/trove/openstack/common/rpc/amqp.py", line 
440, in _process_data
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp **args)
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp   File 
"/usr/lib/python2.7/dist-packages/trove/openstack/common/rpc/dispatcher.py", 
line 172, in dispatch
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp result = 
getattr(proxyobj, method)(ctxt, **kwargs)
2016-10-11 12:31:10.059 1006 TRACE trove.openstack.common.rpc.amqp TypeError: 
prepare() got an unexpected keyword argument 'cluster_config'
- s n i p -

Which must be because I'm running an old guest agent.. I'm upgrading my
guest image at the moment.

Found a Mitaka back port for Trusty at http://mitaka-trusty.pkgs.mirantis.com,
hopefully that works better.

> FWIW, I found logging into the image and checking what state it had actually 
> gotten to was useful to help find what was actually not working.


Yes, that's the first I did - enable ssh access to the image :)


It would have been nice if the API and Taskmanager could tell you what
problem they're having with the guest, if any..


Also, the bug I reported a few months ago (about hardcoded Security
Groups) was also a problem. But in the meantime, I have to try to remember
to go in and add a SG every time I add a DB.. Not ideal, but it will work
for now..
-- 
I love deadlines. I love the whooshing noise they
make as they go by.
- Douglas Adams


___
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