Skip to content

Session ends during exporter starts #682

@cheeye

Description

@cheeye

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

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions