Tuesday, 2019-02-12

*** btully has quit IRC00:02
*** btully has joined #openstack-horizon00:02
*** btully has quit IRC00:07
*** Emine has joined #openstack-horizon00:15
*** tosky has quit IRC00:18
*** Emine has quit IRC00:27
*** btully has joined #openstack-horizon00:36
*** btully has quit IRC00:45
*** btully has joined #openstack-horizon00:46
*** btully has quit IRC00:51
*** gyee has quit IRC00:54
*** btully has joined #openstack-horizon00:59
*** fyx has joined #openstack-horizon00:59
*** TheJulia has joined #openstack-horizon00:59
*** cosss_ has joined #openstack-horizon00:59
*** coreycb has joined #openstack-horizon00:59
*** btully has quit IRC01:03
openstackgerritpengyuesheng proposed openstack/horizon master: Add a prompt on the Create Volume form  https://review.openstack.org/63265001:28
*** btully has joined #openstack-horizon01:37
*** btully has quit IRC01:41
*** btully has joined #openstack-horizon01:45
*** btully has quit IRC01:50
*** btully has joined #openstack-horizon01:53
*** btully has quit IRC02:02
*** btully has joined #openstack-horizon02:05
openstackgerritpengyuesheng proposed openstack/horizon master: input['number'] limits the input value  https://review.openstack.org/63203702:12
openstackgerritpengyuesheng proposed openstack/horizon master: input['number'] limits the input value  https://review.openstack.org/63203702:15
*** btully has quit IRC02:18
*** btully has joined #openstack-horizon02:19
*** btully has quit IRC02:24
*** btully has joined #openstack-horizon02:24
*** btully has quit IRC02:29
*** btully has joined #openstack-horizon02:33
*** btully has quit IRC02:37
*** btully has joined #openstack-horizon02:43
*** btully has quit IRC02:47
*** btully has joined #openstack-horizon02:51
*** btully has quit IRC02:55
*** btully has joined #openstack-horizon03:10
*** btully has quit IRC03:14
*** btully has joined #openstack-horizon03:46
*** btully has quit IRC03:50
*** btully has joined #openstack-horizon03:58
*** btully has quit IRC04:02
*** btully has joined #openstack-horizon04:50
*** btully has quit IRC04:54
*** btully has joined #openstack-horizon05:04
*** btully has quit IRC05:12
*** btully has joined #openstack-horizon05:13
*** early has quit IRC05:14
*** adriant has quit IRC05:16
*** btully has quit IRC05:21
*** btully has joined #openstack-horizon05:21
*** early has joined #openstack-horizon05:22
openstackgerritVishal Manchanda proposed openstack/horizon master: Add Project Information column in table  https://review.openstack.org/63464505:24
*** btully has quit IRC05:30
*** btully has joined #openstack-horizon05:30
openstackgerritpengyuesheng proposed openstack/horizon master: Modify the prompt message on create flavor form  https://review.openstack.org/63310305:32
*** btully has quit IRC05:34
*** btully has joined #openstack-horizon05:38
openstackgerritYan Chen proposed openstack/horizon master: Customized confirm message  https://review.openstack.org/63610305:42
*** btully has quit IRC05:46
*** btully has joined #openstack-horizon05:50
*** btully has quit IRC05:59
*** early has quit IRC06:05
openstackgerritpengyuesheng proposed openstack/horizon master: input['number'] limits the input value  https://review.openstack.org/63203706:10
*** btully has joined #openstack-horizon06:11
*** early has joined #openstack-horizon06:13
*** btully has quit IRC06:19
*** btully has joined #openstack-horizon06:19
*** whoami-rajat has joined #openstack-horizon06:19
*** btully has quit IRC06:23
*** btully has joined #openstack-horizon06:23
*** e0ne has joined #openstack-horizon06:24
*** ChanServ sets mode: +o e0ne06:24
*** btully has quit IRC06:28
*** btully has joined #openstack-horizon06:31
*** e0ne has quit IRC06:35
*** btully has quit IRC06:36
*** btully has joined #openstack-horizon06:39
*** btully has quit IRC06:44
*** btully has joined #openstack-horizon06:44
*** btully has quit IRC06:48
*** btully has joined #openstack-horizon06:52
*** btully has quit IRC06:56
*** btully has joined #openstack-horizon06:57
*** btully has quit IRC07:09
*** e0ne has joined #openstack-horizon07:12
*** ChanServ sets mode: +o e0ne07:12
*** btully has joined #openstack-horizon07:12
*** e0ne has quit IRC07:16
*** btully has quit IRC07:17
*** btully has joined #openstack-horizon07:20
*** e0ne has joined #openstack-horizon07:24
*** ChanServ sets mode: +o e0ne07:24
*** btully has quit IRC07:29
*** e0ne has quit IRC07:32
*** Emine has joined #openstack-horizon07:32
*** btully has joined #openstack-horizon07:33
*** btully has quit IRC07:41
*** e0ne has joined #openstack-horizon07:42
*** ChanServ sets mode: +o e0ne07:42
*** btully has joined #openstack-horizon07:42
*** rdopiera has joined #openstack-horizon07:45
*** btully has quit IRC07:46
*** Emine has quit IRC07:49
*** btully has joined #openstack-horizon07:49
*** btully has quit IRC07:54
*** btully has joined #openstack-horizon07:54
*** btully has quit IRC07:58
*** btully has joined #openstack-horizon08:01
*** btully has quit IRC08:06
*** yan0s has joined #openstack-horizon08:08
*** btully has joined #openstack-horizon08:15
*** btully has quit IRC08:19
*** tkajinam has quit IRC08:29
*** btully has joined #openstack-horizon08:31
*** e0ne has quit IRC08:35
*** btully has quit IRC08:36
*** e0ne has joined #openstack-horizon08:37
*** ChanServ sets mode: +o e0ne08:37
*** e0ne has quit IRC08:38
*** btully has joined #openstack-horizon08:39
*** tosky has joined #openstack-horizon08:40
*** btully has quit IRC08:44
*** btully has joined #openstack-horizon08:44
openstackgerritVishal Manchanda proposed openstack/horizon master: Add Project Information column in table  https://review.openstack.org/63464508:45
*** e0ne has joined #openstack-horizon08:46
*** ChanServ sets mode: +o e0ne08:46
*** e0ne has quit IRC08:48
*** btully has quit IRC08:48
*** btully has joined #openstack-horizon08:51
*** e0ne has joined #openstack-horizon08:54
*** ChanServ sets mode: +o e0ne08:54
*** whoami-rajat has quit IRC08:54
openstackgerritVishal Manchanda proposed openstack/horizon master: Add Project Information column in table  https://review.openstack.org/63464508:55
*** btully has quit IRC08:56
*** e0ne has quit IRC08:56
*** btully has joined #openstack-horizon08:56
*** jpich has joined #openstack-horizon08:58
*** priteau has joined #openstack-horizon08:58
*** btully has quit IRC09:00
amotokirdopiera: could you review several my patches with +2? https://review.openstack.org/#/q/status:open+project:openstack/horizon+branch:master+owner:%22Akihiro+Motoki+%253Camotoki%2540gmail.com%253E%2209:05
rdopieraamotoki: sure, I will do it later today09:08
*** btully has joined #openstack-horizon09:12
*** Emine has joined #openstack-horizon09:15
openstackgerritVishal Manchanda proposed openstack/horizon master: Add Project Information column in table  https://review.openstack.org/63464509:20
*** e0ne has joined #openstack-horizon09:25
*** ChanServ sets mode: +o e0ne09:25
*** e0ne has quit IRC09:26
*** Emine has quit IRC09:26
*** Emine has joined #openstack-horizon09:26
*** btully has quit IRC09:33
*** btully has joined #openstack-horizon09:33
openstackgerritpengyuesheng proposed openstack/horizon master: Modify the prompt message on create flavor form  https://review.openstack.org/63310309:33
*** btully has quit IRC09:37
*** jpich has quit IRC09:37
*** jpich has joined #openstack-horizon09:38
*** btully has joined #openstack-horizon09:41
*** btully has quit IRC09:46
*** btully has joined #openstack-horizon09:50
*** btully has quit IRC09:58
*** btully has joined #openstack-horizon09:58
*** btully has quit IRC10:06
*** btully has joined #openstack-horizon10:10
*** btully has quit IRC10:18
*** btully has joined #openstack-horizon10:22
*** btully has quit IRC10:27
*** btully has joined #openstack-horizon10:27
*** btully has quit IRC10:40
*** btully has joined #openstack-horizon10:43
*** jtomasek has quit IRC10:46
amotokirdopiera: thanks!10:48
*** btully has quit IRC10:56
*** jtomasek has joined #openstack-horizon10:56
*** btully has joined #openstack-horizon11:04
*** btully has quit IRC11:08
*** Emine has quit IRC11:09
*** Emine has joined #openstack-horizon11:10
*** btully has joined #openstack-horizon11:11
*** btully has quit IRC11:16
*** btully has joined #openstack-horizon11:16
*** btully has quit IRC11:20
*** btully has joined #openstack-horizon11:29
*** btully has quit IRC11:33
*** btully has joined #openstack-horizon11:34
zigoHorizon fails to retrieve instances list for me, though everything else seems working.11:39
zigoIt looks like it's failing when doing: min_ver, max_ver = api_versions._get_server_version_range(client)11:39
zigoIn get_microversion()11:40
zigoIn api/nova.py11:40
zigoSo, probably client = novaclient(request) is failing?11:40
*** btully has quit IRC11:40
zigoHow can I trace / check ?11:41
zigordopiera: ^11:41
*** mvkr has quit IRC11:44
*** btully has joined #openstack-horizon11:45
*** btully has quit IRC11:49
*** btully has joined #openstack-horizon11:53
*** btully has quit IRC12:02
*** btully has joined #openstack-horizon12:02
*** btully has quit IRC12:06
*** btully has joined #openstack-horizon12:10
*** btully has quit IRC12:14
*** btully has joined #openstack-horizon12:14
*** btully has quit IRC12:18
*** btully has joined #openstack-horizon12:22
*** btully has quit IRC12:26
*** btully has joined #openstack-horizon12:26
*** emine__ has joined #openstack-horizon12:28
rdopierazigo: you can enable debug for novaclient12:29
rdopierazigo: in the settings12:29
rdopierazigo: do you get any traceback in your logs?12:30
*** Emine has quit IRC12:30
*** btully has quit IRC12:31
*** coreycb has quit IRC12:36
*** coreycb has joined #openstack-horizon12:37
zigordopiera: I got no traceback.12:38
zigordopiera: How can I get the "debug for novaclient" enabled?12:38
rdopierazigo: there is the LOGGING option12:39
rdopierazigo: you have to change the log level for novaclient to DEBUG12:39
zigoAh, right, I see it.12:39
*** btully has joined #openstack-horizon12:39
zigoDoing that ...12:39
rdopieraif you get no traceback, then how is it failing?12:40
zigordopiera: When I click on the "instances" tab, I get a red "Error: Unable to retrieve instances. "12:41
zigordopiera: I added some strings, so I see what the exception is, and it's a "Unknown Error (HTTP 503)"12:42
zigoFor the moment, I don't know more.12:42
zigoAdding logging to novaclient didn't help.12:42
rdopierayou should see the api calls there now12:42
rdopieraso you can copy and paste the curl command in the cli12:42
rdopieraand see the error for yourself12:42
*** btully has quit IRC12:44
rdopieraonce you have that, horizon is out of the loop and you can ask the nova people why that api call is returning an error12:45
*** mvkr has joined #openstack-horizon12:46
zigordopiera: Well, it looks like it fails before doing any of this...12:46
rdopierare raise the exception to see what actually fails?12:47
*** btully has joined #openstack-horizon12:47
rdopierajust add "raise" in the except: clause where it is caught12:47
*** emine__ has quit IRC12:50
*** btully has quit IRC12:51
*** btully has joined #openstack-horizon12:51
zigordopiera: How can I see the stack trace? Now I see a "Something went wrong!" screen, where there use to be a stack trace ...12:53
zigoOh, in the logs ... :P12:53
rdopieralook at the logs or enable debug12:53
zigordopiera: http://paste.openstack.org/show/744928/12:54
*** btully has quit IRC12:56
rdopierazigo: enable debug for keystone as well12:56
*** kevko has joined #openstack-horizon12:56
rdopieraalso, look at keystone logs12:57
*** btully has joined #openstack-horizon12:59
zigohttp://paste.openstack.org/show/744931/13:00
*** yan0s has quit IRC13:02
*** btully has quit IRC13:04
rdopierazigo: can you set the 'console' handler in the LOGGIN to 'debug' as well?13:04
zigordopiera: Entering meeting, will do soon.13:05
rdopierawhenever you have the time13:05
*** mvkr has quit IRC13:08
*** btully has joined #openstack-horizon13:20
*** whoami-rajat has joined #openstack-horizon13:22
*** btully has quit IRC13:24
*** btully has joined #openstack-horizon13:30
*** btully has quit IRC13:34
*** btully has joined #openstack-horizon13:35
*** openstackgerrit has quit IRC13:37
*** mvkr has joined #openstack-horizon13:40
*** btully has quit IRC13:40
*** btully has joined #openstack-horizon13:42
*** btully has quit IRC13:47
*** btully has joined #openstack-horizon13:54
*** e0ne has joined #openstack-horizon13:56
*** ChanServ sets mode: +o e0ne13:56
*** btully has quit IRC13:58
*** dave-mccowan has joined #openstack-horizon14:04
*** dave-mccowan has quit IRC14:09
*** btully has joined #openstack-horizon14:13
zigordopiera: Back, doing what you suggested.14:14
rdopierathat should make the debug messages actually appear in the logs14:16
zigordopiera: http://paste.openstack.org/show/744941/14:16
zigoWas this what you were looking for?14:16
rdopierayes14:16
rdopieracan you try running that curl command from cli?14:17
rdopieraby the way, you probably want to delete that paste14:17
zigoSure.14:17
rdopierait contains credentials14:17
zigoYep.14:17
*** btully has quit IRC14:17
zigordopiera: I just get a 302 ...14:20
rdopierathat's a redirect14:20
zigoYes.14:20
zigohttp://paste.openstack.org/show/744943/14:20
zigoWhich is wrong, because it doesn't contain "/compute" ...14:21
rdopieralooks like your nova api is misconfigured?14:21
zigoI don't get why.14:21
zigoWell, my haproxy removes the /compute.14:21
zigoWhy does nova do such a redirect then?14:22
rdopierano idea14:22
rdopieramaybe it wants a slash at the end?14:23
zigordopiera: Correct !14:24
zigoThis looks like the problem.14:24
rdopieraI think that's apache's config option14:24
zigoIf I add the slash, then I get the json.14:24
zigoOh...14:24
zigordopiera: I should be able to figure it out from there then !14:26
*** priteau has quit IRC14:26
zigoThanks a lot.14:26
*** btully has joined #openstack-horizon14:26
rdopieragood luck!14:26
rdopierait's still possible the bug is in horizon or novaclient14:26
rdopierain building the url14:26
zigordopiera: Could it be that the endpoint is missing the lasting slash ?14:28
rdopieraalso possible14:28
zigoChecking for that then...14:29
*** btully has quit IRC14:30
zigordopiera: The endpoint doesn't fix it. :/14:32
rdopieraso either apache, nova api or haproxy need to be fixed14:34
rdopieraapache to not do the redirects, haproxy to not lie about the url, or nova api to know the correct url to redirect to14:34
rdopieranot sure which one is the case here14:34
rdopierathey might be able to help at #openstack-nova14:34
zigoRight. Thanks a lot.14:35
*** e0ne has quit IRC14:44
zigordopiera: The issue probably is that I'm rewriting the URL for the Nova destination, but then not rewriting it back for the Location: header... :P15:00
*** ianychoi has quit IRC15:07
*** ianychoi has joined #openstack-horizon15:07
*** e0ne has joined #openstack-horizon15:09
*** ChanServ sets mode: +o e0ne15:09
zigordopiera: It's repaired and working now! :)15:12
rdopieraeers15:12
rdopierach*15:12
zigoThanks so much, it was really helpful for the diagnoze.15:12
zigoI added this to my nova backend config in haproxy: rspirep ^Location:\ (https://[^/]*)/(.*)$ Location:\ \1/compute/\215:12
zigoThen all working, horizon (or novaclient?) redirects to the correct URL.15:13
rdopierain the long run, it would probably make sense to fix those urls so that there are no redirects -- would make things marginally faster15:14
*** priteau has joined #openstack-horizon15:30
*** e0ne has quit IRC15:33
*** dmsimard has joined #openstack-horizon15:38
dmsimardHi o/ I have a bug that's a bit of horizon and a bit of cinderclient. What looking for an opinion on where the fix should be15:39
dmsimardI'm looking at running an all-in-one deployment of openstack with self-signed certificates. This seems to have been working for every project except cinder.15:40
*** e0ne has joined #openstack-horizon15:41
*** ChanServ sets mode: +o e0ne15:41
dmsimardThe issue is that before properly creating an (insecure) instance of cinderclient, Horizon uses cinderclient's get_server_version method and that method doesn't support passing an insecure=true or verify=false parameter15:42
dmsimardSo Horizon fails to retrieve the microversions (because cinderclient fails on self-signed certificate) and thus everything cinder related in Horizon doesn't work.15:42
dmsimardThis is the get_server_version call from horizon: https://github.com/openstack/horizon/blob/d5b7feb5d4bf622905d717cd20fc83fd136c8a8c/openstack_dashboard/api/cinder.py#L26315:42
*** btully has joined #openstack-horizon15:42
dmsimardAnd the get_server_version from cinderclient: https://github.com/openstack/python-cinderclient/blob/63b36a901bfaf2508a9c3cda1d8dafb8769f2340/cinderclient/client.py#L75-L10915:42
dmsimardI "fixed" it by adding "verify=False" to requests.get on line 10915:43
*** btully has quit IRC15:52
rdopierathat probably won't fly, as it's insecure for deployments that use normal certificates15:53
dmsimardrdopiera: yes, of course15:53
dmsimardI just meant that it was the only thing missing for horizon to work with cinder in my deployment15:54
dmsimardeverything else works15:54
rdopieranice15:54
rdopieraone way around this would be to install the certificates for your cinder instance in the system15:55
rdopierait would also make things a little bit safer15:56
dmsimardI agree, but I also think this is a bug because everything else works when running with OPENSTACK_SSL_NO_VERIFY=True15:56
*** btully has joined #openstack-horizon15:56
dmsimardJust lost a few hours figuring this out :)15:56
rdopieraI didn't realize there was OPENSTACK_SSL_NO_VERIFY15:57
rdopierain that case, it seems like we should be using it there15:57
rdopieraso that would be two patches -- one to add a verify=False option to cinderclient, and then one to use that in horizon15:58
dmsimardthat's what I had in mind as well15:58
rdopierarequires a version bump, so at least two releases15:59
dmsimardI'm hitting that issue in rocky, too, so backports as well ? :/16:00
rdopierathat would be tricky16:00
rdopieracould you come to the team meeting tomorrow with this?16:00
dmsimardI can start by filing a bug16:01
*** btully has quit IRC16:01
rdopierathat would be helpful as well16:01
dmsimardthere you go: https://bugs.launchpad.net/horizon/+bug/181563516:12
openstackLaunchpad bug 1815635 in OpenStack Dashboard (Horizon) "Horizon is unable to retrieve Cinder API versions when it has a self-signed SSL certificate" [Undecided,New]16:12
*** openstackgerrit has joined #openstack-horizon16:16
openstackgerritVishal Manchanda proposed openstack/horizon master: Add volume-group snapshot for admin panel  https://review.openstack.org/63358116:16
*** btully has joined #openstack-horizon16:21
*** btully has quit IRC16:29
*** btully has joined #openstack-horizon16:33
*** btully has quit IRC16:38
*** btully has joined #openstack-horizon16:41
*** mvkr has quit IRC16:44
*** btully has quit IRC16:45
*** btully has joined #openstack-horizon16:46
*** btully has quit IRC16:50
*** btully has joined #openstack-horizon16:57
*** btully has quit IRC17:02
*** mvkr has joined #openstack-horizon17:16
*** jpich has quit IRC17:24
*** e0ne has quit IRC17:27
*** whoami-rajat has quit IRC17:36
*** stuartgr has left #openstack-horizon17:36
*** spsurya has quit IRC17:40
*** idlemind has joined #openstack-horizon17:43
*** e0ne has joined #openstack-horizon17:43
*** ChanServ sets mode: +o e0ne17:43
*** gyee has joined #openstack-horizon17:47
*** btully has joined #openstack-horizon17:49
*** btully has quit IRC17:53
*** btully has joined #openstack-horizon18:30
*** btully has quit IRC18:34
*** btully has joined #openstack-horizon18:38
*** btully has quit IRC18:42
*** btully has joined #openstack-horizon18:43
*** priteau has quit IRC18:47
*** btully has quit IRC18:47
*** btully has joined #openstack-horizon18:48
*** btully has quit IRC18:52
*** tsmith_ has joined #openstack-horizon19:01
*** vishalmanchanda_ has joined #openstack-horizon19:03
*** jrosser_ has joined #openstack-horizon19:04
*** v12aml has quit IRC19:04
*** jrosser has quit IRC19:04
*** vishalmanchanda has quit IRC19:04
*** mugsie has quit IRC19:04
*** tsmith2 has quit IRC19:04
*** vishalmanchanda_ is now known as vishalmanchanda19:04
*** jrosser_ is now known as jrosser19:04
*** tsmith_ is now known as tsmith219:04
*** v12aml has joined #openstack-horizon19:05
*** mugsie has joined #openstack-horizon19:05
*** btully has joined #openstack-horizon19:20
*** dmsimard has quit IRC19:22
*** btully has quit IRC19:28
*** dmsimard has joined #openstack-horizon19:32
*** btully has joined #openstack-horizon19:56
openstackgerritMerged openstack/horizon master: Add a prompt on the Create Volume form  https://review.openstack.org/63265019:58
*** btully has quit IRC20:00
*** btully has joined #openstack-horizon20:00
*** btully has quit IRC20:04
*** btully has joined #openstack-horizon20:12
*** adriant has joined #openstack-horizon20:15
*** btully has quit IRC20:16
*** btully has joined #openstack-horizon20:24
*** e0ne has quit IRC20:25
*** btully has quit IRC20:28
*** btully has joined #openstack-horizon20:33
*** btully has quit IRC20:37
*** e0ne has joined #openstack-horizon20:48
*** ChanServ sets mode: +o e0ne20:48
*** mugsie has quit IRC21:06
*** mugsie has joined #openstack-horizon21:06
*** btully has joined #openstack-horizon21:23
*** rdopiera has quit IRC21:23
*** btully has quit IRC21:27
*** e0ne has quit IRC21:28
*** jtomasek has quit IRC21:35
openstackgerritMerged openstack/horizon master: Use correct cinder API version for tenant_absolute_limits  https://review.openstack.org/63077421:47
openstackgerritMerged openstack/horizon master: api.cinder: refactor microversioning logic  https://review.openstack.org/63077521:50
openstackgerritMerged openstack/horizon master: Change the default SESSION_ENGINE to use cached sessions  https://review.openstack.org/63079021:50
openstackgerritMerged openstack/horizon master: Document horizon policies  https://review.openstack.org/62741621:50
openstackgerritMerged openstack/horizon master: Show domain info in project and user detail panel  https://review.openstack.org/62662221:54
*** btully has joined #openstack-horizon22:14
*** btully has quit IRC22:19
*** btully has joined #openstack-horizon22:22
*** btully has quit IRC22:26
*** btully has joined #openstack-horizon22:27
*** btully has quit IRC22:31
*** btully has joined #openstack-horizon22:39
*** btully has quit IRC22:44
*** btully has joined #openstack-horizon22:48
*** btully has quit IRC22:52
*** whoami-rajat has joined #openstack-horizon23:12
*** tkajinam has joined #openstack-horizon23:16
*** btully has joined #openstack-horizon23:20

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!