- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: ilorest tool on Centos/RHEL - flashfwpkg
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- 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
09-24-2018 02:14 AM
09-24-2018 02:14 AM
ilorest tool on Centos/RHEL - flashfwpkg
The ilorest flasfwpkg tool fails on Linux with an error like:
ERROR: [Errno 2] No such file or directory: '$HOME/.iLOrest/cache/jtvuuqlqcdom\\payload.json'
There is a file $HOME/.iLOrest/cache/jtvuuqlqcdom/payload.json'
It looks like the ilorest tool is using the wrong separator for the file path.
Does anyone know how to fix/work around this?
Note: using the Windows version of ilorest is not a viable option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2018 01:32 PM
10-01-2018 01:32 PM
Re: ilorest tool on Centos/RHEL - flashfwpkg
I'm seeing the exact same behavior. Has anybody found the solution?
I tried the --nocache option, but that didn't change the error message.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 05:19 AM
10-15-2018 05:19 AM
Re: ilorest tool on Centos/RHEL - flashfwpkg
Which version ILO REST tool is being used for this issue. If you are using 2.4. Kindly use Version 2.3 and let us know the result
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-15-2018 02:54 PM
10-15-2018 02:54 PM
Re: ilorest tool on Centos/RHEL - flashfwpkg
Using the latest version from the HP website.
We eventually downloaded the source code from github and changed the file separator.
Problems lines are in src/extensions/iLO REPOSITORY COMMANDS/FwpkgCommand.py
Lines 205 and 263 both use string concatenation and a hardcoded separator of '\\' to create the filename. Changing that constant to '/' fixes the problem on Linux, but would not work on Windows.
Using os.path.join (https://docs.python.org/2/library/os.path.html#os.path.join) would make the code platform independent. Or at least use os.sep (https://docs.python.org/2/library/os.html#os.sep)
As a side comment - distributing this as an executable compiled with pyinstaller adds considerably to the difficulty of making changes. If seuptools was used instead the source code would be much easier to work with.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2018 09:32 AM
10-16-2018 09:32 AM
Re: ilorest tool on Centos/RHEL - flashfwpkg
I've passed your comments on to the team that maintains ilorest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2018 10:06 AM
10-16-2018 10:06 AM
Re: ilorest tool on Centos/RHEL - flashfwpkg
Response from the ilorest team
We are aware of this issue and already have applied a fix which we be available in the next release.
The tool is avalable as source instead of an executable on github.
https://github.com/HewlettPackard/python-redfish-utility