mlangbehn commented on issue #17: Issues deploying with custom docker images
URL: 
https://github.com/apache/incubator-openwhisk-deploy-kube/issues/17#issuecomment-309897263
 
 
   @DanLavine, I just ran a test where I built my docker images on an Ubuntu 
16.04 machine, and reproduced the issue.
   
   Output from `git diff master`:
   ```diff
   diff --git a/ansible-kube/environments/kube/files/nginx.yml 
b/ansible-kube/environments/kube/files/nginx.yml
   index d9780b2..c12e10b 100644
   --- a/ansible-kube/environments/kube/files/nginx.yml
   +++ b/ansible-kube/environments/kube/files/nginx.yml
   @@ -34,7 +34,7 @@ spec:
          containers:
          - name: nginx
            imagePullPolicy: Always
   -        image: danlavine/whisk_nginx
   +        image: eventingmonkey/whisk_nginx
            ports:
            - name: http
              containerPort: 80
   diff --git a/configure/configure_whisk.yml b/configure/configure_whisk.yml
   index 4306f95..2f4a1b5 100644
   --- a/configure/configure_whisk.yml
   +++ b/configure/configure_whisk.yml
   @@ -16,6 +16,6 @@ spec:
          restartPolicy: Never
          containers:
          - name: configure-openwhisk
   -        image: danlavine/whisk_config:v1.5.6
   +        image: eventingmonkey/whisk_config:v1.5.6-dev
            imagePullPolicy: Always
            command: [ 
"/incubator-openwhisk-deploy-kube/configure/configure.sh" ]
   ```
   
   Here is the error from the deploy (_NOTE_ this error shows an issue with an 
ansible variable, not with the platform the images were built on):
   
   ```text
   TASK [routemgmt : install route management actions] 
****************************
   Tuesday 20 June 2017  20:59:52 +0000 (0:00:08.592)       0:05:32.825 
********** 
   fatal: [ansible]: FAILED! => {"failed": true, "msg": "the field 'args' has 
an invalid value, which appears to include a variable that is undefined. The 
error was: 'cli_path' is undefined\n\nThe error appears to have been in 
'/incubator-openwhisk-deploy-kube/ansible/roles/routemgmt/tasks/deploy.yml': 
line 3, column 3, but may\nbe elsewhere in the file depending on the exact 
syntax problem.\n\nThe offending line appears to be:\n\n# Install the API 
Gateway route management actions.\n- name: install route management actions\n  
^ here\n"}
   ```
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to