Skip to content

[Bug]: update dbaas valkey, requires compute access #824

@av-lasse

Description

@av-lasse

Current Behavior

I have a role with the following permissions, when I can update the dbaas filter on mysql and opensearch:

exo dbaas update --mysql-ip-filter 1.2.3.4 mysql-database -z de-muc-1

but when i try on valkey i get this error:

exo dbaas update --valkey-ip-filter 1.2.3.4 valkey-database -z de-muc-1
error: unable to create client: switch client zone v3: get zone api endpoint: list zones: ListZones: http response: Forbidden: Forbidden by role policy for compute
{"default-service-strategy":"deny","services":{"dbaas":{"type":"rules","rules":[{"expression":"operation.startsWith('get-dbaas-service')","action":"allow"},{"expression":"operation.startsWith('get-dbaas-settings')","action":"allow"},{"expression":"operation.startsWith('list-dbaas-service')","action":"allow"},{"expression":"operation.startsWith('update-dbaas-service')","action":"allow"}]}

Expected Behavior

I expect it to update the dbaas service without needing permissions to compute.

Steps To Reproduce

No response

CLI Version

exo 1.84.0 4de2955 (egoscale 0.102.3)

Os platform

Linux

Relevant log output

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions