ansible-playbook 2.7.0 config file = None configured module search path = [u'/opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ara/plugins/modules'] ansible python module location = /opt/ansible27/ara-venv/local/lib/python2.7/site-packages/ansible executable location = /opt/ansible27/ara-venv/bin/ansible-playbook python version = 2.7.12 (default, Nov 20 2017, 18:23:56) [GCC 5.4.0 20160609] No config file found; using defaults statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/prepare-git-repos.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.57] META: ran handlers TASK [Include variables from group_vars/win2016-compute-os-brick] ************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.57] => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "failed_when_result": false, "message": "Could not find or access 'group_vars/win2016-compute-os-brick'\nSearched in:\n\t/home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/vars/group_vars/win2016-compute-os-brick\n\t/home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/group_vars/win2016-compute-os-brick\n\t/home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/vars/group_vars/win2016-compute-os-brick\n\t/home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/group_vars/win2016-compute-os-brick on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"} TASK [Include variables from group_vars/win2016-compute-os-brick-iscsi] ******** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml:14 ok: [10.222.0.57] => {"ansible_facts": {"cherry_picks": [{"patches": ["refs/changes/21/567621/13"], "path": "{{ win_dir.build }}\\neutron", "project": "openstack/neutron"}], "compute_driver": "compute_hyperv.driver.HyperVDriver", "data_bridge_ovs": "br-ethernet", "git_prep_projects": ["openstack/requirements", "openstack/cinder", "openstack/nova", "openstack/neutron", "openstack/compute-hyperv", "openstack/os-win", "openstack/os-brick", "openstack/networking-hyperv"], "join_ad": false, "python_packages": ["pymysql", "ovs"], "services": [{"binary": "{{ win_dir.python }}\\scripts\\nova-compute.exe", "config": "{{ win_dir.etc }}\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, {"binary": "{{ win_dir.python }}\\scripts\\cinder-volume.exe", "cinder": null, "config": "{{ win_dir.etc }}\\cinder.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder.conf"}], "vmswitches": [{"management": false, "name": "{{ data_bridge }}", "subnet": "{{ data_network }}"}], "volume_driver": "cinder.volume.drivers.windows.iscsi.WindowsISCSIDriver", "win2016_compute_node_ip": "{{ groups['win2016-compute'][0] }}"}, "ansible_included_var_files": ["/home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/group_vars/win2016-compute-os-brick-iscsi"], "changed": false, "failed_when_result": false} TASK [Include variables from group_vars/win2016-compute-os-brick-ovs] ********** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml:20 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if we have atleast 1 AD server in the inventory when join_ad is True] *** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016-compute.yaml:28 ok: [10.222.0.57] => {"changed": false, "exitcode": "NoChangeNeeded", "feature_result": [], "reboot_required": false, "restart_needed": false, "success": true} TASK [Set administrator password to Passw0rd] ********************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:2 changed: [10.222.0.57] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:02.342834", "end": "2020-12-15 08:27:45.777124", "rc": 0, "start": "2020-12-15 08:27:43.434289", "stderr": "", "stderr_lines": [], "stdout": "The command completed successfully.\r\n\r\n", "stdout_lines": ["The command completed successfully.", ""]} TASK [Create openstack folders] ************************************************ task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/create-folders.yaml:2 changed: [10.222.0.57] => (item=c:\openstack\bin) => {"changed": true, "item": "c:\\openstack\\bin"} changed: [10.222.0.57] => (item=c:\openstack\tmp) => {"changed": true, "item": "c:\\openstack\\tmp"} changed: [10.222.0.57] => (item=c:\openstack\log) => {"changed": true, "item": "c:\\openstack\\log"} changed: [10.222.0.57] => (item=c:\openstack\etc) => {"changed": true, "item": "c:\\openstack\\etc"} changed: [10.222.0.57] => (item=c:\python27) => {"changed": true, "item": "c:\\python27"} changed: [10.222.0.57] => (item=C:\openstack\instances) => {"changed": true, "item": "C:\\openstack\\instances"} changed: [10.222.0.57] => (item=c:\openstack\log\event-log) => {"changed": true, "item": "c:\\openstack\\log\\event-log"} changed: [10.222.0.57] => (item=c:\openstack\build) => {"changed": true, "item": "c:\\openstack\\build"} changed: [10.222.0.57] => (item=C:\ProgramData\pip) => {"changed": true, "item": "C:\\ProgramData\\pip"} ok: [10.222.0.57] => (item=c:\openstack) => {"changed": false, "item": "c:\\openstack"} TASK [Disable firewall for Domain, Public and Private profiles] **************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:7 changed: [10.222.0.57] => {"Domain": {"considered": true, "currentstate": 1, "enabled": false}, "Private": {"considered": true, "currentstate": 1, "enabled": false}, "Public": {"considered": true, "currentstate": 1, "enabled": false}, "changed": true, "profiles": ["Domain", "Private", "Public"], "state": "disabled"} TASK [Set neutron hyperv agent service] **************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:16 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Set neutron ovs agent service] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:20 ok: [10.222.0.57] => {"ansible_facts": {"services": [{"binary": "c:\\python27\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, {"binary": "c:\\python27\\scripts\\cinder-volume.exe", "cinder": null, "config": "c:\\openstack\\etc\\cinder.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder.conf"}, {"binary": "c:\\python27\\scripts\\neutron-openvswitch-agent.exe", "config": "c:\\openstack\\etc\\neutron-ovs-agent.conf", "description": "OpenStack Neutron OVS Agent Service", "name": "neutron-ovs-agent", "neutron": null, "template": "neutron-ovs-agent.conf"}]}, "changed": false} TASK [Create services and/or stop them if they are running] ******************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:24 changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\nova-compute.exe', u'name': u'nova-compute', u'template': u'nova.conf', u'config': u'c:\\openstack\\etc\\nova.conf', u'nova': None, u'description': u'OpenStack nova Compute Service'}) => {"can_pause_and_continue": false, "changed": true, "depended_by": [], "dependencies": [], "description": "OpenStack nova Compute Service", "desktop_interact": false, "display_name": "nova-compute", "exists": true, "item": {"binary": "c:\\python27\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}, "name": "nova-compute", "path": "c:\\openstack\\bin\\OpenStackService.exe nova-compute c:\\python27\\scripts\\nova-compute.exe --config-file c:\\openstack\\etc\\nova.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\cinder-volume.exe', u'description': u'OpenStack Cinder Volume Service', u'template': u'cinder.conf', u'cinder': None, u'config': u'c:\\openstack\\etc\\cinder.conf', u'name': u'cinder-volume'}) => {"can_pause_and_continue": false, "changed": true, "depended_by": [], "dependencies": [], "description": "OpenStack Cinder Volume Service", "desktop_interact": false, "display_name": "cinder-volume", "exists": true, "item": {"binary": "c:\\python27\\scripts\\cinder-volume.exe", "cinder": null, "config": "c:\\openstack\\etc\\cinder.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder.conf"}, "name": "cinder-volume", "path": "c:\\openstack\\bin\\OpenStackService.exe cinder-volume c:\\python27\\scripts\\cinder-volume.exe --config-file c:\\openstack\\etc\\cinder.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\neutron-openvswitch-agent.exe', u'name': u'neutron-ovs-agent', u'template': u'neutron-ovs-agent.conf', u'config': u'c:\\openstack\\etc\\neutron-ovs-agent.conf', u'neutron': None, u'description': u'OpenStack Neutron OVS Agent Service'}) => {"can_pause_and_continue": false, "changed": true, "depended_by": [], "dependencies": [], "description": "OpenStack Neutron OVS Agent Service", "desktop_interact": false, "display_name": "neutron-ovs-agent", "exists": true, "item": {"binary": "c:\\python27\\scripts\\neutron-openvswitch-agent.exe", "config": "c:\\openstack\\etc\\neutron-ovs-agent.conf", "description": "OpenStack Neutron OVS Agent Service", "name": "neutron-ovs-agent", "neutron": null, "template": "neutron-ovs-agent.conf"}, "name": "neutron-ovs-agent", "path": "c:\\openstack\\bin\\OpenStackService.exe neutron-ovs-agent c:\\python27\\scripts\\neutron-openvswitch-agent.exe --config-file c:\\openstack\\etc\\neutron-ovs-agent.conf", "start_mode": "manual", "state": "stopped", "username": "LocalSystem"} TASK [Create vmswitches] ******************************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:35 changed: [10.222.0.57] => (item={u'subnet': u'192.168.0.0/22', u'management': False, u'name': u'br-data'}) => {"changed": true, "interface_details": {"adapter_ip": "192.168.0.92", "adapter_name": "Ethernet"}, "item": {"management": false, "name": "br-data", "subnet": "192.168.0.0/22"}, "log": ["checking adapter Ethernet 2", "checking adapter Ethernet", "adapter Ethernet ip 192.168.0.92 matches subnet 192.168.0.0/22"]} TASK [Set compute_local_ip variable] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:46 ok: [10.222.0.57] => {"ansible_facts": {"compute_local_ip": "192.168.0.92"}, "changed": false} TASK [Set compute_dataplane_interface_name variable] *************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:50 ok: [10.222.0.57] => {"ansible_facts": {"compute_dataplane_interface_name": "Ethernet"}, "changed": false} TASK [Check if dataplane informations variable file exists] ******************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:54 ok: [10.222.0.57] => {"changed": false, "stat": {"exists": false}} TASK [Create dataplane_informations.yaml file] ********************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:59 changed: [10.222.0.57] => {"changed": true} TASK [Add dataplane interface informations in dataplane_informations.yaml] ***** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:65 changed: [10.222.0.57] => (item=compute_local_ip: 192.168.0.92) => {"backup": "", "changed": true, "encoding": "utf-8", "item": "compute_local_ip: 192.168.0.92", "msg": "line added"} changed: [10.222.0.57] => (item=compute_dataplane_interface_name: "Ethernet") => {"backup": "", "changed": true, "encoding": "utf-8", "item": "compute_dataplane_interface_name: \"Ethernet\"", "msg": "line added"} TASK [Create config files] ***************************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:74 changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\nova-compute.exe', u'name': u'nova-compute', u'template': u'nova.conf', u'config': u'c:\\openstack\\etc\\nova.conf', u'nova': None, u'description': u'OpenStack nova Compute Service'}) => {"changed": true, "checksum": "eab246a733ac66621cecb6b7f60deaa112b93fe2", "failed_when_result": false, "item": {"binary": "c:\\python27\\scripts\\nova-compute.exe", "config": "c:\\openstack\\etc\\nova.conf", "description": "OpenStack nova Compute Service", "name": "nova-compute", "nova": null, "template": "nova.conf"}} changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\cinder-volume.exe', u'description': u'OpenStack Cinder Volume Service', u'template': u'cinder.conf', u'cinder': None, u'config': u'c:\\openstack\\etc\\cinder.conf', u'name': u'cinder-volume'}) => {"changed": true, "checksum": "9d81621b06740615cce02ec1b612861a54ed7ccb", "failed_when_result": false, "item": {"binary": "c:\\python27\\scripts\\cinder-volume.exe", "cinder": null, "config": "c:\\openstack\\etc\\cinder.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder.conf"}} changed: [10.222.0.57] => (item={u'binary': u'c:\\python27\\scripts\\neutron-openvswitch-agent.exe', u'name': u'neutron-ovs-agent', u'template': u'neutron-ovs-agent.conf', u'config': u'c:\\openstack\\etc\\neutron-ovs-agent.conf', u'neutron': None, u'description': u'OpenStack Neutron OVS Agent Service'}) => {"changed": true, "checksum": "6c847aca3d9be8eb88e14c9f0dc75d680162e931", "failed_when_result": false, "item": {"binary": "c:\\python27\\scripts\\neutron-openvswitch-agent.exe", "config": "c:\\openstack\\etc\\neutron-ovs-agent.conf", "description": "OpenStack Neutron OVS Agent Service", "name": "neutron-ovs-agent", "neutron": null, "template": "neutron-ovs-agent.conf"}} TASK [Create policy.json] ****************************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:82 changed: [10.222.0.57] => {"changed": true, "checksum": "01e30e09cb7d189e7439d9fac753d12cdf5f072c"} TASK [Add "openstack/networking-hyperv" project to git_prep_projects] ********** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/build-win2016.yaml:88 skipping: [10.222.0.57] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if utils archive is present] *************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-utils.yaml:2 ok: [10.222.0.57] => {"changed": false, "stat": {"exists": false}} TASK [Download utils archive] ************************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-utils.yaml:8 changed: [10.222.0.57] => {"changed": true, "dest": "c:\\openstack\\tmp\\utils.zip", "msg": "OK", "status_code": 200, "url": "http://10.100.0.9/ci/utils_bin.zip", "win_get_url": {"dest": "c:\\openstack\\tmp\\utils.zip", "url": "http://10.100.0.9/ci/utils_bin.zip"}} TASK [Unzip utils archive] ***************************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-utils.yaml:15 changed: [10.222.0.57] => {"cb_unzip": {"dest": "c:\\openstack\\bin", "src": "c:\\openstack\\tmp\\utils.zip"}, "changed": true} TASK [Add utils to PATH] ******************************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-utils.yaml:21 changed: [10.222.0.57] => {"changed": true, "path_value": "C:\\windows\\system32;C:\\windows;C:\\windows\\System32\\Wbem;C:\\windows\\System32\\WindowsPowerShell\\v1.0\\;c:\\openstack\\bin"} TASK [Check if python archive is present] ************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-python.yaml:2 ok: [10.222.0.57] => {"changed": false, "stat": {"exists": false}} TASK [Download python archive] ************************************************* task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-python.yaml:8 changed: [10.222.0.57] => {"changed": true, "dest": "c:\\openstack\\tmp\\python.zip", "msg": "OK", "status_code": 200, "url": "http://10.100.0.9/ci/python.zip", "win_get_url": {"dest": "c:\\openstack\\tmp\\python.zip", "url": "http://10.100.0.9/ci/python.zip"}} TASK [Unzip python archive] **************************************************** task path: /home/jenkins-slave/workspace/os-brick-iscsi/6de0134dc00c482f9850b9dc50d9aa18/cbci/tasks/windows/install-python.yaml:15