Skip to content

401 Unauthorized #8

@hit0ri

Description

@hit0ri

Hi. I'm getting 401 Unauthorized with ovirt 4.3.5.4-1.el7.

User prometheus has ReadOnlyAdmin role assigned.

log:

$ ovirt_exporter -api.url https://<REDACTED>/ovirt-engine/api/ -api.username prometheus@internal -api.password <REDACTED> -debug
INFO[0000] Starting oVirt exporter (Version: 0.9.0)      source="main.go:74"
INFO[0000] Listening for /metrics on :9325               source="main.go:103"
ERRO[0002] 401 Unauthorized                              source="vm_collector.go:110"
ERRO[0002] 401 Unauthorized                              source="host_collector.go:85"
ERRO[0003] 401 Unauthorized                              source="vm_collector.go:110"
ERRO[0003] 401 Unauthorized                              source="storagedomain_collector.go:48"
ERRO[0003] 401 Unauthorized                              source="host_collector.go:85"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions