oracle-quickstart / oci-arch-devops

Universal Permissive License v1.0
12 stars 23 forks source link

Intermittent issue while dealing with instance group deployment #15

Closed RahulMR42 closed 2 years ago

RahulMR42 commented 2 years ago

TF Apply is failing with below errors

Error: Unexpected LifeCycle state Provider version: 4.34.0, released on 2021-07-07. This provider is 20 update(s) behind to current. Service: Devops Deployment Error Message: During creation, Terraform expected the resource to reach state(s): SUCCEEDED, but the service reported unexpected state: FAILED. Resource OCID: ocid1.devopsdeployment.oc1.iad.amaaaaaak56z2vqafuooykqu5zvrsshgavcm4nipxn3qerwfm45whk3f36ma Suggestion: Please retry or contact support for help with service: Devops Deployment on devops.tf line 189, in resource "oci_devops_deployment" "test_deployment" 189: resource "oci_devops_deployment" "test_deployment" {

lfeldman commented 2 years ago

@RahulMR42 I am not able to reproduce your issue:

dhcp-10-175-216-68:devops_instance_group lukaszfeldman$ terraform apply
(...)
Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

random_string.deploy_id: Creating...
tls_private_key.public_private_key_pair: Creating...
random_id.tag: Creating...
random_id.tag: Creation complete after 0s [id=zxY]
(...)
oci_identity_dynamic_group.runcmddynamicgroup: Creating...
oci_devops_deploy_environment.test_deploy_instance_group_environment: Creating...
oci_identity_dynamic_group.runcmddynamicgroup: Creation complete after 1s [id=ocid1.dynamicgroup.oc1..aaaaaaaafrn5c33r572lxjuw3oxasgolo3fsqxymiqdngujdhqixsqhjdnca]
oci_identity_policy.devopspolicy: Creating...
oci_devops_deploy_environment.test_deploy_instance_group_environment: Creation complete after 2s [id=ocid1.devopsdeployenvironment.oc1.iad.amaaaaaanlc5nbyat7z2gr63pye5ih6frrfdzpfcyoblghxb7fmhsw7dhypa]
oci_devops_deploy_stage.test_deploy_stage: Creating...
oci_identity_policy.devopspolicy: Creation complete after 1s [id=ocid1.policy.oc1..aaaaaaaa6djnbyhwww6kbp35ihssdpbgosfrhtizdu6we6zyztj7xlwwgryq]
oci_devops_deploy_stage.test_deploy_stage: Still creating... [10s elapsed]
oci_devops_deploy_stage.test_deploy_stage: Still creating... [20s elapsed]
oci_devops_deploy_stage.test_deploy_stage: Creation complete after 25s [id=ocid1.devopsdeploystage.oc1.iad.amaaaaaanlc5nbyavo7wzbmyijadijxokrxsw4nenhpdyrovxdlnrqnnip3a]

Apply complete! Resources: 29 added, 0 changed, 0 destroyed.

Outputs:

generated_ssh_private_key = <sensitive>

Can you share more details about the problems? Are you able to reproduce it at will or maybe the second try was successful?

RahulMR42 commented 2 years ago

i had it twice or thrice and never seen further ,so we could close it for now and can come to here if it repeats .thank you .

lfeldman commented 2 years ago

@RahulMR42 Thanks for update :)