The application is not compatible with Ubuntu 16.04

Bug #1604912 reported by Marcela Bonell
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
First App Application For OpenStack
Fix Released
Undecided
Martin Paulo

Bug Description

When I try to create the all-in-one instance using Ubuntu 16.06 the faafo.client throws an error connection.

LOG:
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 228
INFO faafo.client [-] generating 4 task(s)
DEBUG faafo.client [-] created task {'width': 393, 'yb': 2.72642092740036, 'uuid': '19430aae-766f-491f-abd0-f51ce63c20fc', 'iterations': 253, 'xb': 3.407746902447166, 'xa': -2.3141231231510493, 'ya': -2.0610517531706782, 'height': 1003} do_create_fractal /usr/local/bin/faafo:166
CRITICAL client [-] ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /v1/fractal (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f74308260d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
ERROR client Traceback (most recent call last):
ERROR client File "/usr/local/bin/faafo", line 267, in <module>
ERROR client CONF.command.func()
ERROR client File "/usr/local/bin/faafo", line 171, in do_create_fractal
ERROR client json.dumps(task), headers=headers)
ERROR client File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 111, in post
ERROR client return request('post', url, data=data, json=json, **kwargs)
ERROR client File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 57, in request
ERROR client return session.request(method=method, url=url, **kwargs)
ERROR client File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 475, in request
ERROR client resp = self.send(prep, **send_kwargs)
ERROR client File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 585, in send
ERROR client r = adapter.send(request, **kwargs)
ERROR client File "/usr/local/lib/python2.7/dist-packages/requests/adapters.py", line 467, in send
ERROR client raise ConnectionError(e, request=request)
ERROR client ConnectionError: HTTPConnectionPool(host='127.0.0.1', port=80): Max retries exceeded with url: /v1/fractal (Caused by NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection object at 0x7f74308260d0>: Failed to establish a new connection: [Errno 111] Connection refused',))

Revision history for this message
Martin Paulo (martin-paulo) wrote :

I had a very similar issue: I fixed it by adding the following line:

systemctl start supervisor

to the install.sh script immediately before the

supervisorctl reload

command on line 174

Changed in faafo:
assignee: nobody → Martin Paulo (martin-paulo)
Revision history for this message
Martin Paulo (martin-paulo) wrote :

And here is the bug that's causing this issue:

https://bugs.launchpad.net/ubuntu/+source/supervisor/+bug/1594740

Changed in faafo:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to faafo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/390271

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to faafo (master)

Reviewed: https://review.openstack.org/390271
Committed: https://git.openstack.org/cgit/openstack/faafo/commit/?id=06d8c74aa5cc13bf3699501c983d5b7606a070f7
Submitter: Jenkins
Branch: master

commit 06d8c74aa5cc13bf3699501c983d5b7606a070f7
Author: Martin Paulo <email address hidden>
Date: Mon Oct 24 13:39:28 2016 +0200

    Added fix required to run on Ubuntu 16.04

    Due to bug
    https://bugs.launchpad.net/ubuntu/+source/supervisor/+bug/1594740
    the install.sh script will fail when run on Ubuntu 16.04.

    This commit adds the fix suggested in the Ubuntu bug report.

    Change-Id: I1ffe7c9f1c1388576290f3444345791be9880a92
    Closes-Bug: 1604912

Changed in faafo:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.