- Community Home
- >
- Servers and Operating Systems
- >
- ProLiant
- >
- ProLiant Servers (ML,DL,SL)
- >
- iLO Redfish question
-
-
Forums
- Products
- Servers and Operating Systems
- Storage
- Software
- Services
- HPE GreenLake
- Company
- Events
- Webinars
- Partner Solutions and Certifications
- Local Language
- China - 简体中文
- Japan - 日本語
- Korea - 한국어
- Taiwan - 繁體中文
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Blog, Poland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Forums
-
Blogs
-
Information
-
English
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-06-2021 08:13 AM
04-06-2021 08:13 AM
iLO Redfish question
Trying to get signed certificates for our iLO interfaces. I first extracted list of hardware from OneView and put in a file. I get session credentials from OneView and then run:
HARDW=hardware-list
for SERVER in server-r{1..3}-n{1..23}-ilo; do
UUID=$(jq -r '.members[] | select(.name=="'${SERVER}'") | "\(.uuid)"' ${HARDW})
read iLOSSO iLOAuth <<< $(curl --insecure --header "X-API-Version: ${currentVersion}" \
--header "auth: ${sessionID}" \
--request GET ${OneView}/rest/server-hardware/${UUID}/remoteConsoleUrl | \
jq -r '.remoteConsoleUrl' | sed -e 's|hplcons|https|' -e 's|addr=||' \
-e 's|^\(.*\)&sesionkey=\(.*\)$|\1 \2|'); CSR=$(curl --insecure --header "X-Auth-Token: ${iLOAuth}" |
--header "Content-Type: application/json" \
--data '{"City":"Myplace","CommonName":"'${SERVER}'","Country":"US","OrgName":"MYPlace","OrgUnit":"XXX,YYY,ZZZ","State":"MD","IncludeIP":"true"}' \
--request POST ${iLOSSO}/redfish/v1/Managers/1/SecurityService/HttpsCert | \
jq -r '.')
echo "${SERVER},${CSR}"
done
I'm getting back:
{
"error": {
"code": "iLO.0.10.ExtendedInfo",
"message": "See @Message.ExtendedInfo for more information.",
"@Message.ExtendedInfo": {
{
"MessageArgs": [
"Action"
],
"MessageId": "Base.1.4.PropertyMissing"
}
}
}
}
First, does anyone have an idea what I am missing?
Second, we normally provide three OrgUnit's when creating a CSR. I tried putting "OrgUnit":"data" in three times, but it looks like it only took the last one. Oh, can I do: "OrgUnit": [ "XXX", "YYY", "ZZZ" ] ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2021 12:30 AM
04-12-2021 12:30 AM
Re: iLO Redfish question
Hi,
May be these links will help you for "MessageId": "Base.1.4.PropertyMissing"
https://github.com/HewlettPackard/ilo-rest-api-docs/blob/master/source/includes/_ilo5_msgregs.md
https://hewlettpackard.github.io/iLOAmpPack-Redfish-API-Docs/
Base.1.4.PropertyMissing
Indicates that a required property was not supplied as part of the request.
Resolution: Ensure that the property is in the request body and has a valid value and resubmit the request if the operation failed.
Thanks
I work for HPE
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2022 Hewlett Packard Enterprise Development LP