Tuesday, 2019-11-26

*** goldyfruit_ has quit IRC00:20
*** goldyfruit_ has joined #openstack-containers01:05
*** ricolin has joined #openstack-containers01:46
*** ricolin has quit IRC03:03
*** hongbin has joined #openstack-containers04:00
*** ricolin has joined #openstack-containers04:08
*** udesale has joined #openstack-containers04:14
*** ykarel has joined #openstack-containers04:19
*** ricolin has quit IRC04:29
openstackgerritMerged openstack/magnum-ui master: [ussuri][goal] Drop python 2.7 support and testing  https://review.opendev.org/69453404:40
*** hongbin has quit IRC06:18
*** sapd1 has joined #openstack-containers06:28
*** pcaruana has joined #openstack-containers06:32
*** udesale has quit IRC06:40
*** udesale has joined #openstack-containers06:41
*** namrata has joined #openstack-containers06:46
*** elenalindq has joined #openstack-containers06:47
*** sapd1 has quit IRC06:57
brtknrHi flwang not yet06:57
*** udesale has quit IRC07:34
*** udesale has joined #openstack-containers07:35
*** dim79 has joined #openstack-containers08:29
brtknrflwang: Yes we’re using stable train and stein 8.2.0 rc09:13
*** dim79 has quit IRC09:31
*** ykarel is now known as ykarel|lunch09:42
dioguerrabrtknr: Morning...09:51
andreingood morning!09:52
dioguerraWould you consider having the nginx controller as Burstable QoS?09:52
*** dim79 has joined #openstack-containers10:07
openstackgerritDiogo Guerra proposed openstack/magnum master: Scrape prometheus metrics from nginx  https://review.opendev.org/69568110:15
openstackgerritDiogo Guerra proposed openstack/magnum master: Fix nginx getting OOM killed  https://review.opendev.org/69605310:15
*** dim79 has quit IRC10:19
*** ykarel|lunch is now known as ykarel10:28
*** ivve has joined #openstack-containers10:35
*** lpetrut has joined #openstack-containers10:52
*** udesale has quit IRC10:58
brtknrdioguerra: that’s an exciting concept? Can you explain how that would work?11:19
*** rcernin has quit IRC11:40
andreinhello everyone, I've upgraded to train yesterday and I can't modify cluster templates from horizon anymore. It works fine from the CLI. Any ideas? https://www.irccloud.com/pastebin/TQ1bAz6A/11:50
brtknrandrein: i dont think anyone has brought the magnum-ui in line with the changes to other bits11:58
andreinbut the hidden attribute was non-removable in stein also, according to git history12:15
andreinand yes, there were almost no changes in magnum-ui for train12:15
andreinso why is this failing now?12:15
*** udesale has joined #openstack-containers12:21
brtknrandrein: it doesnt seem to exist as an attibute in the cluster template12:50
brtknrand its mandatory12:50
brtknron the magnum-ui12:50
andreinI think adding a hidden field there for the 'hidden' attribute would fix this12:51
andreinI was just about to give it a shot12:52
brtknrandrein: thats right, Happy to review any patches13:01
brtknrI am not that familiar with django13:01
andreinbrtknr: AttributeError: module 'novaclient.v2' has no attribute 'list_extensions' I'm trying to start horizon locally13:01
andreinany ideas?13:02
brtknrif you enable magnum-ui plugin on devstack, it should add automatically13:02
andreinI still haven't got around to setting up my devstack server yet...13:03
andreinwas list_extensions removed in python-novaclient?13:04
andreinhttps://docs.openstack.org/python-novaclient/train/reference/api/novaclient.v2.html vs https://docs.openstack.org/python-novaclient/latest/reference/api/novaclient.v2.html13:04
dioguerrabrtknr: How what works exaclty?13:07
dioguerraThe QoS??? https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/13:08
dioguerraIt is based on the pods, resources.requests and resources.limits13:08
*** goldyfruit_ has quit IRC13:08
brtknrdioguerra: ah makes snese14:14
brtknrandrein: not sure where novaclient comes in14:14
brtknrandrein: At the very least, if you file a bug, we can investigate this later14:14
andreinbrtknr: I've added the hidden field to the form, it fixes the issue for me14:17
brtknrandrein: nice! do you might pushing the code?14:17
brtknrandrein: nice! do you mind pushing the code?14:18
brtknror sharing the diff?14:18
andreinyes, I'll post a review shortly14:18
brtknrandrein: thanks14:18
andreinjust trying to see what it breaks first14:18
brtknrlooks like it tries to remove the hidden field which is not allowed14:18
brtknrI am not quite sure why14:18
brtknrandrein:14:19
brtknrI am keen to see how you added the field because I've been trying to do the same but havent managed!14:20
andreinbrtknr: it's trying to remove it because the get request for the cluster template gives it the hidden field, but the form doesn't have it so it discards it. then, there's some code that diffs the old vs new values and generates the magnum patch request (forgot where exactly, but I can find it), which says that the hidden field should be removed14:20
brtknrandrein: yes that makes sense14:21
brtknrI was worried it was a problem with the API14:22
andreinlooks like my dev server is no longer serving the right js/css assets when I run tox -e runserver14:23
andreinnot sure if I broke it or not14:23
*** namrata has quit IRC14:31
brtknrandrein: sorry cant help there but happy to try and replicate the issue if you upload the code14:33
openstackgerritAndrei Nistor proposed openstack/magnum-ui master: WIP Fix cluster template update bug  https://review.opendev.org/69609914:35
andreinbrtknr: ^^14:36
*** goldyfruit has joined #openstack-containers14:36
andreinI don't particularly like this solution, since if a user accidentally checks the hidden flag, his cluster template would just disappear (maybe? that's what I was testing when I broke my dev server :) )14:37
brtknrandrein: i did exactly the same, but didnt work for me14:37
*** goldyfruit_ has joined #openstack-containers14:38
andreinbrtknr: that's odd :-?14:39
brtknron devstack14:40
brtknri dotn thknk i figured out how toio install the plugin correctly14:40
brtknrdo you know how?14:40
andreinI followed the readme14:41
*** goldyfruit has quit IRC14:41
andreinpip install -e ../magnum-ui/14:42
andreinhttps://www.irccloud.com/pastebin/yCYb5c14/14:42
andreinyou also need a local_settings.py14:45
brtknrandrein: do you neef to restart horizon?14:45
andreinI think so, I was running it with tox -e runserver which looks like it automatically reloads on changes15:07
*** ykarel is now known as ykarel|pto15:14
andreinbrtknr: did you get it working?15:21
brtknrandrein:  :(15:23
brtknrtox -e runserver doesnt seem to be working as expected15:23
brtknrim going to restack my devstack15:23
andreinI cleared /static on my server and it fixed the js/css error i was getting earlier. I've tested again and I can edit the templates now15:26
andreinbut the hidden flag I added doesn't do anything, which is probably normal because it's not checked anywhere15:27
brtknrandrein: its not something i use often so not sure how its used15:33
brtknrandrein: but you're right, we've used this in stein and havent encountered issues15:40
openstackgerritAndrei Nistor proposed openstack/magnum-ui master: WIP Fix cluster template update bug  https://review.opendev.org/69609915:51
andreinfixed the whitespace stuff15:52
*** ivve has quit IRC16:02
brtknrandrein: I am getting close16:47
brtknr:D16:47
*** ivve has joined #openstack-containers17:06
*** udesale has quit IRC17:09
brtknrhmm17:30
brtknrandrein: actually no luck17:30
brtknrandrein: how did you generate your local_settings.py?17:31
*** ykarel|pto has quit IRC17:34
andreinI just copied the sample file and set the OPENSTACK_HOST, along with the custom domain stuff that shouldn't matter if you're on devstack17:39
andreinbrtknr: also, installed and started memcached, complained at some point about sessions going away17:39
andreinotherwise, it was smooth sailing for me17:42
andreinbut, I'm not using devstack (yet)17:43
*** openstackgerrit has quit IRC17:49
*** goldyfruit___ has joined #openstack-containers18:41
*** goldyfruit_ has quit IRC18:43
*** goldyfruit_ has joined #openstack-containers18:51
*** colin- has quit IRC18:52
*** goldyfruit___ has quit IRC18:54
*** goldyfruit_ has quit IRC19:07
*** lpetrut has quit IRC19:08
*** goldyfruit has joined #openstack-containers19:09
*** goldyfruit_ has joined #openstack-containers19:19
*** goldyfruit has quit IRC19:22
brtknrandrein: argh why isnt it working for me! :(19:29
andreinhmmmm, you can try checking out the code for horizon and magnum-ui19:29
andreinlike I did19:29
andreinthe instructions in the readme, are pretty acurate (although they reference some scripts that no longer exist)19:30
brtknrandrein: okay its working19:59
brtknrthe trick was to do `python manage.py compress` on the horizon folder20:00
brtknrits working with my existing horizon UI20:00
brtknrandrein: although ive found another problem20:00
brtknri cant create a cluster template without setting docker_volume_size > 020:01
andreinhmmm, I've never tried that20:01
brtknrandrein: also could you tidy up your PR, remove the WIP and create a storyboard bug20:01
brtknrandrein: try creating a cluster template20:02
andreinbrtknr: I'll create the SB bug and tidy up tomorrow morning20:03
andreinI'll also try to reproduce the docker volume size bug20:03
brtknrandrein: I've created a story: https://storyboard.openstack.org/#!/story/200695320:10
*** goldyfruit___ has joined #openstack-containers20:17
brtknrandrein: actually, it only matters if the docker_volume_driver is devicemapper20:19
*** goldyfruit_ has quit IRC20:20
*** goldyfruit_ has joined #openstack-containers20:21
*** goldyfruit___ has quit IRC20:24
*** openstackgerrit has joined #openstack-containers20:40
openstackgerritBharat Kunwar proposed openstack/magnum-ui master: Add missing hidden option to cluster template  https://review.opendev.org/69609920:40
openstackgerritBharat Kunwar proposed openstack/magnum-ui master: Set empty default value for docker_storage_driver  https://review.opendev.org/69617920:40
brtknrandrein: ^20:42
openstackgerritBharat Kunwar proposed openstack/magnum-ui master: Add missing hidden option to cluster template  https://review.opendev.org/69609920:47
openstackgerritBharat Kunwar proposed openstack/magnum-ui master: Set empty default value for docker_storage_driver  https://review.opendev.org/69617920:47
brtknrare you happy with the commit message andrein ?20:59
andreinbrtknr: looks good to me!21:20
andreincan we backport this to train?21:21
*** threestrands has joined #openstack-containers21:27
*** ioni has joined #openstack-containers21:36
ionihi guys21:36
ionii was wondering if i can use magnum train release on openstack stein21:36
flwangioni: totally OK21:40
flwangbrtknr: around?21:40
brtknrflwang: hiii21:42
brtknrandrein: yep, as soon as this gets merged21:43
flwangbrtknr: i'm testing the rolling upgrade https://github.com/openstack/magnum/blame/master/magnum/drivers/common/templates/kubernetes/fragments/upgrade-kubernetes.sh21:43
brtknrioni: we are using this on train, there is an issue with magnum-ui on train but other than that, all good21:44
flwangi think there is a problem with the kubectl command21:44
brtknrioni: also podman will not work without train heat21:44
brtknrflwang: is this on your stein branch?21:45
flwangbrtknr: i think this line https://github.com/openstack/magnum/blob/master/magnum/drivers/common/templates/kubernetes/fragments/upgrade-kubernetes.sh#L79 should be replace with  until ${kubecontrol} uncordon ${INSTANCE_NAME}21:45
flwangbrtknr: no, master branch has the same issue21:45
flwangand this line  https://github.com/openstack/magnum/blob/master/magnum/drivers/common/templates/kubernetes/fragments/upgrade-kubernetes.sh#L69 should be dropped21:46
flwangsince it's duplicated with line 79- 8521:46
flwangand this "if" is not correct https://github.com/openstack/magnum/blob/master/magnum/drivers/common/templates/kubernetes/fragments/upgrade-kubernetes.sh#L821:49
flwangwhen use_podman is true, the kubecontrol should be not set with the kubectl path for atomic system21:49
flwanganyway, i will propose a patch21:54
brtknrflwang: sounds good to me21:55
brtknrflwang: are you happy with this btw:  https://review.opendev.org/69609921:55
*** elenalindq has quit IRC21:56
flwangbrtknr: sure, will +222:00
*** rcernin has joined #openstack-containers22:04
brtknrflwang: thanks, also thanks andrein for proposing the fix22:07
openstackgerritMerged openstack/magnum-ui master: Add missing hidden option to cluster template  https://review.opendev.org/69609922:15
*** pcaruana has quit IRC22:16
openstackgerritFeilong Wang proposed openstack/magnum master: [k8s] Fix rolling upgrade with podman  https://review.opendev.org/69620422:59
brtknrflwang:23:12
brtknrdo you know when in-tree cinder will be deprecated?23:12
*** strobert1 has joined #openstack-containers23:13
*** goldyfruit___ has joined #openstack-containers23:13
*** goldyfruit_ has quit IRC23:16
*** goldyfruit_ has joined #openstack-containers23:17
*** goldyfruit___ has quit IRC23:20
*** goldyfruit_ has quit IRC23:49

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