openstackgerrit | Steve Baker proposed a change to openstack/heat: Truncate status_reason to column length https://review.openstack.org/90863 | 00:00 |
---|---|---|
*** arbylee has joined #heat | 00:01 | |
*** julienvey has quit IRC | 00:02 | |
*** Qiming has quit IRC | 00:05 | |
*** Michalik- has quit IRC | 00:08 | |
*** jreypo has quit IRC | 00:18 | |
mattoliverau | stevebaker: nice work on the RDO talk! You did a great job on it :) | 00:19 |
*** nati_ueno has joined #heat | 00:20 | |
stevebaker | mattoliverau: nice, thanks! | 00:20 |
*** nati_uen_ has quit IRC | 00:23 | |
*** tteggel has quit IRC | 00:52 | |
*** stevebaker has quit IRC | 00:53 | |
*** tteggel_ has joined #heat | 00:54 | |
*** TravT has quit IRC | 00:57 | |
*** alexheneveld has joined #heat | 01:00 | |
*** stevebaker has joined #heat | 01:00 | |
*** nati_ueno has quit IRC | 01:01 | |
*** higgins has joined #heat | 01:01 | |
*** nati_ueno has joined #heat | 01:04 | |
*** pablosan has joined #heat | 01:06 | |
*** saurabhs has quit IRC | 01:12 | |
*** onorua has joined #heat | 01:12 | |
*** Qiming has joined #heat | 01:13 | |
*** derekh has quit IRC | 01:13 | |
*** daneyon has quit IRC | 01:16 | |
*** Qiming has quit IRC | 01:18 | |
*** Qiming has joined #heat | 01:18 | |
*** lindsayk has joined #heat | 01:21 | |
*** fandi has quit IRC | 01:22 | |
*** david-lyle has joined #heat | 01:32 | |
*** Daviey has quit IRC | 01:33 | |
*** nosnos has joined #heat | 01:35 | |
*** ramishra has joined #heat | 01:38 | |
*** spzala has quit IRC | 01:43 | |
*** onorua has quit IRC | 01:50 | |
*** fandi has joined #heat | 01:55 | |
*** david-lyle has quit IRC | 01:57 | |
*** julienvey has joined #heat | 01:59 | |
*** julienvey has quit IRC | 02:03 | |
*** ramishra has quit IRC | 02:04 | |
*** ramishra has joined #heat | 02:05 | |
*** alexheneveld has quit IRC | 02:08 | |
*** zhiyan_ is now known as zhiyan | 02:12 | |
*** lindsayk has quit IRC | 02:15 | |
*** alexheneveld has joined #heat | 02:17 | |
*** ramishra has quit IRC | 02:19 | |
*** ramishra has joined #heat | 02:20 | |
*** onorua has joined #heat | 02:22 | |
*** harlowja is now known as harlowja_away | 02:27 | |
*** Qiming has quit IRC | 02:33 | |
*** Qiming has joined #heat | 02:33 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/heat: Updated from global requirements https://review.openstack.org/89232 | 02:39 |
*** ramishra has quit IRC | 02:44 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/python-heatclient: Updated from global requirements https://review.openstack.org/89243 | 02:46 |
*** zz_gondoi is now known as gondoi | 02:53 | |
*** matsuhashi has quit IRC | 02:56 | |
*** matsuhashi has joined #heat | 02:57 | |
*** ramishra has joined #heat | 02:57 | |
*** IlyaE has quit IRC | 02:58 | |
*** julienvey has joined #heat | 03:00 | |
*** alexpilotti has quit IRC | 03:01 | |
*** gondoi is now known as zz_gondoi | 03:03 | |
*** alexpilotti has joined #heat | 03:03 | |
*** julienvey has quit IRC | 03:04 | |
*** alexpilotti has quit IRC | 03:04 | |
*** zz_gondoi is now known as gondoi | 03:05 | |
*** elynn has joined #heat | 03:06 | |
*** gondoi is now known as zz_gondoi | 03:07 | |
*** EthanLynn_ has joined #heat | 03:07 | |
*** elynn has quit IRC | 03:07 | |
*** EthanLynn_ has quit IRC | 03:08 | |
*** elynn has joined #heat | 03:08 | |
*** IlyaE has joined #heat | 03:09 | |
*** nati_ueno has quit IRC | 03:10 | |
*** nati_ueno has joined #heat | 03:11 | |
*** RockKuo_Office has joined #heat | 03:14 | |
*** chandan_kumar has joined #heat | 03:21 | |
*** elynn has quit IRC | 03:25 | |
*** chandan_kumar has quit IRC | 03:32 | |
*** piyush has joined #heat | 03:33 | |
*** IlyaE has quit IRC | 03:36 | |
*** elynn has joined #heat | 03:41 | |
*** Qiming has quit IRC | 03:49 | |
*** nati_ueno has quit IRC | 03:50 | |
*** Qiming has joined #heat | 03:50 | |
*** zz_gondoi is now known as gondoi | 03:50 | |
*** chandan_kumar has joined #heat | 03:51 | |
*** gondoi is now known as zz_gondoi | 03:51 | |
*** zz_gondoi is now known as gondoi | 03:54 | |
*** cmyster has joined #heat | 03:54 | |
*** cmyster has joined #heat | 03:54 | |
*** julienvey has joined #heat | 04:01 | |
*** gondoi is now known as zz_gondoi | 04:04 | |
*** julienvey has quit IRC | 04:04 | |
*** shakamunyi has quit IRC | 04:05 | |
*** jstrachan has joined #heat | 04:06 | |
*** matsuhashi has quit IRC | 04:10 | |
*** cmyster has quit IRC | 04:22 | |
*** nati_ueno has joined #heat | 04:24 | |
*** cmyster has joined #heat | 04:24 | |
*** cmyster has joined #heat | 04:24 | |
*** nosnos has quit IRC | 04:26 | |
*** saju_m has joined #heat | 04:39 | |
*** alexheneveld has quit IRC | 04:39 | |
*** piyush has quit IRC | 04:40 | |
*** nati_ueno has quit IRC | 04:45 | |
*** nati_ueno has joined #heat | 04:47 | |
*** alexpilotti has joined #heat | 04:51 | |
*** alexpilotti has quit IRC | 04:56 | |
*** akuznetsov has joined #heat | 05:00 | |
*** julienvey has joined #heat | 05:01 | |
*** matsuhashi has joined #heat | 05:04 | |
*** julienvey has quit IRC | 05:06 | |
*** saju_m has quit IRC | 05:08 | |
*** saju_m has joined #heat | 05:08 | |
*** pablosan has quit IRC | 05:09 | |
*** nosnos has joined #heat | 05:16 | |
*** zhiyan is now known as zhiyan_ | 05:20 | |
*** nosnos has quit IRC | 05:22 | |
*** arbylee1 has joined #heat | 05:23 | |
*** arbylee has quit IRC | 05:23 | |
*** nosnos has joined #heat | 05:23 | |
*** cmyster has quit IRC | 05:28 | |
*** cmyster has joined #heat | 05:29 | |
*** cmyster has joined #heat | 05:29 | |
*** matsuhashi has quit IRC | 05:30 | |
*** matsuhashi has joined #heat | 05:30 | |
*** cmyster has quit IRC | 05:33 | |
*** cmyster has joined #heat | 05:34 | |
*** cmyster has joined #heat | 05:34 | |
*** matsuhashi has quit IRC | 05:36 | |
*** matsuhashi has joined #heat | 05:36 | |
*** yogeshmehra has joined #heat | 05:38 | |
*** ramishra has quit IRC | 05:44 | |
*** sab has joined #heat | 05:46 | |
*** arbylee1 has quit IRC | 05:54 | |
*** yogeshmehra has quit IRC | 05:57 | |
*** ramishra has joined #heat | 06:03 | |
*** yogeshmehra has joined #heat | 06:07 | |
*** tspatzier has joined #heat | 06:08 | |
openstackgerrit | OpenStack Proposal Bot proposed a change to openstack/heat: Imported Translations from Transifex https://review.openstack.org/89750 | 06:09 |
shardy | morning all | 06:10 |
stevebaker | evening | 06:14 |
*** lipinski has quit IRC | 06:15 | |
*** yogeshmehra has quit IRC | 06:24 | |
*** e0ne has joined #heat | 06:26 | |
*** ramishra has quit IRC | 06:27 | |
*** ramishra has joined #heat | 06:30 | |
cmyster | morning shardy | 06:30 |
cmyster | early bird eh ? | 06:30 |
Qiming | afternoon | 06:31 |
shardy | cmyster: ha, not by choice ;) | 06:31 |
shardy | therve: hey, when you get a moment I'd be interested to know if you can reproduce bug #1314401 | 06:33 |
uvirtbot | Launchpad bug 1314401 in heat "custom constraints can break stack-list" [Undecided,New] https://launchpad.net/bugs/1314401 | 06:33 |
cmyster | shardy: any particular version ? | 06:34 |
cmyster | wait I just re-read nm | 06:37 |
shardy | cmyster: My heat tree is at 40860d6 | 06:38 |
cmyster | shardy: I did not see to whom you addressed the request and since it was under my previous line I though it was addressed to me. I don't mind testing stuff but I rather keep working on the current RDO version... | 06:39 |
*** alexpilotti has joined #heat | 06:39 | |
shardy | cmyster: It was adressed to therve as he's most familiar with the custom constraints functionality | 06:40 |
cmyster | and I missed it | 06:41 |
cmyster | coffee++ | 06:41 |
tspatzier | shardy: just saw your question to therve re bug #1314401 | 06:42 |
uvirtbot | Launchpad bug 1314401 in heat "custom constraints can break stack-list" [Undecided,New] https://launchpad.net/bugs/1314401 | 06:43 |
mattoliverau | night all, I'm calling it a day. Have to be on the otherside of town and it's rush hour.. so better go. | 06:43 |
tspatzier | shardy: I've seen another issue re custom constrains yesterday which could be related -> bug #1314240 | 06:44 |
uvirtbot | Launchpad bug 1314240 in heat "template-validate fails when using parameters with custom_constraint and default" [Undecided,New] https://launchpad.net/bugs/1314240 | 06:44 |
*** killer_prince has quit IRC | 06:44 | |
*** alexpilotti has quit IRC | 06:45 | |
*** killer_prince has joined #heat | 06:45 | |
*** e0ne has quit IRC | 06:45 | |
*** IlyaE has joined #heat | 06:50 | |
*** arbylee has joined #heat | 06:55 | |
*** julienvey has joined #heat | 07:03 | |
*** arbylee has quit IRC | 07:04 | |
*** julienvey has quit IRC | 07:07 | |
*** matsuhashi has quit IRC | 07:08 | |
*** yogeshmehra has joined #heat | 07:09 | |
*** matsuhashi has joined #heat | 07:11 | |
therve | Good morning! | 07:12 |
therve | shardy, Looking | 07:12 |
cmyster | morning therve | 07:14 |
*** ifarkas has joined #heat | 07:16 | |
*** matsuhashi has quit IRC | 07:17 | |
*** matsuhashi has joined #heat | 07:17 | |
*** julienvey has joined #heat | 07:18 | |
skraynev | Morning all | 07:26 |
cmyster | morning | 07:27 |
*** sergmelikyan has quit IRC | 07:28 | |
*** Daviey has joined #heat | 07:29 | |
*** nati_ueno has quit IRC | 07:29 | |
*** jprovazn has joined #heat | 07:32 | |
*** sergmelikyan has joined #heat | 07:34 | |
therve | shardy, So I'm not sure what to do :/ | 07:38 |
*** sorantis has joined #heat | 07:40 | |
shardy | therve: create a stack with a keypair parameter, use custom constraint nova.keypair | 07:40 |
shardy | create the stack, do stack-list | 07:40 |
therve | shardy, No I mean to fix the issue | 07:40 |
shardy | Oh! | 07:40 |
*** sorantis has quit IRC | 07:40 | |
shardy | so you can reproduce then.. | 07:41 |
shardy | I was worried it was just me due to the comment left on the bug | 07:41 |
therve | Yes I can | 07:41 |
therve | I don't even know why we do validation at listing times, but anyway | 07:41 |
shardy | Seems like we need to enforce validation on create/update/adopt but not when doing introspection operations or anything where we just load the stack from the DB | 07:42 |
shardy | at that point it's too late to do validation ;) | 07:42 |
*** sorantis has joined #heat | 07:42 | |
therve | shardy, So you think the fix is to move validation? | 07:43 |
shardy | therve: possibly, I only spotted the issue late yesterday so not looked into solutions properly yet | 07:43 |
therve | I also thought that validation in init was a horrible choice, so that'd make me happy | 07:43 |
shardy | therve: do you want to pick this up, or shall I take a look at how to fix it? | 07:44 |
therve | shardy, Your call. | 07:45 |
therve | I'd be happy to take it, but another pair of eyes around this area wouldn't be superfluous | 07:45 |
therve | We may even be able to fix the other bug that tspatzier found | 07:46 |
*** FL1SK has quit IRC | 07:47 | |
shardy | therve: Ok cool, happy to be the additional eyes ;) | 07:51 |
shardy | I'll dig into it a bit later this morning | 07:51 |
*** e0ne has joined #heat | 07:52 | |
*** zigo_ is now known as zigo | 07:55 | |
cmyster | wow looking at the changes I did and your comments shardy... | 07:56 |
*** jistr has joined #heat | 07:56 | |
cmyster | sleep-deprivation-- | 07:56 |
shardy | cmyster: no worries, looks like it's headed in the right direction | 07:59 |
cmyster | sure thing, just it amazes me I don't even remember doing some of these is how tired I was when writing those | 08:00 |
pas-ha | morning all :) | 08:01 |
cmyster | morning | 08:01 |
*** IlyaE has quit IRC | 08:02 | |
*** cody-somerville has quit IRC | 08:04 | |
*** e0ne has quit IRC | 08:05 | |
*** tomek_adamczewsk has joined #heat | 08:06 | |
*** sorantis has quit IRC | 08:08 | |
openstackgerrit | huangtianhua proposed a change to openstack/heat: Add Glance Image resource https://review.openstack.org/90976 | 08:09 |
*** sorantis has joined #heat | 08:09 | |
*** e0ne has joined #heat | 08:13 | |
cmyster | shardy: I am going over latest notes, you mentioned something about hard coded image_id... I actually took that idea from the tests at heat. also, since I must use an id to create a deployment, why should it matter what this string contains ? | 08:14 |
tspatzier | Hey therve, shardy: was away for a moment. I am working on that bug I mentioned. | 08:14 |
*** ifarkas has quit IRC | 08:15 | |
shardy | cmyster: because the id the deployment takes is the id of a server, not an image | 08:15 |
therve | tspatzier, So if we end up moving validation explicitely, it may make your bug go away or at least way easier to fix. | 08:15 |
tspatzier | therve: I am looking if we can have a fix which is a bit smaller/cleaner than the ad-hoc patch you pasted yesterday. | 08:15 |
shardy | also I think the id passed to the deployment is optional | 08:15 |
*** yogeshmehra has quit IRC | 08:15 | |
*** yogeshmehra has joined #heat | 08:16 | |
cmyster | I see, I thought you need that ID so the deployment can link a certain server with a certain configuration_id | 08:17 |
shardy | therve: yeah it looks to me like we should make the parameters validate_value=False unless being called via a stack.validate | 08:17 |
tspatzier | therve: I will see how a minimal fix could look like and/or what moving validation would mean. | 08:17 |
shardy | cmyster: you do, if you want it to actually work, but you're not creating a server | 08:17 |
shardy | so passing the *image* id instead makes no sense | 08:17 |
shardy | if the value is mandatory at the API level (it's not at the resource level) then you could create a random dummy value, or actually create a server | 08:18 |
cmyster | so I can just ignore that ID? feels kinda redundant later if I want to test update as well as it is a rather important field in real life no ? | 08:19 |
*** cody-somerville has joined #heat | 08:19 | |
*** cody-somerville has quit IRC | 08:19 | |
*** cody-somerville has joined #heat | 08:19 | |
shardy | cmyster: yes you can remove the entire setup function AFAICT, as mentioned in my first review | 08:19 |
shardy | if you need it for a later test, you can add it then | 08:19 |
*** ifarkas has joined #heat | 08:19 | |
cmyster | legit, | 08:20 |
*** yogeshmehra has quit IRC | 08:20 | |
shardy | we will need more "real world" tests in due course, but they will probably have to be scenario tests due to agent requirements for SoftwareDeployments to actually work | 08:20 |
cmyster | right | 08:21 |
shardy | although I've been looking at hacky ways of making them work with the cirros image | 08:21 |
*** saju_m has quit IRC | 08:21 | |
shardy | not quite managed it, yet | 08:21 |
cmyster | ummm | 08:21 |
cmyster | I don't think you can anyway ? | 08:21 |
*** derekh has joined #heat | 08:21 | |
shardy | cmyster: why not? | 08:21 |
cmyster | in cirros | 08:21 |
cmyster | pretty limited | 08:21 |
shardy | the main requirement is a hook script which can parse json, and cirros doesn't have python | 08:22 |
shardy | but it may be possible (although ugly) to make a limited test work with a shell script instead | 08:22 |
cmyster | exactly | 08:22 |
shardy | that's what I started looking at, but have not yet quite completed | 08:22 |
shardy | I got WaitCondition signals working tho | 08:23 |
shardy | https://review.openstack.org/#/c/90143/ | 08:23 |
*** jamie_h has joined #heat | 08:23 | |
cmyster | Hmmm, | 08:23 |
shardy | and now I have to totally refactor that into a scenario test :\ | 08:23 |
cmyster | IMO any 'real' scenarios will have to be run with F20 and probably downstream. script to install needed parts, and then run a nice conf on that | 08:25 |
shardy | cmyster: they are massively more valuable if we can get them running fast enough (e.g by using cirros wherever possible) that they can be run upstream and we can gate on them | 08:26 |
cmyster | of course, but a nice scenario on F20 that actually does something an IT guy might choose to do is far more interesting from my perspective | 08:27 |
cmyster | should be both | 08:27 |
cmyster | one for regular job one for slow | 08:28 |
shardy | Yeah, but IMO the initial priority is to get a reasonable subset of regression-catching gate tests in | 08:28 |
cmyster | oh I wasn't talking priority, just the vision | 08:28 |
shardy | cmyster: yeah, sure it will be great if folks have additional tests too, but it will be a total fail if they get developed before we get reasonable upstream coverage in tempest | 08:29 |
pas-ha | guys, have a question about gate - my change is there for about 30 hours already and I don't even see it in Zuul's check queue now. Should I just "recheck no bug" it? | 08:30 |
shardy | pas-ha: which change? | 08:30 |
cmyster | thats the problem with programming. the code cannot predict what you wanted to do :) | 08:30 |
pas-ha | https://review.openstack.org/#/c/89880/ | 08:30 |
*** FL1SK has joined #heat | 08:31 | |
skraynev | pas-ha: test was eaten by zuul ... :) | 08:32 |
pas-ha | om-nom-nom | 08:32 |
*** liang has joined #heat | 08:37 | |
cmyster | another thing shardy, getting the metadata is per server, so I won't remove it altogether, maybe just change the id to something random as you suggested | 08:48 |
*** arbylee has joined #heat | 09:00 | |
*** liang has quit IRC | 09:00 | |
asalkeld | shardy, cmyster can't you test with containers instead of vms? | 09:03 |
asalkeld | much faster | 09:03 |
asalkeld | less mem etc... | 09:03 |
cmyster | in what regard? | 09:03 |
asalkeld | tempest | 09:04 |
cmyster | not good for me | 09:04 |
asalkeld | what is not good for you? | 09:04 |
asalkeld | tempest or containers | 09:04 |
*** arbylee has quit IRC | 09:04 | |
cmyster | containers. I need tests to be run on an environment that can simulate a real world setup | 09:05 |
asalkeld | in what way are containers not real? | 09:06 |
asalkeld | you are not testing nova | 09:06 |
asalkeld | you are testing heat? | 09:06 |
asalkeld | I guess I don't know your use case | 09:06 |
asalkeld | I'll shut up | 09:06 |
cmyster | asalkeld: yes I am. Except from this little API test my job is to test Heat, and I need to start (or at least continue) writing scenario tests in tempest | 09:07 |
cmyster | from my perspective, I need my testing env' to be at least somewhat close to something you can find in the real world | 09:08 |
*** saju_m has joined #heat | 09:09 | |
asalkeld | cmyster, heat should not care what the nova driver is | 09:10 |
cmyster | I disagree with you entirely in this case :) | 09:10 |
asalkeld | why | 09:11 |
cmyster | well not entirely, but I need to be able to make sure that either way the end result is as I expect it to be | 09:11 |
*** sorantis has quit IRC | 09:12 | |
cmyster | also, depends a lot on what the real world is doing. in the end I want to test it as close to real world scenarios | 09:12 |
asalkeld | well I suspect more and more people will use docker | 09:13 |
cmyster | thats an option | 09:13 |
asalkeld | I don't see the difference | 09:13 |
asalkeld | (from heat's perspective) | 09:13 |
cmyster | asalkeld: http://blog.docker.io/2014/03/docker-will-be-in-openstack-icehouse/ | 09:16 |
cmyster | some interesting read there... | 09:16 |
*** ekarlso has joined #heat | 09:19 | |
ekarlso | how can I get the hostname via get_attr ? | 09:19 |
*** asalkeld has quit IRC | 09:21 | |
*** asalkeld has joined #heat | 09:24 | |
asalkeld | urg: sorry power tripped | 09:25 |
cmyster | asalkeld: did you see the link I sent you ? | 09:25 |
shardy | asalkeld: hey, good point re containers, but AFAIK tempest only does nova testing with VMs atm | 09:25 |
asalkeld | shardy, you are normally in control of the devstack setup | 09:26 |
asalkeld | (so you can define the nova driver) | 09:26 |
*** sorantis has joined #heat | 09:26 | |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Using attribute schema for building documentation https://review.openstack.org/86803 | 09:26 |
shardy | asalkeld: humm, well I've just been writing tests with whatever is currently defined for our api and scenario tests, maybe we can look into alternatives | 09:26 |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Deprecate first_address attribute of Server https://review.openstack.org/86526 | 09:27 |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Using new attribute schema for all resources https://review.openstack.org/89331 | 09:27 |
shardy | asalkeld: It's actually really fast on my local machine with the cirros image | 09:27 |
asalkeld | shardy, you could do a *lot* of tests if we used containers | 09:27 |
shardy | asalkeld: does networking etc work the same way if we do that? | 09:27 |
asalkeld | heat create is so fast, it's basically instant | 09:28 |
shardy | asalkeld: that does sound good, what nova driver do you use? | 09:28 |
asalkeld | shardy, there have been some issues with neutron | 09:28 |
asalkeld | (with docker) | 09:28 |
cmyster | also, will the tempest maintainers will go with it? | 09:28 |
asalkeld | cmyster, honestly not sure | 09:29 |
asalkeld | but much less burden on the infra | 09:29 |
shardy | possibly not, but it's worth having the discussion | 09:29 |
asalkeld | (and gate) | 09:29 |
therve | I'm sure there are many issues with using docker | 09:30 |
shardy | the issue we have is as soon as we have reasonable coverage of all resources in the heat-slow job, including a decent number of non-trivial scenarios, the test will become far too slow to gate on | 09:30 |
asalkeld | shardy, maybe something worth talking about at summit | 09:30 |
therve | Like volumes? I'd be surprised it would work | 09:30 |
shardy | asalkeld: yeah sure, one for the beer-track :) | 09:30 |
asalkeld | yeah | 09:30 |
cmyster | ekarlso: are you talking about Nova::Server ? | 09:31 |
ekarlso | cmyster: yea | 09:32 |
*** saju_m has quit IRC | 09:32 | |
cmyster | I don't think there is such attribute, but you get the IP address | 09:32 |
cmyster | you *can get | 09:32 |
shardy | You can set the name via the "name" property, then that will be used as the hostname | 09:33 |
cmyster | yes but after creation? | 09:34 |
shardy | I don't think there's an easy way to get the self.physical_resource_name() which is the auto-generated name we use if none is specified | 09:34 |
shardy | cmyster: no, you'd need to specify it in the template | 09:34 |
cmyster | yup | 09:34 |
*** saju_m has joined #heat | 09:36 | |
cmyster | of course one can create a software config with a bash script... | 09:36 |
*** alexheneveld has joined #heat | 09:43 | |
*** che-arne has joined #heat | 09:43 | |
*** sorantis has quit IRC | 09:44 | |
*** Michalik- has joined #heat | 09:45 | |
*** sorantis has joined #heat | 09:46 | |
*** denis_makogon has joined #heat | 09:50 | |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Making new attribute Schema mandatory https://review.openstack.org/89553 | 09:59 |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Make attributes definition similar on properties https://review.openstack.org/89332 | 09:59 |
openstackgerrit | Sergey Kraynev proposed a change to openstack/heat: Making new attribute Schema mandatory https://review.openstack.org/89553 | 10:00 |
openstackgerrit | A change was merged to openstack/heat: Port all resources to new resource data methods https://review.openstack.org/88499 | 10:02 |
*** Qiming has quit IRC | 10:02 | |
*** alexpilotti has joined #heat | 10:11 | |
*** saju_m has quit IRC | 10:17 | |
*** saju_m has joined #heat | 10:17 | |
*** sorantis has quit IRC | 10:19 | |
*** nosnos has quit IRC | 10:21 | |
openstackgerrit | huangtianhua proposed a change to openstack/heat: Add Glance Image resource https://review.openstack.org/90976 | 10:24 |
*** nosnos has joined #heat | 10:29 | |
*** SnowDust has joined #heat | 10:34 | |
SnowDust | therve: there ? | 10:36 |
*** saju_m has quit IRC | 10:42 | |
*** Michalik- has quit IRC | 10:44 | |
*** tspatzier has quit IRC | 10:45 | |
*** SushillKM has joined #heat | 10:47 | |
*** tspatzier has joined #heat | 10:49 | |
*** fandi has quit IRC | 10:50 | |
*** openstackgerrit has quit IRC | 10:51 | |
*** arbylee has joined #heat | 11:00 | |
*** asalkeld has quit IRC | 11:00 | |
*** RockKuo_Office has quit IRC | 11:03 | |
*** arbylee has quit IRC | 11:05 | |
*** e0ne has quit IRC | 11:07 | |
*** jamie_h has quit IRC | 11:07 | |
*** tspatzier has quit IRC | 11:07 | |
*** tspatzier has joined #heat | 11:08 | |
*** jamie_h has joined #heat | 11:08 | |
*** tspatzier has quit IRC | 11:08 | |
*** sorantis has joined #heat | 11:10 | |
*** SushillKM has quit IRC | 11:17 | |
*** sab has quit IRC | 11:18 | |
*** Qiming has joined #heat | 11:22 | |
*** tspatzier has joined #heat | 11:25 | |
*** lipinski has joined #heat | 11:29 | |
therve | SnowDust, Yes | 11:35 |
SnowDust | therve : need some code explaination | 11:44 |
SnowDust | just a sec | 11:44 |
SnowDust | therve : https://github.com/openstack/heat/blob/master/heat/engine/resources/template_resource.py#L73-L76 | 11:46 |
SnowDust | can u tell me .. when tri.user_resource becomes "True" | 11:48 |
therve | SnowDust, When it's not in the global environment | 11:48 |
*** asalkeld has joined #heat | 11:49 | |
SnowDust | actually its in continuation to the earlier discussion on nested template | 11:49 |
SnowDust | i seee .. the template is being validated but later error thrown when i actually try to create the nested stack | 11:49 |
SnowDust | the nested stack's file uri is not being entertained | 11:50 |
therve | entertained? :) | 11:50 |
*** rpothier_ has quit IRC | 11:51 | |
SnowDust | yeah | 11:52 |
SnowDust | as use_resource is coming true | 11:52 |
SnowDust | the path is valid for just "http" "https" schmes | 11:52 |
SnowDust | the nested template i used is : http://paste.openstack.org/show/76633/ | 11:55 |
*** onorua has quit IRC | 11:55 | |
therve | That's not a nested template :) | 11:58 |
therve | What in heat.yaml is presumably | 11:58 |
therve | SnowDust, So what happens if you try to use that? | 11:59 |
SnowDust | therve : | 12:00 |
SnowDust | when i validate the template with its params | 12:00 |
*** e0ne has joined #heat | 12:00 | |
SnowDust | the template gets validated | 12:00 |
SnowDust | then i use stack-create | 12:01 |
SnowDust | in that .. i am getting error | 12:01 |
SnowDust | wait will paste the error too | 12:01 |
*** matsuhashi has quit IRC | 12:02 | |
cmyster | shardy: just to be sure, the server_id of the software deployment is updateable tight ? | 12:02 |
*** e0ne_ has joined #heat | 12:02 | |
*** matsuhashi has joined #heat | 12:02 | |
SnowDust | therve: 2014-04-30 11:42:21.750 ERROR heat.engine.parser [-] Could not fetch remote template 'file:///tmp/heat.yaml' | 12:02 |
*** e0ne has quit IRC | 12:02 | |
*** matsuhashi has quit IRC | 12:03 | |
SnowDust | Invalid URL scheme file | 12:03 |
therve | SnowDust, You can paste the whole output of "heat --debug stack-create ..." ? | 12:03 |
SnowDust | when i pingd :) i was doing that .. now will have to repeat the excercise the vm is deleted :D | 12:04 |
SnowDust | but i can comeback with that output | 12:04 |
SnowDust | as u need | 12:04 |
SnowDust | but as i debugged i shared the lines where i saw the nested template was giving invalid URI due to https://github.com/openstack/heat/blob/master/heat/engine/resources/template_resource.py#L73 | 12:05 |
SnowDust | evaluating to true | 12:05 |
therve | But that's irrelevant. It should not get there. | 12:05 |
SnowDust | i see | 12:05 |
therve | So I presume you're not passing the stack files properly. But I don't know because you don't give enough information | 12:06 |
SnowDust | actually urlfetch is being called two times .. first for the top level with allowed_scheme = "file" | 12:06 |
SnowDust | and second time .. getting into this loop and .. doing wrong things | 12:06 |
SnowDust | ok therve let me repeat this excercise with very common templates so that all the info is open | 12:06 |
SnowDust | and sharable | 12:07 |
*** e0ne_ has quit IRC | 12:07 | |
shardy | cmyster: no, it looks like a create-only option: | 12:08 |
shardy | https://github.com/openstack/heat/blob/master/heat/engine/service.py#L1183 | 12:08 |
SnowDust | dont understand why u said its not nested templates if u remember u only told to use autoscale groups .. when files were not being supported by nested stack resource type. | 12:08 |
cmyster | ok, | 12:08 |
SnowDust | but do understand the resource is autoscale type not nestedstack type | 12:08 |
cmyster | shardy: is there a reason why it might need a change there ? | 12:09 |
*** nosnos has quit IRC | 12:09 | |
cmyster | or when a deployment was created it is bound to a server | 12:09 |
*** tspatzier has quit IRC | 12:11 | |
sorantis | shardy: I’ve seen your commit “tests make dummy db setup/reset consistent” which removed setup of the dummy db from all the test files. Shall I do the same for https://review.openstack.org/#/c/90029/ ? | 12:12 |
sorantis | I saw* | 12:13 |
*** sgordon_ has joined #heat | 12:14 | |
*** sgordon_ has quit IRC | 12:14 | |
*** sgordon_ has joined #heat | 12:14 | |
*** skraynev_ has joined #heat | 12:16 | |
*** skraynev_ has quit IRC | 12:16 | |
*** achampion has quit IRC | 12:17 | |
*** jdob has joined #heat | 12:17 | |
shardy | cmyster: IMO, no, because after a SoftwareDeployment has been created e.g applied to a server_id, then if you disassociate the deployment you have no way of knowing the config has been applied to it | 12:18 |
shardy | cmyster: maybe a question for stevebaker though | 12:18 |
shardy | sorantis: yes, please do | 12:19 |
*** rbuilta has joined #heat | 12:19 | |
cmyster | shardy: as a way to reuse things. for instance, you have a server and a deployment, you have a new server that was created differently and you want to change a configuration setting and update to the new server (you don''t care about the old one) | 12:19 |
*** erecio has joined #heat | 12:20 | |
shardy | cmyster: yeah maybe, as I said, I'd ask stevebaker why it's not updateable | 12:20 |
* cmyster wonders if stevebaker reads IRC backlogs | 12:21 | |
cmyster | if not I'll ask him first thing in the morning | 12:22 |
*** saju_m has joined #heat | 12:23 | |
*** tspatzier has joined #heat | 12:26 | |
*** erecio_1 has joined #heat | 12:36 | |
*** erecio has quit IRC | 12:38 | |
*** aweiteka has joined #heat | 12:39 | |
*** saju_m has quit IRC | 12:42 | |
*** saju_m has joined #heat | 12:42 | |
*** asalkeld is now known as asalkeld_zzz | 12:43 | |
*** jstrachan has quit IRC | 12:47 | |
*** asalkeld_zzz has quit IRC | 12:48 | |
*** tspatzier has quit IRC | 12:53 | |
*** saju_m has quit IRC | 12:57 | |
*** alexheneveld has quit IRC | 13:01 | |
*** arbylee has joined #heat | 13:01 | |
*** tspatzier has joined #heat | 13:03 | |
*** arbylee has quit IRC | 13:05 | |
sdake | morning | 13:05 |
cmyster | after noon | 13:06 |
*** rpothier_ has joined #heat | 13:06 | |
*** radez_g0n3 is now known as radez | 13:12 | |
*** jprovazn has quit IRC | 13:13 | |
ekarlso | is there a way to use the ports resource with a resourcegroup ? | 13:14 |
skraynev | therve: is it right, that constraints for parameters are supported only for hot templates? | 13:17 |
skraynev | therve: I tried to use is, but got error: ERROR: Remote error: InvalidSchemaError Invalid key 'Constraints' for parameter | 13:18 |
*** achampion has joined #heat | 13:18 | |
therve | skraynev, Yes | 13:20 |
skraynev | therve: cool. thanks ;) | 13:21 |
*** cmyster has quit IRC | 13:23 | |
*** scollier has joined #heat | 13:31 | |
*** mkerrin has quit IRC | 13:37 | |
shardy | therve: hey, I was thinking a bit more about the ceilometer stack-domain-user thing.. | 13:37 |
therve | shardy, Yep? | 13:37 |
shardy | I think we don't want to create a trust with the stack-domain-user after all, because then we'd still also need the trust between the stack owner and the heat service user | 13:38 |
*** alexheneveld has joined #heat | 13:38 | |
*** zz_gondoi is now known as gondoi | 13:38 | |
shardy | so probably we either want to stick with what you have, e.g trust between the stack owner and ceilometer (no longer any need for the trust in heat), *or* pass the username/password for the stack-domain-user, like we do for instances | 13:39 |
shardy | given that ceilometer is more trusted than a random instance.. | 13:39 |
*** erecio_1 has quit IRC | 13:39 | |
shardy | probably, we can just stick with what you have but I've been trying to figure out the alternatives :) | 13:40 |
*** arbylee has joined #heat | 13:41 | |
jdob | when referring to a provider resource template from resource_registry, i can put in an HTTP URL to the file? does it also support HTTPS and/or anything else? | 13:43 |
jdob | (other than the relative path on disk where the client will automatically upload it) | 13:43 |
shardy | jdob: yes, python-heatclient should resolve URLs and local paths | 13:43 |
jdob | oh, the client resolves the URL? does it download them and then pass them to hear? or does heat get the URL and reach out and get the template? | 13:44 |
shardy | jdob: it used to be the latter, but recently we've been moving to a model where everything is resolved and downloaded by the client, then uploaded to heat | 13:44 |
jdob | ok, cool. so my protocol questions aren't as big a deal because I don't need heat to support them, just the client (or my own additions to it) | 13:45 |
shardy | less chance of getting DoS'd due to multiple concurrent requests to download over-size templates ;) | 13:45 |
*** ramishra has quit IRC | 13:45 | |
jdob | so on every create/update, all of the templates are passed into heat each time? | 13:46 |
shardy | jdob: currently yes, although there is a bug about not having to re-upload everything on update | 13:47 |
*** ramishra has joined #heat | 13:47 | |
jdob | but that'd be more of a caching thing than a template registry type concept, right? | 13:47 |
shardy | jdob: yeah, basically allowing a patch style update where you just upload what has changed | 13:48 |
*** ramishra has quit IRC | 13:48 | |
jdob | gotcha | 13:48 |
shardy | https://github.com/openstack/python-heatclient/blob/master/heatclient/v1/shell.py#L86 | 13:49 |
shardy | Currently we support local file, http URL and a swift URL | 13:49 |
shardy | if you needed, we could add e.g glance if that ends up being a template store like was discussed on the ML | 13:50 |
jdob | dumb question: swift isn't served over http? | 13:50 |
*** ramishra has joined #heat | 13:50 | |
*** jmckind has joined #heat | 13:50 | |
*** vijendar has joined #heat | 13:51 | |
therve | Yeah I don't think we support swift URLs | 13:52 |
*** SnowDust has quit IRC | 13:52 | |
shardy | therve: we do, or at least we did as I implemented it in the API ages ago | 13:53 |
shardy | jdob: it is, but unless you use tempurl then you need to pass a token like any other openstack API | 13:53 |
* shardy looks at the code | 13:53 | |
*** sdake_ has quit IRC | 13:53 | |
therve | I don't see any special handling, but maybe I miss something | 13:54 |
shardy | Looks like it got broken in the migration to python-heatclient | 13:54 |
jdob | shardy: ah, ok. there's no way to make it just a publicly readable object? (haven't looked at swift at all yet) | 13:54 |
therve | jdob, yes, there is a way. But then your object is publicly readable | 13:55 |
shardy | jdob: yes, you can do that if you want I believe but it's not by default | 13:55 |
jdob | gotcha | 13:55 |
*** tzumainn has joined #heat | 13:55 | |
*** openstackgerrit has joined #heat | 13:56 | |
*** erecio_1 has joined #heat | 13:57 | |
shardy | https://github.com/openstack/heat/commit/46a41590fb8ebbec565e0d007c429a17d0d7f5eb | 13:57 |
shardy | wow that's old | 13:58 |
shardy | it's got lost in translation to python-heatclient but we could reimplement something similar again | 13:58 |
therve | :) | 13:59 |
*** jstrachan has joined #heat | 14:00 | |
therve | That'd be cool | 14:00 |
shardy | for some reason we still have the --template-object option, so I assumed it still worked | 14:00 |
shardy | I'll raise a bug :) | 14:00 |
therve | Yeah the doc is kind of wrong | 14:01 |
*** zns has joined #heat | 14:01 | |
jdob | shardy: what's the argument to --template-object, the UUID? | 14:03 |
therve | shardy, Wait maybe it works after all | 14:03 |
therve | jdob, The swift http URL | 14:03 |
jdob | oh, ok | 14:03 |
*** daneyon has joined #heat | 14:04 | |
*** onorua has joined #heat | 14:08 | |
*** piyush has joined #heat | 14:13 | |
shardy | therve: looks like we just do a raw_request without any headers kwargs, so probably won't work for non-public URLs | 14:14 |
therve | shardy, It seems we pass the header? | 14:14 |
therve | raw_request is authentified I think, it's raw as in the result is raw, instead of json_request | 14:16 |
*** ramishra_ has joined #heat | 14:18 | |
*** ramishra has quit IRC | 14:20 | |
shardy | therve: oh yes, sorry you're right, it's in _http_request | 14:21 |
therve | shardy, I'm sorry I thought it wasn't there in the first place :) | 14:21 |
*** ramishra_ has quit IRC | 14:21 | |
*** julienvey has quit IRC | 14:21 | |
shardy | np, I'll try to test it later and see if it actually works :) | 14:22 |
therve | I want to make temptest a word | 14:23 |
therve | So you can ask "Have you temptested it?" | 14:24 |
shardy | lol :) | 14:24 |
* shardy goes back to tempestifying things | 14:24 | |
*** zns has quit IRC | 14:28 | |
*** david-lyle has joined #heat | 14:29 | |
*** onorua has quit IRC | 14:30 | |
*** nati_ueno has joined #heat | 14:31 | |
*** tspatzier__ has joined #heat | 14:32 | |
*** gondoi is now known as zz_gondoi | 14:32 | |
*** zns has joined #heat | 14:33 | |
*** sjmc7 has joined #heat | 14:34 | |
*** pafuent has joined #heat | 14:34 | |
*** tspatzier has quit IRC | 14:35 | |
*** erecio_1 has quit IRC | 14:37 | |
*** pasquier-s has quit IRC | 14:37 | |
*** zz_gondoi is now known as gondoi | 14:39 | |
*** tspatzier__ is now known as tspatzier | 14:40 | |
tspatzier | therve: do custom_constraints only work in HOT? I think the docs at least only mention it for HOT. | 14:40 |
therve | tspatzier, Yes :) | 14:41 |
therve | tspatzier, I don't think we can extend CFN that way. | 14:41 |
tspatzier | therve: ok, makes sense to me. Just was not sure. | 14:41 |
therve | I need to answer that question somewhat for bug #1313835 though | 14:41 |
uvirtbot | Launchpad bug 1313835 in heat "Custom constraints are not returned by template validation" [Medium,Confirmed] https://launchpad.net/bugs/1313835 | 14:41 |
tspatzier | Yeah, that's what I was looking at ;-) | 14:42 |
therve | tspatzier, I don't know if we enforce returning CFN in template validate or not | 14:42 |
therve | It feels weird to return CFN when we validate HOT files :/ | 14:42 |
tspatzier | Well, at the moment we do not really distinguish between CFN or HOT but always return CFN-ish syntax | 14:43 |
tspatzier | ... which is not nice, but was the established interface | 14:43 |
*** tteggel_ has quit IRC | 14:43 | |
*** tteggel_ has joined #heat | 14:44 | |
*** tteggel_ is now known as tteggel | 14:44 | |
*** arbylee has quit IRC | 14:46 | |
*** arbylee has joined #heat | 14:46 | |
*** andrew_plunk has joined #heat | 14:47 | |
*** pablosan has joined #heat | 14:49 | |
openstackgerrit | Zane Bitter proposed a change to openstack/heat: Unit tests: tidy up resolve_runtime_data() calls https://review.openstack.org/89966 | 14:50 |
openstackgerrit | Zane Bitter proposed a change to openstack/heat: Pass unresolved template to Resource.update() https://review.openstack.org/89967 | 14:50 |
openstackgerrit | Zane Bitter proposed a change to openstack/heat: Deprecate Stack.resolve_runtime_data() https://review.openstack.org/89968 | 14:50 |
*** sabeen has joined #heat | 14:53 | |
*** randallburt has joined #heat | 14:55 | |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: Refactor boolean conversion into a separate function https://review.openstack.org/88640 | 14:57 |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: API changes for param to show soft-deleted stacks https://review.openstack.org/88641 | 14:59 |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: Engine changes for API param to show soft-deleted stacks https://review.openstack.org/88642 | 14:59 |
openstackgerrit | Randall Burt proposed a change to openstack/heat: Add "index_var" property to the resource group resource https://review.openstack.org/88636 | 15:00 |
*** IlyaE has joined #heat | 15:01 | |
*** varora has left #heat | 15:01 | |
*** pafuent has quit IRC | 15:03 | |
*** sorantis has quit IRC | 15:05 | |
*** zns has quit IRC | 15:06 | |
*** zns has joined #heat | 15:06 | |
*** ramishra has joined #heat | 15:07 | |
*** tspatzier has quit IRC | 15:11 | |
*** onorua has joined #heat | 15:13 | |
openstackgerrit | Steven Hardy proposed a change to openstack/heat: tests remove stack_delete_after decorator https://review.openstack.org/90415 | 15:15 |
*** kgriffs|afk is now known as kgriffs | 15:19 | |
*** pafuent has joined #heat | 15:22 | |
*** erecio_1 has joined #heat | 15:22 | |
*** varora has joined #heat | 15:22 | |
*** che-arne has quit IRC | 15:22 | |
*** pablosan is now known as zz_pablosan | 15:31 | |
*** sdake_ has joined #heat | 15:32 | |
*** sdake_ has quit IRC | 15:32 | |
*** sdake_ has joined #heat | 15:32 | |
therve | zaneb, Hi, I have some questions about https://review.openstack.org/#/c/89960/ | 15:32 |
zaneb | ok | 15:32 |
therve | zaneb, skraynev raises a good point about UserParameterMissing, it feels weird in the context of the commit | 15:33 |
*** john-n-seattle2 has joined #heat | 15:33 | |
therve | Also it might be wrong considering how value is used in the Parameters class | 15:33 |
zaneb | yeah, you're right, it does feel weird | 15:33 |
zaneb | I changed it in response to something shardy pointed out in the first version of the patch | 15:34 |
* therve looking | 15:34 | |
zaneb | the really stupid thing is that you can never hit this case | 15:35 |
zaneb | because if it was actually wrong, it would fail in validation | 15:35 |
therve | Only if you pass validate_value I guess? | 15:36 |
zaneb | yes, the only way to hit it is to pass validate_value=False | 15:37 |
zaneb | which we only do in validate_template, where there are no user params passed anyway | 15:38 |
therve | So, you change the first raise from UserParameterMissing to InvalidTemplateReference, in case of KeyError | 15:39 |
therve | But you replace the KeyError by UserParameterMissing | 15:39 |
therve | Does that mean the change is a noop? | 15:39 |
zaneb | no, there's two places you could get a key error | 15:40 |
*** tomek_adamczewsk has quit IRC | 15:40 | |
zaneb | #1 was looking for the parameter (because the parameter doesn't exist -> InvalidTemplateReference) | 15:40 |
zaneb | #2 was getting the value for the parameter (because the user didn't pass one -> MissingUserParameter) | 15:41 |
*** pafuent has quit IRC | 15:41 | |
therve | Ah right | 15:41 |
*** che-arne has joined #heat | 15:42 | |
therve | The fact that those things are mappings makes it super clear | 15:42 |
therve | /sarcasm | 15:42 |
zaneb | well, #2 was the weird one, right. there was no reason for that to be raising KeyError | 15:44 |
zaneb | if you do parameters['param_name'] and get a KeyError, it should be because the parameter 'param_name' doesn't exist | 15:44 |
zaneb | which I think _is_ clear | 15:45 |
zaneb | and is how it works with that patch | 15:45 |
*** zz_pablosan is now known as pablosan | 15:45 | |
therve | zaneb, Yep, approved | 15:45 |
*** andersonvom has joined #heat | 15:45 | |
zaneb | cheers :) | 15:45 |
*** varora has left #heat | 15:46 | |
*** erecio_1 has quit IRC | 15:46 | |
*** ramishra has quit IRC | 15:47 | |
openstackgerrit | George Peristerakis proposed a change to openstack/heat: Added field parameter identifying the custom validation https://review.openstack.org/91179 | 15:52 |
*** pafuent has joined #heat | 15:54 | |
*** erecio_1 has joined #heat | 15:59 | |
*** packet has joined #heat | 16:01 | |
*** packet has quit IRC | 16:03 | |
*** chandan_kumar has quit IRC | 16:03 | |
*** sdake_ has quit IRC | 16:03 | |
*** andrew_p_ has joined #heat | 16:04 | |
*** saju_m has joined #heat | 16:04 | |
*** andrew_plunk has quit IRC | 16:05 | |
*** packet has joined #heat | 16:05 | |
*** packet has quit IRC | 16:05 | |
*** andrew_p_ has quit IRC | 16:05 | |
*** Qiming has quit IRC | 16:06 | |
*** andrew_plunk has joined #heat | 16:06 | |
*** packet has joined #heat | 16:06 | |
*** randallburt has quit IRC | 16:07 | |
*** alexheneveld has quit IRC | 16:07 | |
*** sdake_ has joined #heat | 16:07 | |
*** ifarkas has quit IRC | 16:08 | |
*** andersonvom has quit IRC | 16:12 | |
*** saurabhs has joined #heat | 16:15 | |
*** jstrachan has quit IRC | 16:16 | |
*** nati_ueno has quit IRC | 16:16 | |
lipinski | How do you "purge" a stack that fails to delete - DELETE_FAILED? | 16:17 |
lipinski | It is failing to delete a SoftwareConfig resource | 16:17 |
*** arbylee has quit IRC | 16:17 | |
*** TravT has joined #heat | 16:18 | |
openstackgerrit | A change was merged to openstack/heat: Deprecate first_address attribute of Server https://review.openstack.org/86526 | 16:20 |
shardy | lipinski: you can use heat stack-abandon, but it would be good to capture the errors from the engine log on delete first, as failing to delete a SoftwareConfig resource is probably a bug | 16:26 |
shardy | not if you do stack-abandon heat may leave resources behind which you have to manually clean up | 16:27 |
shardy | s/not/note | 16:27 |
lipinski | shardy: I've created/deleted the same stack lots of times. We took a power hit and all kinds of things got messed up, so unless I see a re-occurrence, I'm guessing it was our environment. | 16:27 |
lipinski | stack-abandon wouldn't work. I just purged everything from the database and restarted heat-engine. | 16:28 |
shardy | well that'll do it ;D | 16:28 |
lipinski | I checked that actual Openstack resources were all gone (Ports, VMs, etc.) | 16:28 |
lipinski | brute force was fine in this case :) | 16:28 |
lipinski | I did notice that heat-manage purge_deleted didn't actually purge the deleted stacks from the DB as I would have expected. | 16:29 |
lipinski | I had like 2100+ records in the stack table. | 16:29 |
lipinski | they gone now though. | 16:29 |
*** alexheneveld has joined #heat | 16:29 | |
*** sdake_ has quit IRC | 16:29 | |
therve | lipinski, We do soft-delete currently. There is a heat-manage command to purge records | 16:30 |
*** saju_m has quit IRC | 16:31 | |
*** erecio_1 has quit IRC | 16:31 | |
*** saju_m has joined #heat | 16:32 | |
*** jistr has quit IRC | 16:36 | |
*** chandan_kumar has joined #heat | 16:43 | |
*** alexheneveld has quit IRC | 16:43 | |
*** slowe has joined #heat | 16:44 | |
*** derekh has quit IRC | 16:48 | |
*** jmckind has quit IRC | 16:51 | |
openstackgerrit | A change was merged to openstack/heat: Raise InvalidTemplateReference for missing resources https://review.openstack.org/89960 | 16:51 |
*** andrew_plunk has quit IRC | 16:54 | |
*** harlowja_away is now known as harlowja | 16:54 | |
*** erecio_1 has joined #heat | 16:55 | |
*** sabeen has quit IRC | 16:56 | |
*** sabeen has joined #heat | 16:56 | |
*** arbylee has joined #heat | 16:57 | |
*** pablosan is now known as zz_pablosan | 16:58 | |
*** tzumainn has quit IRC | 16:59 | |
*** nati_ueno has joined #heat | 17:00 | |
*** nati_ueno has quit IRC | 17:01 | |
*** andrew_plunk has joined #heat | 17:01 | |
*** andersonvom has joined #heat | 17:01 | |
*** nati_ueno has joined #heat | 17:03 | |
*** sabeen has quit IRC | 17:04 | |
*** zz_pablosan is now known as pablosan | 17:05 | |
*** pablosan is now known as zz_pablosan | 17:05 | |
slowe | Is this channel more for developers or users? | 17:06 |
*** chandan_kumar has quit IRC | 17:06 | |
zaneb | slowe: this is where the developers hang out, but if you're a user and have a question for the developers then this is a good place to ask it | 17:08 |
slowe | zaneb: Thanks. | 17:08 |
slowe | What, exactly, does the format of a Heat template control? I'm new to Heat and built a template using "AWSTemplateFormatVersion" in JSON but using HOT resource types, and it works. Why? | 17:09 |
*** ramishra has joined #heat | 17:10 | |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: Refactor boolean conversion into a separate function https://review.openstack.org/88640 | 17:10 |
zaneb | slowe: resource types are independent of the template format | 17:10 |
slowe | zaneb: So what does the template format control? Built-in functions and data serialization format (JSON vs. YAML)? | 17:10 |
*** ramishra has quit IRC | 17:11 | |
zaneb | yes, built-in functions, names of things ("Resources" vs. "resources), the format of e.g. parameter constraints, &c. | 17:11 |
zaneb | also I think you're correct that we don't allow YAML for the CloudFormation ones | 17:12 |
zaneb | or, more accurately, that we require JSON for the CloudFormation ones | 17:12 |
slowe | zaneb: So, specifying AWSTemplateFormatVersion would mean JSON is required. Yes? | 17:13 |
zaneb | I believe so, but don't quote me ;) | 17:13 |
slowe | zaneb: Fair enough! :-) | 17:14 |
slowe | zaneb: I think that helps me for now. Thanks, much appreciated! | 17:14 |
zaneb | if you switch to HeatTemplateFormatVersion: 2012-12-12 then you can use YAML without changing anything else | 17:14 |
slowe | zaneb: Got it, thanks | 17:15 |
zaneb | np :) | 17:15 |
*** IlyaE has quit IRC | 17:19 | |
*** arbylee has quit IRC | 17:21 | |
SpamapS | slowe: no we fudged AWSTemplateVersion and let yaml work too | 17:23 |
SpamapS | slowe: it's an extension. If you really want to remain compatible with AWS, use json. | 17:24 |
slowe | SpamapS: Ah, I see. Thanks for the clarification, I appreciate it! | 17:24 |
SpamapS | slowe: note that json is actually a subset of yaml and parses fine as yaml. :) | 17:24 |
*** IlyaE has joined #heat | 17:24 | |
slowe | SpamapS: I didn't know that. Thanks. | 17:25 |
*** sabeen has joined #heat | 17:27 | |
*** nati_ueno has quit IRC | 17:30 | |
*** nati_ueno has joined #heat | 17:30 | |
*** nati_ueno has quit IRC | 17:31 | |
*** nati_ueno has joined #heat | 17:31 | |
*** IlyaE has quit IRC | 17:32 | |
*** piyush has quit IRC | 17:35 | |
*** pas-ha has quit IRC | 17:39 | |
*** jprovazn has joined #heat | 17:42 | |
*** yogeshmehra has joined #heat | 17:43 | |
*** david-lyle has quit IRC | 17:45 | |
*** erecio_1 has quit IRC | 17:45 | |
*** fandi has joined #heat | 17:49 | |
*** IlyaE has joined #heat | 17:50 | |
*** jmckind has joined #heat | 17:50 | |
*** zz_pablosan is now known as pablosan | 17:51 | |
*** david-lyle has joined #heat | 17:51 | |
*** alexheneveld has joined #heat | 17:54 | |
*** arbylee has joined #heat | 17:54 | |
*** jmckind has quit IRC | 17:56 | |
*** jmckind has joined #heat | 17:56 | |
*** che-arne has quit IRC | 17:56 | |
*** piyush has joined #heat | 17:57 | |
*** arbylee has quit IRC | 17:58 | |
*** arbylee has joined #heat | 17:58 | |
*** yogeshmehra has quit IRC | 17:59 | |
*** piyush1 has joined #heat | 17:59 | |
*** piyush has quit IRC | 18:01 | |
*** zns has quit IRC | 18:03 | |
*** lindsayk has joined #heat | 18:06 | |
*** nati_ueno has quit IRC | 18:07 | |
*** nati_ueno has joined #heat | 18:07 | |
*** e0ne has joined #heat | 18:08 | |
*** ramishra has joined #heat | 18:12 | |
*** mwheckmann has joined #heat | 18:12 | |
mwheckmann | hi. Has anyone been able to get the AWS_CloudWatch_Alarm.yaml template to work? The one based on the Ceilometer alarms? | 18:14 |
mwheckmann | i.e in /etc/heat/templates/ | 18:14 |
mwheckmann | we keep getting the following error: TRACE heat.engine.resource ValueError: Value must be a comma-delimited list string: 'list' object has no attribute 'split' | 18:15 |
*** ramishra has quit IRC | 18:16 | |
*** bleubeard has joined #heat | 18:18 | |
*** e0ne has quit IRC | 18:19 | |
openstackgerrit | Dmitry Borodaenko proposed a change to openstack/heat: Ignore nova limits set to '-1' https://review.openstack.org/89389 | 18:19 |
*** zns has joined #heat | 18:19 | |
*** zns_ has joined #heat | 18:20 | |
*** nati_ueno has quit IRC | 18:20 | |
*** nati_ueno has joined #heat | 18:21 | |
*** zns has quit IRC | 18:21 | |
*** randallburt has joined #heat | 18:25 | |
*** e0ne has joined #heat | 18:25 | |
*** randallburt has quit IRC | 18:26 | |
*** lindsayk has quit IRC | 18:26 | |
*** randallburt has joined #heat | 18:26 | |
*** lindsayk has joined #heat | 18:26 | |
*** erecio has joined #heat | 18:27 | |
*** jamie_h has quit IRC | 18:31 | |
*** jistr has joined #heat | 18:32 | |
*** fandi has quit IRC | 18:34 | |
*** nati_ueno has quit IRC | 18:47 | |
*** nati_ueno has joined #heat | 18:48 | |
*** nati_ueno has quit IRC | 18:49 | |
*** andersonvom has quit IRC | 18:49 | |
*** zns_ has quit IRC | 18:49 | |
*** andersonvom has joined #heat | 18:50 | |
*** nati_ueno has joined #heat | 18:51 | |
*** rustlebee has left #heat | 18:51 | |
*** e0ne has quit IRC | 18:54 | |
*** e0ne has joined #heat | 18:55 | |
radix | so we're having alternate-time heat meeting today, right? | 18:57 |
*** zns has joined #heat | 18:57 | |
*** david-lyle has quit IRC | 18:57 | |
*** sdake_ has joined #heat | 18:59 | |
*** sdague has quit IRC | 19:03 | |
*** sdague has joined #heat | 19:03 | |
*** lindsayk has quit IRC | 19:08 | |
*** chandan_kumar has joined #heat | 19:09 | |
*** TravT|2 has joined #heat | 19:10 | |
*** TravT has quit IRC | 19:11 | |
*** ramishra has joined #heat | 19:12 | |
*** ramishra has quit IRC | 19:17 | |
*** IlyaE has quit IRC | 19:21 | |
*** e0ne has quit IRC | 19:22 | |
*** onorua has quit IRC | 19:23 | |
*** nati_ueno has quit IRC | 19:25 | |
*** saju_m has quit IRC | 19:25 | |
*** IlyaE has joined #heat | 19:28 | |
*** david-lyle has joined #heat | 19:32 | |
*** lindsayk has joined #heat | 19:38 | |
*** jprovazn has quit IRC | 19:40 | |
*** rbuilta has quit IRC | 19:40 | |
openstackgerrit | Andrew Plunk proposed a change to openstack/heat: Chef solo resource https://review.openstack.org/55208 | 19:41 |
openstackgerrit | Andrew Plunk proposed a change to openstack/heat: Chef solo resource https://review.openstack.org/55208 | 19:43 |
*** chandan_kumar has quit IRC | 19:43 | |
*** tspatzier has joined #heat | 19:53 | |
*** nati_ueno has joined #heat | 20:00 | |
*** nati_ueno has quit IRC | 20:04 | |
*** saurabhs has quit IRC | 20:05 | |
*** TravT|2 has quit IRC | 20:12 | |
*** ramishra has joined #heat | 20:13 | |
*** ramishra has quit IRC | 20:17 | |
*** saurabhs has joined #heat | 20:19 | |
*** IlyaE has quit IRC | 20:22 | |
-openstackstatus- NOTICE: the gate is backed up due to broken nodepool images, fix in progress (eta 22:00 utc) | 20:23 | |
*** ChanServ changes topic to "the gate is backed up due to broken nodepool images, fix in progress (eta 22:00 utc)" | 20:23 | |
*** pablosan is now known as zz_pablosan | 20:24 | |
*** IlyaE has joined #heat | 20:24 | |
*** nati_ueno has joined #heat | 20:25 | |
*** sgordon_ has quit IRC | 20:26 | |
stevebaker | morning | 20:27 |
*** zz_pablosan is now known as pablosan | 20:29 | |
stevebaker | any reviews for this? the bug is biting tripleo https://review.openstack.org/#/c/90863/ | 20:29 |
mwheckmann | Has anyone been able to get the AWS_CloudWatch_Alarm.yaml template to work? The one based on the Ceilometer alarms? | 20:30 |
mwheckmann | i.e in /etc/heat/templates/ | 20:30 |
stevebaker | radix: no meeting today, this is our pre-summit "week off" | 20:30 |
*** TravT has joined #heat | 20:30 | |
mwheckmann | we keep getting the following error: TRACE heat.engine.resource ValueError: Value must be a comma-delimited list string: 'list' object has no attribute 'split' | 20:30 |
*** saurabhs has quit IRC | 20:31 | |
*** kgriffs is now known as kgriffs|afk | 20:34 | |
*** radez is now known as radez_g0n3 | 20:38 | |
randallburt | stevebaker: I reviewed; its biting us and our Chef resource as well. | 20:38 |
randallburt | jasond: can you put eyes on that review stevebaker mentioned above; its a pretty crit bug fix for us and OOO; andrew_plunk already tested it and gave the all clear. | 20:39 |
*** sdake_ has quit IRC | 20:39 | |
jasond | looking at it now | 20:39 |
randallburt | jasond: thanks! | 20:39 |
jasond | +2ed | 20:42 |
randallburt | thanks again jasond | 20:45 |
jasond | np | 20:45 |
openstackgerrit | Jason Dunsmore proposed a change to openstack/heat: Copy the resource registry for user environments https://review.openstack.org/89695 | 20:46 |
*** shakayumi has joined #heat | 20:47 | |
*** shakayumi has quit IRC | 20:47 | |
*** zns has quit IRC | 20:56 | |
*** pafuent has left #heat | 20:58 | |
*** erecio has quit IRC | 20:58 | |
*** zns has joined #heat | 20:58 | |
*** jdob has quit IRC | 20:59 | |
andrew_plunk | Vijendar: have you seen this with the os_database resource before? https://gist.github.com/andrew-plunk/2c0e5e30dd5d80bed491 | 21:00 |
andrew_plunk | or has anyone seen this before :) | 21:01 |
stevebaker | SpamapS: have you made progress on https://bugs.launchpad.net/heat/+bug/1306743/comments/9 ? I could pick up that work if you like | 21:01 |
uvirtbot | Launchpad bug 1306743 in heat "queuepool limit of size 5 overflow" [Critical,In progress] | 21:01 |
SpamapS | stevebaker: none | 21:02 |
SpamapS | stevebaker: I've fallen down a rabbit hole of hardware problems for the last week. | 21:02 |
SpamapS | But we might get 10 more boxes in our test cloud, which would mean we can start CD'ing TripleO.. yaaay. | 21:02 |
*** asalkeld has joined #heat | 21:03 | |
stevebaker | SpamapS: ok, I'll take a look | 21:03 |
*** lindsayk has quit IRC | 21:03 | |
*** sdake_ has joined #heat | 21:04 | |
*** lindsayk has joined #heat | 21:05 | |
randallburt | andrew_plunk: that's not an OS::Trove::DatabaseInstance issue. IIRC I think its an issue with multi-engine and nodes going on and offline. | 21:05 |
*** aweiteka has quit IRC | 21:06 | |
*** jistr has quit IRC | 21:07 | |
vijendar | andrew_plunk: no. I did not see this error | 21:08 |
*** IlyaE has quit IRC | 21:08 | |
*** ramishra has joined #heat | 21:14 | |
*** shakayumi has joined #heat | 21:15 | |
*** shakayumi has quit IRC | 21:15 | |
*** ramishra has quit IRC | 21:18 | |
openstackgerrit | Chmouel Boudjnah proposed a change to openstack/heat: Skip tests when loading plugins https://review.openstack.org/84117 | 21:20 |
andrew_plunk | nice chmouel, I just noticed it was doing that today ^^ | 21:25 |
*** IlyaE has joined #heat | 21:25 | |
andrew_plunk | I was all "why do I need test dependencies to start heat" | 21:25 |
*** achampion has quit IRC | 21:27 | |
*** rpothier_ has quit IRC | 21:29 | |
chmouel | andrew_plunk: heh | 21:30 |
*** vijendar has quit IRC | 21:30 | |
*** alexheneveld has quit IRC | 21:32 | |
openstackgerrit | Steven Hardy proposed a change to openstack/heat-templates: Add example of SoftwareDeployments with cirros https://review.openstack.org/91475 | 21:44 |
*** jmckind has quit IRC | 21:44 | |
shardy | stevebaker: ^^ FYI, something I've been plaing with while learning how SoftwareDeployments work | 21:45 |
stevebaker | ooo | 21:45 |
shardy | may possibly be useful for tempest testing | 21:45 |
shardy | disclaimer, its hacky ;) | 21:45 |
stevebaker | shardy: btw a future volumes test scenario could use software-config to mount/unmount volumes on suspend/resume <- that would be cool | 21:46 |
shardy | stevebaker: Yeah, that would be good | 21:47 |
shardy | I'm still getting that backup test ported to a scenario | 21:47 |
shardy | it's kinda frustrating that the interfaces aren't quite the same as the API tests | 21:47 |
shardy | I guess we can work to converge them over time somewhat | 21:47 |
stevebaker | meh, they use different clients | 21:48 |
stevebaker | json2fstree is a utility on cirros? | 21:48 |
shardy | stevebaker: yup! | 21:48 |
stevebaker | well that is a game changer | 21:48 |
shardy | it's quite a hairy bit of awk ;) | 21:48 |
stevebaker | i bet | 21:49 |
shardy | it does make managing the json in bash fairly manageable | 21:49 |
shardy | I'll try to polish the script a bit more tomorrow as I need some sleep, but feel free to add your thoughts to the review | 21:50 |
stevebaker | zomg, you're using native polling/signalling! | 21:51 |
shardy | Yup! | 21:51 |
* stevebaker slow claps | 21:51 | |
shardy | that was what started all this, I wanted a really minimal example using all native auth | 21:52 |
stevebaker | nive | 21:52 |
stevebaker | nice | 21:52 |
*** julienvey has joined #heat | 21:52 | |
shardy | I was looking at personality as a way of injecting the hook script, but the executable bit is stripped so it doesn't run | 21:54 |
shardy | there is also a patch in a bug which adds multi-part support to cirros but I've not tried it yet | 21:56 |
* shardy -> sleep | 22:01 | |
*** shardy is now known as shardy_afk | 22:01 | |
*** asalkeld has quit IRC | 22:03 | |
*** julienvey has quit IRC | 22:04 | |
*** lindsayk has quit IRC | 22:05 | |
*** lindsayk has joined #heat | 22:07 | |
*** asalkeld has joined #heat | 22:07 | |
*** sabeen has quit IRC | 22:07 | |
*** sabeen has joined #heat | 22:08 | |
*** lindsayk has quit IRC | 22:09 | |
*** gondoi is now known as zz_gondoi | 22:09 | |
*** lindsayk has joined #heat | 22:09 | |
*** pablosan is now known as zz_pablosan | 22:12 | |
*** alexheneveld has joined #heat | 22:12 | |
mattoliverau | Morning | 22:14 |
*** ramishra has joined #heat | 22:15 | |
*** nati_ueno has quit IRC | 22:15 | |
*** ramishra has quit IRC | 22:19 | |
stevebaker | morning | 22:23 |
*** sabeen has quit IRC | 22:23 | |
*** nati_ueno has joined #heat | 22:28 | |
*** mwheckmann has quit IRC | 22:31 | |
*** achampion has joined #heat | 22:34 | |
*** piyush1 has left #heat | 22:35 | |
*** zz_pablosan is now known as pablosan | 22:38 | |
sdake | are there docs for heat about the APIs that show which data is returned on each API call? | 22:39 |
sdake | eg http://api.openstack.org/api-ref-orchestration-v1.html seems to be lacking that info | 22:39 |
sdake | stevebaker any ideas if this ever got documented, or code only documentation? | 22:42 |
stevebaker | sdake: some methods in http://api.openstack.org/api-ref-orchestration-v1.html have example json responses, but they are missing for some methods | 22:43 |
*** nati_ueno has quit IRC | 22:43 | |
stevebaker | sdake: they are *not* missing for the software-config methods ;) | 22:43 |
openstackgerrit | Thomas Spatzier proposed a change to openstack/heat: Do not validate constraints in schema constructor https://review.openstack.org/91485 | 22:44 |
sdake | if the docs say "Thiss operation does not return a response body" but clearly it does (for eg list active stacks - is code the current reference?) | 22:44 |
*** nati_ueno has joined #heat | 22:45 | |
sdake | stevebaker +2 on the software config docs - winning :) | 22:46 |
stevebaker | I think there is a docs bug for the missing ones | 22:46 |
sdake | thanks | 22:47 |
*** ramishra has joined #heat | 22:47 | |
*** ramishra has quit IRC | 22:48 | |
*** tspatzier has quit IRC | 22:49 | |
*** ramishra has joined #heat | 22:49 | |
*** IlyaE has quit IRC | 22:51 | |
*** ramishra has quit IRC | 22:54 | |
stevebaker | woah http://www.redhat.com/about/news/press-archive/2014/4/red-hat-to-acquire-inktank-provider-of-ceph | 22:54 |
randallburt | woah. | 22:57 |
*** david-lyle has quit IRC | 22:58 | |
*** david-lyle has joined #heat | 22:58 | |
*** david-lyle has quit IRC | 22:58 | |
*** zns has quit IRC | 22:59 | |
*** achampio1 has joined #heat | 22:59 | |
*** lindsayk has quit IRC | 23:00 | |
*** achampion has quit IRC | 23:02 | |
lifeless | noice | 23:02 |
*** lindsayk has joined #heat | 23:03 | |
*** andrew_plunk has quit IRC | 23:06 | |
*** randallburt has quit IRC | 23:09 | |
*** Michalik- has joined #heat | 23:10 | |
*** faramir1 has joined #heat | 23:11 | |
*** zns has joined #heat | 23:11 | |
*** killer_prince has quit IRC | 23:13 | |
*** sjmc7 has quit IRC | 23:15 | |
*** asalkeld has quit IRC | 23:34 | |
*** slowe has quit IRC | 23:44 | |
*** asalkeld has joined #heat | 23:47 | |
*** nati_ueno has quit IRC | 23:48 | |
*** nati_ueno has joined #heat | 23:48 | |
*** ramishra has joined #heat | 23:50 | |
*** arbylee has quit IRC | 23:52 | |
*** andersonvom has quit IRC | 23:52 | |
*** nati_ueno has quit IRC | 23:54 | |
*** ramishra has quit IRC | 23:54 | |
*** achampion has joined #heat | 23:54 | |
*** achampio1 has quit IRC | 23:56 | |
*** Michalik- has quit IRC | 23:58 | |
*** mkollaro1 has quit IRC | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!