厨房聚合时厨房 - openstack ssl错误

时间:2016-03-24 20:30:36

标签: test-kitchen

当尝试厨房收集厨房 - openstack接收SSL错误,如下所示,我尝试了多个ruby版本,并在kitchen-openstack项目中提到错误是用ruby版本2.1.2修复的,但即使使用了最新版本此问题仍然存在。

https://github.com/test-kitchen/kitchen-openstack/blob/master/CHANGELOG.md

v3.0.0.pre.1 (2016-02-12)

Full Changelog

Closed issues:

transport#username is not working for me #135
kitchen-openstack unable to retrieve network information #134
Password value in transport is not used in driver #133
SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read server hello A (OpenSSL::SSL::SSLError) #132
Volume: create new, attach existing, make from snapshot (seems not working) #131
Boot from Image (into new volume) #130
Put the yml files for each instance in .kitchen/kitchen-openstack #116

错误消息:

[root@dev01 workspace]# kitchen converge
-----> Starting Kitchen (v1.6.0)
-----> Creating <default-ubuntu-1404>...
>>>>>> Create failed on instance <default-ubuntu-1404>.
>>>>>> Please see .kitchen/logs/default-ubuntu-1404.log for more details
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: SSL_connect SYSCALL returned=5 errno=0 state=SSLv2/v3 read 
server hello A (OpenSSL::SSL::SSLError)
>>>>>> ----------------------
[root@dev01 workspace]#

安装了Ruby版本和其他宝石:

[root@dev01 workspace]# ruby --version
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
[root@dev01 workspace]# gem list | egrep 'berkshelf|kitchen|openssl'
berkshelf (4.3.1)
berkshelf-api-client (2.0.2)
kitchen-ec2 (1.0.0)
kitchen-openstack (3.0.0)
openssl (0.2.0)
ruby-hmac-openssl (0.1.0)
rubysl-openssl (2.8.0)
test-kitchen (1.6.0)
[root@dev01 workspace]#

Kitchen.yml文件

[root@dev01 workspace]# cat .kitchen.yml

---
driver:
  name: openstack
  openstack_username: xxxxxxx
  openstack_api_key: xxxxxx # OpenStack Password
  openstack_auth_url: https://xxxxxxxx:5000/v2.0/tokens
  openstack_tenant: testing
  disable_ssl_validation: true
  require_chef_omnibus: true
  image_ref:  ova-ubuntu1404
  flavor_ref: m1.small
  network_ref: net1
  key_name: key_1
  private_key_path: /var/lib/jenkins/.ssh/key_1.pem
  public_key_path: /var/lib/jenkins/.ssh/key_1.pub
  security_groups:
  - ssh-in

transport:
  ssh_key: /var/lib/jenkins/.ssh/key_1.pem
  username: ubuntu

provisioner:
  name: chef_solo
  http_proxy: http://proxy.aimsnew.com:80
  https_proxy: http://proxy.aimsnew.com:80

platforms:
  - name: ubuntu-14.04

suites:
  - name: default
    run_list:
      - recipe[test01::default]
    attributes:
[root@dev01 workspace]#

0 个答案:

没有答案