Setup of MAAS Server using pod-cloud-installer failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
New
|
Undecided
|
Unassigned |
Bug Description
While installing a cloud using the pod-cloud installer version v0.11.1, seeing that it successfully installs the MAAS server, but continually fails trying to setup the lDS.
Here is the scenario:
1. Cabled 4 UCS-C servers properly for the networks as described in the pod installer PDF.
2. Setup deploy.cfg file.
3. Ran the pod-cloud-installer -c ~/deploy.cfg --install-maas successfully.
4. When running the pod-cloud-installer -c ~/deploy.cfg --install-lds, seeing consistent failures. Have tried working with others who have successfully set this up, and still cannot make this work.
Have tried running the following before running the --install-lDS, and it still doesn't work...
sudo rm -f /etc/apt/
sudo apt-get update
It is very important that we get this setup to perform dev-test on components being delivered to the customer. Please reply ASAP with a solution.
Here is the error text from the install-lds portion of the log file:
2015-10-28 17:49:16,321 DEBUG Bootstrapping juju to vmLDS
2015-10-28 17:49:16,321 DEBUG CMD: ['juju', 'bootstrap', '-e', 'datacenter-maas', '--to', 'vmLDS.
2015-10-28 18:03:02,602 DEBUG STDERR:
Bootstrapping environment "datacenter-maas"
Starting new instance for initial state server
Launching instance
- /MAAS/api/
Installing Juju agent on bootstrap instance
Waiting for address
Attempting to connect to vmLDS.cloudvpn.
Attempting to connect to vmLDS.cloudvpn.
Attempting to connect to 10.20.0.5:22
@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @^M
@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!^M
Someone could be eavesdropping on you right now (man-in-the-middle attack)!^M
It is also possible that a host key has just been changed.^M
The fingerprint for the ECDSA key sent by the remote host is
1e:fc:e8:
Please contact your system administrator.^M
Add correct host key in /home/joswilki/
Offending ECDSA key in /home/joswilki/
remove with: ssh-keygen -f "/home/
Keyboard-
Logging to /var/log/
Running apt-get update
Running apt-get upgrade
Installing package: curl
Installing package: cpu-checker
Installing package: bridge-utils
Installing package: rsyslog-gnutls
Installing package: cloud-utils
Installing package: cloud-image-utils
Installing package: tmux
Fetching tools: curl -sSfw 'tools from %{url_effective} downloaded: HTTP %{http_code}; time %{time_total}s; size %{size_download} bytes; speed %{speed_download} bytes/s ' --retry 10 -o $bin/tools.tar.gz <[https:/
Bootstrapping Juju machine agent
Starting Juju machine agent (jujud-machine-0)
Bootstrap agent installed
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
Waiting for API to become available
ERROR upgrade in progress - Juju functionality is limited
2015-10-28 18:03:02,602 WARNING Hit error with juju bootstrap: Command '['juju', 'bootstrap', '-e', 'datacenter-maas', '--to', 'vmLDS.
2015-10-28 18:03:02,602 DEBUG CMD: ['juju', 'status', '-e', 'datacenter-maas']
2015-10-28 18:03:12,796 DEBUG STDOUT:
environment: datacenter-maas
machines:
"0":
agent-state: pending
agent-version: 1.24.6
dns-name: vmLDS.cloudvpn.com
instance-id: /MAAS/api/
series: trusty
hardware: arch=amd64 cpu-cores=4 mem=8192M tags=virtual
state-
services: {}
2015-10-28 18:03:12,798 DEBUG Checking juju status: [PASS]
2015-10-28 18:03:12,798 DEBUG Deploying Landscape to vmLDS
2015-10-28 18:03:12,806 DEBUG (cwd=/home/
2015-10-28 18:03:12,806 DEBUG CMD: ['juju-deployer', '-r', '180', '-vc', '/tmp/tmp0ohDel', '--timeout', '6000', '-e', 'datacenter-maas']
2015-10-28 18:03:13,309 DEBUG STDERR:
2015-10-28 18:03:13 Using runtime GoEnvironment on datacenter-maas
2015-10-28 18:03:13 Retrying hooks for error resolution
2015-10-28 18:03:13 Connecting to environment...
2015-10-28 18:03:13 Connected to environment
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
run()
File "/usr/lib/
options.
File "/usr/lib/
error_units = self._get_
File "/usr/lib/
status = self.status()
File "/usr/lib/
return self.client.
File "/usr/lib/
watch = self.get_watch()
File "/usr/lib/
watcher.start()
File "/usr/lib/
'Params': {}})
File "/usr/lib/
raise EnvError(result)
jujuclient.
{ u'Error': u'upgrade in progress - Juju functionality is limited',
u'RequestId': 0,
u'Response': { }}
>
Failure log added.