Re: [openstack-dev] [tripleo] [ironic] Exception registering nodes when Ironic API with apache

2016-08-03 Thread Emilien Macchi
On Wed, Aug 3, 2016 at 6:06 AM, Lucas Alvares Gomes
 wrote:
> Hi,
>
>> On Friday we landed a patch in TripleO to deploy Ironic API in WSGI with 
>> Apache.
>> Since then, our baremetal CI jobs were failing randomly, and a lot of
>> time, with an exception.
>> I decided to revert the patch to bring our CI back:
>> https://review.openstack.org/#/c/349281/ (+2 from slagle).
>>
>
> (most a FYI...)
>
> I haven't dug to see what the puppet modules are doing, but we do have
> documentation around setting up the ironic-api service to run behind
> Apache with mod_wsgi:
> http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configuring-ironic-api-behind-mod-wsgi
>
> I've followed the instructions and got it working in an local
> environment here (logs: http://paste.openstack.org/show/547736/)
>
> Hope that helps,

Well, not really :-) It might work in devstack, but it really breaks TripleO.
We currently configure Apache with the same template of configuration
for Nova, Cinder, Keystone, Ceilometer, Aodh, Gnocchi, Mistral, (...)
and Ironic.
Ironic is the only service that looks unstable when deploying with Apache.

Please look at Ironic vhost:
https://paste.fedoraproject.org/400663/02264641/

And Ironic configuration file:
ironic: https://paste.fedoraproject.org/400666/26543147
ironic-inspector: https://paste.fedoraproject.org/400665/70226518

Do you see something not conventional?

Thanks,
-- 
Emilien Macchi

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] [ironic] Exception registering nodes when Ironic API with apache

2016-08-03 Thread Jim Rollenhagen
On Sun, Jul 31, 2016 at 07:01:16PM -0400, Emilien Macchi wrote:
> Hi,
> 
> On Friday we landed a patch in TripleO to deploy Ironic API in WSGI with 
> Apache.
> Since then, our baremetal CI jobs were failing randomly, and a lot of
> time, with an exception.
> I decided to revert the patch to bring our CI back:
> https://review.openstack.org/#/c/349281/ (+2 from slagle).
> 
> Ironic experts, please have a look at the bug report:
> https://bugs.launchpad.net/tripleo/+bug/1608252

I see that the reverted patch touches rabbit config somehow:
Class['::rabbitmq'] -> Service['httpd']

And the bug report has lots of errors about rabbit messages timing out.

Sounds related; what does that line do?

// jim

> 
> I'll propose to re-activate it so we can debug more of what it fails.
> 
> Thanks,
> -- 
> Emilien Macchi
> 
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] [ironic] Exception registering nodes when Ironic API with apache

2016-08-03 Thread Lucas Alvares Gomes
Hi,

> On Friday we landed a patch in TripleO to deploy Ironic API in WSGI with 
> Apache.
> Since then, our baremetal CI jobs were failing randomly, and a lot of
> time, with an exception.
> I decided to revert the patch to bring our CI back:
> https://review.openstack.org/#/c/349281/ (+2 from slagle).
>

(most a FYI...)

I haven't dug to see what the puppet modules are doing, but we do have
documentation around setting up the ironic-api service to run behind
Apache with mod_wsgi:
http://docs.openstack.org/developer/ironic/deploy/install-guide.html#configuring-ironic-api-behind-mod-wsgi

I've followed the instructions and got it working in an local
environment here (logs: http://paste.openstack.org/show/547736/)

Hope that helps,
Lucas

__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [tripleo] [ironic] Exception registering nodes when Ironic API with apache

2016-07-31 Thread Ryan Brady
On Sun, Jul 31, 2016 at 7:01 PM, Emilien Macchi  wrote:

> Hi,
>
> On Friday we landed a patch in TripleO to deploy Ironic API in WSGI with
> Apache.
> Since then, our baremetal CI jobs were failing randomly, and a lot of
> time, with an exception.
> I decided to revert the patch to bring our CI back:
> https://review.openstack.org/#/c/349281/ (+2 from slagle).
>
> Ironic experts, please have a look at the bug report:
> https://bugs.launchpad.net/tripleo/+bug/1608252


I hit a similar issue earlier this year when we tried deploying mistral
with apache.  https://bugs.launchpad.net/mistral/+bug/1581649


>
>
> I'll propose to re-activate it so we can debug more of what it fails.
>
> Thanks,
> --
> Emilien Macchi
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>



-- 
Ryan Brady
Cloud Engineering
rbr...@redhat.com
919.890.8925
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev