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-debug@2/master-hyperv-iscsi/cbci/tasks/windows/sanity-checks.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/create-folders.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-utils.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-python.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-pip.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/configure-pip-index.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-git.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-vcredist.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-freerdp.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/install-zuul.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/prepare-git-repos.yaml statically imported: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/configure-ceph-wnbd.yaml PLAYBOOK: build-win2016-compute.yaml ******************************************* 1 plays in /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016-compute.yaml PLAY [win2016-compute] ********************************************************* TASK [Gathering Facts] ********************************************************* task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016-compute.yaml:2 ok: [10.222.0.37] META: ran handlers TASK [Include variables from job_vars/os-brick.yaml] *************************** task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016-compute.yaml:9 ok: [10.222.0.37] => {"ansible_facts": {}, "ansible_included_var_files": [], "changed": false, "failed_when_result": false, "message": "Could not find or access 'job_vars/os-brick.yaml'\nSearched in:\n\t/home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/vars/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/vars/job_vars/os-brick.yaml\n\t/home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/job_vars/os-brick.yaml 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 job_vars/os-brick-iscsi.yaml] ********************* task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016-compute.yaml:14 ok: [10.222.0.37] => {"ansible_facts": {"cherry_picks": [{"patches": ["refs/heads/neutron-ovs-bridge-arping"], "path": "{{ devstack_dir.devstack }}", "project": "openstack/devstack", "url": "https://github.com/cloudbase/devstack"}], "compute_driver": "compute_hyperv.driver.HyperVDriver", "data_bridge_ovs": "br-ethernet", "join_ad": false, "local_conf": {"append": "ATTACH_ENCRYPTED_VOLUME_AVAILABLE=False\nSWIFT_REPLICAS=1\nSWIFT_HASH=66a3d6b56c1f479c8b4e70ab5d2014f6\nSWIFT_START_ALL_SERVICES=False\nUSE_PYTHON3=True\n\n[[post-config|$NOVA_CONF]]\n[DEFAULT]\nforce_config_drive = True\nscheduler_default_filters=RetryFilter,AvailabilityZoneFilter,RamFilter,DiskFilter,ComputeFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,ServerGroupAntiAffinityFilter,ServerGroupAffinityFilter,DifferentHostFilter,SameHostFilter\n[glance]\nuse_glance_v1=False\n[oslo_messaging_rabbit]\nheartbeat_timeout_threshold = 600\nheartbeat_rate = 3 \n[placement]\nos_region_name = RegionOne\nproject_domain_name = Default\nproject_name = service\nuser_domain_name = Default\npassword = Passw0rd\nusername = placement\nauth_url = http://{{ devstack_ip }}/identity\nauth_type = password\n\n[[post-config|$NEUTRON_CONF]]\n[database]\nmin_pool_size = 5\nmax_pool_size = 50\nmax_overflow = 50\n[quotas]\nquota_network = 100\nquota_subnet = 100\nquota_port = 500\nquota_security_group = 100\nquota_security_group_rule = 100\nquota_vip = 100\nquota_pool = 100\nquota_loadbalancer = 100\nquota_router = 100\nquota_floatingip = 50\nquota_firewall = 10\nquota_firewall_policy = 10\nquota_firewall_rule = 100\n\n[[post-config|$CINDER_CONF]]\n[DEFAULT]\nos_privileged_user_auth_url=http://{{ devstack_ip }}/identity/v2.0\n\n[[post-config|/$Q_PLUGIN_CONF_FILE]]\n[securitygroup]\nenable_security_group = True\n# Note(lpetrut): For some reason, the br-int controller is\n# unaccessible, so we'll stick with ovs-ofctl until we find\n# out what's wrong.\n[ovs]\nof_interface = ovs-ofctl\n", "block_migration": true, "disable_services": ["c-vol", "c-bak", "n-obj", "n-novnc", "n-net", "n-cpu", "q-lbaas", "q-fwaas", "horizon"], "enable_services": ["rabbit", "mysql", "key", "n-api", "n-crt", "n-cond", "n-sch", "n-cauth", "neutron", "q-svc", "q-agt", "q-dhcp", "q-l3", "q-meta", "q-metering", "q-vpn", "g-api", "g-reg", "cinder", "c-api", "c-sch", "s-proxy", "s-object", "s-container", "s-account", "heat", "h-api", "h-api-cfn", "h-api-cw", "h-eng", "ceilometer-acentral", "ceilometer-acompute", "ceilometer-collector", "ceilometer-api", "ceilometer-anotification", "tempest"], "image_urls": "{{ image_urls }}", "ip_version": 4, "live_migration": false}, "log_key": "/home/jenkins-slave/.ssh/id_rsa_log.pem", "log_path": "/tmp/build_logs/{{ zuul_change }}-{{ zuul_patchset }}/{{ job_type }}", "post_stack_bash": "source {{ devstack_dir.devstack }}/functions\nTEMPEST_CONFIG={{ devstack_dir.stack }}/tempest/etc/tempest.conf\niniset $TEMPEST_CONFIG compute volume_device_name \"sdb\"\niniset $TEMPEST_CONFIG compute min_compute_nodes {{ win2016_compute_nodes | length }}\niniset $TEMPEST_CONFIG compute flavor_ref 452\niniset $TEMPEST_CONFIG compute flavor_ref_alt 451\niniset $TEMPEST_CONFIG compute-feature-enabled rdp_console true\niniset $TEMPEST_CONFIG compute-feature-enabled block_migrate_cinder_iscsi False\niniset $TEMPEST_CONFIG compute-feature-enabled block_migration_for_live_migration False\niniset $TEMPEST_CONFIG compute-feature-enabled live_migration False\niniset $TEMPEST_CONFIG compute-feature-enabled interface_attach False\niniset $TEMPEST_CONFIG compute-feature-enabled swap_volume False\n\niniset $TEMPEST_CONFIG scenario img_file \"/home/ubuntu/devstack/files/{{ local_conf.image_urls | basename }}\"\niniset $TEMPEST_CONFIG scenario img_disk_format vhdx\niniset $TEMPEST_CONFIG scenario dhcp_client dhclient\n\nIMAGE_REF=`iniget $TEMPEST_CONFIG compute image_ref`\niniset $TEMPEST_CONFIG compute image_ref_alt $IMAGE_REF\niniset $TEMPEST_CONFIG validation image_ssh_user ubuntu\niniset $TEMPEST_CONFIG validation image_alt_ssh_user ubuntu\n\niniset $TEMPEST_CONFIG compute build_timeout 360\niniset $TEMPEST_CONFIG orchestration build_timeout 360\niniset $TEMPEST_CONFIG volume build_timeout 360\niniset $TEMPEST_CONFIG boto build_timeout 360\n\niniset $TEMPEST_CONFIG compute ssh_timeout 360\niniset $TEMPEST_CONFIG compute allow_tenant_isolation True\n", "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-volume.conf", "description": "OpenStack Cinder Volume Service", "name": "cinder-volume", "template": "cinder-volume.conf"}], "tempest_tests": {"excluded-tests": "tempest.scenario.test_stamp_pattern.TestStampPattern.test_stamp_pattern\n", "included-tests": "tempest.scenario.test_minimum_basic\ntempest.scenario.test_stamp_pattern\ntempest.scenario.test_volume_boot_pattern\n"}, "vms": [{"additional_params": "ansible_ssh_private_key_file=/home/jenkins-slave/.ssh/id_rsa.pem ansible_ssh_common_args=\"-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\"", "devstack": null, "flavor": "devstack", "image": "focal-15.04.2021", "inventory_group": "devstack", "name": "dv-osbrick-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "tags": "dv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "userdata": ""}, {"additional_params": "ansible_winrm_cert_pem=/home/jenkins-slave/ssl/ssl_winrm.crt ansible_winrm_cert_key_pem=/home/jenkins-slave/ssl/ssl_winrm.key ansible_winrm_transport=certificate ansible_ssh_user=administrator ansible_connection=winrm ansible_winrm_server_cert_validation=ignore ansible_ssh_port=5986", "flavor": "ci-win2016hv", "hv2016-compute": null, "image": "win2016-hypervrole", "inventory_group": "win2016-compute", "name": "hv-osbrick-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "tags": "hv-{{ zuul_project | basename }}-{{ zuul_change }}-{{ zuul_patchset }}-{{ job_type }}", "userdata": "{{ lookup('file', '/home/jenkins-slave/ssl/ssl_winrm.crt') }}"}], "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] }}", "win_crt": "/home/jenkins-slave/ssl/ssl_winrm.crt", "win_dir": {"bin": "c:\\openstack\\bin", "build": "c:\\openstack\\build", "etc": "c:\\openstack\\etc", "event_log": "c:\\openstack\\log\\event-log", "instances": "C:\\openstack\\instances", "lock": "c:\\openstack\\lock", "log": "c:\\openstack\\log", "openstack": "c:\\openstack", "pip": "C:\\ProgramData\\pip", "python": "c:\\python37", "python_zuul": "c:\\python27", "tmp": "c:\\openstack\\tmp"}, "win_git_prep_projects": ["openstack/requirements", "openstack/cinder", "openstack/nova", "openstack/neutron", "openstack/compute-hyperv", "openstack/os-win", "openstack/os-brick", "openstack/networking-hyperv"], "win_key": "/home/jenkins-slave/ssl/ssl_winrm.key", "win_python_archive_url": "http://10.100.0.9/ci/python37.zip", "win_python_packages": ["pywin32", "pbr", "pymysql", "ovs"]}, "ansible_included_var_files": ["/home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/job_vars/os-brick-iscsi.yaml"], "changed": false, "failed_when_result": 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-debug@2/master-hyperv-iscsi/cbci/tasks/windows/sanity-checks.yaml:2 skipping: [10.222.0.37] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if job_type parameters is defined] ********************************* task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/sanity-checks.yaml:7 skipping: [10.222.0.37] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Check if hostname parameter is defined] ********************************** task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/tasks/windows/sanity-checks.yaml:12 skipping: [10.222.0.37] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [Install FS-iSCSITarget-Server] ******************************************* task path: /home/jenkins-slave/workspace/os-brick-debug@2/master-hyperv-iscsi/cbci/build-win2016-compute.yaml:22 ok: [10.222.0.37] => {"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-debug@2/master-hyperv-iscsi/cbci/build-win2016.yaml:2 changed: [10.222.0.37] => {"changed": true, "cmd": "net user administrator Passw0rd", "delta": "0:00:00.781245", "end": "2022-01-03 09:42:16.319981", "rc": 0, "start": "2022-01-03 09:42:15.538736", "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-debug@2/master-hyperv-iscsi/cbci/tasks/windows/create-folders.yaml:2 ok: [10.222.0.37] => (item=c:\openstack\bin) => {"changed": false, "item": "c:\\openstack\\bin"}