| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-nova - 2024-09-09 | |||
| 16:28:48 | opendevreview | Sylvain Bauza proposed openstack/placement master: Update 2024.2 reqs to support os-traits 3.1.0 as min version https://review.opendev.org/c/openstack/placement/+/928663 | |
| 16:38:11 | opendevreview | Sylvain Bauza proposed openstack/nova-specs master: Move Dalmatian implemented specs https://review.opendev.org/c/openstack/nova-specs/+/928666 | |
| 16:57:03 | opendevreview | ribaudr proposed openstack/nova master: Amend DB model add a unique constraint. https://review.opendev.org/c/openstack/nova/+/912518 | |
| 16:57:03 | opendevreview | ribaudr proposed openstack/nova master: Amend ShareMappingStatus due to asynchronous call https://review.opendev.org/c/openstack/nova/+/908864 | |
| 16:57:04 | opendevreview | ribaudr proposed openstack/nova master: Use client token when talking to manila https://review.opendev.org/c/openstack/nova/+/925277 | |
| 16:57:04 | opendevreview | ribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (manila abstraction) https://review.opendev.org/c/openstack/nova/+/831194 | |
| 16:57:05 | opendevreview | ribaudr proposed openstack/nova master: Mounting the shares as part of the initialization process https://review.opendev.org/c/openstack/nova/+/880075 | |
| 16:57:05 | opendevreview | ribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (drivers and compute manager part) https://review.opendev.org/c/openstack/nova/+/833090 | |
| 16:57:06 | opendevreview | ribaudr proposed openstack/nova master: Deletion of associated share mappings on instance deletion https://review.opendev.org/c/openstack/nova/+/881472 | |
| 16:57:07 | opendevreview | ribaudr proposed openstack/nova master: Add share_info parameter to reboot method for each driver (driver part) https://review.opendev.org/c/openstack/nova/+/854823 | |
| 16:57:07 | opendevreview | ribaudr proposed openstack/nova master: Add metadata for shares https://review.opendev.org/c/openstack/nova/+/850500 | |
| 16:57:09 | opendevreview | ribaudr proposed openstack/nova master: Add share_info parameter to resume method for each driver (driver part) https://review.opendev.org/c/openstack/nova/+/860284 | |
| 16:57:09 | opendevreview | ribaudr proposed openstack/nova master: Support rebooting an instance with shares (compute manager part) https://review.opendev.org/c/openstack/nova/+/854824 | |
| 16:57:11 | opendevreview | ribaudr proposed openstack/nova master: Add helper methods to rescue/unrescue shares https://review.opendev.org/c/openstack/nova/+/860286 | |
| 16:57:11 | opendevreview | ribaudr proposed openstack/nova master: Support resuming an instance with shares (compute manager part) https://review.opendev.org/c/openstack/nova/+/860285 | |
| 16:57:13 | opendevreview | ribaudr proposed openstack/nova master: Allow to mount manila share using Cephfs protocol https://review.opendev.org/c/openstack/nova/+/883862 | |
| 16:57:13 | opendevreview | ribaudr proposed openstack/nova master: Support rescuing an instance with shares https://review.opendev.org/c/openstack/nova/+/860287 | |
| 16:57:15 | opendevreview | ribaudr proposed openstack/nova master: Attach Manila shares via virtiofs (API) https://review.opendev.org/c/openstack/nova/+/836830 | |
| 16:57:15 | opendevreview | ribaudr proposed openstack/nova master: Check shares support (compute manager) https://review.opendev.org/c/openstack/nova/+/885751 | |
| 16:57:17 | opendevreview | ribaudr proposed openstack/nova master: Add instance.share_attach notification https://review.opendev.org/c/openstack/nova/+/850501 | |
| 16:57:17 | opendevreview | ribaudr proposed openstack/nova master: Add helper methods to attach/detach shares https://review.opendev.org/c/openstack/nova/+/885753 | |
| 16:57:19 | opendevreview | ribaudr proposed openstack/nova master: Add shares to InstancePayload https://review.opendev.org/c/openstack/nova/+/851029 | |
| 16:57:19 | opendevreview | ribaudr proposed openstack/nova master: Add instance.share_detach notification https://review.opendev.org/c/openstack/nova/+/851028 | |
| 16:57:21 | opendevreview | ribaudr proposed openstack/nova master: Add instance.share_attach_error notification https://review.opendev.org/c/openstack/nova/+/860282 | |
| 16:57:23 | opendevreview | ribaudr proposed openstack/nova master: Reports instance events to the DB regarding attaching and detaching a share https://review.opendev.org/c/openstack/nova/+/927088 | |
| 16:57:23 | opendevreview | ribaudr proposed openstack/nova master: Add instance.share_detach_error notification https://review.opendev.org/c/openstack/nova/+/860283 | |
| 16:57:25 | opendevreview | ribaudr proposed openstack/nova master: Add virt/libvirt error test cases https://review.opendev.org/c/openstack/nova/+/852087 | |
| 16:57:25 | opendevreview | ribaudr proposed openstack/nova master: Add libvirt test to ensure metadata are working. https://review.opendev.org/c/openstack/nova/+/852086 | |
| 16:57:27 | opendevreview | ribaudr proposed openstack/nova master: Docs about Manila shares API usage https://review.opendev.org/c/openstack/nova/+/871642 | |
| 16:57:39 | noonedeadpunk | it feels like the usecase of custom URI for consoleproxy is just not supported | |
| 17:02:34 | noonedeadpunk | as I'd guess I'd expect to see some api-paste for nova-novncproxy but obviously there's none | |
| 17:25:38 | sean-k-mooney | noonedeadpunk: you can customise it to a degree | |
| 17:25:47 | sean-k-mooney | what are you tryign to do | |
| 17:26:22 | noonedeadpunk | trying to have smth like `https://domain.com/novnc/vnc_lite.html` | |
| 17:26:42 | noonedeadpunk | instead of `https://domain.com:6080/vnc_lite.html` | |
| 17:27:27 | noonedeadpunk | and feels like the way forward would be to place novnc install folder somewhere under DEFAULT.web | |
| 17:27:46 | noonedeadpunk | ie make a subtree or smth | |
| 17:27:48 | sean-k-mooney | ya so you can do that | |
| 17:28:17 | sean-k-mooney | we have conifg option for tha tlet me find it | |
| 17:28:31 | sean-k-mooney | https://docs.openstack.org/nova/latest/configuration/config.html#vnc.novncproxy_base_url | |
| 17:28:56 | sean-k-mooney | we should really upgrade our default to default to vnc_lite.html at some point | |
| 17:28:58 | noonedeadpunk | yeah, so ^ is not helpful | |
| 17:29:23 | sean-k-mooney | how so | |
| 17:29:28 | noonedeadpunk | as I have that and novncproxy ends up with 404 | |
| 17:29:41 | noonedeadpunk | openstack console url show returns expected URL though | |
| 17:30:04 | noonedeadpunk | ie https://domain.com/novnc/vnc_lite.html?path=%3Ftoken%3D880916e7-2e8a-4d0c-a814-9e16f6633194 | |
| 17:30:12 | sean-k-mooney | right so to use that you need to aslo modify your reverse proxy | |
| 17:30:19 | noonedeadpunk | but then it's just 404 from nova-novncproxy service itself | |
| 17:30:41 | noonedeadpunk | with File not found | |
| 17:30:53 | noonedeadpunk | I'd guess I would need to do rewrite | |
| 17:31:07 | sean-k-mooney | yep that what i used to do with kolla ansible | |
| 17:31:12 | noonedeadpunk | but I'm using haproxy which can't really do rewrites | |
| 17:31:19 | sean-k-mooney | you could set https://docs.openstack.org/nova/latest/configuration/config.html#vnc.novncproxy_port to 80 or 443 | |
| 17:31:29 | noonedeadpunk | it's probably easier when you have apache though | |
| 17:31:41 | sean-k-mooney | so i used trafix to do it | |
| 17:32:02 | sean-k-mooney | it was doing all my tlscert stuff with letencypt and doing the rewrite | |
| 17:32:13 | noonedeadpunk | I don't think that port will anyhow influence URI after it? | |
| 17:32:31 | noonedeadpunk | regardless on which port nova-novncproxy.service will listen | |
| 17:32:42 | noonedeadpunk | as long as balancer passes traffic to it - it should work right? | |
| 17:33:01 | noonedeadpunk | for nova-api I can do rewrites with uWSGI | |
| 17:33:12 | noonedeadpunk | or, using api-paste for eventlet | |
| 17:33:14 | sean-k-mooney | so if you want to have vnc in a sub folder | |
| 17:33:23 | sean-k-mooney | you need to strip that in your revirse proxy | |
| 17:33:41 | sean-k-mooney | api-paste is not really used for this | |
| 17:33:56 | noonedeadpunk | oh, well, it kind of is> | |
| 17:34:07 | noonedeadpunk | https://opendev.org/openstack/nova/src/branch/master/etc/nova/api-paste.ini#L20-L29 | |
| 17:34:14 | sean-k-mooney | kind of but we dont have midelware enabled by default for rewrites | |
| 17:34:25 | sean-k-mooney | its better to do that in the webserver/reverse_proxy | |
| 17:34:29 | noonedeadpunk | ah, for this - novnc - yeah, it does not | |
| 17:35:07 | noonedeadpunk | so in the webserver - yeah, that would be fine. But reverse proxies not designed for rewrites, imo | |
| 17:35:09 | sean-k-mooney | ya so the novnc proxy is useing websockify and the eventlet webserver | |
| 17:35:30 | sean-k-mooney | noonedeadpunk: tell that to kubernetes | |
| 17:35:41 | sean-k-mooney | that what ingress is | |
| 17:35:48 | noonedeadpunk | I don't think k8s is good bfor lb... | |
| 17:35:55 | noonedeadpunk | it's nginx | |
| 17:36:06 | noonedeadpunk | which is technically not a reverse proxy | |
| 17:36:16 | sean-k-mooney | its the runciton its used for however | |
| 17:36:26 | noonedeadpunk | it's a web server with hugely reduced feature list that acts as a reverse proxy | |
| 17:36:32 | sean-k-mooney | i would consier it to be both a reverse proxy and a webserver | |
| 17:36:45 | sean-k-mooney | yep but even haproxy can do this too | |
| 17:36:50 | noonedeadpunk | can it? | |
| 17:37:09 | sean-k-mooney | i belive so when used as a http loadbalbnce | |
| 17:37:12 | noonedeadpunk | As it can do maps, sure, but it's not really rewrites | |
| 17:37:27 | noonedeadpunk | so it can pass /console to correct backend | |
| 17:37:39 | noonedeadpunk | but not alter uri. I guess | |
| 17:37:41 | noonedeadpunk | not 100% sure | |
| 17:38:04 | sean-k-mooney | ya. so that is how i would personaly do it. i generall prefer using subdomain insteda of subpaths | |
| 17:38:08 | noonedeadpunk | I was actually hoping to see answer in devstack, but it's jsut using port :D | |
| 17:38:21 | noonedeadpunk | oh, yes, sure, subdomain works nicely | |
| 17:38:43 | sean-k-mooney | im currently in the process of rebuildign my home lab | |
| 17:38:45 | noonedeadpunk | jsut decided to practise on subpaths as that's what devstack does | |
| 17:38:52 | jrosser | does any of this help https://www.haproxy.com/documentation/haproxy-configuration-tutorials/http-rewrites/ | |
| 17:39:24 | sean-k-mooney | but my home openstack did everything behind traefix exposing everything over port 443 | |
| 17:39:28 | noonedeadpunk | oh | |
| 17:40:49 | sean-k-mooney | openshifts defautl ingress controller(route contoler) is haproxy and it does supprot this to at least some degree | |
| 17:42:42 | noonedeadpunk | jrosser: I guess I tried to have a look at https://www.haproxy.com/documentation/haproxy-configuration-tutorials/http-rewrites/#set-the-url-path but failed to implement so dropped this idea a while ago | |
| 17:42:54 | noonedeadpunk | but maybe for consoles it's actually worth checking | |
| 17:44:25 | sean-k-mooney | https://www.haproxy.com/documentation/haproxy-configuration-tutorials/http-rewrites/#replace-part-of-a-header-by-using-a-regular-expression | |
| 17:44:39 | sean-k-mooney | you can proably use the regex replace value funtionality | |
| 17:45:00 | sean-k-mooney | in your case set-path | |