Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-62626

Deployment of docker containers fails when Service Endpoints are used in the WebApp

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Environment:
    • Similar Issues:

      Description

      Using the App Service plugin for Jenkins to deploy a Docker container inside a Web App for Linux Azure applications fails with the following error:

       Starting Azure Web App DeploymentStarting Azure Web App DeploymentUpdating configuration of Azure app service `xxx-webapp`, with new docker image xxx.azurecr.io/xxx-web:16.ERROR: Fails in updating Azure app serviceipSecurityRestrictions.ipAddress is required and cannot be null.java.lang.IllegalArgumentException: ipSecurityRestrictions.ipAddress is required and cannot be null. at com.microsoft.rest.Validator.validateClass(Validator.java:120) [...]

      Reviewing the details of the Azure SDK for Java code, it seems that there is a mismatch between the archetype of the Java class that represents the deployment and the object passed to be validated before the call is made.

      Same issues has been reported in other scenarios that uses an old version of the azure-webapp-maven-plugin in case it could be related. Versions above 1.8 fix that issue.

      Attached the log of the pipeline and the output of the az webapp show and az webapp config show of the web app with and without service endpoints enabled. 

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              zooopx xu zhang
              Reporter:
              jangelfdez Jose Angel Fernandez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: