Hi Guys,
This is the 1st time i'm using the vsphere-plugin (also added cloudify-vsphere-plugin ver. 2.15.1)
i created the following secrets for my on-prem environment as follow:
and now i want to create my 1st blueprint - simple vm deploy from template.
i tried to use the sample vsphere-bluperint and set it to my needs without success:
tosca_definitions_version: cloudify_dsl_1_3
description: >
This Blueprint installs the nodecellar application
on an vsphere environment.
imports:
Hi Guys, This is the 1st time i'm using the vsphere-plugin (also added cloudify-vsphere-plugin ver. 2.15.1) i created the following secrets for my on-prem environment as follow:
and now i want to create my 1st blueprint - simple vm deploy from template.
i tried to use the sample vsphere-bluperint and set it to my needs without success:
tosca_definitions_version: cloudify_dsl_1_3
description: > This Blueprint installs the nodecellar application on an vsphere environment. imports:
#####################################################################################
inputs section allows the user to use same
blueprint for creating different deployments, each one
with its own parameters.
to specify deployment inputs run:
- cfy deployments create -b -i inputs.json
#####################################################################################
external_network: type: cloudify.vsphere.nodes.Network properties:
example_server: type: cloudify.vsphere.nodes.Server properties: networking: domain: domain.local dns_servers: ['10.0.0.215'] connected_networks:
name: VM Network_DSwitch management: true switch_distributed: false use_dhcp: true server: name: cloudify_server_test template: WinServer2012R2Clean cpus: 2 memory: 2048
when i'm trying to upload the blueprint i'm getting the following error:
Errors in the form Invalid blueprint - 'external_network' is not in schema. Valid schema values: ['relationships', 'inputs', 'description', 'node_types', 'imports', 'workflows', 'namespaces_mapping', 'capabilities', 'dsl_definitions', 'node_templates', 'data_types', 'outputs', 'groups', 'plugins', 'policies', 'tosca_definitions_version', 'imported_blueprints', 'policy_triggers', 'policy_types', 'metadata'] in: /opt/manager/resources/blueprint.yaml-9241d8e1-3043-4e4b-b252-1d50bb58acb5/blueprint.yaml in line: 3, column: 0 path: external_network value: {'type': 'cloudify.vsphere.nodes.Network', 'properties': {'connection_config': {'username': {'get_secret': 'vsphere_username'}, 'host': {'get_secret': 'vcenter_hostname_or_ip'}, 'password': {'get_secret': 'vcenter_password'}, 'datacenter_name': {'get_secret': 'datacenter_name'}}}}
if anyone can guide me with simple on-prem vsphere deployment and what i'm missing here i will really appreciate that.
Thanks in advance, Yishai.