Hi All,
I have this blueprint.yaml which basically created a network with subnet.
tosca_definitions_version: cloudify_dsl_1_3
imports:
- '
http://www.getcloudify.org/spec/cloudify/4.4/types.yaml'
- 'plugin:cloudify-openstack-plugin?version=2.9.6&distribution=redhat'
description: |
Create sathia openstack network and subnet.
inputs:
username:
description: OS_USERNAME as specified in Openstack RC file.
default:
get_secret: keystone_username
password:
description: Openstack user password.
default:
get_secret: keystone_password
tenant_name:
description: OS_TENANT_NAME as specified in Openstack RC file.
default:
get_secret: keystone_tenant_name
auth_url:
description: OS_AUTH_URL as specified in Openstack RC file.
default:
get_secret: keystone_url
region:
description: OS_REGION_NAME as specified in Openstack RC file.
default:
get_secret: keystone_region
node_templates:
myNetwork1:
type: cloudify.openstack.nodes.Network
capabilities:
scalable:
properties:
default_instances: 1
properties:
resource_id: my_network_sathias1
openstack_config:
username:
get_input: username
password:
get_input: password
tenant_name:
get_input: tenant_name
auth_url:
get_input: auth_url
region:
get_input: region
create_if_missing: true
mySubnet1:
type: cloudify.openstack.nodes.Subnet
relationships:
- type: cloudify.relationships.contained_in
target: myNetwork1
capabilities:
scalable:
properties:
default_instances: 1
properties:
resource_id: my_subnet_sathias1
openstack_config:
username:
get_input: username
password:
get_input: password
tenant_name:
get_input: tenant_name
auth_url:
get_input: auth_url
region:
get_input: region
create_if_missing: true
dsl_definitions:
client_config:
username:
get_input: username
password:
get_input: password
tenant_name:
get_input: tenant_name
auth_url:
get_input: auth_url
region:
get_input: region
custom_configuration:
nova_client:
insecure: true
keystone_client:
insecure: true
neutron_client:
insecure: true
cinder_client:
insecure: true
The error I am getting,
2018-09-06 04:27:54,756:INFO: [a16089c5-6815-40c9-a38a-5794c3f30855] Starting 'install' workflow execution
2018-09-06 04:27:55,021:INFO: [a16089c5-6815-40c9-a38a-5794c3f30855] Creating node
2018-09-06 04:27:55,119:INFO: [a16089c5-6815-40c9-a38a-5794c3f30855] Sending task 'neutron_plugin.network.create'
2018-09-06 04:27:55,320:INFO: [a16089c5-6815-40c9-a38a-5794c3f30855] Task started 'neutron_plugin.network.create'
2018-09-06 04:27:56,263:WARNING: Failed to discover available identity versions when contacting
https://10.173.120.110:13000/v3. Attempting to parse version from URL.
2018-09-06 04:27:56,546:ERROR: Task neutron_plugin.network.create[198f5e8d-95ac-4ec7-b04d-dd69b4d2842b] raised:
Traceback (most recent call last):
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 669, in main
payload = handler.handle()
File "/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py", line 411, in handle
result = self.func(*self.args, **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/openstack_plugin_common/__init__.py", line 882, in wrapper
return f(*args, **kw)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutron_plugin/network.py", line 52, in create
{NETWORK_OPENSTACK_TYPE: network})[NETWORK_OPENSTACK_TYPE]
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 772, in create_network
return
self.post(self.networks_path, body=body)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 365, in post
headers=headers, params=params)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 288, in do_request
resp, replybody = self.httpclient.do_request(action, method, body=body)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/client.py", line 310, in do_request
self._check_uri_length(url)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/client.py", line 303, in _check_uri_length
uri_len = len(self.endpoint_url) + len(url)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/neutronclient/client.py", line 317, in endpoint_url
return self.get_endpoint()
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/adapter.py", line 193, in get_endpoint
return self.session.get_endpoint(auth or self.auth, **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/session.py", line 856, in get_endpoint
return auth.get_endpoint(self, **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 215, in get_endpoint
service_catalog = self.get_access(session).service_catalog
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access
self.auth_ref = self.get_auth_ref(session)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref
return self._plugin.get_auth_ref(session, **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref
authenticated=False, log=False, **rkwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post
return self.request(url, 'POST', **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/positional/__init__.py", line 108, in inner
return wrapped(*args, **kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/session.py", line 616, in request
resp = send(**kwargs)
File "/opt/mgmtworker/env/plugins/Sathia/cloudify-openstack-plugin-2.9.6/lib/python2.7/site-packages/keystoneauth1/session.py", line 678, in _send_request
raise exceptions.SSLError(msg)
SSLError: SSL exception connecting to
https://10.173.120.110:13000/v3/auth/tokens: HTTPSConnectionPool(host='10.173.120.110', port=13000): Max retries exceeded with url: /v3/auth/tokens (Caused by SSLError(SSLError(1, u'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:579)'),))
Screenshots from cloudify console is attached. Also with the inputs used.