Monday, 2015-07-06

*** chlong has joined #heat00:04
*** mikeit has quit IRC00:08
Kennan2hi anyone here OS::Heat::SoftwareDeployment why always in IN_PROGRESS status? The resource is just a script which disable selinux00:26
Kennan2I can not figure it out why it is always in IN_PROGESS, how to debug that?  resource-show not help much00:27
openstackgerritMerged openstack/heat: Remove unneeded OS_TEST_DBAPI_ADMIN_CONNECTION  https://review.openstack.org/19846800:29
*** jpeeler has quit IRC00:29
openstackgerritMerged openstack/heat: Move all client tests to /tests/clients  https://review.openstack.org/19820000:31
*** Kennan2 is now known as Kennan00:33
openstackgerritMerged openstack/heat: Move the nova resources tests to /tests/nova/  https://review.openstack.org/19787400:38
*** jpeeler has joined #heat00:43
openstackgerritMerged openstack/heat: Move manila tests to /tests/manila/  https://review.openstack.org/19789500:45
openstackgerritMerged openstack/heat: Move mistral resource tests to /tests/mistral  https://review.openstack.org/19820100:45
openstackgerritMerged openstack/heat: Move ceilometer resource tests to /tests/ceilometer/  https://review.openstack.org/19820200:45
*** MasterPiece has joined #heat00:50
*** sdake has quit IRC00:53
*** mikeit has joined #heat00:54
*** dims__ has joined #heat00:55
*** dims_ has quit IRC00:56
*** mikeit has quit IRC00:56
*** dims__ has quit IRC01:06
*** MasterPiece has quit IRC01:06
*** dims_ has joined #heat01:07
ramishramorning all01:08
asalkeldo/01:11
openstackgerritAngus Salkeld proposed openstack/heat: Use the default when creating schema from a template  https://review.openstack.org/19858101:11
openstackgerritAngus Salkeld proposed openstack/heat: Keep the path when re-registering the template resource  https://review.openstack.org/19858201:11
*** dims_ has quit IRC01:15
ramishrastevebaker: hi, u around?01:16
stevebakerramishra: hi01:16
*** huangtianhua has joined #heat01:17
*** liusheng has quit IRC01:18
ramishrastevebaker: I saw your comment for https://review.openstack.org/#/c/198384/01:18
stevebakerramishra: if there is no --config then that is an implied empty config, and the derived-config that heatclient creates will have an empty config contents.01:20
stevebakerramishra: the deployment resource does something similar01:22
ramishrastevebaker: so we mean we create an config(empty) if not specified, existing code checks for the config first and throws an error when not found01:22
stevebakeryep, that sounds right01:23
stevebakerif I understand you01:23
*** yuanying_ has joined #heat01:24
*** yuanying has quit IRC01:25
*** erkules_ has joined #heat01:26
*** erkules has quit IRC01:29
*** yuanying has joined #heat01:34
*** yuanying_ has quit IRC01:38
*** yuanying has quit IRC01:39
*** Yanyanhu has joined #heat01:40
*** yuanying has joined #heat01:49
*** jamielennox is now known as jamielennox|away01:51
*** jamielennox|away is now known as jamielennox02:02
*** pal has joined #heat02:06
*** sdake has joined #heat02:11
*** sdake_ has joined #heat02:14
openstackgerritMerged openstack/python-heatclient: resource-list --nested-depth stack_name column  https://review.openstack.org/19391202:17
*** sdake has quit IRC02:18
*** Qiming has joined #heat02:19
*** huangtianhua has quit IRC02:21
*** achanda has joined #heat02:24
*** huangtianhua has joined #heat02:28
openstackgerritRabi Mishra proposed openstack/python-heatclient: Fix error when creating deployment from cli  https://review.openstack.org/19838402:30
*** achanda has quit IRC02:32
*** elynn has joined #heat02:34
*** coolsvap|away is now known as coolsvap02:36
*** pal has quit IRC02:38
elynnmorning :)02:41
*** kebray has joined #heat02:48
*** kebray has quit IRC02:49
*** coolsvap is now known as coolsvap|away02:50
openstackgerritRabi Mishra proposed openstack/python-heatclient: Fix error when creating deployment from cli  https://review.openstack.org/19838402:53
*** pal has joined #heat02:53
*** Qiming_ has joined #heat02:57
*** Qiming has quit IRC02:57
*** pal has quit IRC03:00
*** ananta_ has joined #heat03:24
*** achanda has joined #heat03:26
openstackgerritYanyan Hu proposed openstack/heat: ASG scaling account for cooldown timestamp & in-progress  https://review.openstack.org/18665903:28
*** tobe has joined #heat03:31
*** achanda has quit IRC03:35
*** achanda has joined #heat03:35
*** jamielennox is now known as jamielennox|away03:38
*** achanda has quit IRC03:40
*** jamielennox|away is now known as jamielennox03:49
*** pal has joined #heat03:50
*** coolsvap|away is now known as coolsvap03:53
*** kebray has joined #heat03:53
*** sdake_ is now known as sdake03:56
*** KanagarajM has joined #heat03:57
KanagarajMgood morning all !03:57
KanagarajMstevebaker: ping04:00
stevebakerKanagarajM: hi04:00
KanagarajMstevebaker: this is regarding a comment given for https://review.openstack.org/#/c/192569/7/heat/tests/openstack/designate/test_client.py04:00
stevebakeryep04:00
KanagarajMstevebaker: I tried to keep the test_client under the desginate folder, to make the unit testing easier. when i make any changes in the designate, i will test complete desiganate related in one run by running tox -epy27 heat.tests.openstack.desisignate04:01
KanagarajMand thuoght of making other existing openstack client plugin also like this04:02
stevebakerKanagarajM: for better or worse we've gone with this convention for now, so it would be preferred to follow it: https://review.openstack.org/198200 https://review.openstack.org/19820104:03
KanagarajMok. i didn't aware of it. ok. i will align my current patch to this one.04:06
KanagarajMwill try to make it better later. thanks for pointing out it.04:06
stevebakernp. it was only just approved04:07
KanagarajMstevebaker: i need your input on other one https://review.openstack.org/#/c/191034/14/heat/engine/resource.py , shall i take that as seprate patch for fixing all test cases, with mocking the is_service_avialable, as i think, it will affect many test cases.04:08
stevebakerKanagarajM: it would probably have to be in https://review.openstack.org/#/c/191034, since that adds is_service_available04:11
*** dims_ has joined #heat04:12
KanagarajMstevebaker: yea. sure.04:13
*** dims__ has joined #heat04:16
*** dims_ has quit IRC04:18
*** dims__ has quit IRC04:20
*** dims__ has joined #heat04:21
openstackgerritKanagaraj Manickam proposed openstack/heat: Adds designate.domain constraint  https://review.openstack.org/19256904:22
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Domain resource  https://review.openstack.org/19389704:22
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Record resource  https://review.openstack.org/19389804:22
*** dims___ has joined #heat04:22
*** dims__ has quit IRC04:26
*** dims___ has quit IRC04:27
*** daneyon has joined #heat04:28
*** daneyon has quit IRC04:28
*** daneyon has joined #heat04:28
*** ananta_ has quit IRC04:34
*** coolsvap is now known as coolsvap|brb04:35
openstackgerritAngus Salkeld proposed openstack/heat: Add support for a resource level external_id  https://review.openstack.org/13549204:35
*** liusheng has joined #heat04:41
*** tobe has quit IRC04:51
*** nihilifer has joined #heat04:53
*** gberginc has joined #heat05:00
*** nkhare has joined #heat05:00
*** coolsvap|brb is now known as coolsvap05:06
*** Marga_ has joined #heat05:07
*** Marga_ has quit IRC05:07
*** Marga_ has joined #heat05:08
*** ananta_ has joined #heat05:13
*** rakesh_hs has joined #heat05:26
*** coolsvap is now known as coolsvap|away05:29
*** LimorStotland has joined #heat05:37
*** tlashchova has joined #heat05:38
*** Murali has joined #heat05:41
asalkeldananta_: ramishra hi guys, did you have some ideas on how to pass adopt_stack_data around in convergence? it is not stored in the db so atm it is lost at the first call to check_resource05:47
asalkeldon idea is to pass it in the "data"05:47
asalkeldand "pop" it off at the begining of check_resouce05:48
ananta_asalkeld: I am yet to look at it05:48
asalkeldok, i am trying to get it to work now05:49
asalkeld(just wondered if you had some ideas)05:49
*** huangtianhua has quit IRC05:54
sirushtimorning all06:07
asalkeldhi sirushti06:07
sirushtihi asalkeld06:07
asalkeldadopt working :-O06:08
sirushtithat should make the gate green06:08
asalkeldthere is still a heap of backtraces on delete06:09
sirushtiyeah, I guess we should modify the test framework we have currently to account for deletes06:10
*** dims_ has joined #heat06:10
openstackgerritAngus Salkeld proposed openstack/heat: Convergence: Delete the resources from DB when delete is called  https://review.openstack.org/19538706:12
openstackgerritAngus Salkeld proposed openstack/heat: Make the convergence gate functional  https://review.openstack.org/19827306:12
openstackgerritAngus Salkeld proposed openstack/heat: Convergence: Allow creating stacks of empty templates  https://review.openstack.org/19426606:12
openstackgerritAngus Salkeld proposed openstack/heat: wip: get adopt working in convergence  https://review.openstack.org/19860706:12
*** kairat_kushaev has quit IRC06:14
*** dims_ has quit IRC06:15
*** kairat_kushaev has joined #heat06:16
*** Qiming_ is now known as Qiming06:21
openstackgerritAnant Patil proposed openstack/heat: Convergence: Delete the resources from DB  https://review.openstack.org/19538706:23
*** daneyon has quit IRC06:28
*** KanagarajM_ has joined #heat06:32
*** mburns has quit IRC06:35
*** KanagarajM has quit IRC06:36
*** tobe has joined #heat06:38
*** tspatzier has joined #heat06:43
*** mburns has joined #heat06:45
skraynevMorning all06:52
*** tonisbones has quit IRC06:53
*** tonisbones has joined #heat06:53
*** Slower has joined #heat06:53
openstackgerritSirushti Murugesan proposed openstack/heat: DNM: Convergence Testing: Reduced build timeout  https://review.openstack.org/19326906:54
*** mburns has quit IRC06:57
*** mburns has joined #heat07:05
*** tobe has quit IRC07:08
openstackgerritThomas Herve proposed openstack/heat: Support snapshot deletion policy in Server  https://review.openstack.org/18558207:09
*** huangtianhua has joined #heat07:10
*** dims_ has joined #heat07:12
*** achanda has joined #heat07:13
*** dims_ has quit IRC07:16
*** mburns has quit IRC07:19
*** tobe has joined #heat07:20
*** ricolin_ has joined #heat07:23
ricolin_morning all07:24
*** achanda has quit IRC07:25
*** huangtianhua has quit IRC07:26
*** huangtianhua has joined #heat07:26
*** ifarkas has joined #heat07:31
*** chlong has quit IRC07:35
*** achanda has joined #heat07:36
*** kebray has quit IRC07:41
cmystermorning07:43
openstackgerritThomas Herve proposed openstack/heat: Add a new crypt method using cryptography  https://review.openstack.org/19863007:53
*** mburns has joined #heat07:59
*** ricolin_ has quit IRC07:59
*** achanda has quit IRC08:02
*** achanda has joined #heat08:02
*** BManojlovic has joined #heat08:03
*** BManojlovic has quit IRC08:03
*** BManojlovic has joined #heat08:03
*** sorantis has joined #heat08:04
*** achanda has quit IRC08:09
*** tiantian has joined #heat08:10
*** achanda has joined #heat08:10
*** huangtianhua has quit IRC08:12
*** Marga_ has quit IRC08:13
*** Marga_ has joined #heat08:14
*** pal has quit IRC08:16
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836408:16
*** daneyon has joined #heat08:17
*** bdossant has joined #heat08:18
*** ifarkas has quit IRC08:21
*** daneyon has quit IRC08:22
*** ifarkas has joined #heat08:22
*** ochuprykov has joined #heat08:23
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836408:28
*** achanda has quit IRC08:29
*** nkoffman has joined #heat08:32
*** noa_koffman has quit IRC08:35
*** tshtilma has joined #heat08:36
*** yassine_ has joined #heat08:37
openstackgerritKairat Kushaev proposed openstack/heat: Support time-delays in server.resize  https://review.openstack.org/19863808:40
openstackgerritKairat Kushaev proposed openstack/heat: Fix test novaclient.create  https://review.openstack.org/19801808:42
*** ifarkas has quit IRC08:43
*** pal has joined #heat08:54
*** ifarkas has joined #heat08:56
*** pratikmallya has quit IRC08:56
*** tshtilma has quit IRC08:58
*** jamielennox is now known as jamielennox|away09:11
*** jamielennox|away is now known as jamielennox09:18
*** sb has quit IRC09:35
*** strictlyb has joined #heat09:36
openstackgerritSergey Kraynev proposed openstack/heat: Add base_attribute schema for all resources  https://review.openstack.org/19560809:38
openstackgerritSergey Kraynev proposed openstack/heat: Add base resolve method for attributes  https://review.openstack.org/19560909:38
openstackgerritSergey Kraynev proposed openstack/heat: Add show_resource function to Heat resources (1) WIP!!!  https://review.openstack.org/19561009:38
*** Yanyanhu has quit IRC09:43
openstackgerritRakesh H S proposed openstack/python-heatclient: Poll functionality for stack create action  https://review.openstack.org/18888909:51
*** yassine_ has quit IRC09:55
openstackgerritOleksii Chuprykov proposed openstack/heat: Add types to barbican resource attributes  https://review.openstack.org/19009609:57
*** vijayagurug has joined #heat10:00
*** elynn has quit IRC10:02
*** Qiming has quit IRC10:02
*** Kennan has quit IRC10:05
*** daneyon has joined #heat10:06
openstackgerrithuangtianhua proposed openstack/python-heatclient: Fix TypeError when call keystoneclient session.request()  https://review.openstack.org/19865810:07
*** pas-ha has joined #heat10:10
*** daneyon has quit IRC10:11
openstackgerrithuangtianhua proposed openstack/heat: Allow suspend and resume again if failed last time  https://review.openstack.org/19785610:12
openstackgerrithuangtianhua proposed openstack/heat: Correct volume restore behavior  https://review.openstack.org/18215210:13
*** multi_io has quit IRC10:14
*** multi_io has joined #heat10:15
openstackgerrithuangtianhua proposed openstack/heat: Add and apply cinder backup constraint  https://review.openstack.org/18343310:19
*** ochuprykov has quit IRC10:19
*** Kennan has joined #heat10:21
openstackgerrithuangtianhua proposed openstack/heat: Support project access manager for volume type  https://review.openstack.org/19447810:25
openstackgerritKanagaraj Manickam proposed openstack/heat: Conditionally expose resources based on available services  https://review.openstack.org/19103410:25
openstackgerritKanagaraj Manickam proposed openstack/heat: List resource_type based on availability  https://review.openstack.org/19109610:25
*** pratikmallya has joined #heat10:28
*** blues-man has joined #heat10:31
*** Kennan2 has joined #heat10:39
*** Kennan has quit IRC10:41
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Record resource  https://review.openstack.org/19389810:41
*** pratikmallya has quit IRC10:41
*** yuanying has quit IRC10:42
*** dims_ has joined #heat10:47
*** Kennan2 is now known as Kennan10:48
*** dims_ has quit IRC10:52
*** jcoufal has joined #heat11:01
*** tobe has quit IRC11:01
*** chlong has joined #heat11:05
pas-hamorning all11:05
*** Qiming has joined #heat11:06
*** yassine_ has joined #heat11:11
*** yassine_ has quit IRC11:11
*** Qiming has quit IRC11:12
*** e0ne has joined #heat11:17
*** derekh has joined #heat11:18
*** Marga_ has quit IRC11:24
*** Murali has quit IRC11:30
*** KanagarajM_ has quit IRC11:35
*** KanagarajM has joined #heat11:37
*** Marga_ has joined #heat11:38
*** tiantian has quit IRC11:38
openstackgerritThomas Herve proposed openstack/heat: Remove hotref links in the documentation  https://review.openstack.org/19868511:42
therveIf someone has an idea how to fix the link at the end of http://docs.openstack.org/developer/heat/template_guide/basic_resources.html#enable-remote-access-to-an-instance I'm interested11:42
therveIs the document supposed to exist in the global openstack doc?11:42
*** KanagarajM has quit IRC11:45
*** e0ne has quit IRC11:45
*** Qiming has joined #heat11:46
*** ananta_ has quit IRC11:50
*** tochi has quit IRC11:52
*** pal has quit IRC11:54
*** daneyon has joined #heat11:55
*** e0ne has joined #heat11:56
*** daneyon has quit IRC12:00
openstackgerritMerged openstack/heat: ignore sample config file generated by tox -egenconfig  https://review.openstack.org/19823712:00
openstackgerritMerged openstack/python-heatclient: Fix TypeError when call keystoneclient session.request()  https://review.openstack.org/19865812:01
*** radez_g0n3 is now known as radez12:02
*** dims_ has joined #heat12:03
*** tshtilma has joined #heat12:07
*** dims_ has quit IRC12:08
*** leakypipes is now known as jaypipes12:12
openstackgerritDaniel Gonzalez Nothnagel proposed openstack/heat-specs: Add a scenario test for Multi-Region Orchestration  https://review.openstack.org/18559812:16
openstackgerritRakesh H S proposed openstack/heat: Functional test for encryption volume type  https://review.openstack.org/19782512:16
ramishratherve: http://docs.openstack.org/user-guide/configure_access_and_security_for_instances.html, is this the one you are looking for?12:18
*** jcoufal has quit IRC12:24
*** Qiming has quit IRC12:26
*** Qiming has joined #heat12:26
*** jcoufal has joined #heat12:27
*** spzala has joined #heat12:33
*** lkarm has joined #heat12:38
*** pratikmallya has joined #heat12:38
*** Murali has joined #heat12:39
*** gberginc has quit IRC12:39
*** pratikmallya has quit IRC12:39
*** pratikmallya has joined #heat12:40
*** jecarey has quit IRC12:46
openstackgerritPratik Mallya proposed openstack/heat: Add properties_data encryption to heat-manage  https://review.openstack.org/19532512:46
*** jcoufal has quit IRC12:49
*** guj_ has joined #heat12:51
*** ananta_ has joined #heat12:52
*** Qiming has quit IRC12:54
ananta_guj_: Hi12:54
ananta_guj_: welcome to heat channel ;)12:55
*** dims_ has joined #heat12:55
*** dims__ has joined #heat12:57
guj_Hi, Anant;12:57
*** e0ne is now known as e0ne_12:57
guj_Very nice to chat with you over IRC :-)12:58
openstackgerritPratik Mallya proposed openstack/heat: Fix heat-manage bug encrypting encrypted data  https://review.openstack.org/19563912:58
*** dims___ has joined #heat13:00
*** dims_ has quit IRC13:00
*** dims_ has joined #heat13:01
*** aweiteka has joined #heat13:02
*** dims__ has quit IRC13:03
*** dims___ has quit IRC13:05
*** jonesbr has joined #heat13:05
*** ananta_ has quit IRC13:05
therveramishra, http://docs.openstack.org/user-guide/cli_nova_configure_access_security_for_instances.html I think13:05
*** nihilifer has quit IRC13:05
therveBut I don't know if it's supposed to work with doc in the heat tree13:06
therveOr if we need to make an external reference13:06
*** dims__ has joined #heat13:06
*** ameade_vacation is now known as ameade13:08
*** yassine_ has joined #heat13:08
*** dims_ has quit IRC13:09
*** dims__ has quit IRC13:11
*** Qiming has joined #heat13:12
*** rpothier has joined #heat13:20
openstackgerritPeter Razumovsky proposed openstack/heat-specs: Add new functionality to get_attr  https://review.openstack.org/19871213:24
*** e0ne_ is now known as e0ne13:24
*** guj_ has quit IRC13:26
*** pal has joined #heat13:26
ramishratherve: Is there any issue with external references? we do have external references to user guide in http://docs.openstack.org/developer/heat/glossary.html. But it seem to be broken too. Probably that is one of the reasons to not keep external references;)13:26
therveramishra, Yeah I don't know13:27
therveThere are several cleanups to do13:27
openstackgerritKairat Kushaev proposed openstack/heat: Add batching for heat-manage encrypt/decrypt  https://review.openstack.org/19798813:30
*** chlong has quit IRC13:39
*** vijayagurug has left #heat13:40
*** chlong has joined #heat13:40
pratikmallyahello all, therve13:40
openstackgerritSergey Kraynev proposed openstack/heat: Add base_attribute schema for all resources  https://review.openstack.org/19560813:41
openstackgerritSergey Kraynev proposed openstack/heat: Add base resolve method for attributes  https://review.openstack.org/19560913:41
openstackgerritSergey Kraynev proposed openstack/heat: Add show_resource function to Heat resources (1) WIP!!!  https://review.openstack.org/19561013:41
pratikmallyaWhere is the auth_encryption_key used? I'm wondering what changes need to be made if we switch to 32 chars default13:41
*** nkoffman has quit IRC13:41
therveIt's used in the crypt module13:43
*** noa_koffman has joined #heat13:43
*** daneyon has joined #heat13:44
openstackgerritKairat Kushaev proposed openstack/heat: Support time-delays in server.resize  https://review.openstack.org/19863813:44
*** Marga_ has quit IRC13:48
*** daneyon has quit IRC13:48
thervepratikmallya, I responded to your comments. Let me know if you have any questions.13:50
pratikmallyatherve: thanks, will do13:50
openstackgerritTetiana Lashchova proposed openstack/heat: Add Boolean type to attributes schema  https://review.openstack.org/19872913:52
*** [1]tshtilma has joined #heat13:53
*** tshtilma has quit IRC13:54
*** [1]tshtilma is now known as tshtilma13:54
*** Marga_ has joined #heat13:58
*** dyasny has joined #heat14:00
*** nkhare has quit IRC14:01
*** jecarey_ has joined #heat14:02
*** blomquisg has quit IRC14:08
*** Murali has quit IRC14:11
*** LimorStotland_ has joined #heat14:13
*** LimorStotland has quit IRC14:15
*** nkhare has joined #heat14:15
pratikmallyatherve: if we use encryption key A and then use key B (!= A) to  decrypt, will that raise an exception?14:15
thervepratikmallya, In master, it might, not all the time. But it's wrong.14:16
*** logan2 has quit IRC14:17
pratikmallyatherve: Yes, isn't that what https://github.com/openstack/heat/blob/master/heat/tests/db/test_sqlalchemy_api.py#L2744 is checking though? It encrypts with key A, then decrypts with key B and asserts that the deecrypted result is not the same as original14:20
pratikmallyatherve: I was wondering why you removed that test14:20
*** bdossant has quit IRC14:20
thervepratikmallya, Why is that test useful?14:20
therveI meant that it's wrong that it doesn't raise an exception14:20
therveThere is no point in decrypting using a different key14:21
ryansbyeah, I think right now using the wrong key just results in garbage data14:22
pratikmallyatherve: it is a sanity test to test if encryption works. Suppose the encryption method is not working and returning the original text. Then this test will fail14:22
thervepratikmallya, That's the wrong way to test that though.14:22
therveI can add an assertion that it fails to load the data with fernet (which will properly raise an exception)14:23
thervepratikmallya, See https://bugs.launchpad.net/heat/+bug/1467965 for an example on how this test is broken14:26
openstackLaunchpad bug 1467965 in heat "test_db_encrypt_decrypt UnicodeDecodeError: 'utf8' codec can't decode " [Critical,Fix committed] - Assigned to Sirushti Murugesan (sirushtim)14:26
openstackgerritTetiana Lashchova proposed openstack/heat: Update wsgi.py to support reload from conf on SIGHUP  https://review.openstack.org/18476814:27
*** rakesh_hs has quit IRC14:30
*** bdossant has joined #heat14:33
*** LimorStotland_ has quit IRC14:33
*** LimorStotland has joined #heat14:33
*** pas-ha has quit IRC14:35
*** Raj2 has joined #heat14:35
*** bdossant has quit IRC14:35
pratikmallyatherve: ah, ok I see your point.14:36
pratikmallyatherve: another thing: if the auth_encryption_key that current heat installations use is < 32 characters, this patch will make heat throw an error, correct?14:37
thervepratikmallya, No14:37
therveThere is a test just for that14:37
therveSee get_valid_encryption_key14:37
pratikmallyatherve: I see. Also, the change to config.py makes it look like if the auth_encryption_key specified in heat.conf is < 32 characters, it will throw an error...is that true?14:39
thervepratikmallya, Didn't you just ask the same question?14:40
*** sabeen has quit IRC14:41
*** logan2 has joined #heat14:41
therveFernet needs a 32 characters string. We used to support 16 and 24, so if you have keys with that length I pad the string to make it work14:42
*** kebray has joined #heat14:42
*** Raj2 has quit IRC14:42
therveBut the doc encourages you to use 32 characters14:42
*** Raj2 has joined #heat14:42
pratikmallyatherve: I guess so :). The thing that's bothering me is that there is a line like raise exception.Error() in config.py that is triggered if the auth_encryption_key is less than 32. I am wondering if that will stop the heat engine from going any further14:43
therveOh. In this case you're right.14:43
therveI guess I need to handle that, crap.14:44
gpazguys,  does anyone know from what version heat support Mistral Resource type ?  I didnt find any decisive answer for that14:46
*** jruano has joined #heat14:47
thervegpaz, Only liberty AFAIK14:48
therveMaybe some where in contrib in kilo14:48
*** pas-ha has joined #heat14:49
openstackgerritThomas Herve proposed openstack/heat: Add a new crypt method using cryptography  https://review.openstack.org/19863014:49
thervepratikmallya, Should be better ^^14:49
gpaztherve, it is in the contrib, but for heat_mistral the resources folder is missing what makes me thought its not supported14:50
pratikmallyatherve: sweet, thanks!14:51
*** kebray has quit IRC14:51
*** pal has quit IRC14:53
*** pal has joined #heat14:55
*** hdd has joined #heat14:58
*** serverascode has quit IRC15:05
*** serverascode has joined #heat15:06
*** nkhare has quit IRC15:06
*** kebray has joined #heat15:09
*** dims_ has joined #heat15:09
*** logan2 has quit IRC15:11
openstackgerritSergey Kraynev proposed openstack/heat: Add base resolve method for attributes  https://review.openstack.org/19560915:13
openstackgerritSergey Kraynev proposed openstack/heat: Add show_resource function to Heat resources (1) WIP!!!  https://review.openstack.org/19561015:13
*** kebray has quit IRC15:14
*** sorantis has quit IRC15:14
*** kebray has joined #heat15:14
*** logan2 has joined #heat15:19
*** ameade has quit IRC15:22
*** ameade_vacation has joined #heat15:22
*** ameade_vacation is now known as ameade15:23
*** crose has joined #heat15:28
*** daneyon has joined #heat15:33
*** daneyon has quit IRC15:33
thervegpaz, Yeah there is only the client in kilo, no resource yet15:34
*** pal has quit IRC15:41
*** sabeen1 has joined #heat15:42
*** thedodd has joined #heat15:42
*** zhiyan has quit IRC15:47
*** yassine_ has quit IRC15:47
*** zhiyan has joined #heat15:47
*** Michalik has quit IRC15:49
*** Michalik has joined #heat15:49
openstackgerritAnant Patil proposed openstack/heat: Convergence: Handling resouce clean-up  https://review.openstack.org/19538715:49
*** sabeen2 has joined #heat15:56
*** sabeen1 has quit IRC15:56
*** Marga_ has quit IRC15:57
*** tshtilma has quit IRC15:57
*** Qiming has quit IRC15:58
gpaztherve, is there away to install Mistral Resources for Kilo ?16:00
*** rwsu has joined #heat16:04
*** kebray has quit IRC16:04
*** Marga_ has joined #heat16:05
*** kebray has joined #heat16:06
*** BManojlovic has quit IRC16:07
thervegpaz, Possibly yeah16:07
therveJust try to backport them16:07
*** Raj3 has joined #heat16:12
*** tsandall has joined #heat16:12
*** Raj2 has quit IRC16:13
*** pal has joined #heat16:13
*** Marga_ has quit IRC16:16
*** vijayagurug has joined #heat16:16
*** Marga_ has joined #heat16:16
*** jaypipes is now known as jay-deepthought16:21
openstackgerritKanagaraj Manickam proposed openstack/heat: List resource_type based on availability  https://review.openstack.org/19109616:25
*** vijayagurug has left #heat16:25
*** pal has quit IRC16:31
*** pal has joined #heat16:32
*** Raj3 has quit IRC16:36
*** Raj2 has joined #heat16:36
*** packet has joined #heat16:39
*** tshtilma has joined #heat16:40
*** dsneddon_afk is now known as dsneddon16:43
*** pratikmallya has quit IRC16:43
*** e0ne has quit IRC16:47
*** sthillma has joined #heat16:59
*** daneyon has joined #heat17:00
*** derekh has quit IRC17:02
*** blues-man has quit IRC17:02
*** tspatzier has quit IRC17:08
*** pas-ha has quit IRC17:13
*** crose has quit IRC17:17
*** logan2 has quit IRC17:21
*** ifarkas has quit IRC17:23
*** Raj2 has quit IRC17:25
*** LimorStotland has quit IRC17:32
*** Raj2 has joined #heat17:39
*** jay-deepthought is now known as jaypipes17:40
*** GonZo2K has joined #heat17:43
*** GonZo2K has quit IRC17:43
*** GonZo2K has joined #heat17:43
*** GonZo2K has quit IRC17:44
*** dyasny has quit IRC17:49
*** GonZo2K has joined #heat17:49
*** logan2 has joined #heat17:50
*** tspatzier has joined #heat17:52
*** dyasny has joined #heat17:54
*** e0ne has joined #heat17:54
*** pal has quit IRC17:54
*** GonZo2K has quit IRC17:57
*** Kennan2 has joined #heat18:03
*** Kennan has quit IRC18:04
*** e0ne is now known as e0ne_18:04
*** pm90_ has joined #heat18:09
*** daneyon_ has joined #heat18:15
*** daneyon has quit IRC18:18
*** dims_ has quit IRC18:20
*** tshtilma has quit IRC18:22
*** e0ne_ is now known as e0ne18:24
*** Raj2 has quit IRC18:25
*** jdob has joined #heat18:25
*** Raj2 has joined #heat18:25
*** randallburt has joined #heat18:28
*** pm90_ has quit IRC18:34
*** pm90_ has joined #heat18:40
*** pm90_ has quit IRC18:42
*** pm90_ has joined #heat18:43
*** tspatzier has quit IRC18:46
*** pas-ha has joined #heat18:55
*** pas-ha has quit IRC18:56
*** signed8bit has joined #heat19:02
*** signed8b_ has joined #heat19:02
openstackgerritKanagaraj Manickam proposed openstack/heat: Designate Record resource  https://review.openstack.org/19389819:06
*** e0ne has quit IRC19:06
*** hdd has quit IRC19:20
*** e0ne has joined #heat19:26
*** dsneddon is now known as dsneddon_afk19:28
openstackgerritMerged openstack/heat: Use the default when creating schema from a template  https://review.openstack.org/19858119:32
*** dims_ has joined #heat19:36
*** GonZo2K has joined #heat19:38
*** GonZo2K has quit IRC19:38
*** GonZo2K has joined #heat19:38
*** GonZo2K has quit IRC19:42
*** e0ne has quit IRC19:47
*** DandyPandy_ is now known as DandyPandy19:51
*** Marga_ has quit IRC19:52
*** multi_io has quit IRC20:00
*** multi_io has joined #heat20:02
*** Marga_ has joined #heat20:03
*** Marga_ has quit IRC20:06
*** Marga_ has joined #heat20:07
openstackgerritMerged openstack/heat: Add types to barbican resource attributes  https://review.openstack.org/19009620:11
*** dims_ has quit IRC20:17
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836420:17
openstackgerritOleksii Chuprykov proposed openstack/heat-specs: Add heat template-function-list command  https://review.openstack.org/18836420:20
*** packet has quit IRC20:25
*** Raj2 has quit IRC20:31
*** Marga__ has joined #heat20:32
*** Marga__ has quit IRC20:32
*** Marga_ has quit IRC20:33
*** Marga__ has joined #heat20:33
*** Marga__ has quit IRC20:38
*** Marga_ has joined #heat20:38
*** Raj2 has joined #heat20:42
*** dsneddon_afk is now known as dsneddon20:47
*** RichardRaseley has joined #heat20:47
*** lkarm has quit IRC20:48
RichardRaseleyI am having some issues understanding the logical model for reproducing a 'boots from image (creates new volume)' operation in a heat template. I obviously need the OS::Nova::Server type for the instance and OS::Cinder::Volume for the volume, but then do I attach that via the 'volume_id' parameter on the OS::Nova::Server, or do I need to make use of OS::Cinder::VolumeAttachment ?20:49
*** zns has joined #heat20:49
RichardRaseleyAny help in understanding would be greatly appreciated.20:50
*** Marga_ has quit IRC20:50
RichardRaseleyI'll ask in #openstack as well, now realizing that that might be more appropriate.20:51
*** thedodd has quit IRC20:51
stevebakerRichardRaseley: you don't need any volume resources. Look at OS::Nova::Server property block_device_mapping(_v2) image_id/snapshot_id/volume_id http://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Nova::Server20:54
RichardRaseleySo by adding a block_device_mapping parameter will create the cinder block device?20:56
RichardRaseleystevebaker: and it will create the volume with the image specified as part of os::nova::server in this case?20:56
stevebakerRichardRaseley: block_device_mapping_v2.image_id says "The ID of the image to create a volume from." which sounds like what you want20:58
RichardRaseleystevebaker: OK, since I am running icehouse v2 isn't available 'v1' looks like it accepts a volume_id from os::cinder::volume type.20:58
RichardRaseleyI think this will help me, thank you.20:58
*** pm90__ has joined #heat20:59
*** pm90_ has quit IRC21:02
*** pm90__ has quit IRC21:03
*** zns has quit IRC21:09
*** dims_ has joined #heat21:09
*** zns has joined #heat21:13
*** dims_ has quit IRC21:14
*** dims has joined #heat21:16
*** zns has quit IRC21:32
*** jonesbr has left #heat21:34
*** jruano has quit IRC21:35
*** jecarey_ has quit IRC21:36
*** rpothier has quit IRC21:38
*** Kennan has joined #heat22:02
*** Kennan2 has quit IRC22:03
*** Raj2 has quit IRC22:05
*** daneyon has joined #heat22:09
*** daneyon_ has quit IRC22:12
*** sparr has quit IRC22:18
*** sparr has joined #heat22:18
*** pm90_ has joined #heat22:18
*** Raj2 has joined #heat22:19
*** pm90_ has quit IRC22:22
*** Raj3 has joined #heat22:22
*** pm90_ has joined #heat22:22
*** Raj3 has quit IRC22:23
*** Raj3 has joined #heat22:23
*** signed8__ has joined #heat22:24
*** Raj2 has quit IRC22:24
*** nastooh has joined #heat22:24
*** signed8b_ has quit IRC22:25
*** signed8bit has quit IRC22:25
nastoohAny ideas as how to index through an object array using get_param?22:25
*** jruano has joined #heat22:27
*** dyasny has quit IRC22:28
asalkeldget_param: [the_resource, the_attr, the_key]22:32
asalkeldnastooh: ^22:32
asalkeld"the_key" can be a dict key  or an index to a list22:33
*** kebray has quit IRC22:33
*** Slower has quit IRC22:34
nastoohFrom a nested Neutron stack am getting an array of IPs: { get_attr: [ip_instance, fixed_ips,0,ip_address] } and would like to access individual IPs, in a nova nested stack.22:34
*** kebray has joined #heat22:35
*** kebray has quit IRC22:36
nastoohMuch more details in https://ask.openstack.org/en/question/69465/heat-get_param-processing-array-of-object/22:36
asalkeldnastooh: i'll have a look in a bit, just making some coffee22:37
asalkeldi'll answer in the ask that you posted22:37
nastoohThanks a lot22:38
*** signed8__ is now known as signed8bit_ZZZzz22:41
*** pm90_ has quit IRC22:46
*** chlong_ has joined #heat22:50
*** chlong_ has quit IRC22:50
*** chlong has quit IRC22:51
*** chlong has joined #heat22:51
asalkeldnastooh: why don't you put the GetIp and the Master in the same resource group?22:51
asalkeldso they get increased/decreased together22:52
asalkeldi see, only get_attr has the "select" functionality, not get_param22:53
*** pm90_ has joined #heat22:54
nastoohasalkeld: I'll be using GetIp to instantiate a different number of slaves later on, so thought to have it separate.22:54
asalkeldnastooh: try using fn::select22:54
zanebasalkeld: get_param does as well, at least in Kilo22:54
*** dims has quit IRC22:54
zaneb& I think Juno22:54
zanebnot sure about earlier22:55
asalkeldhttps://github.com/openstack/heat/blob/master/heat/engine/hot/functions.py#L7422:55
nastoohI am  on Kilo, got to look at select usage22:55
asalkeldhttp://docs.openstack.org/developer/heat/template_guide/functions.html#fn-select22:56
asalkeldnastooh: ^22:56
nastoohasalkeld: thanks22:56
*** jruano has quit IRC22:57
nastoohasalkeld: Does this look OK: port: { "Fn::Select" : [ "indx", { get_param: [private_ips] } ] }?23:04
nastooh...getting "ERROR: Failed to validate: Failed to validate: master_instance: networks Index to "Fn::Select" must be an integer"23:04
asalkeldnastooh: if the get-param returns a list  you need to do {fn::select: [4, ...}23:05
*** daneyon has quit IRC23:05
asalkeldnot sure what "indx" is, but looks like a noraml string23:06
asalkeldbut otherwise looks good23:06
nastoohasalkeld: indx is the instance number passed to the nested stack from parent ResourceGroup, i.e. %index%23:07
asalkeldaa, ok23:07
*** jamielennox is now known as jamielennox|away23:11
*** achanda has joined #heat23:14
*** jaypipes has quit IRC23:18
*** sabeen2 has quit IRC23:19
*** jamielennox|away is now known as jamielennox23:22
*** yuanying has joined #heat23:23
*** achanda has quit IRC23:30
*** tochi has joined #heat23:34
*** pm90_ has quit IRC23:36
*** achanda has joined #heat23:45
stevebakerasalkeld, zaneb: Any chance for some reviews on these old backports? https://review.openstack.org/#/q/status:open+project:openstack/heat+branch:stable/kilo+topic:bug/1455589,n,z23:48
asalkeldok23:48
asalkeldstevebaker: this https://review.openstack.org/#/c/192469/ depends on something outdated23:49
*** achanda has quit IRC23:51
stevebakerasalkeld: ug, I need to untangle that23:53
asalkeldk, let me know when it's ready23:53
*** RichardRaseley has quit IRC23:54
openstackgerritAngus Salkeld proposed openstack/heat: Keep the path when re-registering the template resource  https://review.openstack.org/19858223:54
*** randallburt has quit IRC23:57

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