Cloudify 3.3-Openstack:SSL3\u获取\u服务器\u证书:证书验证失败

Cloudify 3.3-Openstack:SSL3\u获取\u服务器\u证书:证书验证失败,openstack,cloudify,cloudify-script-plugin,Openstack,Cloudify,Cloudify Script Plugin,我正在尝试使用HTTPS连接将Cloudify管理器创建到带有Keystone的OpenStack中 当我执行命令时: cfy bootstrap--安装插件-p/path/to/manager/blueprint/file-i/path/to/inputs/yaml/file 我收到以下错误: 引发异常。SslCertificateValidationError(原因=e) SslCertificateValidationError:SSL证书验证失败:[Errno 1]\u SSL.c:50

我正在尝试使用HTTPS连接将Cloudify管理器创建到带有Keystone的OpenStack中

当我执行命令时:

cfy bootstrap--安装插件-p/path/to/manager/blueprint/file-i/path/to/inputs/yaml/file

我收到以下错误:

引发异常。SslCertificateValidationError(原因=e) SslCertificateValidationError:SSL证书验证失败:[Errno 1]\u SSL.c:504:错误:14090086:SSL例程:SSL3\u获取\u服务器\u证书:证书验证失败 2016-01-29 09:50:58 CFY[external_network_5bbde.creation]任务失败“中子插件.网络.创建_validation”->SSL证书验证失败:[错误号1]_SSL.c:504:错误:14090086:SSL例程:SSL3_获取_服务器_证书:证书验证失败[尝试1/6]


我应该怎么做才能解决这个问题?

看来您的keystone SSL证书有问题

您应该将证书导入CLI计算机

或者,您可以在引导前尝试运行:

export CLOUDIFY_SSL_TRUST_ALL=true; 

我解决了在OpenStack蓝图的dsl_定义中插入:

dsl_definitions: 
 openstack_configuration: &openstack_configuration
  username: { get_input: keystone_username }
  password: { get_input: keystone_password }
  tenant_name: { get_input: keystone_tenant_name }
  auth_url: { get_input: keystone_url }
  region: { get_input: region }
  nova_url: { get_input: nova_url }
  neutron_url: { get_input: neutron_url }
声明如下:

custom_configuration:
 nova_client:
  insecure: true
 keystone_client:
  insecure: true
 neutron_client:
  insecure: true
 cinder_client:
  insecure: true
最终结果是:

dsl_definitions:
 openstack_configuration: &openstack_configuration
  username: { get_input: keystone_username }
  password: { get_input: keystone_password }
  tenant_name: { get_input: keystone_tenant_name }
  auth_url: { get_input: keystone_url }
  region: { get_input: region }
  nova_url: { get_input: nova_url }
  neutron_url: { get_input: neutron_url }
  custom_configuration:
   nova_client:
    insecure: true
   keystone_client:
    insecure: true
   neutron_client:
    insecure: true
   cinder_client:
    insecure: true