/usr/lib/python3.6/site-packages/paramiko/client.py:779: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.152: b'39742fc606c2076fadbb60e087de4f69' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2018-12-11 20:46:27,562 main.py 128 INFO doctor test starting....... 2018-12-11 20:46:27,563 apex.py 43 INFO Setup Apex installer start...... 2018-12-11 20:46:27,563 base.py 112 INFO Get SSH keys from apex installer...... 2018-12-11 20:46:27,960 apex.py 60 INFO Get overcloud config details from Apex installer...... 2018-12-11 20:46:27,961 base.py 131 INFO Run command=source stackrc; nova list | grep ' overcloud-' in apex installer...... 2018-12-11 20:46:32,273 base.py 140 INFO Output=['| 7fc07162-7231-473f-b327-f16b3df81614 | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.30.9.3 |', '| 3780b5e1-1fd2-4e40-bfa0-44b2204a4cc9 | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.30.9.7 |', '| c4456eb6-3779-4d26-8dbe-f0124b1b2d49 | overcloud-novacompute-1 | ACTIVE | - | Running | ctlplane=192.30.9.6 |'] command=source stackrc; nova list | grep ' overcloud-' in apex installer 2018-12-11 20:46:32,274 base.py 145 INFO Check command=grep docker /home/stack/deploy_command return in apex installer...... 2018-12-11 20:46:32,348 base.py 148 INFO return 0 2018-12-11 20:46:32,348 apex.py 73 INFO controller_ips:['192.30.9.3'] 2018-12-11 20:46:32,348 apex.py 74 INFO compute_ips:['192.30.9.7', '192.30.9.6'] 2018-12-11 20:46:32,349 apex.py 75 INFO use_containers:True 2018-12-11 20:46:33,154 apex.py 115 INFO Set apply patches start...... /usr/lib/python3.6/site-packages/paramiko/client.py:779: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.3: b'7738ee9f4f3419734c43aabdfb5872d4' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2018-12-11 20:46:33,603 base.py 62 INFO Setup ssh stunnel in apex installer...... 2018-12-11 20:46:33,603 base.py 75 INFO tunnel for port 12346 2018-12-11 20:46:33,610 image.py 48 INFO image create start...... 2018-12-11 20:46:41,377 image.py 68 INFO image create end...... 2018-12-11 20:46:41,378 user.py 70 INFO user create start...... 2018-12-11 20:46:41,586 user.py 86 INFO create project...... 2018-12-11 20:46:41,825 user.py 95 INFO test project 2018-12-11 20:46:42,055 user.py 103 INFO create user...... 2018-12-11 20:46:42,527 user.py 113 INFO test user 2018-12-11 20:46:42,735 user.py 127 INFO role _member_ already created...... 2018-12-11 20:46:42,735 user.py 128 INFO test role 2018-12-11 20:46:43,840 user.py 78 INFO user create end...... 2018-12-11 20:46:43,841 main.py 55 INFO doctor fault management test starting....... 2018-12-11 20:46:44,400 fault_management.py 65 INFO fault management setup...... 2018-12-11 20:46:44,400 user.py 190 INFO quota update start...... 2018-12-11 20:46:44,400 user.py 206 INFO default quota update start...... 2018-12-11 20:46:45,104 user.py 217 INFO user quota update start...... 2018-12-11 20:46:45,410 user.py 230 INFO quota update end...... 2018-12-11 20:46:45,410 network.py 41 INFO network create start....... 2018-12-11 20:46:46,412 network.py 47 INFO network create end....... 2018-12-11 20:46:46,413 network.py 49 INFO subnet create start....... 2018-12-11 20:46:47,418 network.py 58 INFO subnet create end....... 2018-12-11 20:46:47,418 instance.py 51 INFO instance create start...... 2018-12-11 20:46:51,160 instance.py 73 INFO instance create end...... 2018-12-11 20:46:51,161 instance.py 92 INFO wait for vm launch start...... 2018-12-11 20:47:00,414 instance.py 110 INFO wait for vm launch end...... 2018-12-11 20:47:00,415 alarm.py 45 INFO alarm create start...... 2018-12-11 20:47:03,177 alarm.py 81 INFO alarm create end...... 2018-12-11 20:47:03,178 sample.py 73 INFO sample inspector start...... 2018-12-11 20:47:04,469 sample.py 26 INFO sample consumer start...... * Serving Flask app "inspector" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Serving Flask app "consumer" (lazy loading) * Environment: production WARNING: Do not use the development server in a production environment. Use a production WSGI server instead. * Debug mode: off * Running on http://0.0.0.0:12346/ (Press CTRL+C to quit) * Running on http://0.0.0.0:12345/ (Press CTRL+C to quit) 2018-12-11 20:47:05,842 apex.py 79 INFO Get host ip by hostname=overcloud-novacompute-0.opnfvlf.org from Apex installer...... 2018-12-11 20:47:05,843 base.py 131 INFO Run command=source stackrc; nova show overcloud-novacompute-0 | awk '/ ctlplane network /{print $5}' in apex installer...... 2018-12-11 20:47:08,386 base.py 140 INFO Output=['192.30.9.7'] command=source stackrc; nova show overcloud-novacompute-0 | awk '/ ctlplane network /{print $5}' in apex installer 2018-12-11 20:47:08,387 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-0.opnfvlf.org, ip:192.30.9.7) which vm(doctor_vm0) launched at 2018-12-11 20:47:08,387 sample.py 30 INFO sample monitor start...... 2018-12-11 20:47:08,387 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-12-11 20:49:08,389 fault_management.py 89 INFO fault management start...... 2018-12-11 20:49:08,391 base.py 112 INFO Get SSH keys from apex installer...... 2018-12-11 20:49:08,391 base.py 116 INFO Already have SSH keys from apex installer...... /usr/lib/python3.6/site-packages/paramiko/client.py:779: UserWarning: Unknown ssh-ed25519 host key for 192.30.9.7: b'a7b628fa11a22a98b95682598209f232' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2018-12-11 20:49:08,464 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2018-12-11 20:49:08,674 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2018-12-11 20:49:08,724 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2018-12-11 20:49:08,725 fault_management.py 91 INFO fault management end...... 2018-12-11 20:49:09,906 sample.py 98 INFO doctor monitor detected at 1544561349.9066062 2018-12-11 20:49:09,906 sample.py 41 INFO sample monitor report error...... 2018-12-11 20:49:09,916 sample.py 202 INFO event posted in sample inspector at 1544561349.9165921 2018-12-11 20:49:09,917 sample.py 203 INFO sample inspector = 2018-12-11 20:49:09,917 sample.py 205 INFO sample inspector received data = b'[{"time": "2018-12-11T20:49:09.907168", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-0.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2018-12-11 20:49:09,965 sample.py 149 INFO doctor mark host(overcloud-novacompute-0.opnfvlf.org) down at 1544561349.9659057 2018-12-11 20:49:11,057 sample.py 160 INFO doctor mark vm() error at 1544561351.0569813 127.0.0.1 - - [11/Dec/2018 20:49:11] "PUT /events HTTP/1.1" 200 - 2018-12-11 20:49:11,061 sample.py 101 INFO ping timeout, quit monitoring... 2018-12-11 20:49:11,160 sample.py 58 INFO doctor consumer notified at 1544561351.160831 2018-12-11 20:49:11,161 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '16cedc3f-07cd-41a1-9b66-f120396a37ae', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '89e66f50-cd99-43dd-8cf8-84429ee3f172'], ['ephemeral_gb', 2, 0], ['instance_type_id', 2, 29], ['user_id', 1, '1392e463eaec4ad09dee88b2154ebf02'], ['service', 1, 'compute'], ['state', 1, 'error'], ['old_state', 1, 'active'], ['project_id', 1, '5f4ed1f8d4de42c2a79237b4c3826e2f'], ['launched_at', 4, '2018-12-11T20:46:58'], ['disk_gb', 2, 1], ['instance_id', 1, '89e66f50-cd99-43dd-8cf8-84429ee3f172'], ['host', 1, 'overcloud-controller-0.opnfvlf.org'], ['display_name', 1, 'doctor_vm0'], ['root_gb', 2, 1], ['tenant_id', 1, '5f4ed1f8d4de42c2a79237b4c3826e2f'], ['memory_mb', 2, 512], ['instance_type', 1, 'm1.tiny'], ['vcpus', 2, 1], ['request_id', 1, 'req-d5adb446-807a-4eeb-8480-a7278b3cd7f6']], 'message_signature': 'c63765b7fc03425a8b496531d0f98e27768965412f61eb5f25b1cc1d48c8d220', 'raw': {}, 'generated': '2018-12-11T20:49:10.055433', 'message_id': '9ca876b5-7b7d-48b3-9c37-8402e9fce56d'}}, 'previous': 'insufficient data'} 127.0.0.1 - - [11/Dec/2018 20:49:11] "POST /failure HTTP/1.1" 200 - 2018-12-11 20:49:38,791 fault_management.py 185 INFO doctor fault management notification_time=1.2542247772216797 2018-12-11 20:49:38,792 fault_management.py 191 INFO run doctor fault management profile....... 2018-12-11 20:49:38,792 base.py 112 INFO Get SSH keys from apex installer...... 2018-12-11 20:49:38,792 base.py 116 INFO Already have SSH keys from apex installer...... 2018-12-11 20:49:41,867 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2018-12-11 20:49:42,080 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-0.opnfvlf.org, host_ip:192.30.9.7) 2018-12-11 20:49:42,082 profiler_poc.py 97 INFO Total time cost: 1400(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |146 |59 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:146 | | | | | | | | found affected:? | | | | | | | set VM error:1296 | | | | | | marked host down:205 | | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:1400 2018-12-11 20:49:42,082 main.py 81 ERROR doctor fault management test failed, Exception=doctor fault management test failed, notification_time=1.2542247772216797 2018-12-11 20:49:42,082 fault_management.py 94 INFO fault management cleanup...... 2018-12-11 20:49:42,082 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2018-12-11 20:49:44,158 sample.py 79 INFO sample inspector stop...... 2018-12-11 20:49:44,193 sample.py 217 INFO shutdown inspector app server at 1544561384.193426 127.0.0.1 - - [11/Dec/2018 20:49:44] "POST /events/shutdown HTTP/1.1" 200 - 2018-12-11 20:49:44,196 sample.py 35 INFO sample monitor stop...... 2018-12-11 20:49:44,196 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-0.opnfvlf.org), host_ip(192.30.9.7) 2018-12-11 20:49:44,196 sample.py 31 INFO sample consumer stop...... 2018-12-11 20:49:44,201 sample.py 66 INFO shutdown consumer app server at 1544561384.2014997 127.0.0.1 - - [11/Dec/2018 20:49:44] "POST /shutdown HTTP/1.1" 200 - 2018-12-11 20:49:44,203 alarm.py 84 INFO alarm delete start....... 2018-12-11 20:49:45,690 alarm.py 93 INFO alarm delete end....... 2018-12-11 20:49:45,691 instance.py 76 INFO instance delete start....... 2018-12-11 20:50:10,468 instance.py 89 INFO instance delete end....... 2018-12-11 20:50:10,468 network.py 61 INFO subnet delete start....... 2018-12-11 20:50:11,215 network.py 64 INFO subnet delete end....... 2018-12-11 20:50:11,215 network.py 66 INFO network delete start....... 2018-12-11 20:50:12,151 network.py 69 INFO network delete end....... 2018-12-11 20:50:12,151 apex.py 167 INFO restore apply patches start...... 2018-12-11 20:50:12,152 image.py 71 INFO image delete start....... 2018-12-11 20:50:13,297 image.py 76 INFO image delete end....... 2018-12-11 20:50:13,297 user.py 163 INFO user delete start...... 2018-12-11 20:50:14,297 user.py 187 INFO user delete end...... Total time cost: 1400(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |146 |59 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:146 | | | | | | | | found affected:? | | | | | | | set VM error:1296 | | | | | | marked host down:205 | | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:1400