cleanupPCIE: Catch file_error::Open exception

The bus that is read may only show up at certain
times, such as during poweron. It is not
a fatal error condition if the bus is not available.
So we will let it get logged to the journal, but not
let it get committed in this case.

Tested: It was an intermittent failure, but ran
        poweron/poweroff a few times and didn't see
        the error pop up again.

Resolves: openbmc/openbmc#3510

Change-Id: I47629e5f27fb847aa0094f0757b1988f8e645ebc
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>
1 file changed
tree: 615edf5f5f7e6998b4ae68bd52effeb316881376
  1. procedures/
  2. test/
  3. .clang-format
  4. .gitignore
  5. bootstrap.sh
  6. cfam_access.cpp
  7. cfam_access.hpp
  8. configure.ac
  9. ext_interface.cpp
  10. ext_interface.hpp
  11. filedescriptor.cpp
  12. filedescriptor.hpp
  13. gen_makefile.sh
  14. LICENSE
  15. MAINTAINERS
  16. Makefile.am
  17. Makefile.generated.in
  18. p9_cfam.hpp
  19. pcie-poweroff@.service.in
  20. proc_control.cpp
  21. README.md
  22. registration.cpp
  23. registration.hpp
  24. targeting.cpp
  25. targeting.hpp
README.md

Contains procedures that interact with the OpenPower nest chipset.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To clean the repository run `./bootstrap.sh clean`.