Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14k stars 16.1k forks source link

jboss-eap-standalone-rhel7 deployment error #7199

Closed flomader closed 4 years ago

flomader commented 4 years ago

jboss-eap-standalone-rhel7(https://github.com/Azure/azure-quickstart-templates/tree/master/jboss-eap-standalone-rhel7/)

Issue Details

last step of the deployment (newuserscript) fails and outputs the following error message:

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Conflict","message":"{\r\n \"status\": \"Failed\",\r\n \"error\": {\r\n \"code\": \"ResourceDeploymentFailure\",\r\n \"message\": \"The resource operation completed with terminal provisioning state 'Failed'.\",\r\n \"details\": [\r\n {\r\n \"code\": \"VMExtensionProvisioningError\",\r\n \"message\": \"VM has reported a failure when processing extension 'newuserscript'. Error message: \\\"Enable failed: failed to execute command: command terminated with exit status=1\\n[stdout]\\nLoaded plugins: langpacks, product-id\\n\\n[stderr]\\nFailed to execute operation: Access denied\\neap-setup-redhat.sh: line 37: /etc/opt/rh/eap7/wildfly/eap7-standalone.conf: No such file or directory\\neap-setup-redhat.sh: line 38: /etc/opt/rh/eap7/wildfly/eap7-standalone.conf: No such file or directory\\nmv: cannot move ‘/home/florian/dukes/target/dukes.war’ to ‘/opt/rh/eap7/root/usr/share/wildfly/standalone/deployments/dukes.war’: No such file or directory\\neap-setup-redhat.sh: line 47: /opt/rh/eap7/root/usr/share/wildfly/standalone/deployments/dukes.war.dodeploy: No such file or directory\\neap-setup-redhat.sh: line 50: /opt/rh/eap7/root/usr/share/wildfly/bin/add-user.sh: No such file or directory\\nFailed to restart eap7-standalone.service: Unit eap7-standalone.service failed to load: No such file or directory.\\nchown: invalid user: ‘florian.jboss’\\nchown: invalid user: ‘florian.jboss’\\nchown: invalid user: ‘florian.tomcat’\\nchown: invalid user: ‘florian.jboss’\\nchown: invalid user: ‘florian.jboss’\\n\\\"\\r\\n\\r\\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSELinuxTroubleshoot \"\r\n }\r\n ]\r\n }\r\n}"}]}

I have tried to deploy the template by portal as well as by CLI.

flomader commented 4 years ago

Duplicate issue https://github.com/microsoft/redhat-mw-cloud-quickstart/issues/12