Thursday, 2015-07-02

*** jfluhmann has quit IRC00:03
*** hdd has quit IRC00:06
*** tsandall has quit IRC00:26
*** tsandall has joined #heat00:27
*** sthillma has quit IRC00:30
*** kfox1111 is now known as kfox1111_away00:32
*** sthillma has joined #heat00:35
*** Marga_ has joined #heat00:42
*** tsandall has quit IRC00:44
*** tsandall has joined #heat00:45
*** Marga_ has quit IRC00:45
*** Marga_ has joined #heat00:45
*** tsandall has quit IRC00:55
*** sthillma has quit IRC01:03
*** tlashchova_ has quit IRC01:07
*** Qiming has joined #heat01:09
*** dims_ has quit IRC01:19
*** jfluhmann has joined #heat01:24
*** yuanying_ has joined #heat01:26
*** yuanying_ has quit IRC01:28
*** yuanying has quit IRC01:29
openstackgerrithuangtianhua proposed openstack/heat: Support 'multiattach' for cinder volume  https://review.openstack.org/19780401:33
*** dims has joined #heat01:39
*** yuanying has joined #heat01:40
*** Marga_ has quit IRC01:40
*** Marga_ has joined #heat01:42
*** erkules_ has joined #heat01:51
*** erkules has quit IRC01:52
openstackgerritliusheng proposed openstack/heat: Introduce Guru Meditation Reports into Heat  https://review.openstack.org/18420901:52
*** EricGonczer_ has joined #heat01:52
*** Yanyanhu has joined #heat02:02
*** jecarey has joined #heat02:04
*** Marga_ has quit IRC02:10
*** elynn has joined #heat02:14
openstackgerrithuangtianhua proposed openstack/heat: Support project access manager for volume type  https://review.openstack.org/19447802:15
openstackgerritMerged openstack/heat: Add template-version-list  https://review.openstack.org/19266802:16
*** achanda has joined #heat02:20
*** EricGonczer_ has quit IRC02:25
*** ananta_ has joined #heat02:25
*** achanda has quit IRC02:30
*** jaypipes has quit IRC02:30
*** EricGonczer_ has joined #heat02:38
*** EricGonczer_ has quit IRC02:39
ramishragood morning all!02:44
ananta_good morning02:46
elynnmorning02:47
*** kebray has joined #heat02:48
elynnHi asalkeld , stevebaker , have time to review https://review.openstack.org/#/c/197630/ ?02:49
*** rakesh_hs has joined #heat02:54
sirushtimorning all02:56
*** Drago1 has quit IRC02:57
rakesh_hsgood morning02:58
*** hdd has joined #heat02:59
*** achanda has joined #heat03:00
*** EricGonczer_ has joined #heat03:06
*** achanda has quit IRC03:13
asalkeldlooking elynn03:19
elynn:)03:19
asalkelddone03:20
*** EricGonczer_ has quit IRC03:20
*** ananta_ has quit IRC03:20
*** pratikma_ has quit IRC03:21
elynnthanks !03:21
*** dims has quit IRC03:22
openstackgerritKanagaraj Manickam proposed openstack/heat: Conditionally expose resources based on available services  https://review.openstack.org/19103403:22
openstackgerritKanagaraj Manickam proposed openstack/heat: List resource_type based on availability  https://review.openstack.org/19109603:22
*** ananta_ has joined #heat03:24
sirushtithe gate is still unstable, anyone got a fix yet?03:24
*** jecarey has quit IRC03:27
asalkeldsirushti: what's an example failure?03:28
openstackgerritRakesh H S proposed openstack/heat: Functional test for encryption volume type  https://review.openstack.org/19782503:28
sirushtihttps://bugs.launchpad.net/heat/+bug/146796503:28
openstackLaunchpad bug 1467965 in heat "test_db_encrypt_decrypt UnicodeDecodeError: 'utf8' codec can't decode " [Critical,Confirmed] - Assigned to Angus Salkeld (asalkeld)03:28
asalkeldstill that?03:29
asalkeldok, i can do something03:29
sirushtiI have a fix now03:29
asalkeldok03:29
sirushtilet me just put that up, and you can take it over if you like03:29
asalkeldsirushti: just return an empty string03:29
asalkeldinstead of the unencrypeted value03:30
asalkeldinstead of the unencoded value03:30
asalkeldor "****"03:30
sirushtiasalkeld, I'm just try: catching it and logging a DB error03:30
sirushtiwhich I believe should fix the gates for now03:31
openstackgerritSirushti Murugesan proposed openstack/heat: Circumvent utf-8 decode error by logging it  https://review.openstack.org/19782603:32
asalkeldsirushti: i think the problem is : https://github.com/openstack/heat/blob/master/heat/db/sqlalchemy/api.py#L119203:32
asalkeldsirushti: reviewed03:33
sirushtiasalkeld, right, now I see it, but we'd always return something when there's a unicode error. How would we alert someone that there's actually something wrong going on?03:33
asalkeldsirushti: ok log also then03:34
asalkeldseem my comment03:34
sirushtiasalkeld, cool, sounds better, thanks03:34
asalkeldbut move the log up to the place of the error03:34
*** KanagarajM has joined #heat03:39
sirushtiasalkeld, it seems like the raw_template.environment column is updated even if the wrong encryption key is used? That sounds like data loss to me03:43
*** coolsvap|away is now known as coolsvap03:45
*** Marga_ has joined #heat03:46
asalkeldsirushti: maybe we need to then raise a IncorrectEcryptionKey exception?03:51
asalkeldsirushti: tho' the operator provides this key03:52
asalkeldit would have to be a majorly messed up installation to have this03:52
sirushtiyeah, that's a separate problem in that, we may not even catch a unicode decode error if an incorrect auth encryption key was used and we'd still end up messing up the database03:52
asalkeldyip03:53
asalkeldi am inclined to just miss it03:53
asalkeldif we can't do it reliably03:53
sirushtiyeah, so perhaps we should just consider this an invalid negative test case and remove it?03:53
*** pratikmallya has joined #heat03:55
openstackgerritMerged openstack/heat: Add domain when list users in heat-keystone-setup-domain  https://review.openstack.org/19763003:55
openstackgerritSirushti Murugesan proposed openstack/heat: Circumvent utf-8 decode error by logging it  https://review.openstack.org/19782603:56
asalkeldsirushti: ok03:56
sirushtiwell, I don't know if we should remove that test case, just going to fix the gate now ^03:56
*** rakesh_hs_ has joined #heat04:02
*** rakesh_hs has quit IRC04:06
*** ananta_ has quit IRC04:06
*** pratikmallya has quit IRC04:15
openstackgerritRakesh H S proposed openstack/heat: Functional test for encryption volume type  https://review.openstack.org/19782504:21
*** sdake has joined #heat04:30
*** cmyster has joined #heat04:30
*** cmyster has quit IRC04:30
*** cmyster has joined #heat04:30
*** gberginc has quit IRC04:36
*** tiantian has quit IRC04:36
*** Qiming has quit IRC04:36
*** tiantian has joined #heat04:36
*** Qiming has joined #heat04:36
*** ishant has joined #heat04:47
*** dyasny has quit IRC04:52
*** tiantian has quit IRC04:54
*** liusheng has quit IRC04:54
*** higgins has quit IRC04:55
*** higgins has joined #heat05:02
*** huangtianhua has joined #heat05:03
*** liusheng has joined #heat05:03
*** hdd has quit IRC05:08
openstackgerritKanagaraj Manickam proposed openstack/heat: Conditionally expose resources based on available services  https://review.openstack.org/19103405:11
openstackgerritKanagaraj Manickam proposed openstack/heat: List resource_type based on availability  https://review.openstack.org/19109605:11
*** pratikmallya has joined #heat05:12
*** ananta_ has joined #heat05:13
openstackgerritMerged openstack/heat: Remove (test-)requirements-py3.txt files  https://review.openstack.org/19651105:25
*** vijayagurug has joined #heat05:28
*** coolsvap is now known as coolsvap|away05:37
*** coolsvap|away is now known as coolsvap05:38
*** nihilifer has joined #heat05:40
*** jtomasek has joined #heat05:40
*** rakesh_hs has joined #heat05:49
*** pratikmallya has quit IRC05:49
*** jtomasek has quit IRC05:54
*** coolsvap is now known as coolsvap|away05:54
openstackgerritMerged openstack/python-heatclient: Move SessionClient from HTTPClient to adapter  https://review.openstack.org/16348405:56
*** gberginc has joined #heat05:56
*** Murali has joined #heat05:59
openstackgerritSirushti Murugesan proposed openstack/heat: Updated from global requirements  https://review.openstack.org/19510806:01
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Imported Translations from Transifex  https://review.openstack.org/19784606:02
*** coolsvap|away is now known as coolsvap06:02
*** jtomasek has joined #heat06:05
*** kebray has quit IRC06:11
openstackgerritSirushti Murugesan proposed openstack/heat: Override mox in sys.modules to mox3 in a py3 env  https://review.openstack.org/19651206:15
*** coolsvap is now known as coolsvap|away06:16
openstackgerritIshant Tyagi proposed openstack/heat: Update wsgi.py to support reload from conf on SIGHUP  https://review.openstack.org/18476806:28
*** pratikmallya has joined #heat06:46
openstackgerritMerged openstack/heat: Consolidates cinder unit tests  https://review.openstack.org/19651006:47
*** shardy has quit IRC06:48
*** shardy has joined #heat06:48
*** tspatzier has joined #heat06:49
openstackgerrithuangtianhua proposed openstack/heat: Allow suspend and resume again if failed last time  https://review.openstack.org/19785606:51
*** tlashchova_ has joined #heat06:51
openstackgerritMerged openstack/heat: Resource plugin for cinder volume encryption  https://review.openstack.org/19510306:52
openstackgerritMerged openstack/heat: Prepare SignalResponder class for more signal types  https://review.openstack.org/19722006:52
openstackgerritMerged openstack/heat: Add nova.network constraint to ManilaShareNetwork  https://review.openstack.org/19553906:52
openstackgerritMerged openstack/heat: Use percent sign as string formatting operator  https://review.openstack.org/19753906:52
shardyasalkeld: hey, are you still around?06:53
asalkeldhi shardy06:53
shardysorry, I had to drop off right after the meeting yesterday, but around to chat composition if you have time :)06:54
shardythanks for your comments re capabilities06:54
asalkeldok06:54
shardyhave you seen the tosca simple profile spec which talks about the same concept?06:54
shardyit's basically the next step after adding the node_type (which I've renamed to resource_type)06:54
asalkeldno, not sure we need to copy that tho'06:54
shardywell, afaict what you're proposing is basically the same06:55
shardyhttp://docs.oasis-open.org/tosca/TOSCA-Simple-Profile-YAML/v1.0/csd03/TOSCA-Simple-Profile-YAML-v1.0-csd03.html#_Toc41974612206:56
asalkeldshardy: not that different, just not fixing to a resource type06:56
shardycheck out the "substitution_mappings" stuff, which defines both a type and list of capabilities06:56
asalkeldhorrendous name :-(06:56
shardyI just aligned with the first part (type)06:56
shardyI'm open to doing the whole capabilities thing, but it seemed like a lot of complexity and I'm not sure what it gives us wrt the tripleo use-case06:57
shardyhaha, yeah that's why I renamed it :D06:57
shardyasalkeld: can you explain, how would it work if you define OS::Thingy: [foo.yaml, bar.yaml] ?06:58
*** jtomasek has quit IRC06:58
shardyI was actually thinking about using that format for somthing else (resource chaining), but if we do that, I'm not sure how we select which template is actually used?06:58
asalkeldso you register all the varients06:58
asalkeldthen the user, says what capabilities they want06:58
asalkeldand the environment chooses the best fit06:59
* cmyster hmmms06:59
openstackgerritKanagaraj Manickam proposed openstack/heat: Conditionally expose resources based on available services  https://review.openstack.org/19103406:59
openstackgerritKanagaraj Manickam proposed openstack/heat: List resource_type based on availability  https://review.openstack.org/19109606:59
cmyster"environment chooses the best fit"06:59
asalkeldso perhaps if there is not enough info to choose it could fail06:59
shardyasalkeld: Ok, I'll have to try that out, instinctively it seems like a non-obvious and potentially opaque mapping07:00
asalkeldbut the idea is you make sure all have the same interface07:00
asalkeldso no surprises07:00
asalkeldshardy: ok, just have a think about it07:00
shardyasalkeld: the concrete type alias to template mapping in the resource_registry is actually working really well IMO07:00
cmystershardy: opaque is an interesting word to use here. test-wise this is very complex07:00
asalkeldshardy: i think what is missing to me is your exact use case07:00
shardyso I'm wary of moving too far away from it07:00
asalkeldlike what do you want to give your uses to choose07:01
shardyasalkeld: Ok, did I not explain it sufficiently in the spec?07:01
asalkeldwhat are the buttons07:01
* shardy did try07:01
asalkeldshardy: (might not be relervant there)07:01
asalkelddo you have a full env i can look at?07:02
shardyasalkeld: the use case is inspired by TripleO, which has an increasingly *giant* pile of templates which all get wired together via a huge resource_registry07:02
shardyand we've got multiple implementation choices (puppet, element and soon docker etc etc)07:02
shardyand we need to expose choices for things like cinder backends, neutron backends etc etc07:02
shardysome of which will not be in tree07:02
asalkeldok so you really want a global "deployment" switch07:03
shardyso we need a way to tag templates such that pre-create validation can check what matches, and the UI can more easily discover and offer choices07:03
asalkeldthat seems to match the idea of capablities07:03
shardyatm Tuskar is an additional layer outside of heat which does this composition stuff, but it's turned out to be pretty fragile and coupled to the templates themsselves07:03
asalkeldneurtron, puppet or nova-net, docker07:04
shardythat's the problem I'm trying to solve, e.g give folks a heat-native way to do advanced composition07:04
asalkeldso there is a new thing i threw in there07:04
shardyasalkeld: Yeah maybe - perhaps we can work though a more complete example in the spec, and see what that would look like?07:04
*** tshtilma has joined #heat07:05
shardyI'm just a bit scared by the extra "resolve capabilities" complexity implied by that tho tbh07:05
shardyparticularly because we want to offer the choices on the client side07:05
asalkeldok, i can give that a go07:05
shardywhich implies that complexity (parse and resolve capabilities) should live on the client side07:05
openstackgerritMerged openstack/heat: Circumvent utf-8 decode error by logging it  https://review.openstack.org/19782607:06
shardyor, we need a new interface which somehow resolves it all and offers the choices back via an API07:06
asalkeldi was thinking the environment in the engine chooses07:06
asalkeldif we went this way07:06
asalkeldshardy: i am hungry, i'll post something after supper07:07
*** nkhare has joined #heat07:07
*** jtomasek has joined #heat07:07
shardyasalkeld: Ok I need breakfast too, thanks for your input on this! :)07:07
asalkeldshardy: also if it helps you we can do a hangout later07:08
*** tshtilma has quit IRC07:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds designate.domain constraint  https://review.openstack.org/19256907:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Domain resource  https://review.openstack.org/19389707:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Record resource  https://review.openstack.org/19389807:09
elynnHi have you notice that gate are always failing for stable/kilo07:10
elynnhttp://logs.openstack.org/38/197638/1/check/gate-heat-python27/27bb0fc/console.html07:10
*** tshtilma has joined #heat07:12
skraynevmorning all07:14
*** ifarkas has quit IRC07:14
skraynevasalkeld: hi. could you rebase https://review.openstack.org/#/c/196533/ , looks like it hit a bug which was fixed07:14
*** pratikmallya has quit IRC07:15
*** guy_rodrigue has joined #heat07:15
asalkeldhi skraynev sure07:16
openstackgerritAngus Salkeld proposed openstack/heat: Convergence: Fix stack status_reason  https://review.openstack.org/19653307:16
*** coolsvap|away has quit IRC07:20
openstackgerrithuangtianhua proposed openstack/heat: Correct volume restore behavior  https://review.openstack.org/18215207:23
*** coolsvap|away has joined #heat07:23
openstackgerritPeter Razumovsky proposed openstack/python-heatclient: Add tests for SessionClient  https://review.openstack.org/17898507:27
openstackgerritJinjingX Li proposed openstack/heat: Add vlan transparent for Neutron  https://review.openstack.org/19786607:28
openstackgerritMerged openstack/heat: Updated from global requirements  https://review.openstack.org/19510807:29
openstackgerritAnant Patil proposed openstack/heat: Convergence: Simulator tests  https://review.openstack.org/19786707:30
*** jtomasek has quit IRC07:30
*** jcoufal has joined #heat07:30
openstackgerrithuangtianhua proposed openstack/heat: Add and apply cinder backup constraint  https://review.openstack.org/18343307:31
openstackgerrithuangtianhua proposed openstack/heat: Support project access manager for volume type  https://review.openstack.org/19447807:37
*** madhuri_ has joined #heat07:39
openstackgerritThomas Herve proposed openstack/heat: Add a new crypt method using cryptography  https://review.openstack.org/19501807:42
openstackgerrithuangtianhua proposed openstack/heat: Allow suspend and resume again if failed last time  https://review.openstack.org/19785607:45
*** madhuri_ has left #heat07:46
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds REST api for export action  https://review.openstack.org/19051807:47
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds RPC api for export action  https://review.openstack.org/19051707:47
openstackgerritKanagaraj Manickam proposed openstack/heat: yUpdates REST & RPC abandon API with is_forced=False  https://review.openstack.org/19505307:47
openstackgerritKanagaraj Manickam proposed openstack/heat: Split abandon into pre-abandon(export) and abandon  https://review.openstack.org/18188007:47
*** jistr has joined #heat07:48
openstackgerritSirushti Murugesan proposed openstack/heat: Add __hash__ functions where necessary  https://review.openstack.org/19651307:56
openstackgerritSirushti Murugesan proposed openstack/heat: Add __bool__ for classes that implement __nonzero__  https://review.openstack.org/19651407:56
openstackgerritSirushti Murugesan proposed openstack/heat: Fix import in keystone resources  https://review.openstack.org/19651507:56
openstackgerritSirushti Murugesan proposed openstack/heat: Adopt @six.python_2_unicode_compatible decorator  https://review.openstack.org/19651607:56
openstackgerritSirushti Murugesan proposed openstack/heat: Add a way to run py34 tests from file  https://review.openstack.org/19651707:57
openstackgerritSirushti Murugesan proposed openstack/heat: Port short_id to return unicode  https://review.openstack.org/19651807:57
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds REST api for export action  https://review.openstack.org/19051807:59
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds RPC api for export action  https://review.openstack.org/19051707:59
*** sorantis has joined #heat07:59
*** ifarkas has joined #heat08:01
openstackgerritSirushti Murugesan proposed openstack/heat: Get heat.tests.test_stack* working in py34 env  https://review.openstack.org/19056308:04
*** erkules_ is now known as erkules08:06
*** erkules has quit IRC08:06
*** erkules has joined #heat08:06
*** shardy has quit IRC08:09
*** jcoufal_ has joined #heat08:09
*** jcoufal_ has quit IRC08:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds REST api for export action  https://review.openstack.org/19051808:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds RPC api for export action  https://review.openstack.org/19051708:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Updates REST & RPC abandon API with is_forced=False  https://review.openstack.org/19505308:09
openstackgerritKanagaraj Manickam proposed openstack/heat: Split abandon into pre-abandon(export) and abandon  https://review.openstack.org/18188008:09
openstackgerrithuangtianhua proposed openstack/heat: Move the nova resources tests to /tests/nova/  https://review.openstack.org/19787408:10
openstackgerritPeter Razumovsky proposed openstack/heat: Update SupportStatuses for objs where it needed  https://review.openstack.org/19184008:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to RandomString sequence  https://review.openstack.org/19184108:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Server uuid  https://review.openstack.org/19184208:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to network_id Neutron::Subnet  https://review.openstack.org/19592608:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::FloatingIP  https://review.openstack.org/19592708:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Cinder::Volume image_ref  https://review.openstack.org/19659708:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::Port  https://review.openstack.org/19659608:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add documentation page for Support Status  https://review.openstack.org/16881608:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to SupportStatus  https://review.openstack.org/18634008:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::VPNService  https://review.openstack.org/19659308:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add translate_properties for Resource  https://review.openstack.org/19183908:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::NetworkGateway  https://review.openstack.org/19659208:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::RouterInterface  https://review.openstack.org/19659508:10
openstackgerritPeter Razumovsky proposed openstack/heat: Add HIDDEN status to Neutron::Pool  https://review.openstack.org/19659408:10
*** pratikmallya has joined #heat08:13
*** rwsu has quit IRC08:13
*** prazumovsky has joined #heat08:14
*** fbo has joined #heat08:15
*** rwsu has joined #heat08:16
openstackgerritSergey Kraynev proposed openstack/python-heatclient: Add support for template-version-list command  https://review.openstack.org/19269608:16
*** jamielennox is now known as jamielennox|away08:20
*** derekh has joined #heat08:26
openstackgerritMerged openstack/heat: Convergence: Fix stack status_reason  https://review.openstack.org/19653308:31
*** yassine__ has joined #heat08:37
*** yassine__ has quit IRC08:37
*** yassine__ has joined #heat08:37
asalkeldwow lots of patches08:38
openstackgerritSirushti Murugesan proposed openstack/heat: Add a way to run py34 tests from file  https://review.openstack.org/19651708:40
*** tlashchova_ has quit IRC08:41
*** jamielennox|away is now known as jamielennox08:41
*** pratikmallya has quit IRC08:43
openstackgerritMerged openstack/heat: Specify network for server in test_validation  https://review.openstack.org/19414908:51
*** rakesh_hs_ has joined #heat08:55
*** vijayagurug has left #heat08:56
*** rakesh_hs_ has quit IRC08:56
openstackgerritliusheng proposed openstack/heat: Introduce Guru Meditation Reports into Heat  https://review.openstack.org/18420908:56
*** rakesh_hs_ has joined #heat08:56
*** rakesh_hs has quit IRC08:58
KanagarajMasalkeld: hi, check experimental is enabled at zuul for convergence08:58
*** shardy has joined #heat08:59
openstackgerritSirushti Murugesan proposed openstack/heat: Port short_id to return unicode  https://review.openstack.org/19651809:00
openstackgerritRico Lin proposed openstack/heat: support list resources with details  https://review.openstack.org/19657109:02
openstackgerritRabi Mishra proposed openstack/heat: Remove inheritance and refactor common functions to utility  https://review.openstack.org/19609109:02
openstackgerritRabi Mishra proposed openstack/heat: Add rolling_update, resize to ResourceGroup  https://review.openstack.org/19405209:02
openstackgerritRabi Mishra proposed openstack/heat: Change native ASG to inherit from ResourceGroup  https://review.openstack.org/19405409:02
openstackgerritRabi Mishra proposed openstack/heat: Add doc genearation for UpdatePolicy  https://review.openstack.org/19788609:02
*** shardy_ has joined #heat09:03
asalkeldKanagarajM: well done!09:03
*** rakesh_hs_ has quit IRC09:11
*** shardy_ has quit IRC09:13
shardyasalkeld: hey, thanks for the updated example - I do like what you're proposing, it's just a step ahead of where I was trying to get to in this spec09:17
shardyI'm happy to consider just going for it though, it does seem like a potentially pretty powerful approach09:17
shardyit is (AIUI) pretty close to the TOSCA way of doing things that tspatzier pointed out09:18
shardythe TOSCA substitution_mappings defines both a type *and* capabilities, so really a combination of what you and I have proposed09:18
shardyI'd be happy to look at how hard just aligning with that model would be, but having the type annotation I think will still be useful09:19
shardyI'll take a crack at revising the spec again then we can see how close we are to agreement09:19
*** openstackgerrit has quit IRC09:19
*** openstackgerrit has joined #heat09:20
asalkeldshardy: ok09:20
tspatziershardy: so you are trying to get all in, instead of step 1 being your original spec, and step 2 being asalkeld's additions?09:21
asalkeldi'll be able to help in the template resource api checking09:21
shardytspatzier: well that seems to be a way to keep both me and asalkeld happy :D09:21
asalkeldtspatzier: maybe leave the resource type checking out?09:21
shardylol09:22
asalkeldseems ... not so nice09:22
asalkeld:-O09:22
tspatziershardy: sure, me too :-) because it's the superset of what all of us want. If you think this step is not too big, even better09:22
shardyasalkeld: I think your approach is just a different way to define it, by putting all the templates in a list09:22
shardythe main disadvantage, and the reason my initial constraints approach was rejected, is that it's not discoverable09:23
shardyyou have to know all implementations ahead of time, even unknown out of tree ones09:23
shardyOr, maybe have a way of appending to the list via multiple environments09:23
tspatzierAh wait, so the plan is to remove the annotations in the template again, i.e. remove discoverability?09:23
asalkeldshardy: you can't not know them09:23
asalkeldhow can you make a stack with no template?09:23
asalkeldwtf09:24
shardyasalkeld: You can walk a tree of paths and look for templates which match a specified type09:24
shardyif they are annotated to say "I'm OS::Thingy"09:24
asalkeldi am don't see the difference in discoverablity09:24
*** dims has joined #heat09:24
shardyIf they're not, then you're back to the problem I started trying to solve, which is that the template/registry author must know what to put in the list of OS::Thingy implementations in the registry09:24
shardyasalkeld: with your approach, how would you programatically find all the templates which match a particular type (not capability)09:25
shardyOOO::Compute: [full list of compute templates]09:25
shardyHow do I find full list, other than by knowledge of the templates09:25
shardyMaybe a capability is OOO::Compute?09:26
shardyor we have some capability unique to the type?09:26
*** dkusidlo has joined #heat09:26
shardy(both of which are logically equivalent to a type annotation)09:27
tspatziershardy: are we talking about annotation/changes in resource_registry, or in the template, or both?09:27
asalkeldshardy: my impression of your problem was:09:27
asalkeldyou have a basic setup that you want a ui to provide options to a user09:27
shardytspatzier: both, with reference to the latest worked example on https://review.openstack.org/#/c/196656/09:28
asalkeldso the resource_registry would be provided09:28
asalkeldall the ui would do would give capability opitions to the user09:28
shardytspatzier: AIUI asalkeld is arguing to *just* annotate for capabilities, not type09:28
tspatziershardy: I see, but where is it defined what a capability means? If nowhere, what's the different in looking for type vs. capability?09:29
shardytspatzier: that's exactly what I'm asking :)09:29
tspatzierha09:29
asalkeldtspatzier: well for one it's not resource type09:29
asalkeldso it doesn't have a double meaning09:30
asalkeldand it won't restrict what a user can register09:30
shardyI think having an explicit resource_type: OS::TripleO::Controller is the same as having a capability: tripleo_controller09:30
tspatzierasalkeld: but then is something that does not exist in heat09:30
asalkeldtspatzier: yes09:30
*** KanagarajM has quit IRC09:30
asalkeldand that is a good thing09:30
asalkeld(user defined)09:30
* tspatzier has to go to a meeting09:31
shardyasalkeld: well, it does all boil down to choosing a template, which is then instantiated as a resource type09:31
asalkeldi think my main issue with it is09:32
asalkeld"but it makes sharing/re-using templates messy. e.g. if I want to grab a template someone has said provides "os::nova::server",09:32
asalkeld but in my env i want to override my::server (same interface) it will complain and i'll have to edit the template instead of it just checking to make sure the interface matches."09:32
shardyasalkeld: In your example, the capabilities tell me "puppet" and "NFS", what tag would I add there to enable discovery of "this can be used as OOO::Compute"?09:32
*** Berezin has joined #heat09:32
asalkeldwhere as capabilities will not suffer from that09:32
shardyAFAICT you need a capability which says OOO::Compute09:33
asalkeldshardy: that's up to you09:33
asalkeldbut it won't restrict others that want to re-use your templates09:33
shardyasalkeld: Ok, that's fine, from my perspective it makes no difference where the annotation goes in the template, provided it's discoverable09:34
asalkeldyou *can* have a capablitie type=compute09:34
shardye.g we can mechanically generate "full list of templates" for the registry list easily09:34
asalkeldas i expected09:35
*** jtomasek has joined #heat09:35
shardyasalkeld: Ok, cool, so you just object to the strict type enforcement, I can live without that :)09:35
*** e0ne has joined #heat09:35
asalkeldmaybe a section "provides" or "capabilities"?09:36
*** dkusidlo has quit IRC09:36
openstackgerrithuangtianhua proposed openstack/heat: Move manila tests to /tests/manila/  https://review.openstack.org/19789509:37
openstackgerritRabi Mishra proposed openstack/heat: Remove inheritance and refactor common functions to utility  https://review.openstack.org/19609109:40
openstackgerritRabi Mishra proposed openstack/heat: Add rolling_update, resize to ResourceGroup  https://review.openstack.org/19405209:40
openstackgerritRabi Mishra proposed openstack/heat: Change native ASG to inherit from ResourceGroup  https://review.openstack.org/19405409:40
openstackgerritRabi Mishra proposed openstack/heat: Add doc generation for UpdatePolicy  https://review.openstack.org/19788609:40
*** pratikmallya has joined #heat09:40
*** surabhi has quit IRC09:44
*** e0ne is now known as e0ne_09:46
shardyasalkeld: I'm happy with either name, I'll go with "capabilities" for now09:47
shardythinking about this more, it's pretty cool - we can probably push a lot of the discovery logic in to heat that I expected to do client side09:48
*** Berezin has quit IRC09:48
*** rakesh_hs has joined #heat09:48
shardye.g pass a swift bucket containing a bunch of templates to a "template inspect" or validate call, and have that return a stub environment containing all the possible capabilities09:48
* shardy will have to think how we can tie this in to the recurisive validation spec09:49
*** elynn has quit IRC09:52
*** dkusidlo has joined #heat09:55
openstackgerritSirushti Murugesan proposed openstack/heat: Convergence: Allow creating stacks of empty templates  https://review.openstack.org/19426609:55
rakesh_hsHi, I see that heat integration tests are run using 'demo' user https://github.com/openstack/heat/blob/master/heat_integrationtests/post_test_hook.sh#L2309:56
*** surabhi has joined #heat09:57
rakesh_hsbut what is our way forward, if we have to test resource which requires admin privileges?09:57
openstackgerritSirushti Murugesan proposed openstack/heat: In-tree grenade support for Heat  https://review.openstack.org/18814809:57
*** ifarkas has quit IRC09:57
*** ifarkas has joined #heat09:58
*** sergmelikyan has joined #heat09:58
rakesh_hsfor example https://review.openstack.org/#/c/197825/ requires admin privileges.09:58
shardyrakesh_hs: why does volume encryption require admin?10:00
shardyThat seems wrong to me10:00
shardyIn tempest you had the option of several users (including admin), so I'm sure we could do similar10:01
shardyOur general stance has been that admin only resources are bad though, thus they all got put in /contrib10:01
rakesh_hsIt is cinder encryption volume type creation, and it requires admin privileges10:02
shardyThat sounds like a cinder bug, I mean is it only admins who care about data security?10:02
*** prazumovsky has quit IRC10:03
sirushtiFWIW, I'm planning on moving the current in-tree integration test suite to use tempest-lib to easily specify the smoke tests we should run for grenade10:04
sirushtimaybe that might help us run admin-only resources too10:05
shardysirushti: interesting, does that rework how the username/password is handled from the config file?10:05
*** e0ne_ is now known as e0ne10:05
sirushtitbh I haven't looked at it much but I'd assume it should mirror the same functionality what tempest offers10:05
shardyI remember tempest configured multiple users, so I guess it might10:06
sirushtiwell, I hope it does, else we may have to come up with a separate tox env that we run for admin only resources10:08
*** pratikmallya has quit IRC10:09
*** dkusidlo has quit IRC10:13
openstackgerritSirushti Murugesan proposed openstack/heat: DNM: Convergence Testing: Reduced build timeout  https://review.openstack.org/19326910:13
*** dkusidlo has joined #heat10:14
*** pas-ha has joined #heat10:17
*** sergmelikyan has quit IRC10:17
*** sergmelikyan has joined #heat10:25
*** sorantis has quit IRC10:27
*** dkusidlo has quit IRC10:31
*** sorantis has joined #heat10:33
*** KanagarajM has joined #heat10:35
openstackgerritSteven Hardy proposed openstack/heat-specs: Add OS::Heat::None resource spec  https://review.openstack.org/19761010:40
*** dkusidlo has joined #heat10:44
*** Yanyanhu has quit IRC10:48
*** Qiming has quit IRC10:49
openstackgerritSirushti Murugesan proposed openstack/heat: In-tree grenade support for Heat  https://review.openstack.org/18814810:52
openstackgerritSirushti Murugesan proposed openstack/heat: Add console_scripts entry points for all heat services  https://review.openstack.org/19233410:54
*** sergmelikyan has quit IRC11:00
*** nkhare has quit IRC11:01
*** sergmelikyan has joined #heat11:01
*** Berezin has joined #heat11:06
*** Berezin has quit IRC11:07
*** Berezin has joined #heat11:07
openstackgerritRabi Mishra proposed openstack/heat: Remove inheritance and refactor common functions to utility  https://review.openstack.org/19609111:10
openstackgerritRabi Mishra proposed openstack/heat: Add rolling_update, resize to ResourceGroup  https://review.openstack.org/19405211:10
openstackgerritRabi Mishra proposed openstack/heat: Change native ASG to inherit from ResourceGroup  https://review.openstack.org/19405411:10
openstackgerritRabi Mishra proposed openstack/heat: Add doc generation for UpdatePolicy  https://review.openstack.org/19788611:10
*** KanagarajM has quit IRC11:11
*** pas-ha has quit IRC11:20
*** tlashchova_ has joined #heat11:21
*** Berezin has quit IRC11:22
*** Berezin has joined #heat11:22
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836411:24
*** sergmelikyan has quit IRC11:28
*** pas-ha has joined #heat11:32
*** Berezin has quit IRC11:33
*** e0ne is now known as e0ne_11:34
*** maximov has quit IRC11:34
*** maximov has joined #heat11:35
*** e0ne_ is now known as e0ne11:36
*** tlashchova_ has quit IRC11:37
openstackgerritSteven Hardy proposed openstack/heat-specs: Add HOT resource_type_mapping annotation  https://review.openstack.org/19665611:39
shardytspatzier: ^^ updated based on my understanding of our discussion with asalkeld earlier11:40
tspatziershardy: ok, I'll have a look11:40
openstackgerritSteven Hardy proposed openstack/heat-specs: Add template capabilities  https://review.openstack.org/19665611:41
shardytspatzier: thanks, AIUI we're getting quite close to the TOSCA model now (which is probably a good thing)11:41
*** tochi has quit IRC11:41
tspatziershardy: yes, that would be ideal. Also would be good validation for TOSCA to see that it makes sense, and if the level of complexity is right11:42
shardytspatzier: yup, I added a way that we can keep the resource_type mapping but make it optional11:43
tspatziercool11:43
shardyfor the tripleo use case, I think that is important, but I can see why asalkeld didn't want it strictly enforced11:43
*** Qiming has joined #heat11:44
*** sergmelikyan has joined #heat11:44
*** Qiming has quit IRC11:45
*** Qiming has joined #heat11:45
*** Berezin has joined #heat11:47
*** sergmelikyan has quit IRC11:50
*** sergmelikyan has joined #heat11:52
openstackgerritSirushti Murugesan proposed openstack/heat: In-tree grenade support for Heat  https://review.openstack.org/18814811:53
*** Berezin has quit IRC11:57
*** Qiming has quit IRC12:01
*** Qiming has joined #heat12:02
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836412:06
*** e0ne is now known as e0ne_12:06
*** e0ne_ is now known as e0ne12:11
*** sergmelikyan has quit IRC12:12
*** sergmelikyan has joined #heat12:13
*** bdossant has joined #heat12:15
*** ananta_ has quit IRC12:23
*** pratikmallya has joined #heat12:30
*** jaypipes has joined #heat12:32
*** rpothier has joined #heat12:33
*** guy_rodrigue1 has joined #heat12:34
*** guy_rodrigue has quit IRC12:35
*** pratikmallya has quit IRC12:36
*** pratikmallya has joined #heat12:36
*** pratikmallya has quit IRC12:40
*** pratikmallya has joined #heat12:41
*** gberginc has quit IRC12:45
*** radez_g0n3 is now known as radez12:46
*** sergmelikyan has quit IRC12:50
*** Berezin has joined #heat12:54
*** dkusidlo has quit IRC12:56
*** dkusidlo has joined #heat12:57
*** jfluhmann has quit IRC13:00
*** jaime49 has joined #heat13:01
*** guy_rodrigue1 has quit IRC13:02
*** dsneddon has quit IRC13:03
*** jonesbr has joined #heat13:03
*** Berezin has quit IRC13:03
openstackgerritRico Lin proposed openstack/heat: support list resources with details  https://review.openstack.org/19657113:04
*** ifarkas has quit IRC13:04
*** shardy has quit IRC13:05
*** shardy has joined #heat13:06
*** sergmelikyan has joined #heat13:08
*** guy_rodrigue has joined #heat13:09
*** EricGonczer_ has joined #heat13:11
*** rakesh_hs has quit IRC13:13
*** sergmelikyan has quit IRC13:15
openstackgerritTetiana Lashchova proposed openstack/python-heatclient: Add support for template-function-list command  https://review.openstack.org/19507013:15
*** ishant has quit IRC13:16
*** guy_rodrigue has quit IRC13:17
*** tlashchova has quit IRC13:18
*** guy_rodrigue has joined #heat13:21
*** bdossant_ has joined #heat13:23
openstackgerritSergey Kraynev proposed openstack/heat: Add base_attribute schema for all resources  https://review.openstack.org/19560813:24
openstackgerritSergey Kraynev proposed openstack/heat: Add base resolve method for attributes  https://review.openstack.org/19560913:24
openstackgerritSergey Kraynev proposed openstack/heat: Add show_resource function to Heat resources (1) WIP!!!  https://review.openstack.org/19561013:24
*** bdossant_ has quit IRC13:24
*** thumpba has joined #heat13:25
*** bdossant has quit IRC13:26
*** Jingtong has joined #heat13:26
*** sergmelikyan has joined #heat13:27
*** ifarkas has joined #heat13:27
*** serg_melikyan has joined #heat13:28
*** dyasny has joined #heat13:28
*** e0ne is now known as e0ne_13:29
*** sergmelikyan has quit IRC13:32
*** bdossant has joined #heat13:34
*** pratikma_ has joined #heat13:37
*** shardy has quit IRC13:38
bdossantHi! I think im seeing a timing issue on resizing instances via heat. In the function "resize" http://docs.openstack.org/developer/heat/_modules/heat/engine/clients/os/nova.html I see that maybe between resizing and and checking the instance status doesnt change13:40
*** pratikmallya has quit IRC13:40
bdossantlike this i get an error on heat resizing13:40
bdossantbut nova then resizes correctly13:40
bdossantand stays in VERIFY_RESIZE13:41
*** Jingtong_ has joined #heat13:41
bdossantmaybe we should wait a little longer13:41
*** Jingtong has quit IRC13:42
pas-habdossant, I will work in this place of code soon, removing scheduler and yielding logic, most probably some delay will be introduced anyway13:42
*** e0ne_ is now known as e0ne13:43
bdossanthum i see13:43
bdossantso is a known issue?13:43
*** shardy has joined #heat13:43
pas-hanot that I've heard of that before13:44
bdossantcan work and can as well fail13:44
kairat_kushaevbdossant: I think you can create an issue13:44
bdossanti will try to introduce a delay and see if it works13:44
pas-hais there any way to have a stable reproducer on this?13:44
bdossantso im not misleeding :P13:44
*** nihilifer has quit IRC13:45
kairat_kushaevbdossant: logs would be very useful)13:45
pas-habdossant, so, you mean that if server was say ACTIVE, than we do a resize, and by the time check_resize is executed for the first time, server status is still ACTIVE - heat will through error. right?13:47
bdossantyep13:47
bdossantexactly13:47
pas-hasounds plausible13:47
pas-haby the look of the code13:47
bdossantyeah...13:47
pas-hafile a bug then13:48
bdossantok13:48
bdossantthanks13:48
pas-habtw, would nova allow resizing server if its status anything but ACTIVE?13:49
*** jaime49 has quit IRC13:49
*** achanda has joined #heat13:52
bdossantprobably not13:53
bdossantbut im not sure13:53
*** hdd has joined #heat13:55
*** jecarey has joined #heat13:55
*** bdossant has quit IRC13:56
*** bdossant has joined #heat13:59
derekhFYI, looks like recent tripleo-ci failure might be down to the heat update to requirments.txt , I'm  currently testing a temprevert to verify https://bugs.launchpad.net/tripleo/+bug/147087113:59
openstackLaunchpad bug 1470871 in tripleo "version identifier for in heat requires.txt unusable" [Critical,Triaged]13:59
openstackgerritKairat Kushaev proposed openstack/heat: Add batching for heat-manage encrypt/decrypt  https://review.openstack.org/19798814:01
*** dkusidlo has quit IRC14:01
*** Berezin has joined #heat14:05
*** EricGonczer_ has quit IRC14:09
pas-haderekh, probably something needs to be updated on tripleo side as there are many such constructs now in global requirements that will eventually sync to all the projects14:11
*** jaime49 has joined #heat14:12
derekhpas-ha: thanks, looking into it14:12
*** jaime49 has quit IRC14:12
*** jaime49 has joined #heat14:12
*** Murali has quit IRC14:14
pas-haafaiu that's the way to have all the requirements (py2x/py3) in one file14:15
pas-hait looks like support was introduced since pip 6.0 - https://pip.pypa.io/en/latest/reference/pip_install.html#requirement-specifiers14:18
*** shardy has quit IRC14:18
*** dims has quit IRC14:19
bdossantpas-ha: kairat_kushaev: a simple time.sleep(5) works, i will create a bug14:22
pas-habdossant, thanks for the investigation14:22
bdossanti dont know which value for the sleep would be reasonable14:22
bdossantmaybe a timeout parameter?14:23
*** pshchelo has joined #heat14:24
pas-haI think we should not actually add a sleep there. We need to verify that resize is only allowed for ACTIVE states, and then add ACTIVE as allowed value in check_resize14:24
*** achanda has quit IRC14:24
kairat_kushaev+1 to Pasha14:24
kairat_kushaevNeed to fix the root cause14:25
pas-hahere https://github.com/openstack/heat/blob/master/heat/engine/clients/os/nova.py#L43514:25
bdossantat least in our infrastructure when we dont have space for the resize, nova doenst throw an error14:26
bdossantjust stays in ACTIVE status14:26
bdossantso with your logic we will be stuck eternally right?14:27
pas-haI would not think so either, as the operation of finding if resize s possible is quite asynchronous14:27
pas-hait accepts resize request, and then tries to fulfil it14:28
*** serg_melikyan has quit IRC14:28
pas-haand of course does nothing to the original server if its not possible14:28
pas-hayes, stuck until stack operation timeout14:28
bdossanthum ok14:28
bdossantwe have the stack timeout14:29
pas-hayes, this one14:29
bdossanti was forgetting that14:29
bdossantnova should deal better with this14:29
bdossantthrow an error or something14:30
pas-hayes, but again - scheduler might take some time to come up with solution14:30
*** e0ne is now known as e0ne_14:30
*** sorantis has quit IRC14:31
*** e0ne_ is now known as e0ne14:32
*** kebray has joined #heat14:33
*** pshchelo has quit IRC14:34
*** kebray has quit IRC14:34
*** pas-ha has quit IRC14:34
*** vijayagurug has joined #heat14:35
*** randallburt has joined #heat14:36
*** dims has joined #heat14:38
*** sergmelikyan has joined #heat14:41
*** pratikma_ has quit IRC14:41
*** Berezin has quit IRC14:42
*** shardy has joined #heat14:43
*** dims has quit IRC14:44
*** Berezin has joined #heat14:44
*** pas-ha has joined #heat14:46
*** EricGonczer_ has joined #heat14:49
*** EricGonczer_ has quit IRC14:49
*** dims has joined #heat14:49
*** spzala has joined #heat14:51
*** Berezin has quit IRC14:57
*** Marga_ has quit IRC14:58
*** Marga_ has joined #heat14:59
*** Marga_ has quit IRC14:59
*** Marga_ has joined #heat14:59
sirushtiCould any of the cores review/approve this patch -> https://review.openstack.org/#/c/188148/, it should make the grenade gate job passing15:00
*** sorantis has joined #heat15:00
*** Berezin has joined #heat15:02
*** pratikmallya has joined #heat15:03
*** tshtilma has quit IRC15:04
*** vijayagurug has quit IRC15:05
*** Berezin has quit IRC15:06
*** dims has quit IRC15:06
*** Guest42148 has joined #heat15:07
*** Guest42148 is now known as dims_15:09
*** kebray has joined #heat15:09
*** kebray has quit IRC15:10
*** pratikmallya has quit IRC15:14
*** Berezin has joined #heat15:15
openstackgerritKairat Kushaev proposed openstack/heat: Fix test novaclient.create  https://review.openstack.org/19801815:15
*** sergmelikyan has quit IRC15:15
*** Drago has joined #heat15:17
*** Drago has quit IRC15:17
*** Drago has joined #heat15:17
*** shardy_ has joined #heat15:18
*** shardy has quit IRC15:21
*** sergmelikyan has joined #heat15:23
*** chlong has quit IRC15:23
*** jcoufal has quit IRC15:25
*** bdossant has quit IRC15:27
*** kebray has joined #heat15:27
*** pas-ha has quit IRC15:29
*** vijayagurug has joined #heat15:29
*** kfox1111_away is now known as kfox111115:31
*** che-arne has joined #heat15:31
*** guy_rodrigue1 has joined #heat15:34
*** guy_rodrigue has quit IRC15:34
openstackgerritSteven Hardy proposed openstack/heat-specs: Add OS::Heat::None resource spec  https://review.openstack.org/19761015:37
*** achanda has joined #heat15:41
*** sabeen has quit IRC15:47
*** pratikmallya has joined #heat15:54
*** pratikmallya has quit IRC15:55
*** pratikmallya has joined #heat15:56
*** Qiming has quit IRC15:56
*** randallburt has quit IRC15:58
*** Berezin has quit IRC16:00
*** tshtilma has joined #heat16:01
*** jtomasek has quit IRC16:01
*** jistr has quit IRC16:02
*** rpothier has quit IRC16:03
*** derekh has quit IRC16:06
*** Drago1 has joined #heat16:06
*** Drago1 has quit IRC16:06
*** Drago1 has joined #heat16:06
*** Drago has quit IRC16:06
openstackgerritSteven Hardy proposed openstack/heat-specs: Add nested-validation spec  https://review.openstack.org/19719916:14
*** vijayagurug has left #heat16:21
*** sergmelikyan has quit IRC16:21
*** dsneddon has joined #heat16:26
*** sabeen has joined #heat16:28
*** pratikmallya has quit IRC16:30
*** tshtilma has quit IRC16:32
*** che-arne has quit IRC16:33
*** guy_rodrigue1 has quit IRC16:34
*** shardy_ has quit IRC16:37
*** sergmelikyan has joined #heat16:38
*** randallburt has joined #heat16:39
*** sergmelikyan has quit IRC16:40
*** Drago1 has quit IRC16:42
*** shardy has joined #heat16:42
*** Marga_ has quit IRC16:43
*** Marga_ has joined #heat16:43
*** sorantis has quit IRC16:52
*** sabeen has quit IRC16:56
*** sergmelikyan has joined #heat16:57
*** Marga_ has quit IRC17:00
*** sthillma has joined #heat17:01
*** sabeen1 has joined #heat17:02
*** Drago has joined #heat17:02
*** Drago has quit IRC17:03
*** Drago1 has joined #heat17:03
cmystershardy: re OS::Heat::None is interesting. can I have something that I can control the outcome and the time for it? something like fail in 3 seconds. probably useless other then QA work17:03
cmystershardy: can help me stuff like re-tries17:04
cmysterhelp me test*17:04
shardycmyster: That's somewhat already possible via a nested stack17:05
shardycmyster: for example, you could override any resource with a nested stack containing a WaitCondition which expires in 3 seconds17:06
cmysterhmmm17:06
shardywe use that sort of technique already in our functional tests IIRC17:06
openstackgerritJames Combs proposed openstack/heat: Adding functional integration test for encrypted parameters.  https://review.openstack.org/19684617:06
*** sabeen3 has joined #heat17:06
*** gokrokve has joined #heat17:06
*** sabeen1 has quit IRC17:07
shardyI suppose we could have an OS::Heat::Fail resource, but it's an even more odd thing to keep in-tree ;)17:07
cmysteras I said, probbly for tests only17:07
*** Berezin has joined #heat17:07
shardyI'd be open to having a plugin like that in the heat_integrationtests tree17:07
* cmyster nods17:07
cmysterright17:08
*** tspatzier has quit IRC17:08
cmysterthis tiredness is annoying, ttfn17:08
*** sergmelikyan has quit IRC17:10
shardyhttps://github.com/openstack/heat/blob/master/heat_integrationtests/functional/test_autoscaling.py#L8817:10
shardycmyster: ^^17:10
*** e0ne has quit IRC17:11
sirushticmyster, shardy perhaps this can help -> https://github.com/openstack/heat/blob/master/heat_integrationtests/common/test_resources/test_resource.py17:16
sirushtiIt should let you emulate the behaviour of a resource by setting a certain property17:17
shardysirushti: aha, so it does, thanks!17:26
* shardy never noticed that before17:26
*** Berezin has quit IRC17:32
*** achanda has quit IRC17:33
*** rpothier has joined #heat17:40
*** pratikmallya has joined #heat17:42
*** pratikmallya has quit IRC17:42
*** pratikmallya has joined #heat17:43
*** yassine__ has quit IRC17:46
*** rpothier has quit IRC17:46
*** sthillma_ has joined #heat17:50
*** achanda has joined #heat17:52
*** sthillma has quit IRC17:52
*** sthillma_ is now known as sthillma17:52
*** sthillma has quit IRC17:54
*** sthillma has joined #heat17:54
*** thumpba has quit IRC17:58
*** logan2 has quit IRC18:03
*** Drago1 has quit IRC18:05
*** randallburt has quit IRC18:09
*** Berezin has joined #heat18:09
*** kebray has quit IRC18:11
*** achanda has quit IRC18:18
cmyster sirushti++18:21
cmysterthanks I bookmarked it18:21
* cmyster is going to have some fun with it18:21
cmysterand with that in mind, nn18:22
*** Berezin has quit IRC18:22
*** Berezin has joined #heat18:23
*** gberginc has joined #heat18:23
*** MasterPiece has joined #heat18:26
openstackgerritJames Combs proposed openstack/heat: Adding functional integration test for encrypted parameters.  https://review.openstack.org/19684618:33
*** packet has joined #heat18:34
*** gokrokve has quit IRC18:35
*** multi_io has quit IRC18:41
*** multi_io has joined #heat18:43
*** e0ne has joined #heat18:46
*** Drago has joined #heat18:46
*** jonesbr has left #heat18:48
*** logan2 has joined #heat18:49
*** Marga_ has joined #heat18:52
*** kebray has joined #heat18:52
*** kebray has quit IRC18:53
*** kebray has joined #heat18:54
*** sabeen3 has left #heat18:55
*** sabeen1 has joined #heat18:56
*** sdake_ has joined #heat18:58
*** sdake has quit IRC19:00
*** sdake has joined #heat19:01
*** jtomasek has joined #heat19:02
*** tspatzier has joined #heat19:03
*** sdake_ has quit IRC19:04
*** randallburt has joined #heat19:06
*** dsneddon is now known as dsneddon_biab19:10
*** shardy has quit IRC19:16
*** shardy has joined #heat19:17
*** hdd has quit IRC19:23
*** Raj2 has joined #heat19:24
*** jdob has joined #heat19:25
pratikmallyakairat_kushaev: are you working a patch for https://bugs.launchpad.net/heat/+bug/1470652?19:26
openstackLaunchpad bug 1470652 in heat "heat-manage script fails when encrypting large database" [High,In progress] - Assigned to Kairat Kushaev (kkushaev)19:26
*** pratikmallya has quit IRC19:30
*** kebray has quit IRC19:33
*** jtomasek has quit IRC19:44
*** jecarey has quit IRC19:50
*** dsneddon_biab is now known as dsneddon19:50
*** e0ne has quit IRC19:55
*** Marga_ has quit IRC19:56
openstackgerritJames Combs proposed openstack/heat: Adding functional integration test for encrypted parameters.  https://review.openstack.org/19684619:56
*** Berezin has quit IRC19:57
*** Berezin has joined #heat19:58
*** derekh has joined #heat19:58
*** packet has quit IRC20:01
*** gberginc has quit IRC20:03
openstackgerritMerged openstack/heat: Add doc generation for UpdatePolicy  https://review.openstack.org/19788620:04
*** tspatzier has quit IRC20:07
openstackgerritMerged openstack/heat: Imported Translations from Transifex  https://review.openstack.org/19784620:07
openstackgerritMerged openstack/heat: Add a new crypt method using cryptography  https://review.openstack.org/19501820:08
*** boris-42 has quit IRC20:12
*** Marga_ has joined #heat20:13
*** e0ne has joined #heat20:15
*** FL1SK has quit IRC20:16
*** FL1SK has joined #heat20:18
*** jrist has quit IRC20:20
*** Berezin has quit IRC20:27
*** pratikmallya has joined #heat20:43
*** pratikmallya has quit IRC20:44
*** pratikmallya has joined #heat20:44
*** derekh has quit IRC20:51
openstackgerritMerged openstack/heat: In-tree grenade support for Heat  https://review.openstack.org/18814820:59
stevebakerw00t ^21:03
*** jdob has quit IRC21:03
shardystevebaker: hey, quick question about metadata for software config transports21:05
stevebakershardy: yus21:05
shardystevebaker: ref https://review.openstack.org/#/c/197739/21:06
shardydprince has a requirement to get the endpoint/IP of heat (or, actually the undercloud, derived from the heat endpoint)21:06
shardyhowever, we have different format for *url stuff dependent on the transport21:06
shardyso his current solution will only work for POLL_SERVER_CFN21:06
shardyI was thinking, could we drop a transport agnostic heat endpoint into the metadata?21:06
shardyThere are roundabout ways of getting the data, like defining a native WaitCondition and using the endpoint attribute, but I'm trying to think of the cleanest way to approach it21:07
stevebakershardy: does this need to be something supportable in kilo?21:08
shardystevebaker: ideally but not necessarily21:09
stevebakershardy: I'm thinking some way of getting the undercloud auth_url into the template, that might be cleaner than a heat endpoint21:09
shardystevebaker: we just need an approach which won't break in future when e.g we move to swift for polling21:09
shardyI think the patch posted is OK for an interim fix, it's just restrictive wrt the transport, which I know you're planning to change21:10
stevebakerhaving an OS::AuthURL special parameter is an option21:10
shardystevebaker: yeah, in this case either would work21:10
shardybasically some mangling of routes is required on the controller which requires the undercloud IP21:10
shardystevebaker: haha, that's exactly what dprince wanted ;D21:11
shardyI wasn't sure we wanted something like that defined in HOT, but it would certainly work21:11
shardyit seems a bit un-DSL-ish21:11
stevebakerand having an explicit overcloud template parameter for the undercloud host is another option21:11
shardystevebaker: yeah, *that* is probably the cleanest way21:12
shardyjust pass it in via parameters/parameter_defaults21:12
stevebakerrdomanager-oscplugin could populate it from the current credentials21:13
shardyyeah that would work21:13
shardystevebaker: I'm about to go to sleep, would you mind commenting on the review and/or chatting with dprince?21:13
shardyI wanted to ensure we didn't quietly merge something which will definitely break when you flip things over to Swift ;)21:14
*** jaime49 has quit IRC21:15
*** Raj2 has quit IRC21:17
stevebakeryeah, extracting hostnames from endpoints which leak into the overcloud would be prone to break I think21:17
shardystevebaker: yeah, if we do that it's definitely only good for a temporary fix21:18
*** e0ne has quit IRC21:20
openstackgerritSteve Baker proposed openstack/python-heatclient: OpenStackClient plugin for stack operations  https://review.openstack.org/19586721:23
*** logan2 has quit IRC21:31
*** shardy has quit IRC21:34
*** jrist has joined #heat21:38
*** Marga_ has quit IRC21:40
*** MasterPiece has quit IRC21:40
*** kebray has joined #heat21:41
*** kebray has quit IRC21:42
*** jaime49 has joined #heat21:44
*** jaime49 has quit IRC21:44
*** jaime49 has joined #heat21:44
*** erkules_ has joined #heat21:46
*** kebray has joined #heat21:46
*** erkules has quit IRC21:47
*** boris-42 has joined #heat21:49
*** logan2 has joined #heat21:56
*** derekh has joined #heat21:58
*** randallburt has quit IRC22:03
*** pratikmallya has quit IRC22:04
*** rwsu has quit IRC22:05
*** kebray has quit IRC22:06
*** sthillma has quit IRC22:07
*** cody-somerville has quit IRC22:13
*** pratikmallya has joined #heat22:16
*** chlong has joined #heat22:18
*** sthillma has joined #heat22:18
*** spzala has quit IRC22:20
*** sdake has quit IRC22:22
*** sdake has joined #heat22:22
*** kebray has joined #heat22:22
openstackgerritJames Combs proposed openstack/heat: Adding functional integration test for encrypted parameters.  https://review.openstack.org/19684622:23
*** sergmelikyan has joined #heat22:26
*** sabeen1 has quit IRC22:32
*** sergmelikyan has quit IRC22:41
*** sdake has quit IRC22:43
*** sdake has joined #heat22:44
*** Hazelesque_ has quit IRC22:45
*** Hazelesque has joined #heat22:45
*** sdake has quit IRC22:46
*** sdake has joined #heat22:50
*** Drago has quit IRC22:51
*** sdake has quit IRC22:51
*** sdake has joined #heat22:52
*** sdake has quit IRC22:58
*** sabeen1 has joined #heat23:07
*** derekh has quit IRC23:11
*** kebray has quit IRC23:15
*** pratikmallya has quit IRC23:19
*** alexpilotti has joined #heat23:32
*** chlong has quit IRC23:36
*** sdake has joined #heat23:37
*** tochi has joined #heat23:37
*** alexpilotti has quit IRC23:38
*** pratikmallya has joined #heat23:42
*** alexpilotti has joined #heat23:44
*** alexpilotti has quit IRC23:46
*** Qiming has joined #heat23:49
*** pratikmallya has quit IRC23:50
*** sthillma has quit IRC23:53
openstackgerritSteve Baker proposed openstack/heat: Remove old JSON and YAML docs syntax  https://review.openstack.org/19816823:53
openstackgerritSteve Baker proposed openstack/heat: Use latest stable template version in snippets  https://review.openstack.org/19816923:53
*** hdd has joined #heat23:54
*** hdd has quit IRC23:57
*** hdd has joined #heat23:58

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