This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if ! defined(Package['python-pip']) { | |
| package { 'python-pip': | |
| ensure => present, | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| FAIL: tempest.tests.compute.servers.test_server_addresses.ServerAddressesTestXML.test_list_server_addresses[smoke] | |
| ---------------------------------------------------------------------- | |
| _StringException: Traceback (most recent call last): | |
| File "/var/lib/tempest/tempest/tests/compute/servers/test_server_addresses.py", line 57, in test_list_server_addresses | |
| self.assertTrue(len(addresses) >= 1) | |
| File "/usr/lib/python2.7/unittest/case.py", line 420, in assertTrue | |
| raise self.failureException(msg) | |
| AssertionError: False is not true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class coi::profiles::service( | |
| mq_client = 'rabbitmq', | |
| db_client = 'mysql', | |
| plugin = 'iscsi', | |
| ) { | |
| include coi::profiles::service::base | |
| include "coi::profiles::service::mq_client::${mq_client}" | |
| include "coi::profiles::service::plugin::${plugin}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Example 2 - Specifying plugins externally | |
| In this example, each component is simply passed the plugins that are used, and these plugins are marked as dependencies. I tried this example with swift (in swift, unlike the other plugin module, each swift service is configured as a pipeline of N-plugins) | |
| https://github.com/stackforge/puppet-swift/blob/master/manifests/proxy.pp#L89 | |
| https://github.com/stackforge/puppet-swift/blob/master/manifests/proxy.pp#L106 | |
| 1. Now the user must specify each element configured in the pipeline |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| FAILURE: | |
| # apt-get install puppet=3.2.2-1puppetlabs1 | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| Some packages could not be installed. This may mean that you have | |
| requested an impossible situation or if you are using the unstable | |
| distribution that some required packages have not yet been created | |
| or been moved out of Incoming. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package { 'puppet': | |
| ensure => '3.2.2-1puppetlabs1', | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| The following packages have unmet dependencies: | |
| puppet : Depends: puppet-common (= 3.2.2-1puppetlabs1) but 3.2.3-1puppetlabs1 is to be installed | |
| E: Unable to correct problems, you have held broken packages. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 3000 Found link https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz#md5=767bca18a71178ca353dff9e10941929 (from http s://pypi.python.org/simple/pyOpenSSL/), version: 0.13 | |
| 3001 Found link https://launchpadlibrarian.net/58498441/pyOpenSSL-0.11.tar.gz#md5=9e76e57e00fa48745fcfe23944db1e6c (from https://pypi.pyt hon.org/simple/pyOpenSSL/), version: 0.11 | |
| 3002 Using version 0.13 (newest of versions: 0.13, 0.12, 0.11, 0.10, 0.9, 0.8, 0.7, 0.6) | |
| 3003 Error <urlopen error timed out> while getting https://pypi.python.org/packages/source/p/pyOpenSSL/pyOpenSSL-0.13.tar.gz#md5=767bca18a7 1178ca353dff9e10941929 (from https://pypi.python.org/simple/pyOpenSSL/) | |
| 3004 | |
| 3005 Exception: | |
| 3006 Traceback (most recent call last): | |
| 3007 File "/var/lib/tempest/.tox/pep8/local/lib/python2.7/site-packages/pip-1.3.1-py2.7.egg/pip/basecommand.py", line 139, in main | |
| 3008 status = self.run(options, args) | |
| 3009 File "/var/lib/tempest/.tox/pep8/local/lib/python2.7/site-packages/pip-1.3.1-py2.7. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # tox | |
| GLOB sdist-make: /var/lib/tempest/setup.py | |
| pep8 create: /var/lib/tempest/.tox/pep8 | |
| pep8 installdeps: -r/var/lib/tempest/requirements.txt, -r/var/lib/tempest/test-requirements.txt | |
| Connection to 127.0.0.1 closed by remote host. | |
| Connection to 127.0.0.1 closed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pip install virtualenv | |
| virtualenv test_env --system-site-packages | |
| source test_env/bin/activate | |
| pip install -I anyjson nose httplib2 pika unittest2 lxml testtools testresources paramiko | |
| ./run_tests.sh $* |