This file contains 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
--- | |
driver: | |
name: openstack | |
openstack_username: 'testkitchen' | |
openstack_api_key: 'testkitchen' | |
openstack_auth_url: 'http://10.123.115.21:5000/v2.0/tokens' | |
openstack_tenant: 'Chef Project' | |
network_ref: prod1-net2 | |
require_chef_omnibus: false | |
key_name: testkitchen |
This file contains 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
[2015-10-17T20:17:38+01:00] DEBUG: providers that refused resource service[tomcat@instance1] were: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that support resource service[tomcat@instance1] include: [Chef::Provider::Service::Systemd] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that survived replacement include: [Chef::Provider::Service::Systemd] | |
[2015-10-17T20:17:38+01:00] DEBUG: service[tomcat@instance1] already running - nothing to do | |
(up to date) | |
(up to date) | |
* mw-tomcat_selinux[tomcat-examples-instance1] action create[2015-10-17T20:17:38+01:00] INFO: Processing mw-tomcat_selinux[tomcat-examples-instance1] action create (/var/chef/cach | |
e/cookbooks/mw-tomcat/providers/default.rb line 95) | |
[2015-10-17T20:17:38+01:00] DEBUG: providers for generic mw-tomcat_selinux resource enabled on node include: [] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that refused resource mw-tomcat_selinux[tomcat-examples-instance1] were: [] |
This file contains 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
bash-4.3$ kitchen verify default-centos-66-chef-11 | |
-----> Starting Kitchen (v1.4.2) | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here | |
-----> Converging <default-centos-66-chef-11>... | |
Preparing files for transfer | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 4.0.1... | |
Removing non-cookbook files before transfer | |
Preparing validation.pem |
This file contains 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
* selinux_policy_port[8029] action addormodify | |
Recipe: selinux_policy::helper_scripts | |
* remote_directory[/var/chef/cache/selinux_policy/helper_scripts] action create | |
Recipe: <Dynamically Defined Resource> | |
* cookbook_file[/var/chef/cache/selinux_policy/helper_scripts/port_locate.py] action create | |
- update content in file /var/chef/cache/selinux_policy/helper_scripts/port_locate.py from 56fc8f to ed1da3 | |
--- /var/chef/cache/selinux_policy/helper_scripts/port_locate.py 2015-10-11 20:44:27.410039803 +0100 | |
+++ /var/chef/cache/selinux_policy/helper_scripts/.port_locate.py20151011-32335-yvsok0 2015-10-11 21:10:48.229041347 +0100 | |
@@ -34,7 +34,7 @@ |
This file contains 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
* mw-tomcat_selinux[tomcat-examples-instance2] action create | |
* selinux_policy_port[8029] action addormodify | |
Recipe: selinux_policy::helper_scripts | |
* remote_directory[/var/chef/cache/selinux_policy/helper_scripts] action create | |
Recipe: <Dynamically Defined Resource> | |
* cookbook_file[/var/chef/cache/selinux_policy/helper_scripts/port_locate.py] action create (up to date) | |
(up to date) | |
* execute[selinux-port-8029-addormodify] action run | |
================================================================================ |
This file contains 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
$ kitchen verify | |
-----> Starting Kitchen (v1.4.2) | |
-----> Setting up <default-centos-65>... | |
Finished setting up <default-centos-65> (0m0.00s). | |
-----> Verifying <default-centos-65>... | |
Preparing files for transfer | |
-----> Installing Busser (busser) | |
ERROR: Could not find a valid gem 'busser' (>= 0), here is why: | |
Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Connection timed out - connect(2) for "api.rubygems.org" port 443 (https://api.rubygems.org/specs.4.8.gz) | |
sh: line 23: /tmp/verifier/gems/bin/busser: No such file or directory |
This file contains 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
$ diff -u openstack.rb.orig openstack.rb | |
--- openstack.rb.orig 2015-10-02 15:55:50.275001569 +0100 | |
+++ openstack.rb 2015-10-02 16:33:21.998001380 +0100 | |
@@ -102,7 +102,7 @@ | |
elsif config[:floating_ip_pool] | |
attach_ip_from_pool(server, config[:floating_ip_pool]) | |
end | |
- wait_for_server(state) | |
+ #wait_for_server(state) | |
setup_ssh(server, state) if bourne_shell? |
This file contains 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
$ kitchen create -l debug | |
-----> Starting Kitchen (v1.4.2) | |
D Berksfile found at /apps/home/quickedw/barcmw-chef-repo/cookbooks/tomcat-examples/Berksfile, loading Berkshelf | |
D Berkshelf 3.2.4 library loaded | |
-----> Creating <default-centos-65>... | |
D Selected image: a106113e-b506-4a80-8db8-c40993fb9ca4 rhel6-650-dev-00 | |
D Selected flavor: edce228b-e5ba-436b-856e-75e00ffaea23 linux_dev_burst.s1 | |
D Selected net: c006d56e-e7ab-4851-96f1-20e958758c9c nonprod1-net1 | |
OpenStack instance with ID of <b07088c1-351c-4c6c-96b1-6552b04d6e74> is ready. | |
D Using configured net: nonprod1-net1 |
This file contains 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
$ cat .kitchen.yml | |
--- | |
driver: | |
name: openstack | |
openstack_username: | |
openstack_api_key: | |
openstack_auth_url: | |
openstack_tenant: 'StEng' | |
network_ref: nonprod1-net1 | |
private_key_path: /home/quickedw/.ssh/engpsr001 |
This file contains 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
$ kitchen verify -l debug | |
-----> Starting Kitchen (v1.4.2) | |
D Berksfile found at /apps/home/quickedw/barcmw-chef-repo/cookbooks/tomcat-examples/Berksfile, loading Berkshelf | |
D Berkshelf 3.2.4 library loaded | |
-----> Creating <default-centos-65>... | |
D Selected image: a106113e-b506-4a80-8db8-c40993fb9ca4 rhel6-650-dev-00 | |
D Selected flavor: edce228b-e5ba-436b-856e-75e00ffaea23 linux_dev_burst.s1 | |
D Selected net: c006d56e-e7ab-4851-96f1-20e958758c9c nonprod1-net1 | |
OpenStack instance with ID of <b8b410aa-5663-4713-95ef-4060027d574f> is ready. | |
>>>>>> Server (b8b410aa-5663-4713-95ef-4060027d574f) not reachable. Destroying server... |