cyborg/0b76cd8fb1a4ffbaa84caa446daa409af02ed634
Gerrit User 34665 4841f1d721 Update patch set 6
Patch Set 6:

(2 comments)

Patch-set: 6
Attention: {"person_ident":"Gerrit User 34665 \u003c34665@4a232e18-c5a9-48ee-94c0-e04e7cca6543\u003e","operation":"REMOVE","reason":"\u003cGERRIT_ACCOUNT_34665\u003e replied on the change"}
2023-08-24 12:04:19 +00:00

144 lines
4.2 KiB
Plaintext

{
"comments": [
{
"unresolved": true,
"key": {
"uuid": "a1442506_7ef08d2a",
"filename": "cyborg/api/controllers/v2/devices.py",
"patchSetId": 5
},
"lineNbr": 144,
"author": {
"id": 31412
},
"writtenOn": "2023-08-18T02:53:43Z",
"side": 1,
"message": "need add microversion check.\nref:https://review.opendev.org/c/openstack/cyborg/+/817516",
"range": {
"startLine": 144,
"startChar": 0,
"endLine": 144,
"endChar": 39
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "464acbbc_b0a10384",
"filename": "cyborg/api/controllers/v2/utils.py",
"patchSetId": 5
},
"lineNbr": 47,
"author": {
"id": 31412
},
"writtenOn": "2023-08-18T02:53:43Z",
"side": 1,
"message": "please remove to common/placement_client.py",
"range": {
"startLine": 30,
"startChar": 0,
"endLine": 47,
"endChar": 77
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "d4aaebd9_b221f78b",
"filename": "cyborg/common/placement_client.py",
"patchSetId": 5
},
"lineNbr": 158,
"author": {
"id": 31412
},
"writtenOn": "2023-08-18T02:53:43Z",
"side": 1,
"message": "the latest version is invalid?",
"range": {
"startLine": 158,
"startChar": 37,
"endLine": 158,
"endChar": 53
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "021d8859_c96dd04c",
"filename": "cyborg/common/placement_client.py",
"patchSetId": 5
},
"lineNbr": 158,
"author": {
"id": 34665
},
"writtenOn": "2023-08-24T12:04:19Z",
"side": 1,
"message": "when disable a device, we need update the reserved\u0027s value to total; the placment api from 1.26 support this.\n------\nStarting from microversion 1.26, this value has to be less than or equal to the value of total.\nhttps://docs.openstack.org/api-ref/placement/?expanded\u003dupdate-resource-provider-inventory-detail#update-resource-provider-inventory",
"parentUuid": "d4aaebd9_b221f78b",
"range": {
"startLine": 158,
"startChar": 37,
"endLine": 158,
"endChar": 53
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "cbc0ed45_e52e4604",
"filename": "cyborg/common/policy.py",
"patchSetId": 5
},
"lineNbr": 52,
"author": {
"id": 31412
},
"writtenOn": "2023-08-18T02:53:43Z",
"side": 1,
"message": "rule:allow",
"range": {
"startLine": 52,
"startChar": 0,
"endLine": 52,
"endChar": 40
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
},
{
"unresolved": true,
"key": {
"uuid": "9114d266_5bb48eb9",
"filename": "cyborg/common/policy.py",
"patchSetId": 5
},
"lineNbr": 52,
"author": {
"id": 34665
},
"writtenOn": "2023-08-24T12:04:19Z",
"side": 1,
"message": "according to the bp, we allow the admin user to disable/enable device only.\n-------\n404(the device is not found),403(the role is not admin)\n\nhttps://review.opendev.org/c/openstack/cyborg-specs/+/891310/5/specs/2023.2/approved/disable-enable-device.rst",
"parentUuid": "cbc0ed45_e52e4604",
"range": {
"startLine": 52,
"startChar": 0,
"endLine": 52,
"endChar": 40
},
"revId": "0b76cd8fb1a4ffbaa84caa446daa409af02ed634",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543"
}
]
}