Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- maasadmin@maas:~$ juju bootstrap --to state-machine.maas
- Bootstrapping environment "restonMaas"
- Starting new instance for initial state server
- Launching instance
- - /MAAS/api/1.0/nodes/node-53290f10-4dfd-11e5-90cf-000c29bc5f49/
- Installing Juju agent on bootstrap instance
- Waiting for address
- Attempting to connect to state-machine.maas:22
- Attempting to connect to state-machine.maas:22
- Attempting to connect to 172.16.42.11:22
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: POSSIBLE DNS SPOOFING DETECTED! @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- The ECDSA host key for state-machine.maas has changed,
- and the key for the corresponding IP address 172.16.42.11
- has a different value. This could either mean that
- DNS SPOOFING is happening or the IP address for the host
- and its host key have changed at the same time.
- Offending key for IP in /home/maasadmin/.ssh/known_hosts:6
- remove with: ssh-keygen -f "/home/maasadmin/.ssh/known_hosts" -R 172.16.42.11
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
- @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
- IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
- Someone could be eavesdropping on you right now (man-in-the-middle attack)!
- It is also possible that a host key has just been changed.
- The fingerprint for the ECDSA key sent by the remote host is
- 6e:76:ae:05:28:dc:34:32:ee:63:c4:bb:4e:2f:eb:84.
- Please contact your system administrator.
- Add correct host key in /home/maasadmin/.ssh/known_hosts to get rid of this message.
- Offending ECDSA key in /home/maasadmin/.ssh/known_hosts:8
- remove with: ssh-keygen -f "/home/maasadmin/.ssh/known_hosts" -R state-machine.maas
- Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
- Logging to /var/log/cloud-init-output.log on remote host
- 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://streams.canonical.com/juju/tools/releases/juju-1.24.5-trusty-amd64.tgz]>
- 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
- Bootstrap complete
- maasadmin@maas:~$ juju deploy juju-gui --to 0 && juju expose juju-gui
- Added charm "cs:trusty/juju-gui-38" to the environment.
- maasadmin@maas:~$ vi restonsmall.yaml
- maasadmin@maas:~$ juju quickstart restonsmall.yaml
- juju quickstart v2.2.1
- contents loaded for bundle (services: 19)
- ssh-agent has been started.
- To interact with Juju or quickstart again after quickstart
- finishes, please run the following in a terminal to start ssh-agent:
- eval `ssh-agent`
- reusing the already bootstrapped restonMaas environment
- retrieving the environment status
- retrieving the Juju environment credentials
- connecting to wss://172.16.42.11:17070/environment/100f016e-bb59-4cbe-81b3-96775a8e64a5/api
- environment type: maas
- bootstrap node series: trusty
- charm URL: cs:trusty/juju-gui-38
- service juju-gui already deployed
- reusing unit juju-gui/0
- juju-gui/0 is ready on machine 0
- unit placed on state-machine.maas
- machine 0 is started
- the Juju GUI is ready: retrieving service configuration
- Juju GUI URL: https://state-machine.maas
- username: admin
- password: t1nk3r
- connecting to the Juju GUI server
- requesting a deployment of bundle with the following services:
- ceilometer, ceilometer-agent, ceph, ceph-osd, ceph-radosgw, cinder, cinder-ceph, glance, keystone, mongodb, mysql, neutron-api, neutron-gateway, neutron-openvswitch, nova-cloud-controller, nova-compute, ntp, openstack-dashboard, rabbitmq-server
- bundle deployment request accepted
- use the GUI to check the bundle deployment progress
- opening the browser at
- https://state-machine.maas/?authtoken=2d3804bf7e7a46fa846f821ec2f50b7b
- done!
- Run "juju quickstart -e restonMaas" again if you want
- to reopen and log in to the GUI browser later.
- Run "juju quickstart -i" if you want to manage
- or bootstrap your Juju environments using the
- interactive session.
- Run "juju destroy-environment restonMaas [-y]"
- to destroy the environment you just bootstrapped.
- maasadmin@maas:~$ nslookup state-machine.maas
- Server: 127.0.0.1
- Address: 127.0.0.1#53
- Name: state-machine.maas
- Address: 172.16.42.11
- maasadmin@maas:~$ juju-deployer -c restonsmall.yaml
- Traceback (most recent call last):
- File "/usr/bin/juju-deployer", line 9, in <module>
- load_entry_point('juju-deployer==0.5.1', 'console_scripts', 'juju-deployer')()
- File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
- run()
- File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 158, in run
- env_name = get_env_name(options.juju_env)
- File "/usr/lib/python2.7/dist-packages/deployer/utils.py", line 374, in get_env_name
- raise ValueError("No Environment specified")
- ValueError: No Environment specified
- maasadmin@maas:~$ juju-deployer -c restonsmall.yaml -e restonMaas
- 2015-09-03 09:25:18 Using deployment restonsmall.yaml
- 2015-09-03 09:25:18 Starting deployment of restonsmall.yaml
- 2015-09-03 09:25:20 Creating machines...
- 2015-09-03 09:25:20 Machine 1 will be created
- Traceback (most recent call last):
- File "/usr/bin/juju-deployer", line 9, in <module>
- load_entry_point('juju-deployer==0.5.1', 'console_scripts', 'juju-deployer')()
- File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
- run()
- File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 233, in run
- importer.Importer(env, deployment, options).run()
- File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 303, in run
- self.create_machines()
- File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 114, in create_machines
- constraints=spec.get('constraints'))
- File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 42, in add_machine
- constraints=parse_constraints(constraints))['Machine']
- File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 832, in add_machine
- return self.add_machines([params])['Machines'][0]
- File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 843, in add_machines
- "MachineParams": machines}})
- File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 281, in _rpc
- raise EnvError(result)
- jujuclient.EnvError: <Env Error - Details:
- { u'Error': u'json: cannot unmarshal string into Go value of type []string',
- u'RequestId': 1,
- u'Response': { }}
- >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement