[Bug 987930] [NEW] MAAS provider - Failure to bootstrap when no port is specified for maas-server
Andres Rodriguez
andreserl at ubuntu-pe.org
Tue Apr 24 17:03:45 UTC 2012
Public bug reported:
When no port is provided for 'maas-server' in environments.yaml, juju
fails to bootstrap. The error is as follows:
environments:
maas:
type: maas
maas-server: 'http://192.168.123.2/MAAS'
[...]
2012-04-24 12:55:01,979 INFO Bootstrapping environment 'maas' (origin: ppa type: maas)...
Unhandled Error
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/juju/control/__init__.py", line 188, in main
options.command(options)
File "/usr/lib/python2.7/dist-packages/juju/control/command.py", line 44, in __call__
reactor.run()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1169, in run
self.mainLoop()
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1178, in mainLoop
self.runUntilCurrent()
--- <exception caught here> ---
File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 800, in runUntilCurrent
call.func(*call.args, **call.kw)
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 362, in resolveAddress
self._setRealAddress(self.addr[0])
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 369, in _setRealAddress
self.doConnect()
File "/usr/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 395, in doConnect
connectResult = self.socket.connect_ex(self.realAddress)
File "/usr/lib/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
exceptions.TypeError: an integer is required
If no port is provided, it is safe to assume that port 80 should be used
instead.
** Affects: juju
Importance: Undecided
Status: Confirmed
** Affects: juju (Ubuntu)
Importance: Undecided
Status: Confirmed
** Changed in: juju (Ubuntu)
Status: New => Confirmed
** Also affects: juju
Importance: Undecided
Status: New
** Changed in: juju
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to juju in Ubuntu.
https://bugs.launchpad.net/bugs/987930
Title:
MAAS provider - Failure to bootstrap when no port is specified for
maas-server
To manage notifications about this bug go to:
https://bugs.launchpad.net/juju/+bug/987930/+subscriptions
More information about the Ubuntu-server-bugs
mailing list