Nova Compute Charm is not setting the auth_url to internalURL when use-internal-endpoints option is set to true
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
New
|
Undecided
|
Unassigned | ||
OpenStack Nova Compute Charm |
New
|
Undecided
|
Unassigned |
Bug Description
So far I see setting the use-internal-
It allows that the options
[glance]
api_servers =
to be set the internalURL
even when adminURL is merged with publicURL
In my case adminURL == publicURL
so nova cannot register hypervisor to the keystone as auth_url is in publicURL , which is inaccessible
The env is quite limited, I cannot access the public api network via OAM
So I wonder whether we can fix it so charmhelpers would also change auth_url to the internal endpoint
or the client has to add the public api network to the computes so can access that directly.
I did it manually and it works without and issues here. It is just for auth url
so far I see that part is taken from relation data
https:/
And the charm keystone set auth_host to admin
```
./hooks/
```
https:/
so far I see that there's InternalEndpoin
I am trying dig it more, but so far I see /etc/nova/nova.conf on the computes will always use the adminURL regardless of use-internal-
In other deployment that might have worked because there was no firewall from OAM to Public/External API network
```
root@compute-
./hooks/
./hooks/
grep: ./hooks/
./hooks/
```
`context.
https:/
not sure yet what this piece of code does this BASE_RESOURCE_MAP
Beyond that nova got their own context provided, and I don't see that it uses config 'use-internal-
https:/
I would love to prepare patch for this. But the code seems hard to read for me. Not sure at which point I could tap in to make a switch for using internal_host instead of auth_host
So far workaround for that is the proper routing to the publicURL for nova Computes. But I think it should not be this way. And make the cloud more error prone as it relies on the gateway. Despite it uses only for authorizing to the keystone here.
summary: |
- Nova Charm is not setting the auth_url to internalURL whe use-internal- - endpoints option is set + Nova Charm is not setting the auth_url to internalURL when use-internal- + endpoints option is set to true |
summary: |
- Nova Charm is not setting the auth_url to internalURL when use-internal- - endpoints option is set to true + Nova Compute Charm is not setting the auth_url to internalURL when use- + internal-endpoints option is set to true |