We should avoid this method of changing the file which are part of anisble
from ansible itself, rather we have to implement an optional temp location
for vars to be used in situations where one need to use fresh vars every
time.
On Fri, Feb 24, 2017 at 12:00 AM, Ramprakash R <email address hidden>
wrote:
> This issue is seen when there are more than one "contrail-compute" nodes
> in the inventory.
> Need to add " ignore_errors: yes" to the task.
>
> --
> You received this bug notification because you are a member of Contrail
> Systems engineering, which is subscribed to Juniper Openstack.
> https://bugs.launchpad.net/bugs/1666445
>
> Title:
> ansible contrail vrouter agent provisioning fails on container
>
> Status in Juniper Openstack:
> New
>
> Bug description:
> R4.0 Build 3039
>
> Have a controller : 10.204.217.194
> Compute nodes : 10.204.217.197, 10.204.217.198
> Agent provisioning failed with below error :
>
> ansible was running on a remote node 10.204.217.187 and the path
> /home/root/jenkins/workspace/kubernetes-sanity/contrail-
> ansible/playbooks/vars/contrail_agent.yml did exist there.
>
> http://anamika.englab.juniper.net:8080/job/kubernetes-
> sanity/17/console
>
> TASK [node : Configure contrailctl/agent.conf]
> *********************************
> included: /home/root/jenkins/workspace/kubernetes-sanity/contrail-
> ansible/playbooks/roles/node/tasks/contrailctl/agent/configure.yml for
> 10.204.217.197, 10.204.217.198
>
> TASK [node : Start /home/root/jenkins/workspace/
> kubernetes-sanity/contrail-ansible/playbooks/vars/contrail_agent.yml from
> scratch everytime] ***
> fatal: [10.204.217.197 -> 127.0.0.1]: FAILED! => {"changed": false,
> "failed": true, "msg": "unlinking failed: [Errno 2] No such file or
> directory: '/home/root/jenkins/workspace/kubernetes-sanity/contrail-
> ansible/playbooks/vars/contrail_agent.yml' ", "path":
> "/home/root/jenkins/workspace/kubernetes-sanity/contrail-
> ansible/playbooks/vars/contrail_agent.yml", "state": "absent"}
> changed: [10.204.217.198 -> 127.0.0.1]
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juniperopenstack/+bug/1666445/+subscriptions
>
We should avoid this method of changing the file which are part of anisble
from ansible itself, rather we have to implement an optional temp location
for vars to be used in situations where one need to use fresh vars every
time.
On Fri, Feb 24, 2017 at 12:00 AM, Ramprakash R <email address hidden>
wrote:
> This issue is seen when there are more than one "contrail-compute" nodes /bugs.launchpad .net/bugs/ 1666445 jenkins/ workspace/ kubernetes- sanity/ contrail- playbooks/ vars/contrail_ agent.yml did exist there. anamika. englab. juniper. net:8080/ job/kubernetes- agent.conf] ******* ******* ******* ***** jenkins/ workspace/ kubernetes- sanity/ contrail- playbooks/ roles/node/ tasks/contrailc tl/agent/ configure. yml for jenkins/ workspace/ sanity/ contrail- ansible/ playbooks/ vars/contrail_ agent.yml from root/jenkins/ workspace/ kubernetes- sanity/ contrail- playbooks/ vars/contrail_ agent.yml' ", "path": root/jenkins/ workspace/ kubernetes- sanity/ contrail- playbooks/ vars/contrail_ agent.yml" , "state": "absent"} /bugs.launchpad .net/juniperope nstack/ +bug/1666445/ +subscriptions
> in the inventory.
> Need to add " ignore_errors: yes" to the task.
>
> --
> You received this bug notification because you are a member of Contrail
> Systems engineering, which is subscribed to Juniper Openstack.
> https:/
>
> Title:
> ansible contrail vrouter agent provisioning fails on container
>
> Status in Juniper Openstack:
> New
>
> Bug description:
> R4.0 Build 3039
>
> Have a controller : 10.204.217.194
> Compute nodes : 10.204.217.197, 10.204.217.198
> Agent provisioning failed with below error :
>
> ansible was running on a remote node 10.204.217.187 and the path
> /home/root/
> ansible/
>
> http://
> sanity/17/console
>
> TASK [node : Configure contrailctl/
> *******
> included: /home/root/
> ansible/
> 10.204.217.197, 10.204.217.198
>
> TASK [node : Start /home/root/
> kubernetes-
> scratch everytime] ***
> fatal: [10.204.217.197 -> 127.0.0.1]: FAILED! => {"changed": false,
> "failed": true, "msg": "unlinking failed: [Errno 2] No such file or
> directory: '/home/
> ansible/
> "/home/
> ansible/
> changed: [10.204.217.198 -> 127.0.0.1]
>
> To manage notifications about this bug go to:
> https:/
>