Commit 696fcde
authored
fix: do not try to anonymously query the chassis subsystem as part of querying the service root (#64)
We have logic to special case powershelf handling in site explorer: we
query the chassis using the credentials in expected powershelves.
Reverts changes introduced in this commit:
b040d6d
```
spyda@control72-cno1-cp1-jhb01:~$ curl -k https://7.243.146.248/redfish/v1
{
"@odata.id": "/redfish/v1",
"@odata.type": "#ServiceRoot.v1_11_0.ServiceRoot",
"AccountService": {
"@odata.id": "/redfish/v1/AccountService"
},
"CertificateService": {
"@odata.id": "/redfish/v1/CertificateService"
},
"Chassis": {
"@odata.id": "/redfish/v1/Chassis"
},
"EventService": {
"@odata.id": "/redfish/v1/EventService"
},
"Id": "RootService",
"JsonSchemas": {
"@odata.id": "/redfish/v1/JsonSchemas"
},
"Links": {
"Sessions": {
"@odata.id": "/redfish/v1/SessionService/Sessions"
}
},
"Managers": {
"@odata.id": "/redfish/v1/Managers"
},
"Name": "Root Service",
"ProtocolFeaturesSupported": {
"DeepOperations": {
"DeepPATCH": false,
"DeepPOST": false
},
"ExcerptQuery": false,
"ExpandQuery": {
"ExpandAll": false,
"Levels": false,
"Links": false,
"NoLinks": false
},
"FilterQuery": false,
"OnlyMemberQuery": false,
"SelectQuery": false
},
"RedfishVersion": "1.9.0",
"Registries": {
"@odata.id": "/redfish/v1/Registries"
},
"SessionService": {
"@odata.id": "/redfish/v1/SessionService"
},
"Tasks": {
"@odata.id": "/redfish/v1/TaskService"
},
"TelemetryService": {
"@odata.id": "/redfish/v1/TelemetryService"
},
"UUID": "3a9bae74-e8e2-4ba7-87fe-b1f13c32b37c",
"UpdateService": {
"@odata.id": "/redfish/v1/UpdateService"
}
}
spyda@control72-cno1-cp1-jhb01:~$ curl -k https://7.243.146.248/redfish/v1/Chassis
Unauthorized
```1 parent 5cda151 commit 696fcde
1 file changed
Lines changed: 1 addition & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
632 | 632 | | |
633 | 633 | | |
634 | 634 | | |
635 | | - | |
636 | | - | |
637 | | - | |
638 | | - | |
639 | | - | |
640 | | - | |
641 | | - | |
642 | | - | |
643 | | - | |
644 | | - | |
645 | | - | |
| 635 | + | |
646 | 636 | | |
647 | 637 | | |
648 | 638 | | |
| |||
0 commit comments