I am having same issue on ubuntu 22.04 lts. openstack yoga. fresh install
i have installed octavia and trying the command
openstack loadbalancer create --name lb1 --vip-subnet-id 49847c07-032d-48b4-a032-842ec5da593b --debug
I tried to create system token and use curl directly
openstack --os-username=admin --os-user-domain-name=default --os-system-scope all token issue
then curl with
curl -g -i -X POST http://192.168.122.124:9876/v2.0/lbaas/loadbalancers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python-requests/2.25.1 CPython/3.10.6" -H "X-Auth-Token: gAAAAABjm11emuGcqFOuPd6SLoXnkDTh7ZRxpTH-b7TL3Ndh6ywwsf66WtNHams8ixxurUjPRV85ulbvHo20U6OZfUwC7WIN-Hs-rz8H6i7Fq_Q6eJn8X5fKJ9kORtKIKI6LS7Bi1ph2sEOlAJxl5mZ0PilxBUbhS8sq5v14WvvkW3h1ktOeqUI" -d '{"loadbalancer": {"name": "lb1", "vip_subnet_id": "49847c07-032d-48b4-a032-842ec5da593b", "admin_state_up": true}}' HTTP/1.0 403 Forbidden Date: Thu, 15 Dec 2022 18:04:41 GMT Server: WSGIServer/0.2 CPython/3.10.6 Content-Length: 112 Content-Type: application/json x-openstack-request-id: req-84618a33-172c-488e-a5e1-d51b501b0bce
{"faultcode": "Client", "faultstring": "Policy does not allow this request to be performed.", "debuginfo": null}
I am having same issue on ubuntu 22.04 lts. openstack yoga. fresh install
i have installed octavia and trying the command
openstack loadbalancer create --name lb1 --vip-subnet-id 49847c07- 032d-48b4- a032-842ec5da59 3b --debug
I tried to create system token and use curl directly
openstack --os-username=admin --os-user- domain- name=default --os-system-scope all token issue
then curl with
curl -g -i -X POST http:// 192.168. 122.124: 9876/v2. 0/lbaas/ loadbalancers -H "Accept: application/json" -H "Content-Type: application/json" -H "User-Agent: openstacksdk/0.61.0 keystoneauth1/4.4.0 python- requests/ 2.25.1 CPython/3.10.6" -H "X-Auth-Token: gAAAAABjm11emuG cqFOuPd6SLoXnkD Th7ZRxpTH- b7TL3Ndh6ywwsf6 6WtNHams8ixxurU jPRV85ulbvHo20U 6OZfUwC7WIN- Hs-rz8H6i7Fq_ Q6eJn8X5fKJ9kOR tKIKI6LS7Bi1ph2 sEOlAJxl5mZ0Pil xBUbhS8sq5v14Wv vkW3h1ktOeqUI" -d '{"loadbalancer": {"name": "lb1", "vip_subnet_id": "49847c07- 032d-48b4- a032-842ec5da59 3b", "admin_state_up": true}}' request- id: req-84618a33- 172c-488e- a5e1-d51b501b0b ce
HTTP/1.0 403 Forbidden
Date: Thu, 15 Dec 2022 18:04:41 GMT
Server: WSGIServer/0.2 CPython/3.10.6
Content-Length: 112
Content-Type: application/json
x-openstack-
{"faultcode": "Client", "faultstring": "Policy does not allow this request to be performed.", "debuginfo": null}