Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session ends during exporter starts #682

Open
cheeye opened this issue Dec 10, 2024 · 1 comment
Open

Session ends during exporter starts #682

cheeye opened this issue Dec 10, 2024 · 1 comment
Assignees
Labels
area: code client Requested by clients discussion needed type: bug Something isn't working

Comments

@cheeye
Copy link

cheeye commented Dec 10, 2024

Describe the bug
During the exporter starts, it enables all available cpc objects. But it ends when it hit an exception. I didn't get such issue with v1.7.1.

.....
Enabling auto-update for storage volume V5K_DATA_0_LPAR_27.100.00 GiB Data
Enabling auto-update for storage volume v840_lpar04_data_01.200.00 GiB Boot
Enabling auto-update for storage volume V5K_ROOT_LPAR_19.1200.00 GiB Data
Error: Error returned from HMC at 172.16.31.232: 500,12: Unexpected Throwable [GET /api/storage-groups/30edc2dc-9132-11eb-9f12-00106f23b391/storage-volumes]
Closing session with HMC

Expected behavior
Continue enabling all the rest objects

To Reproduce
Start exports

Environment information

  • Output of zhmc_prometheus_exporter --version:
zhmc_prometheus_exporter version: 2.0.0
zhmcclient version: 1.18.2
  • HMC version: 2.15.0
@andy-maier
Copy link
Member

andy-maier commented Dec 12, 2024

Hello @cheeye . The HTTP status code 500 reason code 12 is not something the HMC should return. The exporter has no other chance than giving up when it gets that.

Could you please open a PMR for that error? That allows the Z firmware team to analyze the problem.

I am pretty confident that exporter version 1.7.1 would also give up when it encounters that situation. If the issue is reproducible with exporter version 2.0.0, can you please run version 1.7.1 against the same HMC and see whether the problem occurs with that version, too?

@andy-maier andy-maier self-assigned this Dec 12, 2024
@andy-maier andy-maier added type: bug Something isn't working area: code discussion needed client Requested by clients labels Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: code client Requested by clients discussion needed type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants