Single Installer problems

Vatkov, Bogdan bogdan.vatkov at sap.com
Fri Jun 5 22:14:51 UTC 2015


Hi,

I have one pretty big machine (256 GB RAM and 32 cores) and want to install the complete OpenStack on this single machine.
I have installed Ubuntu Server from CD.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty

$ uname -a
Linux bgsofl60246223 3.16.0-38-generic #52~14.04.1-Ubuntu SMP Fri May 8 09:43:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

I had to upgrade the kernel to 3.16-0-38.52 based on this:  https://bugs.launchpad.net/uvtool/+bug/1408833

Then I followed the Single Installer Guide from http://ubuntu-cloud-installer.readthedocs.org/en/latest/single-installer.guide.html

$ sudo -E apt-add-repository ppa:cloud-installer/experimental
$ sudo -E apt-get update
$ sudo -E apt-get install openstack
$ sudo -E openstack-install --extra-ppa ppa:cloud-installer/experimental --openstack-release kilo -r trusty -a amd64 --http-proxy http://proxy:8080 --https-proxy http://proxy:8080

commands.log is
[INFO: 06-05 17:50:35, openstack-install:176] Starting OpenStack Installer
[INFO: 06-05 17:50:35, openstack-install:251] Running Kilo release
[DEBUG: 06-05 17:50:51, utils.py:920] ssh keys exist for this user, they will be used instead.
[DEBUG: 06-05 17:50:51, single_install.py:59] Found proxy info: http://proxy:8080/http://proxy:8080<http://proxy:8080/http:/proxy:8080>
[INFO: 06-05 17:50:51, single_install.py:88] Prepared userdata: {'extra_ppa': ['ppa:cloud-installer/experimental'], 'seed_command': ['env', 'http_proxy=http://proxy:8080', 'https_proxy=http://proxy:8080', 'pollinate', '-q'], 'http_proxy': 'http://proxy:8080', 'https_proxy': 'http://proxy:8080', 'extra_sshkeys': ['ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC7eSVsYXN8IZQA6q7igFi80wVAJsZbDDfy7ZyVnB8gFA6//hHo1gEzjGBQkNBRWKrQRypHibUzUnF6FV4Q1X4EUkKpmLUgXFoQQqq8OAuhxzHQCNH5pyGElD7rO/uTOu2zQrYxq0X9hST2DuFt5UwcTCiRr8RwF+tmLxXJ/BzQUPcH8hspPaaz8z81qmXHtitBNMRu7N9jRclRSryH2iUtJMygM5SWi0oBm6ANS40gy0sUZ52dgw8/f4NvXK95QkNMA/vdqOhsWN9QHHejb4A/SWNsY2YcrBEYGUOzUT6A/FzkjuUm6SsmyXrkh+PMCY+DurpP4AZhgqI3IT1BRwV3 ubuntu at bgsofl60246223\n']}
[INFO: 06-05 17:50:51, single_install.py:334] Setting permissions for user ubuntu
[DEBUG: 06-05 17:53:56, utils.py:722] Error with command: [Output] '' [Error] 'tail: cannot open '/var/log/cloud-init-output.log' for reading: No such file or directory'
[DEBUG: 06-05 17:53:56, utils.py:722] Error with command: [Output] '' [Error] 'sudo: unable to resolve host openstack-single-ubuntu
cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:53:56, single_install.py:288] Waiting for cloud-init status result
[DEBUG: 06-05 17:53:57, utils.py:722] Error with command: [Output] '' [Error] 'sudo: unable to resolve host openstack-single-ubuntu
cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:53:58, utils.py:722] Error with command: [Output] '' [Error] 'sudo: unable to resolve host openstack-single-ubuntu
cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:53:59, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:00, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:01, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:02, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:03, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:04, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:05, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[DEBUG: 06-05 17:54:06, utils.py:722] Error with command: [Output] '' [Error] 'cat: /run/cloud-init/result.json: No such file or directory'
[ERROR: 06-05 17:54:07, single_install.py:308] Container cloud-init finished with errors: ['(\'seed_random\', ProcessExecutionError("Unexpected error while running command.\\nCommand: [\'env\', \'http_proxy=http://proxy:8080\', \'https_proxy=http://proxy:8080\', \'pollinate\', \'-q\']\\nExit<file:///\\nExit> code: 1\\nReason: -\\nStdout: \'\'\\nStderr: \'\'",))']
[DEBUG: 06-05 17:54:07, utils.py:64] Traceback (most recent call last):
  File "/usr/share/openstack/cloudinstall/utils.py", line 79, 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 365, in do_install_async
    self.do_install()
  File "/usr/share/openstack/cloudinstall/single_install.py", line 389, in do_install
    self.create_container_and_wait()
  File "/usr/share/openstack/cloudinstall/single_install.py", line 207, in create_container_and_wait
    while not self.cloud_init_finished(tries):
  File "/usr/share/openstack/cloudinstall/single_install.py", line 309, in cloud_init_finished
    raise Exception("Top-level container OS did not initialize "
Exception: Top-level container OS did not initialize correctly.

[INFO: 06-05 17:55:24, utils.py:92] Cleanup, saving latest config object.
[DEBUG: 06-05 17:55:24, utils.py:98] Attempting to reset the terminal


lxc.log is
      lxc-start 1433507372.690 ERROR    lxc_cgmanager - cgmanager.c:cgm_bind_dir:1353 - /usr/lib/x86_64-linux-gnu/lxc/sys/fs/cgroup does not exist
      lxc-start 1433507372.690 ERROR    lxc_conf - conf.c:lxc_mount_auto_mounts:857 - No such file or directory - error mounting /sys/fs/cgroup
      lxc-start 1433507372.690 ERROR    lxc_conf - conf.c:lxc_setup:3865 - failed to setup the automatic mounts for 'uoi-bootstrap'
      lxc-start 1433507372.690 ERROR    lxc_start - start.c:do_start:702 - failed to setup the container
      lxc-start 1433507372.690 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
      lxc-start 1433507372.718 ERROR    lxc_start - start.c:__lxc_start:1178 - failed to spawn 'uoi-bootstrap'
      lxc-start 1433507377.724 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
      lxc-start 1433507377.724 ERROR    lxc_start_ui - lxc_start.c:main:346 - To get more details, run the container in foreground mode.
      lxc-start 1433507377.724 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
      lxc-start 1433520345.735 ERROR    lxc_cgmanager - cgmanager.c:cgm_destroy:575 - Error connecting to cgroup manager

Any ideas what is wrong with my setup?
Are there any chances that some steps are assumed default and I did not execute them (and they were not described in the install guide)?

Thanks in advance!

Best regards,
Bogdan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-openstack-installer/attachments/20150605/464dafa2/attachment.html>


More information about the ubuntu-openstack-installer mailing list