Package version
16.05~bzr10082~release43+jenkins143-1
Revision
10082
Description:
When attempting to add the MAAS endpoint and API to the Openstack tab, the UI returns Error 410 Gone
Steps:
Juju deploy LDS Dense Maas
Set up user and login
Go to openstack tab and add MAAS end point and api
Log shows:
Jun 15 21:32:20 job-handler-1 CRIT Got error while handling job#012Traceback (most recent call last):#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 434, in errback#012 self._startRunCallbacks(fail)#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 501, in _startRunCallbacks#012 self._runCallbacks()#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 588, in _runCallbacks#012 current.result = callback(current.result, *args, **kw)#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1184, in gotResult#012 _inlineCallbacks(r, g, deferred)#012--- <exception caught here> ---#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks#012 result = result.throwExceptionIntoGenerator(g)#012 File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator#012 return g.throw(self.type, self.value, self.tb)#012 File "/opt/canonical/landscape/canonical/landscape/model/maas/jobs.py", line 32, in run#012 result = yield MAASClient(endpoint, credentials).test_connection()#012 File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1126, in _inlineCallbacks#012 result = result.throwExceptionIntoGenerator(g)#012 File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator#012 return g.throw(self.type, self.value, self.tb)#012 File "/opt/canonical/landscape/canonical/maas/maas.py", line 124, in test_connection#012 raise MAASError(u"Unknown HTTP Error: %s" % unicode(e))#012canonical.maas.errors.MAASError: Unknown HTTP Error: 410 GONE
Jun 15 21:32:20 job-handler-1 INFO Stopping factory <HTTPClientFactory: http://10.245.208.27/MAAS/api/1.0/nodegroups/?op=list>
Notice in maas syslog at the time of this error:
Jun 15 21:24:15 localhost sh[14253]: 2016-06-15 21:24:15 [-] 127.0.0.1 - - [15/Jun/2016:21:24:14 +0000] "GET /MAAS/api/1.0/nodegroups/?op=list HTTP/1.1" 410 63 "-" "Twisted PageGetter"
Full job handler log /pastebin. canonical. com/158819/
https:/