You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ревод
Hello! I use yorc to work with openstack. Faced a problem. In the topology (csar archive) I use the get_input function to get the parameter. The value in the boot_volume is not loaded properly, instead of the uuid and volume_type identifier there is
"{"get_input":"image_id"}". For params like name, flavor its ok. After that, the terraform crashes because it receives an invalid parameter. Here is my question is it related to yorc or is it a terraform problem. Below is the part of the topology in which there is a problem.
"
Compute:
type: yorc.nodes.rustack.Compute
properties:
name: { get_input: compute_name}
boot_volume:
delete_on_termination: true
source: image
destination: volume
size: 5 GB
volume_type: { get_input: volume_type_id }
uuid: { get_input: image_id }
flavor: { get_input: flavor_id }
key_pair: paas
security_groups: b19d5fbc-b787-4590-9e43-71785344166c
requirements:
- network:
type_requirement: network
node: Network
capability: tosca.capabilities.Connectivity
relationship: tosca.relationships.Network
capabilities:
endpoint:
properties:
credentials:
user: fedora
token_type: key
keys:
yorc: ""
secure: true
protocol: tcp
network_name: PRIVATE
network_id: 12578356-6f6b-491f-b727-924c613d8abe
initiator: source
scalable:
properties:
min_instances: 1
max_instances: 1
default_instances: 1
"
and part of the log from terraforms where you can see that the parameter does not come
` + access_ip_v4 = (known after apply)
+ access_ip_v6 = (known after apply)
+ all_metadata = (known after apply)
+ all_tags = (known after apply)
+ availability_zone = (known after apply)
+ created = (known after apply)
+ flavor_id = "ec70bcf4-15a4-4a02-a9fa-00aca8a14538"
+ flavor_name = (known after apply)
+ force_delete = false
+ id = (known after apply)
+ image_id = (known after apply)
+ image_name = (known after apply)
+ key_pair = "paas"
+ name = "my-custom-name-compute-0-151ae14f"
+ power_state = "active"
+ region = "RegionOne"
+ security_groups = [
+ "allow_all",
+ "b19d5fbc-b787-4590-9e43-71785344166c",
]
+ stop_before_destroy = false
+ updated = (known after apply)
Your question goes there
ревод
Hello! I use yorc to work with openstack. Faced a problem. In the topology (csar archive) I use the get_input function to get the parameter. The value in the boot_volume is not loaded properly, instead of the uuid and volume_type identifier there is
"{"get_input":"image_id"}". For params like name, flavor its ok. After that, the terraform crashes because it receives an invalid parameter. Here is my question is it related to yorc or is it a terraform problem. Below is the part of the topology in which there is a problem.
"
Compute:
type: yorc.nodes.rustack.Compute
properties:
name: { get_input: compute_name}
boot_volume:
delete_on_termination: true
source: image
destination: volume
size: 5 GB
volume_type: { get_input: volume_type_id }
uuid: { get_input: image_id }
flavor: { get_input: flavor_id }
key_pair: paas
security_groups: b19d5fbc-b787-4590-9e43-71785344166c
requirements:
- network:
type_requirement: network
node: Network
capability: tosca.capabilities.Connectivity
relationship: tosca.relationships.Network
capabilities:
endpoint:
properties:
credentials:
user: fedora
token_type: key
keys:
yorc: ""
secure: true
protocol: tcp
network_name: PRIVATE
network_id: 12578356-6f6b-491f-b727-924c613d8abe
initiator: source
scalable:
properties:
min_instances: 1
max_instances: 1
default_instances: 1
"
and part of the log from terraforms where you can see that the parameter does not come
` + access_ip_v4 = (known after apply)
+ access_ip_v6 = (known after apply)
+ all_metadata = (known after apply)
+ all_tags = (known after apply)
+ availability_zone = (known after apply)
+ created = (known after apply)
+ flavor_id = "ec70bcf4-15a4-4a02-a9fa-00aca8a14538"
+ flavor_name = (known after apply)
+ force_delete = false
+ id = (known after apply)
+ image_id = (known after apply)
+ image_name = (known after apply)
+ key_pair = "paas"
+ name = "my-custom-name-compute-0-151ae14f"
+ power_state = "active"
+ region = "RegionOne"
+ security_groups = [
+ "allow_all",
+ "b19d5fbc-b787-4590-9e43-71785344166c",
]
+ stop_before_destroy = false
+ updated = (known after apply)
`
@ystia/yorc-dev
The text was updated successfully, but these errors were encountered: