Re: [openstack-dev] [devstack][neutron-lbaas][octavia] About installing Devstack on Ubuntu

2016-12-06 Thread Bernard Cafarelli
On 6 December 2016 at 13:12, Jens Rosenboom  wrote:
> 2016-12-06 7:16 GMT+01:00 Yipei Niu :
>> Hi, All,
>>
>> I failed installing devstack on Ubuntu. The detailed info of local.conf and
>> error is pasted in http://paste.openstack.org/show/591493/.
>>
>> BTW, python2.7 is installed in Ubuntu, and Python.h can be found under
>> /usr/include/python2.7.
>>
>> stack@stack-VirtualBox:~$ locate Python.h
>>
>> /usr/include/python2.7/Python.h
>>
>>
>> However, after I comment the configuration related to Neutron-LBaaS and
>> Octavia in local.conf, it successes.
>>
>> Is it a bug? How to fix it? Look forward to your comments. Thanks.
>
> The failure does not happen on your local machine, but inside building
> a disk-image for octavia. It seems to be a regression caused by
> https://review.openstack.org/402250 and there is a bug report with a
> proposed fix at https://bugs.launchpad.net/tripleo/+bug/1646977

Indeed, this is the reason it fails (breaking the image building
part), Michael Johnson actually sent a few patches to fix it in
Octavia:

https://review.openstack.org/#/c/356590/ (octavia diff to remove
dependency on tripleo-image-elements)
https://review.openstack.org/#/c/406420/ (diskimage-builder fix to
install python in pip-and-virtualenv element)
https://review.openstack.org/#/c/406413/ (diskimage-builder fix to run
sysctl on image, not host)


-- 
Bernard Cafarelli

__
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] [devstack][neutron-lbaas][octavia] About installing Devstack on Ubuntu

2016-12-06 Thread Jens Rosenboom
2016-12-06 7:16 GMT+01:00 Yipei Niu :
> Hi, All,
>
> I failed installing devstack on Ubuntu. The detailed info of local.conf and
> error is pasted in http://paste.openstack.org/show/591493/.
>
> BTW, python2.7 is installed in Ubuntu, and Python.h can be found under
> /usr/include/python2.7.
>
> stack@stack-VirtualBox:~$ locate Python.h
>
> /usr/include/python2.7/Python.h
>
>
> However, after I comment the configuration related to Neutron-LBaaS and
> Octavia in local.conf, it successes.
>
> Is it a bug? How to fix it? Look forward to your comments. Thanks.

The failure does not happen on your local machine, but inside building
a disk-image for octavia. It seems to be a regression caused by
https://review.openstack.org/402250 and there is a bug report with a
proposed fix at https://bugs.launchpad.net/tripleo/+bug/1646977

__
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-dev] [devstack][neutron-lbaas][octavia] About installing Devstack on Ubuntu

2016-12-05 Thread Yipei Niu
Hi, All,

I failed installing devstack on Ubuntu. The detailed info of local.conf and
error is pasted in http://paste.openstack.org/show/591493/.

BTW, python2.7 is installed in Ubuntu, and Python.h can be found under
/usr/include/python2.7.

stack@stack-VirtualBox:~$ locate Python.h

/usr/include/python2.7/Python.h


However, after I comment the configuration related to Neutron-LBaaS and
Octavia in local.conf, it successes.

Is it a bug? How to fix it? Look forward to your comments. Thanks.

Best regards,
Yipei
__
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