[Openstack] os-ansible-deployment pip failing in container
Matt Thompson
wateringcan at gmail.com
Fri Sep 25 09:16:43 UTC 2015
Hi Duck,
Glad you got it sorted. The reason why scripts/run-playbooks.sh worked for
you is because it has $DEPLOY_LB set to "yes" by default, which resulted
in haproxy-install.yml being run. A number of production deploys done w/
os-ansible-deployment (now openstack-ansible) use hardware load balancers
for HA, and this is presumably why haproxy-install.yml is not called in
setup-everything.yml. I will agree that the name of setup-everything.yml
is misleading and we probably should consider adding haproxy-install.yml to
it. I will discuss this with the team and create a bug/review if we feel
that is necessary.
Regards,
Matt
On Sat, Sep 12, 2015 at 2:42 AM, Duck Euler <duck2718 at gmail.com> wrote:
> update for all
>
>
> within os-ansible-deployment repo, I've stumbled across scripts/run-playbooks.sh
>
> run-playbook.sh runs to completion with no errors.
>
>
> please update document to reflect that
>
>
> openstack-ansible setup-everything.yml
>
> should be depreciated or out right replace with
>
> scripts/run-playbooks.sh
>
> thanks!
>
>
> On Fri, Sep 11, 2015 at 4:56 PM, Duck Euler <duck2718 at gmail.com> wrote:
>
>> James,
>>
>> thanks for the reply. you are correct, 172.29.236.100 is the haproxy.
>> it's already on br-mgmt interface. good call.
>>
>> upon further inspection, there are two running repo containers :
>>
>> aio1_repo_container-xxxxxxx1
>> aio1_repo_container-xxxxxxx2
>>
>> the correct information regarding them is in openstack_inventory.json
>> file. wget to the IP address to one of the repo container shows working
>> http. so, the repo containers are there and appear to be working. i'm
>> guessing the focus is to look at haproxy plumbing to finish an install.
>>
>> further inspection shows aio1_swift_proxy_container-xxxxxxxx
>> assuming the same convention for repo, I would expect to see
>> aio1_repo_proxy_container-xxxxxxxx !??
>>
>> any hints on were haproxy for repo (an all other redundant service
>> containers other than swift) are living ? hints or other suggestions on
>> what yaml file to look at editing?
>>
>> thanks!
>>
>>
>>
>> On Fri, Sep 11, 2015 at 3:05 PM, James Denton <james.denton at rackspace.com
>> > wrote:
>>
>>> Have you tried configuring 172.29.236.100 on br-mgmt in addition to the
>>> address that is there? That is the default IP set for
>>> internal_lb_vip_address if I’m not mistaken, and is what haproxy will bind
>>> to.
>>>
>>> James
>>>
>>> On Sep 11, 2015, at 4:06 PM, Duck Euler <duck2718 at gmail.com> wrote:
>>>
>>>
>>> running os-ansible-deployment all in one. using reference configuration.
>>>
>>> following error from ansible run:
>>>
>>> TASK: [galera_client | Install pip packages]
>>> **********************************
>>> failed: [aio1_galera_container-fc2a8901] => (item=MySQL-python) =>
>>> {"attempts": 5, "cmd": "/usr/local/bin/pip install MySQL-python", "failed":
>>> true, "item": "MySQL-python"}
>>> msg: Task failed as maximum retries was encountered
>>>
>>>
>>> same pip install command from with in container, following error:
>>>
>>> root at aio1_galera_container-fc2a8901:/tmp# /usr/local/bin/pip -v install
>>> MySQL-python
>>> Ignoring indexes: https://pypi.python.org/simple
>>> Collecting MySQL-python
>>> 1 location(s) to search for versions of MySQL-python:
>>> * http://172.29.236.100:8181/os-releases/11.2.2/
>>> Skipping link http://172.29.236.100:8181/os-releases/11.2.2/ (from
>>> -f); unsupported archive format: .2
>>> Getting page http://172.29.236.100:8181/os-releases/11.2.2/
>>> Starting new HTTP connection (1): 172.29.236.100
>>> Incremented Retry for (url='/os-releases/11.2.2/'): Retry(total=4,
>>> connect=None, read=None, redirect=None)
>>> Retrying (Retry(total=4, connect=None, read=None, redirect=None))
>>> after connection broken by 'ProtocolError('Connection aborted.', error(111,
>>> 'Connection refused'))': /os-releases/11.2.2/
>>>
>>> looks like pip is looking for MySQL-python from ->
>>> http://172.29.236.100:8181/os-releases/11.2.2/
>>>
>>> this is the AllInOne host, ip is configured br-mgnt interface. there is
>>> no http server on that host:port.
>>>
>>> are there suggestions on where to look for getting a http repo server
>>> installed on local server? or any other advice on getting past this point.
>>>
>>> thanks
>>>
>>>
>>> _______________________________________________
>>> Mailing list:
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>> Post to : openstack at 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 at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150925/478f1660/attachment.html>
More information about the Openstack
mailing list