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
When a4c sends a task "compute install" to yorc, yorc creates a VM and SSH to the VM for checking connection. However, when the VM is created successfully, but the checking connection is not finished (due to several reasons below), we have the following inconsistent state: On the cloud provider side, the VM is created. In the state machine, the VM is not created.
When users undeploy the application, the task "compute uninstall" is considered as successfully, the workflow continues to uninstall another dependent cloud resources (e.g., networks). However, the cloud provider cannot delete these resources since the VM is still there. As a result, the uninstall workflow never completes.
The SSH connection check may fail due to several reasons:
cloud-init may fail to get metadata server to setup the VM's NIC or the public key (this is an issue from the cloud provider side, but it may happen from time to time in OpenStack).
the user image to boot the VM may have some issues during bootstrap.
Expected behavior
The uninstall workflow deletes all resources and completes.
Actual behavior
The uninstall workflow considers the compute uninstall step as successful and does not delete the compute.
Steps to reproduce the issue
Create a topology with one compute node, network node.
Waiting until the compute is created on the cloud provider and is being booted.
Click un-deploy.
Additional information you deem important (e.g. issue happens only occasionally)
Happen always
Output of yorc version
current develop
Priority
Medium.
A workaround is that users delete the VM on the cloud provider manually so that the undeployment process can complete.
Discussion
We may split the compute creation in two steps: compute create and compute start for a better error handling? This is useful for users to know that their VMs are created but failed to start. The terraform may remain the same, but we may set the state of the task to "created" / "started"?
The text was updated successfully, but these errors were encountered:
Bug Report
Description
When a4c sends a task "compute install" to yorc, yorc creates a VM and SSH to the VM for checking connection. However, when the VM is created successfully, but the checking connection is not finished (due to several reasons below), we have the following inconsistent state: On the cloud provider side, the VM is created. In the state machine, the VM is not created.
When users undeploy the application, the task "compute uninstall" is considered as successfully, the workflow continues to uninstall another dependent cloud resources (e.g., networks). However, the cloud provider cannot delete these resources since the VM is still there. As a result, the uninstall workflow never completes.
The SSH connection check may fail due to several reasons:
Expected behavior
The uninstall workflow deletes all resources and completes.
Actual behavior
The uninstall workflow considers the compute uninstall step as successful and does not delete the compute.
Steps to reproduce the issue
Additional information you deem important (e.g. issue happens only occasionally)
Happen always
Output of
yorc version
current develop
Priority
Medium.
A workaround is that users delete the VM on the cloud provider manually so that the undeployment process can complete.
Discussion
We may split the compute creation in two steps: compute create and compute start for a better error handling? This is useful for users to know that their VMs are created but failed to start. The terraform may remain the same, but we may set the state of the task to "created" / "started"?
The text was updated successfully, but these errors were encountered: