/usr/lib/python3.6/site-packages/paramiko/client.py:779: UserWarning: Unknown ssh-ed25519 host key for 192.168.122.34: b'194f7d26fba9bb0de4c5f6c33db13efc' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2019-03-26 17:10:34,369 main.py 130 INFO doctor test starting....... 2019-03-26 17:10:34,369 apex.py 40 INFO Setup Apex installer start...... 2019-03-26 17:10:34,370 base.py 113 INFO Get SSH keys from apex installer...... 2019-03-26 17:10:34,841 apex.py 57 INFO Get overcloud config details from Apex installer...... 2019-03-26 17:10:34,841 base.py 174 INFO Run command=source stackrc; nova list | grep ' overcloud-' in apex installer...... 2019-03-26 17:10:39,389 base.py 183 INFO Output=['| 26be3080-1ddf-4518-b8aa-09949105516a | overcloud-controller-0 | ACTIVE | - | Running | ctlplane=192.30.9.8 |', '| 13e12ba9-c345-44cd-b0e6-fdc8ef666fa6 | overcloud-novacompute-0 | ACTIVE | - | Running | ctlplane=192.30.9.6 |', '| 44ce5053-9efb-4a5d-8c49-7edb1ebf21c8 | overcloud-novacompute-1 | ACTIVE | - | Running | ctlplane=192.30.9.4 |'] command=source stackrc; nova list | grep ' overcloud-' in apex installer 2019-03-26 17:10:39,389 base.py 188 INFO Check command=grep docker /home/stack/deploy_command return in apex installer...... 2019-03-26 17:10:39,452 base.py 191 INFO return 0 2019-03-26 17:10:39,453 apex.py 70 INFO controller_ips:['192.30.9.8'] 2019-03-26 17:10:39,453 apex.py 71 INFO compute_ips:['192.30.9.6', '192.30.9.4'] 2019-03-26 17:10:39,453 apex.py 72 INFO use_containers:True 2019-03-26 17:10:40,206 apex.py 92 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.8: b'8ae40dd7413aa6301eafae4b6f9e5f82' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2019-03-26 17:10:45,455 apex.py 127 INFO Set apply patches start...... 2019-03-26 17:10:45,455 base.py 63 INFO Setup ssh stunnel in apex installer...... 2019-03-26 17:10:45,456 base.py 76 INFO tunnel for port 12346 2019-03-26 17:10:45,460 image.py 48 INFO image create start...... 2019-03-26 17:10:51,892 image.py 68 INFO image create end...... 2019-03-26 17:10:51,893 user.py 70 INFO user create start...... 2019-03-26 17:10:52,096 user.py 86 INFO create project...... 2019-03-26 17:10:52,326 user.py 95 INFO test project 2019-03-26 17:10:52,551 user.py 103 INFO create user...... 2019-03-26 17:10:53,040 user.py 113 INFO test user 2019-03-26 17:10:53,248 user.py 127 INFO role _member_ already created...... 2019-03-26 17:10:53,248 user.py 128 INFO test role 2019-03-26 17:10:54,318 user.py 78 INFO user create end...... 2019-03-26 17:10:54,318 main.py 55 INFO doctor fault management test starting....... 2019-03-26 17:11:01,412 fault_management.py 65 INFO fault management setup...... 2019-03-26 17:11:01,413 user.py 190 INFO quota update start...... 2019-03-26 17:11:01,413 user.py 206 INFO default quota update start...... 2019-03-26 17:11:02,111 user.py 217 INFO user quota update start...... 2019-03-26 17:11:02,425 user.py 230 INFO quota update end...... 2019-03-26 17:11:02,425 network.py 41 INFO network create start....... 2019-03-26 17:11:03,715 network.py 47 INFO network create end....... 2019-03-26 17:11:03,715 network.py 49 INFO subnet create start....... 2019-03-26 17:11:04,338 network.py 58 INFO subnet create end....... 2019-03-26 17:11:04,338 instance.py 51 INFO instance create start...... 2019-03-26 17:11:07,021 instance.py 73 INFO instance create end...... 2019-03-26 17:11:07,021 instance.py 92 INFO wait for vm launch start...... 2019-03-26 17:11:16,436 instance.py 110 INFO wait for vm launch end...... 2019-03-26 17:11:16,437 alarm.py 45 INFO alarm create start...... 2019-03-26 17:11:19,195 alarm.py 81 INFO alarm create end...... 2019-03-26 17:11:19,196 sample.py 85 INFO sample inspector start...... 2019-03-26 17:11:20,429 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) 2019-03-26 17:11:21,749 apex.py 76 INFO Get host ip by hostname=overcloud-novacompute-1.opnfvlf.org from Apex installer...... 2019-03-26 17:11:21,749 base.py 174 INFO Run command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer...... 2019-03-26 17:11:26,749 base.py 183 INFO Output=['192.30.9.4'] command=source stackrc; nova show overcloud-novacompute-1 | awk '/ ctlplane network /{print $5}' in apex installer 2019-03-26 17:11:26,750 fault_management.py 118 INFO Get host info(name:overcloud-novacompute-1.opnfvlf.org, ip:192.30.9.4) which vm(doctor_vm0) launched at 2019-03-26 17:11:26,750 sample.py 30 INFO sample monitor start...... 2019-03-26 17:11:26,751 sample.py 85 INFO Starting Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2019-03-26 17:13:26,846 fault_management.py 89 INFO fault management start...... 2019-03-26 17:13:26,848 base.py 113 INFO Get SSH keys from apex installer...... 2019-03-26 17:13:26,848 base.py 117 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.4: b'a6aafde4dafd92afa5dfe7173758dab0' key.get_name(), hostname, hexlify(key.get_fingerprint()), 2019-03-26 17:13:26,916 utils.py 91 INFO Copy /src/doctor-tests/doctor_tests/disable_network.sh -> disable_network.sh 2019-03-26 17:13:27,140 utils.py 72 INFO Executing: bash disable_network.sh > disable_network.log 2>&1 & 2019-03-26 17:13:27,193 utils.py 86 INFO *** SUCCESSFULLY run command bash disable_network.sh > disable_network.log 2>&1 & 2019-03-26 17:13:27,194 fault_management.py 91 INFO fault management end...... 2019-03-26 17:13:28,394 sample.py 98 INFO doctor monitor detected at 1553620408.394777 2019-03-26 17:13:28,395 sample.py 41 INFO sample monitor report error...... 2019-03-26 17:13:28,404 sample.py 238 INFO event posted in sample inspector at 1553620408.404319 2019-03-26 17:13:28,404 sample.py 239 INFO sample inspector = 2019-03-26 17:13:28,405 sample.py 241 INFO sample inspector received data = b'[{"time": "2019-03-26T17:13:28.395386", "type": "compute.host.down", "details": {"hostname": "overcloud-novacompute-1.opnfvlf.org", "status": "down", "monitor": "monitor_sample", "monitor_event_id": "monitor_sample_event1"}}]' 2019-03-26 17:13:28,451 sample.py 196 INFO doctor compute.instance.update vm() error 1553620408.4519324 2019-03-26 17:13:28,485 sample.py 165 INFO doctor mark host(overcloud-novacompute-1.opnfvlf.org) down at 1553620408.4852626 2019-03-26 17:13:28,586 sample.py 58 INFO doctor consumer notified at 1553620408.5864134 2019-03-26 17:13:28,587 sample.py 61 INFO sample consumer received data = {'severity': 'moderate', 'alarm_name': 'doctor_alarm0', 'current': 'alarm', 'alarm_id': '021a5e01-8278-4ea1-9c83-55f830b45a50', 'reason': 'Event hits the query .', 'reason_data': {'type': 'event', 'event': {'event_type': 'compute.instance.update', 'traits': [['resource_id', 1, '1962615a-a247-4f2e-b4d7-44d1a3dde992'], ['service', 1, 'sample'], ['state', 1, 'error'], ['project_id', 1, '983d6fbf7e764b66bb29fdc248902543'], ['instance_id', 1, '1962615a-a247-4f2e-b4d7-44d1a3dde992'], ['tenant_id', 1, '983d6fbf7e764b66bb29fdc248902543']], 'message_signature': '58588aa3f43508b0c468a37b2eb0eae0826b824d92242e32862c5f8d8b62bc13', 'raw': {}, 'generated': '2019-03-26T17:13:28.406688', 'message_id': '96743bc9-3d3c-4fbd-8740-4f2d1866a395'}}, 'previous': 'insufficient data'} 2019-03-26 17:13:28,589 sample.py 176 INFO doctor mark vm() error at 1553620408.5892508 127.0.0.1 - - [26/Mar/2019 17:13:28] "POST /failure HTTP/1.1" 200 - 127.0.0.1 - - [26/Mar/2019 17:13:28] "PUT /events HTTP/1.1" 200 - 2019-03-26 17:13:28,593 sample.py 101 INFO ping timeout, quit monitoring... 2019-03-26 17:13:57,245 fault_management.py 185 INFO doctor fault management notification_time=0.191636323928833 2019-03-26 17:13:57,245 fault_management.py 188 INFO doctor fault management test successfully 2019-03-26 17:13:57,245 fault_management.py 198 INFO run doctor fault management profile....... 2019-03-26 17:13:57,246 base.py 113 INFO Get SSH keys from apex installer...... 2019-03-26 17:13:57,246 base.py 117 INFO Already have SSH keys from apex installer...... 2019-03-26 17:14:00,318 utils.py 91 INFO Copy disable_network.log -> /src/doctor-tests/doctor_tests/disable_network.log 2019-03-26 17:14:00,540 fault_management.py 155 INFO Get the disable_netork.log fromdown_host(host_name:overcloud-novacompute-1.opnfvlf.org, host_ip:192.30.9.4) 2019-03-26 17:14:00,544 profiler_poc.py 97 INFO Total time cost: 356(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |164 |90 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:164 | | | | | | | | found affected:? | | | | | | | set VM error:358 | | | | | | marked host down:254 | | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356 2019-03-26 17:14:00,544 fault_management.py 94 INFO fault management cleanup...... 2019-03-26 17:14:00,544 fault_management.py 136 INFO Already get the disable_netork.log from down_host...... 2019-03-26 17:14:02,634 sample.py 91 INFO sample inspector stop...... 2019-03-26 17:14:02,671 sample.py 253 INFO shutdown inspector app server at 1553620442.6710386 127.0.0.1 - - [26/Mar/2019 17:14:02] "POST /events/shutdown HTTP/1.1" 200 - 2019-03-26 17:14:02,673 sample.py 35 INFO sample monitor stop...... 2019-03-26 17:14:02,674 sample.py 108 INFO Stopping Pinger host_name(overcloud-novacompute-1.opnfvlf.org), host_ip(192.30.9.4) 2019-03-26 17:14:02,674 sample.py 31 INFO sample consumer stop...... 2019-03-26 17:14:02,679 sample.py 66 INFO shutdown consumer app server at 1553620442.679348 127.0.0.1 - - [26/Mar/2019 17:14:02] "POST /shutdown HTTP/1.1" 200 - 2019-03-26 17:14:02,681 alarm.py 84 INFO alarm delete start....... 2019-03-26 17:14:04,155 alarm.py 93 INFO alarm delete end....... 2019-03-26 17:14:04,156 instance.py 76 INFO instance delete start....... 2019-03-26 17:14:30,039 instance.py 89 INFO instance delete end....... 2019-03-26 17:14:30,040 network.py 61 INFO subnet delete start....... 2019-03-26 17:14:30,833 network.py 64 INFO subnet delete end....... 2019-03-26 17:14:30,833 network.py 66 INFO network delete start....... 2019-03-26 17:14:31,696 network.py 69 INFO network delete end....... 2019-03-26 17:14:31,697 apex.py 145 INFO restore apply patches start...... 2019-03-26 17:14:31,770 image.py 71 INFO image delete start....... 2019-03-26 17:14:32,332 image.py 76 INFO image delete end....... 2019-03-26 17:14:32,333 user.py 163 INFO user delete start...... 2019-03-26 17:14:33,708 user.py 187 INFO user delete end...... Total time cost: 356(ms) ==============================================================================> |Monitor|Inspector |Controller|Notifier|Evaluator | |164 |90 |? |? |? | | | | | | | | | | | link down:0 | | | | | | | | | raw failure:164 | | | | | | | | found affected:? | | | | | | | set VM error:358 | | | | | | marked host down:254 | | | | | notified VM error:? | | | | transformed event:? | | | evaluated event:? | | fired alarm:? | received alarm:356