Vivid & Openstack Installer ?

Mike McCracken mike.mccracken at canonical.com
Fri Jul 10 05:45:20 UTC 2015


Hi Nicholas, thanks for the extra detail. As I wrote in the github issue
you commented on (I think that was you?),
I suggest you try manually attaching to the container and trying to run
e.g. pollinate, or just 'curl https://entropy.ubuntu.com'.

Since you mention that you're behind a firewall, check that the various
ubuntu sites that the installer may need access to (cloud-archive.ubuntu.com,
entropy.ubuntu.com, archive.ubuntu.com) are reachable from your host and
from the container.

If you need to use an HTTP proxy to get out thru the firewall, use the
--http-proxy argument to the installer (there is also --https-proxy, which
you will probably also want)

Hope this helps,
-mike

On Thu, Jul 9, 2015 at 10:34 PM, Nicholas Roberts <niccolo.roberts at gmail.com
> wrote:

> thanks mike, I feel less stupid, no thats not true, I feel less culpable
>
> its a clean bare-metal vivid install sitting behind pfsense (I turned of
> the proxy, but it is behind a firewall, but as far as I know requires no
> special config)
>
> I did this
>
>    13  sudo apt-get update && sudo apt-get upgrade-dist
>    14  sudo apt-get update
>    15  sudo apt-add-repository ppa:cloud-installer/experimental
>    16  sudo apt-get update
>    17  sudo openstack-install --extra-ppa ppa:cloud-installer/experimental
>    18  sudo apt-get update
>    19  sudo apt-get install openstack
>    20  sudo openstack-install --upstream-ppa --openstack-release kilo
>
> errors
>
>    21  nano $HOME/.cloud-install/commands.log
>
> [INFO: 07-09 22:02:27, openstack-install:180] Starting OpenStack Installer
> v0.99.18
> [INFO: 07-09 22:02:27, openstack-install:181] Start command:
> ['/usr/bin/openstack-install', '--upstream-ppa', '--openstack-release',
> 'kilo']
> [INFO: 07-09 22:02:27, openstack-install:192] Creating juju directories:
> /home/empresarialx/.cloud-install/juju
> [INFO: 07-09 22:02:27, openstack-install:256] Running Kilo release
> [DEBUG: 07-09 22:02:49, single_install.py:71] Found proxy info: False/False
> [INFO: 07-09 22:02:49, single_install.py:101] Prepared userdata:
> {'upstream_ppa': True, 'seed_command': ['env', 'pollinate', '-q'],
> 'extra_sshkeys': ['ssh-rsa
> AAAAB3NzaC1yc2EAAAADAQABAAABAQC/cdx44DrLM92F1S7oFEDhdus/72DP$
> [INFO: 07-09 22:02:49, single_install.py:347] Setting permissions for user
> empresarialx
> [DEBUG: 07-09 22:05:15, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:15, utils.py:724] Error with command: [Output] ''
> [Error] 'sudo: unable to resolve host openstack-single-empresarialx
> cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:15, single_install.py:301] Waiting for cloud-init
> status result
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'sudo: unable to resolve host openstack-single-empresarialx
> cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:16, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:17, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:18, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:19, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:19, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:19, utils.py:724] Error with command: [Output] ''
> [Error] 'sudo: unable to resolve host openstack-single-empresarialx
> cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:20, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:20, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:20, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:20, utils.py:724] Error with command: [Output] ''
> [Error] 'sudo: unable to resolve host openstack-single-empresarialx
> cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Error with command: [Output] ''
> [Error] 'sudo: unable to resolve host openstack-single-empresarialx
> cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Error with command: [Output] ''
> [Error] 'tail: cannot open ‘/var/log/cloud-init-output.log’ for reading: No
> such file or directory'
> [DEBUG: 07-09 22:05:21, utils.py:724] Err
>
> ..
>
> [DEBUG: 07-09 22:05:37, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:38, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:39, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:40, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:41, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:42, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:43, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:44, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:45, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:46, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:47, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:48, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:49, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:50, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:51, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:52, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [DEBUG: 07-09 22:05:53, utils.py:724] Error with command: [Output] ''
> [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
> [ERROR: 07-09 22:05:54, single_install.py:321] Container cloud-init
> finished with errors: ['(\'seed_random\', ProcessExecutionError("Unexpected
> error while running command.\\nCommand: [\'env\', \'pollinate\', \'-q\']\\n$
> [DEBUG: 07-09 22:05:54, utils.py:62] Traceback (most recent call last):
>   File "/usr/share/openstack/cloudinstall/utils.py", line 77, in run
>     super().run()
>   File "/usr/lib/python3.4/threading.py", line 868, in run
>     self._target(*self._args, **self._kwargs)
>   File "/usr/share/openstack/cloudinstall/single_install.py", line 378, in
> do_install_async
>     self.do_install()
>   File "/usr/share/openstack/cloudinstall/single_install.py", line 404, in
> do_install
>     self.create_container_and_wait()
>   File "/usr/share/openstack/cloudinstall/single_install.py", line 220, in
> create_container_and_wait
>     while not self.cloud_init_finished(tries):
>   File "/usr/share/openstack/cloudinstall/single_install.py", line 322, in
> cloud_init_finished
>     raise Exception("Top-level container OS did not initialize "
> Exception: Top-level container OS did not initialize correctly.
>
> [INFO: 07-09 22:06:06, utils.py:90] Cleanup, saving latest config object.
> [DEBUG: 07-09 22:06:06, utils.py:96] Attempting to reset the terminal
>
>
>
> On Thu, Jul 9, 2015 at 10:28 PM, Mike McCracken <
> mike.mccracken at canonical.com> wrote:
>
>> Hi, you should be able to get an install working on vivid.
>> However, there are a lot of moving parts here, so it's very possible to
>> be hitting a problem that doesn't have anything to do with noob-ness :)
>>
>> Can you give more background? what version of the installer package were
>> you using, and what command line options did you try?
>> Does your lab have a firewall that requires an http proxy setup?
>>
>> Also, if you were using a release version from the stable PPA, you might
>> find our experimental PPA with more recent changes will work better - see
>> https://launchpad.net/~cloud-installer/+archive/ubuntu/experimental
>>
>> best of luck, and feel free to post here with further questions, or file
>> github issues.
>>
>> -mike
>>
>> On Thu, Jul 9, 2015 at 10:21 PM, Nicholas Roberts <
>> niccolo.roberts at gmail.com> wrote:
>>
>>> hi
>>>
>>> I've been reading a lot about Vivid and Kilo and tried to install on a
>>> single lab server using the Installer
>>>
>>> I am assuming from the fact that it doesnt work, that its not supported?
>>>
>>> or am I just a stupid noob ? (I actually know the answer to that
>>> question)
>>>
>>> --
>>> Nicholas Roberts
>>> www.niccolox.org
>>>
>>>
>>> --
>>> ubuntu-openstack-installer mailing list
>>> ubuntu-openstack-installer at lists.ubuntu.com
>>> Modify settings or unsubscribe at:
>>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-openstack-installer
>>>
>>>
>>
>
>
> --
>
> --
> Nicholas Roberts
> www.niccolox.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-openstack-installer/attachments/20150709/ffe91977/attachment-0001.html>


More information about the ubuntu-openstack-installer mailing list