Skip to content

Instantly share code, notes, and snippets.

@hughsaunders
Created February 8, 2014 18:52
Show Gist options
  • Save hughsaunders/8888272 to your computer and use it in GitHub Desktop.
Save hughsaunders/8888272 to your computer and use it in GitHub Desktop.
root@rsuk-0:/home/rally/rally# git fetch https://review.openstack.org/stackforge/rally refs/changes/71/71471/1 && git checkout FETCH_HEAD
From https://review.openstack.org/stackforge/rally
* branch refs/changes/71/71471/1 -> FETCH_HEAD
HEAD is now at 7c068b3... Fix btrfs checking in LxcHost
root@rsuk-0:/home/rally/rally# python setup.py install
running install
Requirement already satisfied (use --upgrade to upgrade): Babel>=1.3 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): fixtures>=0.3.14 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): iso8601>=0.1.8 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): jsonschema>=1.3.0,!=1.4.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): netaddr>=0.7.6 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): oslo.config>=1.2.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): paramiko>=1.8.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pbr>=0.5.21,<1.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): PrettyTable>=0.7,<0.8 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): python-glanceclient>=0.9.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): python-keystoneclient>=0.4.1 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): python-novaclient>=2.15.0 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): python-neutronclient>=2.3.0,<3 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): python-cinderclient>=1.0.6 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): requests>=1.1 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): SQLAlchemy>=0.7.8,<=0.7.99 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): six>=1.4.1 in ./.venv/lib/python2.7/site-packages
Requirement already satisfied (use --upgrade to upgrade): pytz>=0a in ./.venv/lib/python2.7/site-packages (from Babel>=1.3)
Requirement already satisfied (use --upgrade to upgrade): pycrypto>=2.1,!=2.4 in ./.venv/lib/python2.7/site-packages (from paramiko>=1.8.0)
Requirement already satisfied (use --upgrade to upgrade): ecdsa in ./.venv/lib/python2.7/site-packages (from paramiko>=1.8.0)
Requirement already satisfied (use --upgrade to upgrade): pip>=1.0 in ./.venv/lib/python2.7/site-packages/pip-1.1-py2.7.egg (from pbr>=0.5.21,<1.0)
Requirement already satisfied (use --upgrade to upgrade): pyOpenSSL in ./.venv/lib/python2.7/site-packages (from python-glanceclient>=0.9.0)
Requirement already satisfied (use --upgrade to upgrade): warlock>=1.0.1,<2 in ./.venv/lib/python2.7/site-packages (from python-glanceclient>=0.9.0)
Requirement already satisfied (use --upgrade to upgrade): simplejson>=2.0.9 in ./.venv/lib/python2.7/site-packages (from python-novaclient>=2.15.0)
Requirement already satisfied (use --upgrade to upgrade): cliff>=1.4.3 in ./.venv/lib/python2.7/site-packages (from python-neutronclient>=2.3.0,<3)
Requirement already satisfied (use --upgrade to upgrade): httplib2 in ./.venv/lib/python2.7/site-packages (from python-neutronclient>=2.3.0,<3)
Requirement already satisfied (use --upgrade to upgrade): jsonpatch>=0.10,<2 in ./.venv/lib/python2.7/site-packages (from warlock>=1.0.1,<2->python-glanceclient>=0.9.0)
Requirement already satisfied (use --upgrade to upgrade): cmd2>=0.6.7 in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->python-neutronclient>=2.3.0,<3)
Requirement already satisfied (use --upgrade to upgrade): pyparsing>=2.0.1 in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->python-neutronclient>=2.3.0,<3)
Requirement already satisfied (use --upgrade to upgrade): stevedore in ./.venv/lib/python2.7/site-packages (from cliff>=1.4.3->python-neutronclient>=2.3.0,<3)
Requirement already satisfied (use --upgrade to upgrade): jsonpointer>=1.0 in ./.venv/lib/python2.7/site-packages (from jsonpatch>=0.10,<2->warlock>=1.0.1,<2->python-glanceclient>=0.9.0)
Cleaning up...
running build
running build_py
copying rally/benchmark/scenarios/nova/utils.py -> build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/nova
copying rally/consts.py -> build/lib.linux-x86_64-2.7/rally
copying rally/sshutils.py -> build/lib.linux-x86_64-2.7/rally
copying rally/osclients.py -> build/lib.linux-x86_64-2.7/rally
copying rally/utils.py -> build/lib.linux-x86_64-2.7/rally
copying rally/benchmark/scenarios/cinder/volumes.py -> build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/cinder
copying rally/benchmark/scenarios/cinder/utils.py -> build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/cinder
copying rally/serverprovider/provider.py -> build/lib.linux-x86_64-2.7/rally/serverprovider
copying rally/deploy/engine.py -> build/lib.linux-x86_64-2.7/rally/deploy
copying rally/orchestrator/api.py -> build/lib.linux-x86_64-2.7/rally/orchestrator
copying rally/serverprovider/providers/openstack.py -> build/lib.linux-x86_64-2.7/rally/serverprovider/providers
copying rally/serverprovider/providers/lxc.py -> build/lib.linux-x86_64-2.7/rally/serverprovider/providers
copying rally/cmd/main.py -> build/lib.linux-x86_64-2.7/rally/cmd
copying rally/benchmark/engine.py -> build/lib.linux-x86_64-2.7/rally/benchmark
copying rally/benchmark/base.py -> build/lib.linux-x86_64-2.7/rally/benchmark
copying rally/benchmark/utils.py -> build/lib.linux-x86_64-2.7/rally/benchmark
running egg_info
writing requirements to rally.egg-info/requires.txt
writing rally.egg-info/PKG-INFO
writing top-level names to rally.egg-info/top_level.txt
writing dependency_links to rally.egg-info/dependency_links.txt
writing entry points to rally.egg-info/entry_points.txt
[pbr] Reusing existing SOURCES.txt
running install_lib
copying build/lib.linux-x86_64-2.7/rally/deploy/engine.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/deploy
copying build/lib.linux-x86_64-2.7/rally/consts.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally
copying build/lib.linux-x86_64-2.7/rally/sshutils.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally
copying build/lib.linux-x86_64-2.7/rally/osclients.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally
copying build/lib.linux-x86_64-2.7/rally/cmd/main.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/cmd
copying build/lib.linux-x86_64-2.7/rally/benchmark/engine.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark
copying build/lib.linux-x86_64-2.7/rally/benchmark/base.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark
copying build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/cinder/volumes.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder
copying build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/cinder/utils.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder
copying build/lib.linux-x86_64-2.7/rally/benchmark/scenarios/nova/utils.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/nova
copying build/lib.linux-x86_64-2.7/rally/benchmark/utils.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark
copying build/lib.linux-x86_64-2.7/rally/serverprovider/providers/openstack.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider/providers
copying build/lib.linux-x86_64-2.7/rally/serverprovider/providers/lxc.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider/providers
copying build/lib.linux-x86_64-2.7/rally/serverprovider/provider.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider
copying build/lib.linux-x86_64-2.7/rally/utils.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally
copying build/lib.linux-x86_64-2.7/rally/orchestrator/api.py -> /home/rally/rally/.venv/lib/python2.7/site-packages/rally/orchestrator
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/deploy/engine.py to engine.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/consts.py to consts.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/sshutils.py to sshutils.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/osclients.py to osclients.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/cmd/main.py to main.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/engine.py to engine.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/base.py to base.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder/volumes.py to volumes.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/cinder/utils.py to utils.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/scenarios/nova/utils.py to utils.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/benchmark/utils.py to utils.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider/providers/openstack.py to openstack.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider/providers/lxc.py to lxc.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/serverprovider/provider.py to provider.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/utils.py to utils.pyc
byte-compiling /home/rally/rally/.venv/lib/python2.7/site-packages/rally/orchestrator/api.py to api.pyc
running install_egg_info
Copying rally.egg-info to /home/rally/rally/.venv/lib/python2.7/site-packages/rally-0.0.1.dev417.g7c068b3-py2.7.egg-info
running install_scripts
Installing rally-manage script to /home/rally/rally/.venv/bin
Installing rally script to /home/rally/rally/.venv/bin
Installing openstack-rally script to /home/rally/rally/.venv/bin
Installing openstack-rally-manage script to /home/rally/rally/.venv/bin
root@rsuk-0:/home/rally/rally# rally deployment create --name dil --file dil.json 2014-02-08 18:47:26.258 7332 ERROR rally.deploy.engine [-] Deployment fb963646-e4d2-49e1-80fd-ac3d22651072: Error has occurred into context of the deployment
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine Traceback (most recent call last):
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/orchestrator/api.py", line 33, in create_deploy
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine endpoint = deployer.make_deploy()
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/utils.py", line 237, in wrapper
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine result = f(self, *args, **kwargs)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/deploy/engine.py", line 101, in make_deploy
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine endpoint = self.deploy()
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/utils.py", line 237, in wrapper
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine result = f(self, *args, **kwargs)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/deploy/engines/devstack.py", line 85, in deploy
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine self.servers = self._vm_provider.create_servers()
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/utils.py", line 237, in wrapper
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine result = f(self, *args, **kwargs)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/serverprovider/providers/lxc.py", line 254, in create_servers
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine host.create_container(first_name, distribution)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/serverprovider/providers/lxc.py", line 139, in create_container
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine ' -t %(distribution)s' % args)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/sshutils.py", line 157, in run
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine timeout=timeout)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine File "/home/rally/rally/.venv/local/lib/python2.7/site-packages/rally/sshutils.py", line 223, in _run
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine raise SSHError(details)
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine SSHError: Command "lxc-create -B dir -n rally-providertest-02--000-10-100-1-0 -t ubuntu" failed with exit_status 1.
2014-02-08 18:47:26.258 7332 TRACE rally.deploy.engine
Command failed, please check log for more info
2014-02-08 18:47:26.271 7332 CRITICAL rally [-] Command "lxc-create -B dir -n rally-providertest-02--000-10-100-1-0 -t ubuntu" failed with exit_status 1.
root@rsuk-0:/home/rally/rally# lxc-create -B dir -n rally-providertest-02--000-10-100-1-0 -t ubuntu
'dir' is not known ('none', 'lvm', 'btrfs')
usage: lxc-create -n <name> [-f configuration] [-t template] [-h] -- [template_options]
usage: lxc-create -n <name> [-f configuration] [-t template] [-h] [fsopts] -- [template_options]
fsopts: -B none
fsopts: -B lvm [--lvname lvname] [--vgname vgname] [--fstype fstype] [--fssize fssize]
fsopts: -B btrfs
flag is not necessary, if possible btrfs support will be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment