'creds' keyerror when deploying openstack/bigdata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
conjure-up (Ubuntu) |
Fix Released
|
Critical
|
Adam Stokes | ||
Xenial |
Fix Released
|
Critical
|
Adam Stokes |
Bug Description
[Impact]
Any user using the latest Juju beta7 which changed the cloud listing from lxd to localhost
[Test]
I did the following:
apt install conjure-up #per instructions
conjure-up bigdata
In the menu
choose Apache Flume/Spark/
choose local host
get:
arosales@x230:~$ conjure-up bigdata
Exception in ev.run():
Traceback (most recent call last):
File "/usr/share/
cls.loop.run()
File "/usr/lib/
self._run()
File "/usr/lib/
self.
File "/usr/lib/
raise self._exc_
File "/usr/lib/
self.
File "/usr/lib/
event_loop, callback, self.get_
File "/usr/lib/
callback(
File "/usr/lib/
self.
File "/usr/lib/
k = self._topmost_
File "/usr/lib/
return self._current_
File "/usr/lib/
return self.body.keypress( (maxcol, remaining), key )
File "/usr/share/
return super()
File "/usr/lib/
return self._original_
File "/usr/lib/
key = self.focus.
File "/usr/lib/
return self._original_
File "/usr/lib/
self.
File "/usr/lib/
signals.
File "/usr/lib/
result |= self._call_
File "/usr/lib/
return bool(callback(
File "/usr/share/
self.
File "/usr/share/
return self.app.
File "/usr/share/
creds,
UnboundLocalError: local variable 'creds' referenced before assignment
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/share/
app.start()
File "/usr/share/
EventLoop.run()
File "/usr/share/
cls.loop.run()
File "/usr/lib/
self._run()
File "/usr/lib/
self.
File "/usr/lib/
raise self._exc_
File "/usr/lib/
self.
File "/usr/lib/
event_loop, callback, self.get_
File "/usr/lib/
callback(
File "/usr/lib/
self.
File "/usr/lib/
k = self._topmost_
File "/usr/lib/
return self._current_
File "/usr/lib/
return self.body.keypress( (maxcol, remaining), key )
File "/usr/share/
return super()
File "/usr/lib/
return self._original_
File "/usr/lib/
key = self.focus.
File "/usr/lib/
return self._original_
File "/usr/lib/
self.
File "/usr/lib/
signals.
File "/usr/lib/
result |= self._call_
File "/usr/lib/
return bool(callback(
File "/usr/share/
self.
File "/usr/share/
return self.app.
File "/usr/share/
creds,
UnboundLocalError: local variable 'creds' referenced before assignment
arosales@x230:~$ conjure-up --version
conjure-up 0.1.0
arosales@x230:~$ uname -a
Linux x230 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
arosales@x230:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
arosales@x230:~$
[Regression Potentional]
This fix supports both pre juju beta7 which used 'lxd' as the cloud type and beta7 upwards which supports 'localhost' as cloud type. Regression should therefore be minimal since it was completely broken with the latest release of juju.
Changed in conjure-up (Ubuntu): | |
status: | New → In Progress |
importance: | Undecided → Critical |
Changed in conjure-up (Ubuntu Xenial): | |
importance: | Undecided → Critical |
Changed in conjure-up (Ubuntu): | |
assignee: | nobody → Adam Stokes (adam-stokes) |
Changed in conjure-up (Ubuntu Xenial): | |
assignee: | nobody → Adam Stokes (adam-stokes) |
Changed in conjure-up (Ubuntu): | |
status: | In Progress → Fix Released |
description: | updated |
tags: |
added: verification-done removed: verification-needed |
Is there workaround for this until the fix ends up in xenial-updates?