HewlettPackard / terraform-provider-oneview

Automates the provisioning of physical infrastructure from a private cloud using templates from HPE OneView with Terraform
Apache License 2.0
49 stars 30 forks source link

Adding/Removing/Updating an uplinkset to a LIG will also modify the whole LIG #467

Closed odesaphy closed 2 years ago

odesaphy commented 2 years ago

When I add a new uplinkset (testuplinkset)to an existing LIG with terragrunt/terraform, the following actions are done :

image

If I'm doing it with the GUI image

Same behaviour when Removing or Updating an uplinkset

Lanata07 commented 2 years ago

Any updates regarding this issue ?

nabhajit-ray commented 2 years ago

We are able reproduce the issue. Regardiing the fix we will check and get back on this.

Lanata07 commented 2 years ago

@nabhajit-ray are we sure this fix is working ? On our side we don't have a proper lab to test (right @odesaphy ^^) ?

nabhajit-ray commented 2 years ago

Hi @Lanata07 ,

We tested and verified the fix and it is working in our environment. Please share the configuration that you are going to run , so that we can check it. Thanks,

odesaphy commented 2 years ago

I've tested with latest provider 7.2.0-0.13 and there are still issues :

oneview_logical_interconnect_group.LIG["lig3pbga04b07"]: Creating...

Error: Error in response: Unrecognized JSON field.
 Response Status: 400 Bad Request
 Response Details: The field named dcbxOverride near line 1, column 1,230 is not a valid field in this JSON object.

dcbxOverride has been added in OneView 6.30

Adding a new uplinkset on a LIG : image

Removing an uplinkset on a LIG : image

Modifying an uplinkset on a LIG: image

The NTP configuration is modified when adding/removing/modifying an uplinkset

Beware : the newly uplinkset must be added at the end of the uplinkset list in our terragrunt.hcl

Versions :

terraform --version
Terraform v0.13.7

terragrunt --version
terragrunt version v0.36.11
nabhajit-ray commented 2 years ago

Hi @odesaphy ,

We are not getting NTP configuration getting changed during update. Can you share the LIG configuration file you are using to create the LIG and what new uplink set you are adding ,so that we can reproduce the issue locally?

nabhajit-ray commented 2 years ago

Can you please share the steps for LIG creation along with NTP configuration?

nabhajit-ray commented 2 years ago

Closing this ,since we did not hear from you. Please open another defect if there is any issue.