gator1 / terraform-provider-opentelekomcloud

Terraform opentelekomcloud provider
Mozilla Public License 2.0
5 stars 3 forks source link

Add Delay time for getting some cloud resources in the Read action #15

Closed chenyingkof closed 6 years ago

gator1 commented 6 years ago

Delay 5 seconds for a deletion is not a solution, rejected.

chenyingkof commented 6 years ago

The related acc tests result and log about this PR.

About resource BlockStorageV2Volume acc tests: http://paste.openstack.org/show/642548/

About resource ComputeV2Instance tag acc tests: http://paste.openstack.org/show/642549/

About resource ComputeV2VolumeAttach acc tests: http://paste.openstack.org/show/642550/

These three acc tests failed. It is not related to this PR. The reason is that: The instance being created without a tag, but the read method set a non-null tag to this resources. Then this error is raised: testing.go:434: Step 0 error: After applying this step, the plan was not empty:

    DIFF:

    UPDATE: opentelekomcloud_compute_instance_v2.instance_1
      tags.#:          "1" => "0"
      tags.2711718751: "59b4cff1-702d-4c8a-8ae6-f6c38182500c" => ""

    STATE:

About resource DNSV2RecordSe acc tests: http://paste.openstack.org/show/642551/

gator1 commented 6 years ago

done

On Thu, Jan 11, 2018 at 3:54 AM, Chen Ying notifications@github.com wrote:

The related acc tests result and log about this PR.

About resource BlockStorageV2Volume acc tests: http://paste.openstack.org/show/642548/

About resource ComputeV2Instance tag acc tests: http://paste.openstack.org/show/642549/

About resource ComputeV2VolumeAttach acc tests: http://paste.openstack.org/show/642550/

These three acc tests failed. It is not related to this PR. The reason is that: The instance being created without a tag, but the read method set a non-null tag to this resources. Then this error is raised: testing.go:434: Step 0 error: After applying this step, the plan was not empty:

DIFF:

UPDATE: opentelekomcloud_compute_instance_v2.instance_1 tags.#: "1" => "0" tags.2711718751: "59b4cff1-702d-4c8a-8ae6-f6c38182500c" => ""

STATE:

About resource DNSV2RecordSe acc tests: http://paste.openstack.org/show/642551/

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/gator1/terraform-provider-opentelekomcloud/pull/15#issuecomment-356912957, or mute the thread https://github.com/notifications/unsubscribe-auth/ATBNFR5cJwORveCM2Rwki27NXzkxlc3Wks5tJfZxgaJpZM4RaUPP .