You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/08/23 10:17:39 UTC

[GitHub] ningyougang opened a new pull request #2662: Add judge condition for invoker deployment

ningyougang opened a new pull request #2662: Add judge condition for invoker deployment
URL: https://github.com/apache/incubator-openwhisk/pull/2662
 
 
   If invokers have been deployed success.
   Then, it will report error when execute `ansible-playbook -i environments/<env> invoker.yml ` again.
   because the invoker0 or invoker1 alreay exist, so below errors will appear.
   ```
   TASK [invoker : start invoker using docker cli] *********************************************************************************************
   ...
   ...
   You have to remove (or rename) that container to be able to reuse that name..\nSee 'docker run --help'.", "stderr_lines": ["docker: Error response from daemon: Conflict. The name \"/invoker0\" is already in use by container 1de4dc7d6ca3234d1b6590061e637c48367f9076766f767ef9271d1848e08620. You have to remove (or rename) that container to be able to reuse that name..", "See 'docker run --help'."], "stdout": "", "stdout_lines": []}
   [FAILED]
   ```
   
   So it is necessary to add the `judge condition` that whether the invoker has been deployed.
 
----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services