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
Reinstantiating a service with the same name from a template fails when unique: true. This happens if one undeploys the service either via Sunstone or OneFlow CLI. In this case, the service transitions to state DONE. When trying to instantiate a service with the same name, one_service module fetches all services, including those in state DONE. It finds a service with the specified name, and it decides that it's not creating a service but rather updating it. It then decides to update it, but OneFlow rejects the requests as the service is in state DONE.
Summary
Reinstantiating a service with the same name from a template fails when
unique: true
. This happens if one undeploys the service either via Sunstone or OneFlow CLI. In this case, the service transitions to stateDONE
. When trying to instantiate a service with the same name,one_service
module fetches all services, including those in stateDONE
. It finds a service with the specified name, and it decides that it's not creating a service but rather updating it. It then decides to update it, but OneFlow rejects the requests as the service is in stateDONE
.Issue Type
Bug Report
Component Name
plugins/modules/cloud/opennebula/one_service.py
Ansible Version
AWX 19.2.2
Configuration
$ ansible-config dump --only-changed
OS / Environment
AWX EE 0.5.0
Steps to Reproduce
Run a task, similar to the one below
Then delete the instantiated service either via Sunstone or via OneFlow. Then run the task above again.
Expected Results
The service should be created. However, OneFlow rejects it as it believes one is trying to instantiate an already undeployed service.
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: