9975ae91 | 03-Apr-2020 |
Patrick Williams <patrick@stwcx.xyz> |
scripts: convert to python3
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I46e84f79a2698aaee286a1cd1b339b3bbf7296d3 |
36ae8e5c | 14-Jan-2020 |
Matt Spinler <spinler@us.ibm.com> |
Remove openpower-dbus-interfaces dependency
The YAML moved into phosphor-dbus-interfaces.
Change-Id: Ib76b22b076d781e8b13dfdc2875b58bb80684ac4 Signed-off-by: Matt Spinler <spinler@us.ibm.com> |
64354b66 | 20-Sep-2019 |
Andrew Geissler <geissonator@yahoo.com> |
Increase power down wait on factory reset
Testing has shows that the chassisoff operation can take up to 10 seconds. If the BMC is rebooted before the chassis power is fully off then unexpected erro
Increase power down wait on factory reset
Testing has shows that the chassisoff operation can take up to 10 seconds. If the BMC is rebooted before the chassis power is fully off then unexpected errors can get logged on the subsequent BMC reboot because it sees power is on, but all of the needed cached data is gone due to the factory reset.
Since this is in essence a one way command (the host is issuing a command that results in the host being powered down) the BMC does not need to adhere to the standard 5 second IPMI timeout limit.
There are more optimal ways to do this but due to the very limited use this command gets, a hard coded sleep time is fine.
Tested: George took an image with this fix and did multiple inband factory reset commands and verified no issues were found
Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: I58f97106fe763427ae8e7e75093e344dcc151b5b
show more ...
|
81c34dfe | 01-Nov-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
Replace reset BMC authentication with factory reset
Due to security concerns, replace the command that performs a reset of the BMC authentication mechanism to perform a full BMC reset so that any po
Replace reset BMC authentication with factory reset
Due to security concerns, replace the command that performs a reset of the BMC authentication mechanism to perform a full BMC reset so that any potential sensitive data is erased when the authentication mechanism needs to be reset.
Tested: Verified the host was powered off and the BMC was factory reset as part of this command.
Change-Id: I71dead237538d410e88710d2b7a53cea30de1426 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
822eaf6d | 12-Feb-2019 |
William A. Kennington III <wak@google.com> |
Convert host-ipmid -> libipmid
phosphor-host-ipmid now exposes a library along with headers for interfacing with the ipmi daemon. Compile and link against the new library.
Change-Id: I4f01c2d658b75
Convert host-ipmid -> libipmid
phosphor-host-ipmid now exposes a library along with headers for interfacing with the ipmi daemon. Compile and link against the new library.
Change-Id: I4f01c2d658b75d27e11f90013198a4951c62b1f5 Signed-off-by: William A. Kennington III <wak@google.com>
show more ...
|
4457f90d | 13-Feb-2019 |
Patrick Venture <venture@google.com> |
build: pkg anti-pattern: use defaults
Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing.
Change-Id: I7e36c34ab1cd7b45cb86fbfc5a3fe
build: pkg anti-pattern: use defaults
Use the defaults in the pkg check where the default error message is sufficient to identify which package is missing.
Change-Id: I7e36c34ab1cd7b45cb86fbfc5a3fe2fd0a7a262a Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
b61b107f | 28-Jan-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
eSEL: Add severity and callout to the error metadata
The sensor number in the eSEL data is mapped to the inventory object path and the callout association is added to the error metadata. The mapping
eSEL: Add severity and callout to the error metadata
The sensor number in the eSEL data is mapped to the inventory object path and the callout association is added to the error metadata. The mappings are generated from the MRW. The severity of the eSEL is inferred from the eSEL data and the corresponding error level is updated in the metadata. This implementation is moved from phosphor-ipmi-host to this repository, since this is OpenPower specific.
Change-Id: I0bf0fe3776b593c6d38a958a23a140aeae71e754 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
3503fdc9 | 09-Jan-2019 |
Tom Joseph <tomjoseph@in.ibm.com> |
eSEL : Handle logging of eSEL in OpenPower OEM library
The eSEL sent from host is logged as D-Bus error object only when Add SEL command is from the host. Since the eSEL is an OpenPower error repres
eSEL : Handle logging of eSEL in OpenPower OEM library
The eSEL sent from host is logged as D-Bus error object only when Add SEL command is from the host. Since the eSEL is an OpenPower error representation, this should not be handled in the phosphor implementation of the Add SEL command. The eSEL is logged as D-Bus error object when the progress indicator in the Partial Add eSEL data indicates last portion of the eSEL data.
Change-Id: I85c91e3c4819fb610ccf5ef27c2878e836c0f70e Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
02261c0c | 31-Oct-2018 |
Patrick Venture <venture@google.com> |
add .clang-format
Add clang-format file to enable auto-formatting during development and checking during CI.
Change-Id: I8389797fb47c019b8523057cb99486636efec623 Signed-off-by: Patrick Venture <ven
add .clang-format
Add clang-format file to enable auto-formatting during development and checking during CI.
Change-Id: I8389797fb47c019b8523057cb99486636efec623 Signed-off-by: Patrick Venture <venture@google.com>
show more ...
|
5dd0c1b6 | 29-Oct-2018 |
Patrick Venture <venture@google.com> |
build: set language to C++
Set the language in the build to C++.
Change-Id: Ic6085698a700b720a99858dc9ad0d85e972fb1a2 Signed-off-by: Patrick Venture <venture@google.com> |
a9915b76 | 09-Oct-2018 |
Jason M. Bills <jason.m.bills@linux.intel.com> |
Update to the new SEL reservation check
The interface to check SEL reservation IDs changed in openbmc/phosphor-host-ipmid, commit 13e67c8d43064d58fb8c4cc7757abb823e3ac51e. This commit updates to us
Update to the new SEL reservation check
The interface to check SEL reservation IDs changed in openbmc/phosphor-host-ipmid, commit 13e67c8d43064d58fb8c4cc7757abb823e3ac51e. This commit updates to use the new interface to check the SEL Rserveration ID.
Change-Id: I8151b13a927729efd88b4aec061c81ed7ba086ba Signed-off-by: Jason M. Bills <jason.m.bills@linux.intel.com>
show more ...
|
34aca013 | 25-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Enable local users in the authentication reset cmd
Along with resetting the password and disabling LDAP, local users should also be enabled again so one can ssh into the system with a local user acc
Enable local users in the authentication reset cmd
Along with resetting the password and disabling LDAP, local users should also be enabled again so one can ssh into the system with a local user account again.
This is accomplished by setting the UserEnabled property on every user object.
Tested: Saw users were enabled when running ipmitool raw 0x3a 0x11 from the host.
Change-Id: I5a313cf82e2596cb797b8b9431631a3fe4ffca8d Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
3288471d | 28-Sep-2018 |
Matt Spinler <spinler@us.ibm.com> |
Rename the reset password command
Call it 'reset authentication' instead, since it will do more than just reset the password, such as:
* Enable local users if they were disabled * Delete the LDAP c
Rename the reset password command
Call it 'reset authentication' instead, since it will do more than just reset the password, such as:
* Enable local users if they were disabled * Delete the LDAP configuration if there was one * Reset the root password back to the default one
Change-Id: Ib71e827be5e6b75ba4f2747f64041cc5f05cda48 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
show more ...
|
d6c7b2ec | 04-Oct-2018 |
Vernon Mauery <vernon.mauery@linux.intel.com> |
openpower-host-ipmi-oem: use c++17
Update configure.ac to choose the c++17 standard
Change-Id: Iba00344818ab24d6bc4ffe6b1abc2aabbd17bc4c Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com> |
81e23107 | 09-Aug-2018 |
Adriana Kobylak <anoo@us.ibm.com> |
Define new IBM OEM cmd to reset BMC password
Create a new OEM command to perform a reset of the BMC root password. It'll also re-enable the local account if it had been disabled. The implementation
Define new IBM OEM cmd to reset BMC password
Create a new OEM command to perform a reset of the BMC root password. It'll also re-enable the local account if it had been disabled. The implementation will be added in subsequent commits, for this first change just define the new function enum.
Change-Id: I54d8b6e5ce34a2a02b0142788a32cb5edf64b451 Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
show more ...
|
8fb3f03c | 27-Jul-2018 |
Andrew Jeffery <andrew@aj.id.au> |
oemhandler: Rename constructor function for generality
Previously it was specific to one command that was being registered. It already now registers two, and we're about to add a third. Rename it to
oemhandler: Rename constructor function for generality
Previously it was specific to one command that was being registered. It already now registers two, and we're about to add a third. Rename it to something more appropriately generic.
Change-Id: If6059847a130f15621155f05d87680d6cda868bd Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
9debcd66 | 30-May-2018 |
Joseph Reynolds <jrey@us.ibm.com> |
Use s.c_str() in log messages
Partly resolves openbmc/openbmc 2905
Tested: static_assert only
Change-Id: Ib22b2cd079422cd0de806d22302099c3f1a09887 Signed-off-by: Joseph Reynolds <jrey@us.ibm.com> |
454cc317 | 18-May-2018 |
Andrew Jeffery <andrew@aj.id.au> |
Add MAINTAINERS file
Change-Id: I722de7693e12a5378a8fed10ba40aff52f98c692 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
11b6efa6 | 30-Mar-2018 |
Gunnar Mills <gmills@us.ibm.com> |
README: Reword cleaning the repo
Reworded cleaning the repo. The old wording did not make sense.
Change-Id: Ic61e8f2b77e0536e656faa7dc6da06e20b67dd68 Signed-off-by: Gunnar Mills <gmills@us.ibm.com> |
246bc0d6 | 17-Oct-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Commit log entry if the eSEL record type is OCC metrics
Hostboot sends OCC metrics data like CPU temperature, memory bandwidth etc on a periodic basis. The OCC metrics is sent to BMC as eSEL record.
Commit log entry if the eSEL record type is OCC metrics
Hostboot sends OCC metrics data like CPU temperature, memory bandwidth etc on a periodic basis. The OCC metrics is sent to BMC as eSEL record. The progress field in the Partial Add eSEL command indicates the complete eSEL record is sent. On receiving the complete eSEL record a logging entry is made, with the additional data containing the eSEL record.
Change-Id: I2476d7fc2bb375a8d18be3495fc9680333ca85fb Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
56c534b1 | 17-Oct-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Add error and metadata yaml for OCC metrics
This commit adds the error and metadata yaml for the OCC metrics which would be logged when the host sends the ESEL info.
Change-Id: I0c1faba6d152f2bd4cb
Add error and metadata yaml for OCC metrics
This commit adds the error and metadata yaml for the OCC metrics which would be logged when the host sends the ESEL info.
Change-Id: I0c1faba6d152f2bd4cbf504ece96eb36980f36ac Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
show more ...
|
17346b00 | 17-Oct-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Add .gitignore file
Change-Id: Ifbcef1b951f5cd88c762aad377b2bbb8504855b2 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> |
64994eab | 24-Oct-2017 |
Tom Joseph <tomjoseph@in.ibm.com> |
Change the NetFn for Partial Add eSEL command
Change-Id: I21a718636c54ca531b85048bcb45f7add77c9196 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com> |
07655065 | 14-Jul-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
Add support to send host bound commands for OpenPower machines
Ipmid launches a D-Bus service that would enable REST users to send commands to Host. This commit puts the support for using that servi
Add support to send host bound commands for OpenPower machines
Ipmid launches a D-Bus service that would enable REST users to send commands to Host. This commit puts the support for using that service to send commands that are applicable to OpenPower implementations only.
Change-Id: I68dcb3e742145b85a719fa3045367402aa1ed19b Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
show more ...
|
d9296050 | 15-Jun-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Remove un-needed printf about esel
Fills up the journal when the host is sending down multiple and/or large esel's
Change-Id: If74afe448d9211c798a1ffd70bfe7cd57d063f6c Signed-off-by: Andrew Geissle
Remove un-needed printf about esel
Fills up the journal when the host is sending down multiple and/or large esel's
Change-Id: If74afe448d9211c798a1ffd70bfe7cd57d063f6c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|