Score:0

octavia load balancer missing policies on openstack

us flag

I am trying to integrate octavia load balancer into openstack yoga on ubuntu 22.04 lts

I have followed this guide https://docs.openstack.org/octavia/latest/install/install-ubuntu.html

here are my install instructions https://pastebin.com/tdahmR95

It seems I am missing roles in openstack which I cannot figure out why as the test is not working

https://docs.openstack.org/octavia/latest/contributor/guides/dev-quick-start.html

towards bottom of above page is below commands to test

# openstack loadbalancer create --name lb1 --vip-subnet-id private-subnet
# openstack loadbalancer show lb1
# openstack loadbalancer listener create --name listener1 --protocol HTTP --protocol-port 80 lb1

I error with https://bugs.launchpad.net/charm-octavia/+bug/1961198 Policy does not allow this request to be performed

Score:0
cw flag

I am unsure if you still need this but hopefully I can help someone. I fixed this issue by first creating the role as listed here:

https://docs.openstack.org/octavia/latest/configuration/policy.html

openstack role create load-balancer_admin

and then adding my user to said role

openstack role add --project admin --user admin load-balancer_admin

shorif2000 avatar
us flag
this is an odd approach. if i create the role won't that mean i will have to create all the policies for the role? should this not be part of the installation?
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.