HPE Morpheus Enterprise
1849468 Members
6091 Online
104044 Solutions
New Discussion

Re: Two terraforms cannot run in parallel

 
SOLVED
Go to solution
Not applicable

Two terraforms cannot run in parallel

If Terraform task is already running and I’m trying to run something Terraform related I get this error:

Error: Failed to install provider

Error while installing hashicorp/azurerm v3.67.0: open
/var/opt/morpheus/morpheus-ui/workspace/terraform/plugin-cache/registry.terraform.io/hashicorp/azurerm/3.67.0/linux_amd64/terraform-provider-azurerm_v3.67.0_x5:
text file busy

Morpheus 6.0.1

1 REPLY 1
Not applicable
Solution

Re: Two terraforms cannot run in parallel

This was actually resolved in a more recent version of morpheus. Try upgrading to 6.0.5 and it should function. The cause is actually due to the way the newer terraform builds handles caching and the cache is no longer shareable between parallel processes.