docker containers doesnt start on windows node

Bug #1803027 reported by Lajapathy Madhusudhanan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
Michał Cłapiński

Bug Description

[root@5c7s1 contrail-ansible-deployer]# sudo -H ansible-playbook -i inventory/ playbooks/install_contrail.yml

PS C:\Users\Administrator> docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS
NAMES
PS C:\Users\Administrator> docker ps -a
CONTAINER ID IMAGE COMMAND CREATED
     STATUS PORTS NAMES
ea5592f749ac opencontrailnightly/contrail-windows-docker-driver:latest "cmd /S /C 'powershe…" 29 minutes ago
     Exited (0) 29 minutes ago elated_nash
bf48081b0d6e opencontrailnightly/contrail-windows-vrouter:latest "cmd /S /C 'powershe…" 32 minutes ago
     Exited (0) 32 minutes ago quirky_archimedes
9a5a8559b8bc opencontrailnightly/contrail-windows-vrouter:latest "cmd /S /C 'powershe…" 45 minutes ago
     Exited (0) 44 minutes ago serene_lichterman
PS C:\Users\Administrator> c

TASK [contrail_docker_windows : restart vrouter-agent service in case of config change] **********************
fatal: [10.87.66.192]: FAILED! => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "", "desktop_interact": false, "display_name": "contrail-vrouter-agent", "exists": true, "msg": "Failed to start service 'contrail-vrouter-agent (contrail-vrouter-agent)'.", "name": "contrail-vrouter-agent", "path": "C:\\ProgramData\\chocolatey\\lib\\NSSM\\tools\\nssm.exe", "start_mode": "auto", "state": "stopped", "username": "LocalSystem"}
fatal: [10.87.66.194]: FAILED! => {"can_pause_and_continue": false, "changed": false, "depended_by": [], "dependencies": [], "description": "", "desktop_interact": false, "display_name": "contrail-vrouter-agent", "exists": true, "msg": "Failed to start service 'contrail-vrouter-agent (contrail-vrouter-agent)'.", "name": "contrail-vrouter-agent", "path": "C:\\ProgramData\\chocolatey\\lib\\NSSM\\tools\\nssm.exe", "start_mode": "auto", "state": "stopped", "username": "LocalSystem"}
        to retry, use: --limit @/var/contrail-ansible-deployer/playbooks/install_contrail.retry

sagarkchitnis (sagarc)
Changed in juniperopenstack:
assignee: nobody → Michał Kostrzewa (mkostrzewa)
sagarkchitnis (sagarc)
information type: Proprietary → Public
Revision history for this message
Michał Cłapiński (michal.clapinski) wrote :

The containers should be in the exited state. Please supply instances.yaml and run ansible-playbook with `-vvvv` option

Changed in juniperopenstack:
assignee: Michał Kostrzewa (mkostrzewa) → Michał Cłapiński (michal.clapinski)
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/47826
Submitter: Micha? C?api?ski (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/47826
Committed: http://github.com/Juniper/contrail-ansible-deployer/commit/46fc9790884d48bcde15c9fcad80265ed58175b9
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 46fc9790884d48bcde15c9fcad80265ed58175b9
Author: Michał Cłapiński <email address hidden>
Date: Fri Nov 23 16:43:21 2018 +0100

Remove artifacts containers

They are not needed after unpacking artifacts and "exited" containers
tend to confuse users. This change removes those containers after their
job is done.

Also removed config path parameter to agent since agent was fixed and
uses that path by default.

Change-Id: Ibb36e82382b5b73c6d43dd619e66062e90ddefec
Partial-Bug: #1803027

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.