microsoft / azure-puppet

Other
20 stars 26 forks source link

ConflictError while publishing new VM Extensions #43

Open rajeshbshinde opened 7 years ago

rajeshbshinde commented 7 years ago

Hi,

I am trying to upload new VM Extension but observing below error while publishing new extension.


[root@DBServers AzureVmExtensions]# ./package.sh -v 1.0.0.0 -f Windows -n Setting provider namespace as Symantec.CloudWorkloadProtection.TestOnStage in manifest... Setting type as SCWPAgentForWindowsTestOnStage in manifest... Setting version as 1.0.0.0 in manifest... Setting media link as https://-1.0.0.0.zip in manifest... Setting OS platform as Windows... Setting isInternalExtension to true... Publishing new extension as Symantec.CloudWorkloadProtection.TestOnStage-SCWPAgentForWindowsTestOnStage-1.0.0.0... azure-extensions-cli version v1.2.4 INFO[0000] CreateExtension operation starting... DEBU[0000] Saving used manifest for debugging: /tmp/extension-manifests688591640/manifest105561495 FATA[0011] Error: Error response from Azure. Code: ConflictError, Message: Another operation on extension with namespace Symantec.CloudWorkloadProtection.TestOnStage, type SCWPAgentForWindowsTestOnStage is already in progress.


But when I try to delete the extension with above version then observing below error,


[root@DBServers AzureVmExtensions]# ./package.sh -v 1.0.0.0 -f Windows -d Unpublishing extension Symantec.CloudWorkloadProtection.TestOnStage-SCWPAgentForWindowsTestOnStage-1.0.0.0... azure-extensions-cli version v1.2.4 FATA[0002] UpdateExtension failed: Error response from Azure. Code: BadRequest, Message: An extension with namespace Symantec.CloudWorkloadProtection.TestOnStage, type SCWPAgentForWindowsTestOnStage does not exist. Namespace and type are case-sensitive. Deleting extension Symantec.CloudWorkloadProtection.TestOnStage-SCWPAgentForWindowsTestOnStage-1.0.0.0... azure-extensions-cli version v1.2.4 INFO[0000] Deleting extension version. Make sure you unpublished before deleting. FATA[0003] Error deleting version: Error response from Azure. Code: ResourceNotFound, Message: An extension with namespace Symantec.CloudWorkloadProtection.TestOnStage, type SCWPAgentForWindowsTestOnStage and version 1.0.0.0 does not exist.


Please let me know how to FIX this issue and published the new extension.