*** isviridov_away is now known as isviridov | 00:43 | |
kfox1111_ | docaedo: thought of another tag=operator thing. the sahara images that we have are already in that boat already. ops will probably be loading them so they can be used with their sahara install. Its unlikely a non op would want to. | 01:43 |
---|---|---|
kfox1111_ | ok... got the plugin seperated from the horzon code, and a review in for horizon liberty. | 01:43 |
kfox1111_ | its 99% working. for some reason, the url isn't getting passed to the heat wizard though. just gota fix that one and we're in good shape. :) | 01:44 |
kfox1111_ | git it fully working. it was a dropped patch. fixed now. :) | 02:03 |
*** isviridov is now known as isviridov_away | 03:28 | |
*** kebray has joined #openstack-app-catalog | 04:01 | |
*** isviridov_away is now known as isviridov | 04:04 | |
*** isviridov is now known as isviridov_away | 04:22 | |
*** kfox1111_ has quit IRC | 06:47 | |
*** kebray has quit IRC | 06:51 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 08:58 | |
*** kzaitsev_mb has quit IRC | 09:40 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 09:40 | |
*** kzaitsev_mb has quit IRC | 09:45 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 10:48 | |
openstackgerrit | Kirill Zaitsev proposed stackforge/apps-catalog: Added eslint tox env https://review.openstack.org/206734 | 10:53 |
openstackgerrit | Kirill Zaitsev proposed stackforge/apps-catalog: Lint js and css files https://review.openstack.org/206737 | 10:56 |
*** kfox1111 has joined #openstack-app-catalog | 12:54 | |
kfox1111 | docaedo: did you write the website? | 13:39 |
kzaitsev_ws | kfox1111: nodeenv does look interesting, a really nice tool, to encapsulate npm modules | 13:44 |
kzaitsev_ws | I've suddenly found myself using a lot of npm-based stuff. like eslint and csslint %) | 13:45 |
kfox1111 | yeah. I've always worried about it. most languages really junk up a linux distro. I very much liked python for that part. (though it could use much better integration with rpm+pip) | 14:40 |
kfox1111 | using venv's with nodes cool. :) | 14:40 |
*** kebray has joined #openstack-app-catalog | 14:56 | |
docaedo | kfox1111: No, I did not write the website | 15:26 |
*** kebray has quit IRC | 15:44 | |
*** rhagarty_ has quit IRC | 15:48 | |
*** rhagarty has joined #openstack-app-catalog | 15:58 | |
*** rhagarty_ has joined #openstack-app-catalog | 15:58 | |
*** kebray has joined #openstack-app-catalog | 16:13 | |
kfox1111 | know who did? | 16:28 |
kfox1111 | It hit me that when we rework the yaml's to be merged, we've got to update the website code too. | 16:29 |
kfox1111 | doable, but easier if the person who developed it in the first place is still around. | 16:29 |
docaedo | not sure who did the site, and yeah, I definitely knew the web site had to be re-worked (which was why my first patch was lazy and kept the three different top-level types) | 16:33 |
docaedo | figured I would need to brush up on javascript to address the rendering properly when the schema is changed into a single top-level type | 16:34 |
kfox1111 | I can probably do it. Just didn't occur to me that it had to be done. | 16:36 |
kfox1111 | Because there's the website, horizon ui, schema and actual yaml's, we probably should do things broken up in to little pieces. | 16:37 |
kzaitsev_mb | git blame/log does not help? | 16:38 |
kfox1111 | like, change all the root elements to 'entry' in one review. | 16:38 |
kfox1111 | oh. good call. :) | 16:38 |
kfox1111 | Herman Narkaytis | 16:38 |
kzaitsev_mb | well =) I'm not sure, he'll be available... =) | 16:39 |
kfox1111 | docaedo: Should I make a github/kfox1111 repo till the other's ready? | 16:40 |
docaedo | kfox1111: yes, though I'll get the request started today | 16:41 |
kfox1111 | k. | 16:42 |
kfox1111 | meeting time... | 16:46 |
*** kzaitsev_mb has quit IRC | 17:27 | |
*** rhagarty_ has quit IRC | 17:39 | |
*** rhagarty has quit IRC | 17:39 | |
*** rhagarty has joined #openstack-app-catalog | 17:42 | |
*** rhagarty_ has joined #openstack-app-catalog | 17:42 | |
*** openstackgerrit has quit IRC | 18:31 | |
*** openstackgerrit has joined #openstack-app-catalog | 18:32 | |
j^2 | kfox1111 and docaedo I’ve updated the HOT for single chef, here: https://github.com/chef-partners/chef-heat-templates/pull/2 | 18:37 |
j^2 | can i get some eyes on? | 18:37 |
*** kebray has quit IRC | 18:59 | |
kfox1111 | looking... | 19:02 |
j^2 | just maned some updates | 19:05 |
j^2 | and pushed em | 19:06 |
kfox1111 | pull/3 then? | 19:06 |
j^2 | ype | 19:06 |
kfox1111 | k. | 19:06 |
kfox1111 | pull 2's template looks better. | 19:07 |
j^2 | nice | 19:08 |
kfox1111 | looking at 3... | 19:08 |
j^2 | sorry | 19:09 |
j^2 | there is no 3 | 19:09 |
j^2 | i just commited it all to 2 | 19:09 |
kfox1111 | yeah. I see. it was just refreshed. | 19:09 |
j^2 | :D | 19:10 |
kfox1111 | single_compute-template.yaml? | 19:11 |
j^2 | that’s just in there for future referance | 19:11 |
kfox1111 | k. I'll ignore that for now... though s/-/_/ | 19:12 |
j^2 | heh | 19:12 |
kfox1111 | oh. ok. two more for the single case. | 19:13 |
*** kebray has joined #openstack-app-catalog | 19:14 | |
kfox1111 | Add a security group into the template so the yuser doesn't have to manually create one. its complicated for chef. | 19:14 |
kfox1111 | https://github.com/EMSL-MSC/heat-templates/blob/master/cfn/Jenkins/Jenkins.yaml has an example. | 19:14 |
j^2 | https://github.com/EMSL-MSC/heat-templates/blob/master/cfn/Jenkins/Jenkins.yaml#L52-L64 ? | 19:15 |
kfox1111 | Yup. | 19:15 |
kfox1111 | tweak the rules to match whats in the install doc. | 19:15 |
j^2 | cool | 19:16 |
*** kebray_ has joined #openstack-app-catalog | 19:18 | |
kfox1111 | hmm... how time consuming is the vm install? | 19:18 |
j^2 | signifigant | 19:18 |
kfox1111 | I'd add a wait condition in then. | 19:19 |
j^2 | ooh | 19:19 |
kfox1111 | it makes the heat stack stay in "building" until its done. | 19:19 |
j^2 | yeahd | 19:19 |
kfox1111 | the user then has a nicer experience. | 19:19 |
kfox1111 | you also have a path to fail the stack if it fails to install for some reason. | 19:19 |
j^2 | example? | 19:19 |
kfox1111 | (network is down for example) | 19:19 |
kfox1111 | sec... | 19:19 |
kfox1111 | The resources are here: https://github.com/EMSL-MSC/heat-templates/blob/master/cfn/Jenkins/Jenkins.yaml#L225-L233 | 19:20 |
*** kebray has quit IRC | 19:20 | |
kfox1111 | to user_data:str_replace:params: | 19:23 |
kfox1111 | add $wc_url: { get_param: WaitHandleInstance } | 19:23 |
j^2 | it takes about an hour for this to build…so it’ll be around 3600 on the timeout? | 19:24 |
kfox1111 | the minimal thing to do then is to add the following as the last line of the user_data:str_replace:template: | 19:24 |
kfox1111 | curl -X PUT -H 'Content-Type:' --data-binary '{"Status": "SUCCESS", "Reason": "Configuration Complete", "Data": "Application has completed configuration.", "UniqueId": "0001"}' "$wc_url" | 19:25 |
kfox1111 | I'd double the timeout. | 19:25 |
kfox1111 | that way, if the cloud's going a bit slow, or the internet connection is slow, it still won't fail. | 19:26 |
kfox1111 | 7200 at least. | 19:26 |
kfox1111 | I have a bit of bash scriptlet that causes the stack to fail with the line number of the bad command if any of the cloud-init fails. You can put tha in too if you'd like. | 19:27 |
kfox1111 | Thats what this does: https://github.com/EMSL-MSC/heat-templates/blob/master/cfn/Jenkins/Jenkins.yaml#L123-L134 | 19:28 |
j^2 | i think i’m getting there | 19:32 |
j^2 | ok, got the security groups successfully created, now i’ll try that timeout thing | 19:37 |
kfox1111 | k. | 19:45 |
kfox1111 | Plugins separated. :) https://github.com/kfox1111/apps-catalog-ui.git | 19:45 |
kfox1111 | Do you need the rest of the ports listed in http://docs.chef.io/install_server_ha_drbd.html? | 19:58 |
j^2 | for the HA build yeah, but for the standalone all you need is 22 80 | 19:59 |
j^2 | 443 | 19:59 |
kfox1111 | 800, 9090, 9463? | 19:59 |
j^2 | yeah iirc for the ha network ubild | 19:59 |
kfox1111 | k. | 20:00 |
j^2 | https://github.com/chef-partners/chef-heat-templates/pull/2/files | 20:14 |
j^2 | :( | 20:14 |
j^2 | ERROR: Property error : chefserver: user_data The Parameter (WaitHandleInstance) was not provided. | 20:14 |
j^2 | not sure why that’s doing that | 20:14 |
*** openstackgerrit has quit IRC | 20:16 | |
*** openstackgerrit has joined #openstack-app-catalog | 20:17 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 20:44 | |
openstackgerrit | JJ Asghar proposed stackforge/apps-catalog: Adding HOT for Chef Standalone Server https://review.openstack.org/206255 | 21:33 |
kfox1111 | back. | 21:33 |
kfox1111 | j^2: pastebin? | 21:33 |
j^2 | yeah i got lost in it | 21:34 |
j^2 | i need to walk away for a bit | 21:34 |
j^2 | but i changed the review around just for the standalone build now | 21:34 |
j^2 | HA isn’t ready | 21:34 |
kzaitsev_mb | I wonder what shall we do, when L comes out. Shall we update all the assets, or ask authors to do so?.. | 21:47 |
kfox1111 | thats what we need some better kind of testing. :/ | 21:53 |
kfox1111 | should probably have some kind of gate job in heat for example that tests their new engines against the app catalog's entries. | 21:53 |
kfox1111 | probably need some kind of gating job on our end then that doesn't let in a template until it works. | 21:54 |
kzaitsev_mb | sounds like an interesting idea. Wonder how difficult it would be te implement, though. | 21:54 |
kfox1111 | yeah. :/ | 21:56 |
kzaitsev_mb | it would be even more difficult with murano apps. | 21:56 |
kfox1111 | yeah. | 21:56 |
kzaitsev_mb | But some basic testing is indeed required. Seems worthy of a BP | 21:56 |
kfox1111 | I've got a heat validator as part of the web ui now. | 21:57 |
kfox1111 | its rough, but seems to work. | 21:57 |
kfox1111 | should at least tell you if a template won't work on your cloud. | 21:57 |
kzaitsev_mb | Sorry, since I started working on openstack — I developed a habbit of tracking everything on l-pad in form of bugs or bps =) | 21:57 |
kfox1111 | does a heat template-validate on it. | 21:57 |
kfox1111 | no worries. its a good habbit to be in. :) | 21:58 |
kfox1111 | specs, I'm a little more iffy on. ;) | 21:58 |
kfox1111 | they tend to encurage bike shedding. :/ | 21:58 |
kzaitsev_mb | murano has plans on package validators and auto-tests for liberty, btw. Might be able to utilize those in check/gate jobs | 21:58 |
kfox1111 | and design by committee. | 21:58 |
kfox1111 | hmm... k. | 21:59 |
kzaitsev_mb | specs are... hard. | 21:59 |
kfox1111 | the instance user one's killing me. :/ | 21:59 |
kzaitsev_mb | both to write and review =/ | 21:59 |
kfox1111 | heh. yeah. | 21:59 |
kfox1111 | so, is a non cloud admin allowed to upload murano packages into the cloud? | 22:00 |
kzaitsev_mb | yes, but not allowed to make them public (i.e. cross-tenant) | 22:01 |
kzaitsev_mb | well that's controlled by a policy, so you can imagine any situation, but generally — you can make your own app and upload it to your tenant | 22:01 |
kfox1111 | k. | 22:01 |
kfox1111 | so, I've gotten glance and heat to work with the web ui, but I don't have a murano install to develop against. | 22:02 |
kfox1111 | is that something you could do? | 22:02 |
kzaitsev_mb | yep, I think I even promised to do so some time ago, but really didn't have enough time, to keep my promise. | 22:03 |
kzaitsev_mb | But I think I have it now =) | 22:03 |
kfox1111 | k. | 22:03 |
kfox1111 | I understand. :) | 22:04 |
kfox1111 | Well, the webui's not the way I'd like it. | 22:04 |
kfox1111 | right now heat's under Apps and glance under components. | 22:04 |
kfox1111 | ideally both would be merged into both, and just filtered by tag. | 22:04 |
kfox1111 | but for now, apps are the "run without installing" type of thing, | 22:04 |
kfox1111 | and components are "install" then allow the user to run if installed. | 22:05 |
kfox1111 | so if you get a bit of time to start on it before we get all the yaml files merged into one, | 22:05 |
kfox1111 | it might be easiest to add support in the Components side. | 22:05 |
kzaitsev_mb | point me to the code, then. I'll definitelly take a look. | 22:05 |
kfox1111 | https://github.com/kfox1111/apps-catalog-ui | 22:06 |
kfox1111 | waiting on a stackforge/apps-catalog-ui | 22:06 |
kfox1111 | The two main files of interest are: https://github.com/kfox1111/apps-catalog-ui/blob/master/component_catalog/templates/component_catalog/index.html | 22:06 |
kfox1111 | and: https://github.com/kfox1111/apps-catalog-ui/blob/master/app_catalog/static/dashboard/project/app_catalog/app_catalog.js | 22:07 |
kzaitsev_mb | thnx, I'll have time to work on it tomorrow (It's 1 PM here now, so not today definitelly =)) | 22:10 |
kfox1111 | 3pm here. :) k. no worries. | 22:11 |
kzaitsev_mb | or is it 1 AM | 22:11 |
kzaitsev_mb | ? | 22:11 |
kfox1111 | hehe. | 22:11 |
kfox1111 | that, I can't answer... :) | 22:11 |
kzaitsev_mb | AM for ante meridiem | 22:12 |
kzaitsev_mb | so yep 1 AM actually =) | 22:12 |
kfox1111 | ah. yeah. thats late... or early.. :) | 22:14 |
kfox1111 | kzaitsev_mb: One thing I'd really like to see, is a heat template for deploying murano. | 22:20 |
kfox1111 | Would make it a lot easier to deploy on non Fuel based clouds. | 22:20 |
*** kzaitsev_mb has quit IRC | 22:22 | |
*** kzaitsev_mb has joined #openstack-app-catalog | 22:55 | |
*** kebray_ has quit IRC | 23:00 | |
*** kzaitsev_mb has quit IRC | 23:01 | |
docaedo | add repo for apps-catalog-ui https://review.openstack.org/#/c/207253/ | 23:23 |
docaedo | let's see how close I got to correct with this one :) | 23:24 |
*** kzaitsev_mb has joined #openstack-app-catalog | 23:36 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!