Monday, 2013-12-30

*** gokrokve has joined #heat00:08
*** gokrokve has quit IRC00:13
*** harlowja_away is now known as harlowja00:31
*** harlowja is now known as harlowja_away00:32
*** dims has quit IRC01:02
*** dims has joined #heat01:03
*** yogeshmehra has quit IRC01:06
*** gokrokve has joined #heat01:06
*** gokrokve has quit IRC01:11
*** gokrokve has joined #heat01:40
*** nati_ueno has joined #heat01:55
*** Alienyyg has joined #heat02:10
Alienyygmorning02:10
AlienyygI am wondering if  someone has the same time zone with me02:11
*** Alienyyg has quit IRC02:19
*** Alienyyg has joined #heat02:26
*** erkules_ has joined #heat02:27
*** erkules has quit IRC02:30
*** rongze has joined #heat02:43
*** nati_ueno has quit IRC03:07
*** nati_ueno has joined #heat03:09
*** alexheneveld has quit IRC03:20
*** nkhare has joined #heat04:17
*** harlowja_away has quit IRC04:27
*** gokrokve has quit IRC04:32
*** kfox1111 has quit IRC04:46
*** rongze has quit IRC04:47
*** radix_ has quit IRC04:49
*** sergmelikyan_ has quit IRC04:54
*** sergmelikyan has joined #heat04:58
*** chandankumar has joined #heat05:03
*** kfox1111 has joined #heat05:04
*** rongze has joined #heat05:18
*** rongze has quit IRC05:19
*** rongze has joined #heat05:20
*** rongze has quit IRC05:24
*** chandankumar has quit IRC05:25
*** kfox1111 has quit IRC05:52
*** kfox1111 has joined #heat05:54
openstackgerritJenkins proposed a change to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/6399406:05
*** rongze_ has joined #heat06:19
AlienyygHi anyone there ?06:25
AlienyygI meet the same bug discribled in  https://bugs.launchpad.net/heat/+bug/108874606:26
uvirtbotLaunchpad bug 1088746 in heat/grizzly "cfn-signal waitcondition fails due to URL quoting" [Undecided,Fix released]06:26
Alienyygbut I am using havana06:27
*** yogeshmehra has joined #heat06:37
*** yogeshmehra has quit IRC06:38
*** yogeshmehra has joined #heat06:52
openstackgerrithuangtianhua proposed a change to openstack/heat: Fix inconsistent result on identify_stack()  https://review.openstack.org/6439707:12
*** nkhare has quit IRC07:13
*** sergmelikyan has quit IRC07:14
*** sergmelikyan has joined #heat07:14
*** nkhare has joined #heat07:15
*** yogeshmehra has quit IRC07:23
*** shivam_ has joined #heat07:28
*** SushilKM has joined #heat07:28
SushilKMhaving problems while sending request due to nova rate limit07:29
SushilKMany suggestions about how can i overcome that without making any changes on nova07:29
SushilKMsome kind of sleep mechanism, coult it be introduced in heat template07:30
*** yogeshmehra has joined #heat07:37
*** nati_ueno has quit IRC07:39
*** nati_ueno has joined #heat07:40
*** nati_ueno has quit IRC07:44
*** skraynev has quit IRC07:49
*** skraynev has joined #heat07:54
*** chandankumar has joined #heat07:57
*** chandankumar has quit IRC08:02
Alienyyghi, anyone know how to deal with " The request signature does not conform to AWS standards" when trying to use waitcondition? It seems a fixed bug for girzzly,but I am using havana08:07
shardyAlienyyg: What image are you using, what version of heat-cfntools?08:10
*** rongze has joined #heat08:10
shardythat issue, IIRC, was fixed in heat-cfntools, so it's not specific to grizzly or havana08:10
shardyAlienyyg: the bug you linked was fixed, a long time ago, by this commit:08:12
shardyhttps://github.com/openstack/heat-cfntools/commit/305f6753abdc9459305cc9c8d21cc17d2d39778b08:12
*** rongze_ has quit IRC08:13
shardyIt could be that you have some different problem though08:13
Alienyygshardy: I am using f17-cfn-tools08:13
shardyAlienyyg: What version does rpm -q heat-cfntools give you?08:14
Alienyygshardy : penstack-heat-api-cfn-2013.2.1-1.0.el6.noarch08:14
shardyAlienyyg: Also not F17, and F18 are EOL now, you should be using F19 pr F2008:14
shardyAlienyyg: Not openstack-heat-api on the host, heat-cfntools inside the VM heat launched08:15
shardys/not/note08:15
Alienyygshardy: strange , not installed in the f1708:15
shardyAlienyyg: Maybe you have an image where it was installed via pip08:16
shardytry pip-python freeze | grep heat08:16
Alienyygshardy:heat-cfntools==1.2.308:17
shardyAlienyyg: So it's not the same issue, although your version is fairly old08:18
Alienyygshardy: can you take a look at this bug :https://bugzilla.redhat.com/show_bug.cgi?id=104725608:20
uvirtbotAlienyyg: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found08:20
shardyAlienyyg: curl hostip:8000/v1/waitcondition is not a valid way to call the pre-signed URL08:22
Alienyygshardy: what is the correct way ?08:24
shardyhttps://github.com/openstack/heat-templates/blob/master/cfn/F17/WordPress_Single_Instance_With_IHA.template#L23908:25
shardyThat is one example, there are others in heat-templates08:25
openstackgerrithuangtianhua proposed a change to openstack/python-heatclient: Fix inappropriate error message on event-list  https://review.openstack.org/6440608:25
shardyYou need to use cfn-signal, or a curl call which includes the full signed URL (which is what cfn-signal does)08:26
Alienyygshardy: OK thanks :)08:29
*** bgorski has joined #heat08:37
*** chandankumar has joined #heat08:41
*** pshchelo has joined #heat09:02
Alienyyghi , I have one more question: I deploy openstack havana (with neutron gre) via RDO,and when the scaleup policy triggered  in autoscaling, error was foud in heat-engine.log some rpc errors ,can anyone help me with this ?09:02
Alienyygthe log of heat-engine : http://paste.openstack.org/show/58469/09:02
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Fix order of arguments in assertEqual (patch 2/2)  https://review.openstack.org/6441509:18
*** alexheneveld has joined #heat09:21
*** alexheneveld has quit IRC09:24
Alienyyganyone there?09:28
*** SushilKM has left #heat09:30
shardyAlienyyg: That probably is a bug - the nova connection to retrieve the availability zones should probably be optional for scaling notifications from pre-signed URLs09:30
*** kfox1111 has quit IRC09:32
shardyAlienyyg: Can you please raise a bug (either in launchpad against heat or bugzilla against RDO) with as much detail as possibe about how to reproduce, then I'll take a look into how we fix it09:33
Alienyygshardy: OK ,I will do it on bugzilla09:34
*** Linz has quit IRC09:34
*** Linz has joined #heat09:36
*** liang has joined #heat09:50
*** alexheneveld has joined #heat09:51
*** alexheneveld has quit IRC09:52
*** dims has quit IRC10:06
*** yogeshmehra has quit IRC10:06
*** yogesh has joined #heat10:07
*** yogesh has quit IRC10:08
*** yogesh has joined #heat10:08
*** dims has joined #heat10:09
*** yogesh has quit IRC10:13
*** rongze has quit IRC10:28
*** rongze has joined #heat10:29
*** rongze has quit IRC10:33
*** dmakogon_ is now known as denis_makogon10:51
*** alexheneveld has joined #heat10:57
Alienyygshardy: here is the bug  https://bugzilla.redhat.com/show_bug.cgi?id=104731611:12
uvirtbotAlienyyg: Error: Could not parse XML returned by bugzilla.redhat.com: HTTP Error 404: Not Found11:12
shardyAlienyyg: thanks11:13
*** dims has quit IRC11:20
*** dims has joined #heat11:24
*** nkhare has quit IRC11:31
pshchelocan somebody advise me on how to quickly restart all heat services on a DevStack without going through Screen windows? it seems that they are not being run as `services`..11:40
*** dims has quit IRC11:47
*** dims has joined #heat11:51
bgorskipshchelo,  You can kill screen process (it will kill also all devstack services) and then use rejoin_stack.sh script from devstack directory to create new screen process and start all services again11:57
Alienyygshardy: In the file: https://github.com/openstack/heat/blob/master/heat/engine/resources/loadbalancer.py ,           comand from line 148 to 166 are executed after the instance is launched, so we give the stack  10 min to wait for the cfn-init(include the package and configuration),  if the cfn-init could not finishe in 10 min, the stack will fail,right??11:57
shardyAlienyyg: Yes11:59
shardyAlienyyg: If you're using Neutron, I'd suggest you use the S::Neutron::LoadBalancer resource instead12:00
shardyhttp://docs.openstack.org/developer/heat/template_guide/openstack.html#OS::Neutron::LoadBalancer12:00
Alienyygshardy: I have two openstack, one  nova network and one neturon :)12:01
*** alexheneveld has quit IRC12:01
Alienyygshardy: in my nova network openstack, the autoscaling  stack  failed just because the instance just keeping install makecache even after half an hour................12:05
*** dims has quit IRC12:05
*** leseb_ has joined #heat12:05
*** SaD has joined #heat12:05
Alienyygthis is terrible12:05
*** leseb has quit IRC12:06
*** uvirtbot has quit IRC12:06
*** grncdr has quit IRC12:06
*** larsks has quit IRC12:07
*** uvirtbot has joined #heat12:07
*** grncdr has joined #heat12:07
*** dims has joined #heat12:07
*** larsks has joined #heat12:11
*** SaD has quit IRC12:16
shardyAlienyyg: That means your network configuration is broken, and the instances cannot access the internet12:17
Alienyygshardy: I can ping the outer world(such as google ), I kill the process initial by cfn and install package maunally ,found no respose work :(12:19
shardyAlienyyg: So e.g "yum install wordpress" works manually?12:20
Alienyygshardy : yes.12:21
Alienyygall I get is fedora/19/x86_64/primary_db    FAILED , I need to find some usable respose12:22
shardySo at the time cfn-init tries to install the network connection is broken12:22
shardyAlienyyg: Are you using elastic IP's?12:23
*** sergmelikyan has quit IRC12:24
Alienyygshardy: you mean dhcp??12:24
shardyAlienyyg: No, I mean are you attaching static IPs to the instance, either via OS::Neutron::FloatingIP or AWS::EC2::EIP12:25
Alienyygshardy: No, I didn't do that the instance got its ip via dhcp form the private network ,I think the network is OK .because I can ping google at the same time12:26
Alienyygshardy: curl also work12:26
shardyAlienyyg: So you can curl the URL in /etc/yum.repos.d/fedora.repo ?12:27
shardyIf so then I'm confused, because the symptoms you describe are nearly always network related12:28
Alienyygshary: http://paste.openstack.org/show/58531/12:29
Alienyygseems I can't12:29
shardyWell you're getting a redirect back from the site, so that looks OK12:31
*** dims has quit IRC12:32
*** dims has joined #heat12:37
Alienyygshardy: this one fit me  http://paste.fedoraproject.org/62830/12:44
*** sergmelikyan has joined #heat12:46
*** rongze has joined #heat12:47
openstackgerritA change was merged to openstack/heat: Do not use python built-ins as variable names  https://review.openstack.org/6281412:53
*** prathamesh334 has joined #heat13:18
prathamesh334hi13:18
prathamesh334in yaml template13:18
prathamesh334user_data13:19
prathamesh334i want to specify13:19
prathamesh334a file13:19
prathamesh334bsaically call a bash script13:19
prathamesh334is it possible13:19
shardyprathamesh334: Yes13:20
shardysee https://github.com/openstack/heat-templates for examples13:20
prathamesh334http://paste.openstack.org/show/58540/13:20
shardyprathamesh334: This is a very simple example, which does not require heat-cfntools:13:21
shardyhttps://github.com/openstack/heat-templates/blob/master/hot/F18/WordPress_Native.yaml13:21
*** agileclipse has joined #heat13:23
prathamesh334i have a local script13:28
prathamesh334which i intend to provide as user data to yaml template13:28
prathamesh334is it possible13:29
prathamesh334./configure-storage-node.sh is on my local machine13:29
prathamesh334i wnat to inform heat to pick up this file13:29
prathamesh334when it provisions the stack13:29
prathamesh334and runs the user data13:30
shardyprathamesh334: We don't support including other files like that, you have to do one of:13:30
shardy- Put the file in your base image before you upload to glance13:30
shardy- wget the file inside the instance (put it on a webserver)13:30
shardy- put the contents of the file inside the template13:30
prathamesh334cant the template know that there is a file in another directory13:31
shardyprathamesh334: no13:31
prathamesh334when heat stack-create is fired13:31
prathamesh334ok13:31
prathamesh334problem is the template line limit is 283 lines13:31
prathamesh334if the no of lines goes more than this13:31
prathamesh334heat stack-create fails13:32
prathamesh334and it says file limit exceeded13:32
shardyprathamesh334: That is configurable in heat.conf13:32
shardyprathamesh334: Passing large files in userdata is not a good idea, you're probably better off either packaging it, so it can be installed, retrieving it directly from a webserver, or copying it into the base image13:33
skraynevshardy: hi. I agree that https://review.openstack.org/#/c/63932/1 changes all existing template. Do you think, that make some workaround for backward compatibility is needed or will be enough update heat-templates?13:54
shardyskraynev: I'm not sure - my initial reaction is lets just not change it13:54
openstackgerritPavlo Shchelokovskyy proposed a change to openstack/heat: Fix order of arguments in assertEqual (patch 2/2)  https://review.openstack.org/6441513:56
shardyskraynev: I think interface stability for users is important, and we need a good justification (and a clear plan for communicating it) if we're going to break users at the resource schema level13:56
openstackgerritAlexander Chudnovets proposed a change to openstack/heat: Add test for AutoScalingGroup resize and metadata  https://review.openstack.org/6406013:58
therveshardy, about VerifyAll, good catch... That's one of the benefit of MoxTestBase14:02
therveshardy, Should we just add it in the Heat base test class too?14:02
shardytherve: I don't think we can, because not every test mocks stuff, and we have a mixture of mox mocking and mock.patch14:03
shardytherve: probably best to just put an addCleanup into the setup function for the test I guess14:03
therveshardy, Do you think it's a problem?14:03
shardytherve: which part ;)14:04
therveshardy, That not every test mocks stuff14:04
thervePresumably VerifyAll shouldn't do anything in that case14:04
shardytherve: Hmm, I thought VerifyAll failed if you weren't in replay mode, but maybe I'm mistaken14:04
therveAh, interesting, let me try14:05
skraynevshardy: Hm. It make sense. Otherwise relationship will be not enough clear  between ceilometer-client  and heat templates. So, let's wait other opinion about this ;)14:05
*** rongze has quit IRC14:06
therveskraynev, shardy: We can at least remove the required. For the numbers... It's a bit tougher, but strings are annoying14:06
shardyskraynev: Yeah, I'm just not sure if slightly better consistency with the underlying client is enough justification for breaking existing users14:07
shardytherve: I do agree, it's just unfortunate we didn't catch it before we shipped Havana14:07
therveYeah14:07
therveIt's more than just consistency, fwiw. The main problem I had is that you need to quote numbers in yaml, which feels weird14:08
therveIdeally we would support both14:09
skraynevtherve: So, will it be like workaround, that support both?14:09
shardyWe do need a versioning and deprecation strategy, but I'm wondering if it makes more sense to make the properties conversion a bit more lenient, so e.g "2" is automatically casted to 2 and vice-versa14:09
shardyMaybe make it a soft failure which creates warning events or something14:10
shardyor return validation warnings instead of failure14:10
therveThe main problem is communicating that to the user14:10
therveBut even if we don't that's a win I think14:10
therveLike documentation can say "Integer, with backward compat for strings" or something14:11
shardyWell it gets communicated via the warnings - we change something e.g from String to Integer, and they start getting warnings14:11
shardybut their templates don't just break between Heat versions14:11
therveshardy, How do they get warnings though?14:12
*** chandankumar has quit IRC14:12
openstackgerritA change was merged to openstack/heat: Imported Translations from Transifex  https://review.openstack.org/6399414:12
*** rpothier_ has joined #heat14:13
shardytherve: we validate the template before starting the create thread, so it could be returned via a modified version of the create stack call in the v2 API14:13
shardye.g return a dict containing the stack identifier and a list of warnings14:13
therveRight you meant theoritically :)14:13
shardyYeah, I'm just trying to think of a fairly simple way to allow us to minimise user impact on breaking changes14:14
shardyRight now, we could create events with warnings, but I'm not sure that's really user-visible enough14:14
therveIndeed14:15
skraynevshardy, therve: How About stay this changes now without merging, and discuss it on meeting in January?14:16
*** rpothier has quit IRC14:16
shardyskraynev: sure, mark the change work in progress please, so it's clear we don't intend to merge it yet14:16
therveskraynev, For that particular patch, I think you should try to support both14:16
therveWarnings are a bonus14:17
skraynevshardy: Ok, I will do it immediately.14:17
*** jcru has joined #heat14:17
skraynevtherve: I think, that new variant I upload after holidays;) (with warnings and supporting both variants)14:18
skraynevAnyway, thanks guys)14:18
skraynevGood Holidays and Happy New Year)))14:18
*** Linz has quit IRC14:19
*** Linz has joined #heat14:21
*** rongze has joined #heat14:34
*** jasond` has quit IRC14:47
*** jasond` has joined #heat14:48
*** agileclipse has quit IRC14:51
*** rpothier_ is now known as rpothier14:55
*** dims has quit IRC14:56
*** dims has joined #heat14:57
*** Linz has quit IRC15:15
*** blamar has joined #heat15:15
*** Linz has joined #heat15:16
*** blamar has quit IRC15:17
*** blamar has joined #heat15:17
*** pshchelo has quit IRC16:01
openstackgerritJason Dunsmore proposed a change to openstack/heat: Document Heat terms in glossary.rst  https://review.openstack.org/6431416:09
*** agileclipse has joined #heat16:10
*** kfox1111 has joined #heat16:15
*** kfox1111 has quit IRC16:21
*** sabeen has joined #heat16:41
*** agileclipse has quit IRC16:55
*** jhurlbert has joined #heat17:01
*** gokrokve has joined #heat17:02
*** jasond` has quit IRC17:09
*** jasond` has joined #heat17:09
*** rongze has quit IRC17:14
*** rongze has joined #heat17:14
*** rongze has quit IRC17:18
*** rongze has joined #heat17:19
*** rongze has quit IRC17:23
openstackgerritJason Dunsmore proposed a change to openstack/heat: Fix regression in Rackspace Cloud Servers tests  https://review.openstack.org/6445117:24
*** nati_ueno has joined #heat17:29
*** kfox1111 has joined #heat17:39
*** Linz has quit IRC17:40
*** Linz has joined #heat17:40
*** nati_ueno has quit IRC17:47
*** nati_uen_ has joined #heat17:47
*** gokrokve has quit IRC17:48
*** gokrokve has joined #heat17:48
*** yogeshmehra has joined #heat17:50
*** gokrokve_ has joined #heat17:52
*** gokrokve has quit IRC17:53
*** rongze has joined #heat17:59
*** dmueller has joined #heat18:03
*** rongze has quit IRC18:04
*** rongze_ has joined #heat18:04
*** rongze_ has quit IRC18:09
*** yogeshmehra has quit IRC18:11
*** harlowja has joined #heat18:14
*** kazakmaxi has joined #heat18:15
*** pafuent has joined #heat18:17
*** kazakmaxi has quit IRC18:19
*** yogesh has joined #heat18:23
*** dmueller has quit IRC18:23
*** deustrash has joined #heat18:26
*** Michalik has joined #heat18:26
*** deustrash has quit IRC18:27
*** Michalik has quit IRC18:28
*** Michalik has joined #heat18:29
*** nati_ueno has joined #heat18:40
*** nati_uen_ has quit IRC18:42
*** Michalik has quit IRC18:59
*** rongze has joined #heat19:05
*** rongze has quit IRC19:10
*** nati_ueno has quit IRC19:12
*** nati_ueno has joined #heat19:13
*** nati_ueno has quit IRC19:18
*** tomek_adamczewsk has joined #heat19:20
*** Michalik has joined #heat19:27
*** gokrokve_ has quit IRC19:45
*** gokrokve has joined #heat19:45
*** gokrokve has quit IRC19:50
*** kfox1111 has quit IRC19:54
*** Michalik has quit IRC19:58
*** tomek_adamczewsk has quit IRC20:02
*** rongze has joined #heat20:04
*** tomek_adamczewsk has joined #heat20:04
*** nati_ueno has joined #heat20:09
*** rongze has quit IRC20:09
*** nati_ueno has quit IRC20:29
*** nati_ueno has joined #heat20:30
*** nati_ueno has quit IRC20:34
*** Michalik has joined #heat20:38
*** mtaylor is now known as mordred20:44
*** gokrokve has joined #heat20:53
*** pafuent has left #heat20:55
*** tomek_adamczewsk has quit IRC20:55
*** nati_ueno has joined #heat21:02
*** rongze has joined #heat21:05
*** Michalik has quit IRC21:08
*** rongze has quit IRC21:09
*** bgorski has quit IRC21:10
*** Linz has quit IRC21:54
*** Linz has joined #heat21:54
*** alexheneveld has joined #heat22:00
*** rongze has joined #heat22:06
*** rongze has quit IRC22:10
*** yogeshmehra has joined #heat22:26
*** jasond` has quit IRC22:32
*** yogeshmehra has quit IRC22:35
*** Linz has quit IRC22:36
*** Linz has joined #heat22:42
*** jasond` has joined #heat22:49
*** sileht has quit IRC22:53
*** rongze has joined #heat23:06
*** Michalik has joined #heat23:07
*** gokrokve has quit IRC23:10
*** rongze has quit IRC23:11
*** erkules_ is now known as erkules23:16
*** yogesh has quit IRC23:17
*** jcru has quit IRC23:26
*** alexheneveld has quit IRC23:28
*** yogeshmehra has joined #heat23:37
*** alexheneveld has joined #heat23:42
*** yogesh has joined #heat23:47
*** alexheneveld has quit IRC23:50
*** gokrokve has joined #heat23:52
*** sileht has joined #heat23:54
*** sabeen has quit IRC23:58
*** yogesh has quit IRC23:58

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