Hello,
With the help of Allain Legacy, I have reproduced bugs in the latest starlingx (2019/06/26) environment. Currently, the script code is parsed and debugged mainly according to the log. The scope of the bug may be a bit large and takes a little time.
If you have good suggestions, welcome to share.
The following is the log of the bug reproduction.
Hello,
With the help of Allain Legacy, I have reproduced bugs in the latest starlingx (2019/06/26) environment. Currently, the script code is parsed and debugged mainly according to the log. The scope of the bug may be a bit large and takes a little time.
If you have good suggestions, welcome to share.
The following is the log of the bug reproduction.
[sysadmin@ controller- 0 ~(keystone_admin)]$ system --debug certificate-install -m dummy mykey.pem 192.178. 204.2:5000/ v3/auth/ tokens :207) Starting new HTTP connection (1): 192.178.204.2 :395) http:// 192.178. 204.2:5000 "POST /v3/auth/tokens HTTP/1.1" 201 4540 eebde0709495626 70f", "name": "reader"}, {"id": "97e6164b985f44 b3899ad8022de3e b60", "name": "member"}, {"id": "09115934acf442 04b3c4df69742c6 286", "name": "admin"}], "expires_at": "2019-07- 05T08:42: 27.000000Z" , "project": {"domain": {"id": "default", "name": "Default"}, "id": "0c2bf514002948 238cbecadda2440 dce", "name": "admin"}, "catalog": [{"endpoints": [{"url": "http:// 10.10.10. 3:18002", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "646e43841db144 2f89e792bfee0d1 f03"}, {"url": "http:// 192.178. 204.2:18002", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "eb616ad932e14b ef86a5bfda89518 7d3"}, {"url": "http:// 192.178. 204.2:18002", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "76017e49ff5249 50a8653cd189e1c a7b"}], "type": "faultmanagement", "id": "962af3c06eab47 c385eeb74f6128e 721", "name": "fm"}, {"endpoints": [{"url": "http:// 10.10.10. 3:9311", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "35a27d0482c14c e99e0a23d25c8a9 63d"}, {"url": "http:// 192.178. 204.2:9311", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1fae0f38215149 85943d302d47d17 80b"}, {"url": "http:// 192.178. 204.2:9311", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "fd2f04cb9ef34c 0d9376303062454 1a6"}], "type": "key-manager", "id": "3bd317389fd141 68adbbfdbc9aa60 f1c", "name": "barbican"}, {"endpoints": [{"url": "http:// 10.10.10. 3:5000/ v3", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d14134cd59b146 ad814f404189ad1 2de"}, {"url": "http:// 192.178. 204.2:5000/ v3", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5a2368d1c33e4c 88bf9fd6b92a14f eb5"}, {"url": "http:// 192.178. 204.2:5000/ v3", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "bdf089a0187440 b58323a181ca501 e9b"}], "type": "identity", "id": "bb9aab9eafbb4c e2bbb3e1d333a15 a71", "name": "keystone"}, {"endpoints": [{"url": "http:// 10.10.10. 3:6385/ v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "99f16d7f6ee146 b5b7d39b3025a21 e24"}, {"url": "http:// 192.178. 204.2:6385/ v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "1204f5edebe446 57aa0ee9f631e6c 67b"}, {"url": "http:// 192.178. 204.2:6385/ v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a11c1a4e74824c 619461e7aaa177a 64e"}], "type": "platform", "id": "036dbd953e714d 5da3890db41a4cf 2a3", "name": "sysinv"}, {"endpoints": [{"url": "http:// 10.10.10. 3:15491", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "da1e8b28e4b74b b89fad713ff0248 866"}, {"url": "http:// 192.178. 204.2:5491", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "3a8347ddb77e4b 06bed986e3ab768 537"}, {"url": "http:// 192.178. 204.2:5491", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2bb31dffcb7a4a 33a5ff0b332bc0b b3e"}], "type": "patching", "id": "8528683a465a45 3f853e50fd69b95 429", "name": "patching"}, {"endpoints": [{"url": "http:// 10.10.10. 3:4545", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "cb19989742c242 e5a841ec59de942 f97"}, {"url": "http:// 192.178. 204.2:4545", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "abfdde7d01ca4d 78a148f58263bd8 c70"}, {"url": "http:// 192.178. 204.2:4545", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "f4440ad463ec43 558da2dec223630 6f5"}], "type": "nfv", "id": "2543ba54ba3742 64996934b98542d a77", "name": "vim"}, {"endpoints": [{"url": "http:// 10.10.10. 3:7777", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "ff30be93a27a4b 0a8071326a19e7e 952"}, {"url": "http:// 192.178. 204.2:7777", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f4a1f474b2a349 29be5e092181872 f95"}, {"url": "http:// 192.178. 204.2:7777", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0c72668902d644 57a25765bf1e68e 161"}], "type": "smapi", "id": "3b486dbbcf804a e081a38f573ad8c 2f9", "name": "smapi"}], "user": {"domain": {"id": "default", "name": "Default"}, "password_ expires_ at": null, "name": "admin", "id": "4c79c7b32bdb44 81b12445dc5805c 493"}, "audit_ids": ["-8tjzr4xS1C9y iathI_47w" ], "issued_at": "2019-07- 05T07:42: 27.000000Z" }} :207) Starting new HTTP connection (1): 192.178.204.2 :395) http:// 192.178. 204.2:6385 "POST /v1/certificate /certificate_ install HTTP/1.1" 200 47
DEBUG (base:187) Making authentication request to http://
DEBUG (connectionpool
DEBUG (connectionpool
DEBUG (base:192) {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "02cf8679e4bd4f
WARNING: For security reasons, the original certificate,
containing the private key, will be removed,
once the private key is processed.
DEBUG (connectionpool
DEBUG (connectionpool
Certificate mykey.pem not installed: Invalid mode: dummy
vim /var/log/ sysinv- api.log: api.hooks. auditor [req-4f521f2f- 8e64-4076- 840c-6704ee4810 88 4c79c7b32bdb448 1b12445dc5805c4 93 0c2bf5140029482 38cbecadda2440d ce] 192.178.204.3 "POST /v1/certificate /certificate_ install HTTP/1.0" status: 200 len: 47 time: 0.000790119171143 host:192. 178.204. 2:6385 agent:python- requests/ 2.21.0 user: admin tenant: admin domain: Default
2019-07-05 07:42:27.342 90971 INFO sysinv.