test-kitchen / kitchen-openstack

OpenStack Compute driver for Test-Kitchen
Other
56 stars 77 forks source link

fog-openstack 0.3.1 compatibility #190

Closed ymasson closed 4 years ago

ymasson commented 6 years ago

Namespace change in fog-core 2+ and fog-openstack 0.3.1+ #189

I do not know if these changes are enough. Help needed, Thanks

Yann

coveralls commented 6 years ago

Coverage Status

Coverage decreased (-0.04%) to 98.188% when pulling e87a57d0a9ff1da5ce6d02f8a575826d2b6f4f26 on ymasson:fog_namespace into 0f715a95d6b56271b409e7e37966a724149d42bd on test-kitchen:master.

ymasson commented 6 years ago

Apparently, my changes break something

root@5b4e2fc24ab1:/tmp/role-to-test# kitchen create default-debian9
-----> Starting Kitchen (v1.23.2)
-----> Creating <default-debian9>...
[fog][DEPRECATION] Unable to require fog/openstack/compute
[fog][DEPRECATION] The format fog/compute/openstack is deprecated
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>>     Create failed on instance <default-debian9>.  Please see .kitchen/logs/default-debian9.log for more details
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
I, [2018-09-18T15:01:26.732524 #444]  INFO -- default-debian9: -----> Creating <default-debian9>...
E, [2018-09-18T15:01:26.736253 #444] ERROR -- default-debian9: Create failed on instance <default-debian9>.
E, [2018-09-18T15:01:26.736343 #444] ERROR -- default-debian9: ------Exception-------
E, [2018-09-18T15:01:26.736364 #444] ERROR -- default-debian9: Class: Kitchen::ActionFailed
E, [2018-09-18T15:01:26.736379 #444] ERROR -- default-debian9: Message: openstack has no compute service
E, [2018-09-18T15:01:26.736391 #444] ERROR -- default-debian9: ----------------------
E, [2018-09-18T15:01:26.736404 #444] ERROR -- default-debian9: ------Backtrace-------
E, [2018-09-18T15:01:26.736416 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/kitchen-openstack-3.6.2/lib/kitchen/driver/openstack.rb:103:in `rescue in create'
E, [2018-09-18T15:01:26.736429 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/kitchen-openstack-3.6.2/lib/kitchen/driver/openstack.rb:77:in `create'
E, [2018-09-18T15:01:26.736470 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:484:in `public_send'
E, [2018-09-18T15:01:26.736484 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:484:in `block in perform_action'
E, [2018-09-18T15:01:26.736496 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:551:in `synchronize_or_call'
E, [2018-09-18T15:01:26.736509 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:513:in `block in action'
E, [2018-09-18T15:01:26.736525 #444] ERROR -- default-debian9: /usr/lib/ruby/2.3.0/benchmark.rb:293:in `measure'
E, [2018-09-18T15:01:26.736539 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:512:in `action'
E, [2018-09-18T15:01:26.736551 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:484:in `perform_action'
E, [2018-09-18T15:01:26.736564 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:394:in `create_action'
E, [2018-09-18T15:01:26.736577 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:382:in `block (2 levels) in transition_to'
E, [2018-09-18T15:01:26.736590 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/lifecycle_hooks.rb:45:in `run_with_hooks'
E, [2018-09-18T15:01:26.736602 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:381:in `block in transition_to'
E, [2018-09-18T15:01:26.736615 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:380:in `each'
E, [2018-09-18T15:01:26.736627 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:380:in `transition_to'
E, [2018-09-18T15:01:26.736639 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/instance.rb:162:in `verify'
E, [2018-09-18T15:01:26.736657 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:197:in `public_send'
E, [2018-09-18T15:01:26.736670 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:197:in `run_action_in_thread'
E, [2018-09-18T15:01:26.736683 #444] ERROR -- default-debian9: /var/lib/gems/2.3.0/gems/test-kitchen-1.23.2/lib/kitchen/command.rb:169:in `block (2 levels) in run_action'
E, [2018-09-18T15:01:26.736696 #444] ERROR -- default-debian9: ----End Backtrace-----
tas50 commented 4 years ago

I did the same thing, but updated the tests in #202. Sorry this took so long.