-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
Hi.
I have an issue when trying to create a kitchen via openstack if I set the block_device_mapping. Without device_mapping, the vm is created fine and chef ran successfully.
When I set device_mapping, the volume is created, the vm is cloned, but just after it finish I looks like vmware rollback the operation and is destroyed. After that, kitchen fail with timeout.
Openstack show the volume attached to the vm.
Any help is appreciated.
Here is my config:
---
driver:
name: openstack
openstack_username: user
openstack_api_key: pass
openstack_domain_name: MYDOMAIN
openstack_auth_url: http://ip:5000/v3/auth/tokens
openstack_tenant: All_regions
openstack_region: VMWARE_REGION
availability_zone: STAGE
network_ref: dd0fd606-9beb-41e6-9255-33c45e254ce7
image_ref: PT-ORACLEDB
flavor_ref: Linux_1C_6M_30H_N2
server_name: kitchen_oracle
block_device_mapping:
device_name: sdb
volume_type: STAGE
volume_size: 30
delete_on_termination: true
availability_zone: STAGE
creation_timeout: 1200
make_volume: trueHere is the log:
W, [2019-01-21T19:59:46.636281 #12230] WARN -- default-redhat74: Deprecated configuration detected:
chef_omnibus_url
Run 'kitchen doctor' for details.
D, [2019-01-21T19:59:46.636485 #12230] DEBUG -- default-redhat74: Berksfile found at /Documentos/Proyectos/chef-repo/cookbooks/oracle_ibm/Berksfile, loading Berkshelf
D, [2019-01-21T19:59:47.787781 #12230] DEBUG -- default-redhat74: Berkshelf 7.0.4 library loaded
I, [2019-01-21T19:59:52.087831 #12230] INFO -- default-redhat74: -----> Creating <default-redhat74>...
D, [2019-01-21T19:59:53.908936 #12230] DEBUG -- default-redhat74: Selected image: 5c638e85-38b4-422e-ac74-649a69a5acd3 PT-26Ene2018
D, [2019-01-21T19:59:54.987386 #12230] DEBUG -- default-redhat74: Selected flavor: 941820f3-7307-42ca-b905-59e4f682db1c Linux_1C_6M_30H_N2
D, [2019-01-21T19:59:56.096908 #12230] DEBUG -- default-redhat74: Selected net: dd0fd606-9beb-41e6-9255-33c45e254ce7 DES-VLAN
I, [2019-01-21T19:59:56.097392 #12230] INFO -- default-redhat74: Creating Volume...
D, [2019-01-21T19:59:58.482898 #12230] DEBUG -- default-redhat74: Waiting for volume to be ready for 1200 seconds
D, [2019-01-21T20:02:11.932458 #12230] DEBUG -- default-redhat74: Volume Ready
I, [2019-01-21T20:02:15.300863 #12230] INFO -- default-redhat74: OpenStack instance with ID of <6a149a29-313a-4fe1-8437-89f88d09561d> is ready.
D, [2019-01-21T20:02:15.301021 #12230] DEBUG -- default-redhat74: Waiting for VM to be in ACTIVE state for a max time of:600 seconds
E, [2019-01-21T20:12:39.340442 #12230] ERROR -- default-redhat74: Create failed on instance <default-redhat74>.
E, [2019-01-21T20:12:39.340602 #12230] ERROR -- default-redhat74: ------Exception-------
E, [2019-01-21T20:12:39.340637 #12230] ERROR -- default-redhat74: Class: Kitchen::ActionFailed
E, [2019-01-21T20:12:39.340657 #12230] ERROR -- default-redhat74: Message: The specified wait_for timeout (600 seconds) was exceeded
E, [2019-01-21T20:12:39.340676 #12230] ERROR -- default-redhat74: ----------------------
E, [2019-01-21T20:12:39.340694 #12230] ERROR -- default-redhat74: ------Backtrace-------
E, [2019-01-21T20:12:39.340711 #12230] ERROR -- default-redhat74: /.chefdk/gem/ruby/2.5.0/gems/kitchen-openstack-3.6.2/lib/kitchen/driver/openstack.rb:103:in `rescue in create'
E, [2019-01-21T20:12:39.340729 #12230] ERROR -- default-redhat74: /.chefdk/gem/ruby/2.5.0/gems/kitchen-openstack-3.6.2/lib/kitchen/driver/openstack.rb:76:in `create'
E, [2019-01-21T20:12:39.340748 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:469:in `public_send'
E, [2019-01-21T20:12:39.340766 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:469:in `block in perform_action'
E, [2019-01-21T20:12:39.340784 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:536:in `synchronize_or_call'
E, [2019-01-21T20:12:39.340803 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:498:in `block in action'
E, [2019-01-21T20:12:39.340839 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/2.5.0/benchmark.rb:293:in `measure'
E, [2019-01-21T20:12:39.340890 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:497:in `action'
E, [2019-01-21T20:12:39.340923 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:469:in `perform_action'
E, [2019-01-21T20:12:39.340943 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:379:in `create_action'
E, [2019-01-21T20:12:39.340961 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:368:in `block in transition_to'
E, [2019-01-21T20:12:39.340979 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:367:in `each'
E, [2019-01-21T20:12:39.341005 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:367:in `transition_to'
E, [2019-01-21T20:12:39.341024 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/instance.rb:135:in `converge'
E, [2019-01-21T20:12:39.341042 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/command.rb:197:in `public_send'
E, [2019-01-21T20:12:39.341059 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/command.rb:197:in `run_action_in_thread'
E, [2019-01-21T20:12:39.341076 #12230] ERROR -- default-redhat74: /opt/chefdk/embedded/lib/ruby/gems/2.5.0/gems/test-kitchen-1.22.0/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
E, [2019-01-21T20:12:39.341093 #12230] ERROR -- default-redhat74: ----End Backtrace-----
E, [2019-01-21T20:12:39.341110 #12230] ERROR -- default-redhat74: ---Nested Exception---
E, [2019-01-21T20:12:39.341127 #12230] ERROR -- default-redhat74: Class: Fog::Errors::TimeoutError
E, [2019-01-21T20:12:39.341143 #12230] ERROR -- default-redhat74: Message: The specified wait_for timeout (600 seconds) was exceeded
E, [2019-01-21T20:12:39.341160 #12230] ERROR -- default-redhat74: ----------------------
Metadata
Metadata
Assignees
Labels
No labels