Friday, 2015-02-20

needscoffeedoesn't need dolphm --- but i don't remember what it's called? developer.rackspace.com ? something like that00:00
randallburtright, I think we offer a dev account for free for openstack folks00:00
needscoffeerandallburt, sortof.00:00
jamielennoxah - wasn't sure of the affiliations00:00
randallburtwell, yeah :)00:00
needscoffeerandallburt, it's very limited (1 tiny instance for free) and for 6months00:00
randallburtoh, double drat00:00
needscoffeei tried it, i cant even run a devstack on it w/o paying $00:00
needscoffeeso i cancelled it00:00
randallburtk, let me ping someone on our end. 1 sec00:01
randallburtcrap, he just logged.00:01
randallburtif you can check on your side during your day, I'll ping on my side in the am during mine00:02
jamielennoxanyway, doesn't matter - i'll set a devstack up internally and see if i can reproduce, is there a guide somewhere for how to set up the v2 auth?00:04
Dragojamielennox: not sure, randallburt, would you know?00:04
jamielennoxasalkeld: is there a guide somewhere for how to use the v2 keystoneclient plugin?00:05
asalkeldnot that i know of00:05
Dragojamielennox: https://github.com/openstack/heat/tree/master/contrib/heat_keystoneclient_v200:05
jamielennoxpreferably with devstack magic00:05
Dragojamielennox: that's just for heat though00:05
randallburtDrago:  not off the top of my head. I think you need to install the plugin per its README and then set the config variable and the appropriate auth urls00:05
asalkeldi use that for standalone mode00:06
jamielennoxasalkeld: the v2 plugin?00:06
asalkeldi think standalone mode uses that00:07
asalkeldkeystone_backend = heat_keystoneclient_v2.client.KeystoneClientV200:07
asalkeldmy heat.conf00:07
Dragoasalkeld: depends on how it's installed. ours is heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV200:10
asalkeldyip00:11
*** ParsectiX has quit IRC00:13
*** ParsectiX has joined #heat00:14
Dragojamielennox: additionally, you may need to set auth_version = v2.0 in your heat.conf00:16
*** EricGonczer_ has joined #heat00:18
*** sdake_ has joined #heat00:18
*** Qiming has joined #heat00:21
*** EricGonc_ has joined #heat00:21
*** sdake__ has joined #heat00:21
Dragojamielennox: best of luck, I'm heading home now. Goodnight (or good day for you)00:22
DragoI'll be setting up a devstack tomorrow as well00:22
*** EricGonczer_ has quit IRC00:25
*** sdake__ has quit IRC00:25
*** sdake_ has quit IRC00:25
*** pm90_ has quit IRC00:27
jamielennoxDrago: good night, i'll message you if i find anything00:28
*** EricGonc_ has quit IRC00:31
*** sarob has quit IRC00:43
*** lpmulligan has joined #heat00:45
*** randallburt has quit IRC00:46
*** david-lyle is now known as david-lyle_afk00:59
*** alex_xu has quit IRC01:06
openstackgerritMiguel Grinberg proposed openstack/heat: Add name and tenant indexes to stack table  https://review.openstack.org/15762501:08
*** alex_xu has joined #heat01:09
openstackgerritMiguel Grinberg proposed openstack/heat: Add name and tenant indexes to stack table  https://review.openstack.org/15762501:14
*** achanda has quit IRC01:16
*** jdob has quit IRC01:19
*** Qiming_ has joined #heat01:20
*** Qiming has quit IRC01:21
*** lpmulligan has quit IRC01:26
asalkeldbbl01:36
*** asalkeld is now known as asalkeld_afk01:36
*** chlong has quit IRC01:40
*** chlong has joined #heat01:41
*** ParsectiX has quit IRC01:44
*** ParsectiX has joined #heat01:45
*** GonZo2K has quit IRC01:45
*** hdd has joined #heat02:03
*** ramishra_ has joined #heat02:03
*** erkules_ has joined #heat02:25
*** ramishra_ has quit IRC02:26
*** erkules has quit IRC02:28
*** ramishra_ has joined #heat02:34
*** alexheneveld has joined #heat02:45
*** ramishra_ has quit IRC02:53
*** lpmulligan has joined #heat02:56
openstackgerritOpenStack Proposal Bot proposed openstack/heat: Updated from global requirements  https://review.openstack.org/15764303:00
*** smc7 has quit IRC03:06
*** asalkeld_afk is now known as asalkeld03:09
*** ramishra_ has joined #heat03:10
*** coolsvap_ is now known as coolsvap03:15
*** sdake_ has joined #heat03:17
*** sdake_ has quit IRC03:22
*** ramishra_ has quit IRC03:25
*** Marga_ has quit IRC03:26
*** dims__ has joined #heat03:29
*** dims__ has quit IRC03:30
*** dims__ has joined #heat03:31
*** dims_ has joined #heat03:32
*** alexheneveld has quit IRC03:34
*** coolsvap is now known as coolsvap_03:34
*** dims__ has quit IRC03:36
*** coolsvap_ is now known as coolsvap03:43
*** dsneddon has quit IRC03:45
*** lpmulligan has quit IRC03:49
openstackgerritSteve Baker proposed openstack/heat-templates: Boot config for installing software-config agent  https://review.openstack.org/11928203:49
asalkeldstevebaker: that's a handy patch ^03:53
stevebakerI'm thinking of using bits of it for software-config functional tests03:54
jamielennoxasalkeld: any standard reason for No module named heat_keystoneclient_v2.client, it's devstack so no venvs or anything and i can import it just fine from python in the same screen session03:55
*** dsneddon has joined #heat03:57
asalkeldjamielennox: have you restarted heat-engine?03:57
jamielennoxi ugh...03:58
jamielennoxwas about to reply of course i have... but i restarted h-api03:58
asalkelddoh ;)03:58
*** lpmulligan has joined #heat04:03
asalkeldhttps://review.openstack.org/#/c/154049/04:10
asalkeldheat mission patch ^04:10
asalkeldneed to do that *finally*04:10
openstackgerritMerged openstack/python-heatclient: Sort event-list by oldest first  https://review.openstack.org/15432804:14
*** ramishra_ has joined #heat04:15
*** Marga_ has joined #heat04:21
*** harlowja is now known as harlowja_away04:28
*** nkhare has joined #heat04:30
*** hdd has quit IRC04:30
*** dsneddon has quit IRC04:32
*** coolsvap is now known as coolsvap_04:41
*** lpmulligan has quit IRC04:43
*** sabeen has quit IRC04:46
*** dims_ has quit IRC04:48
*** coolsvap_ is now known as coolsvap04:48
*** vijayagurug has joined #heat04:51
openstackgerritKanagaraj Manickam proposed openstack/heat: Convergence message bus  https://review.openstack.org/15399904:56
openstackgerritKanagaraj Manickam proposed openstack/heat: Move request_context from engine.service to common.context  https://review.openstack.org/15765704:56
*** vijayagurug has quit IRC04:57
jamielennoxasalkeld: i can't reproduce https://bugs.launchpad.net/heat/+bug/142098705:03
openstackLaunchpad bug 1420987 in heat "Heat not working with keystoneclient_v2" [High,Triaged]05:03
jamielennoxit seems to be doing the right thing for me05:03
jamielennoxuntil i went and killed my environment anyway05:04
*** ramishra_ has quit IRC05:06
*** achanda has joined #heat05:08
*** lpmulligan has joined #heat05:14
*** akuznetsov has joined #heat05:20
asalkeldjamielennox: thanks, can you put your findings in the bug?05:33
*** harlowja_at_home has joined #heat05:39
asalkeldi use that every day (standalone mode)05:40
asalkeldi'd notice05:40
*** cinerama has quit IRC05:42
*** sarob has joined #heat05:43
*** cinerama has joined #heat05:43
*** dims__ has joined #heat05:48
*** akuznetsov has quit IRC05:52
*** akuznetsov has joined #heat05:52
*** kebray has joined #heat05:52
*** dims__ has quit IRC05:53
*** lpmulligan has quit IRC05:54
*** Marga_ has quit IRC05:55
*** harlowja_at_home has quit IRC06:00
*** akuznetsov has quit IRC06:03
jamielennoxasalkeld: no i think they're right :(06:04
jamielennoxit's just not the same issue as Drago was having earlier06:05
asalkeldok, just put what ever info you have in the bug06:05
jamielennoxasalkeld: is there any expectation that people would be putting something in for keystone_backend that is not the default or _v2?06:06
asalkeldjamielennox: i guess you *could*, but realistically no06:06
openstackgerritIshant Tyagi proposed openstack/heat: DB changes for resource locking  https://review.openstack.org/15767206:11
asalkeldooo, more convergence patches :-)06:15
*** ramishra_ has joined #heat06:15
*** ahonda has quit IRC06:16
asalkeldIshant what is your irc nick?06:18
*** alexheneveld has joined #heat06:20
*** kebray has quit IRC06:22
*** ishant has joined #heat06:25
*** hdd has joined #heat06:29
*** ramishra_ has quit IRC06:32
*** achanda has quit IRC06:35
*** akuznetsov has joined #heat06:36
*** achanda has joined #heat06:38
*** ParsectiX has quit IRC06:38
*** ParsectiX has joined #heat06:39
*** ramishra_ has joined #heat06:42
*** ramishra_ has quit IRC06:54
*** ParsectiX has quit IRC07:00
openstackgerritMerged openstack/heat: Add name and tenant indexes to stack table  https://review.openstack.org/15762507:05
*** ramishra_ has joined #heat07:06
*** akuznetsov has quit IRC07:06
*** hdd has quit IRC07:10
*** alexheneveld has quit IRC07:12
*** Tango has quit IRC07:15
*** tspatzier has joined #heat07:17
*** jamielennox is now known as jamielennox|away07:22
*** akuznetsov has joined #heat07:35
skraynevgood morning all07:37
skraynevasalkeld: more changes - faster progress in convergence07:38
*** jprovazn has joined #heat07:48
asalkeldhi skraynev , yeah - nice07:50
* asalkeld heads off to drive around in my new car:-)07:50
*** jtomasek has joined #heat07:51
openstackgerritSergey Kraynev proposed openstack/heat: Translate exception in the right way  https://review.openstack.org/15700307:56
*** prazumovsky has joined #heat07:57
*** ramishra_ has quit IRC07:57
*** ahonda has joined #heat08:08
openstackgerritPeter Razumovsky proposed openstack/heat: Add OS::Mistral::Workflow for Mistral workflows  https://review.openstack.org/14764508:10
*** achanda has quit IRC08:15
openstackgerritIshant Tyagi proposed openstack/heat: DB changes for resource locking  https://review.openstack.org/15767208:16
openstackgerritSergey Kraynev proposed openstack/heat: Add extra columns for resource table  https://review.openstack.org/15669308:16
*** sorantis has joined #heat08:16
openstackgerritMerged openstack/heat-templates: heat-config-notify support deploy_signal_verb  https://review.openstack.org/15680508:18
openstackgerritSergey Kraynev proposed openstack/heat: Add functional test for AWS loadbalancer  https://review.openstack.org/15319208:20
*** vijayagurug has joined #heat08:24
*** ParsectiX has joined #heat08:24
*** ifarkas has joined #heat08:24
*** coolsvap is now known as coolsvap_08:29
*** akuznetsov has quit IRC08:30
*** dsneddon has joined #heat08:32
*** coolsvap_ is now known as coolsvap08:35
*** coolsvap is now known as coolsvap_08:35
*** akuznetsov has joined #heat08:37
*** dims__ has joined #heat08:38
openstackgerritPeter Razumovsky proposed openstack/heat: Add test for db version 052 convergence_flag  https://review.openstack.org/15769508:41
*** dims__ has quit IRC08:43
*** akuznetsov has quit IRC08:46
*** jistr has joined #heat08:46
openstackgerritMerged openstack/heat: Make import of oslo libraries namespaceless  https://review.openstack.org/15698508:53
*** akuznetsov has joined #heat09:01
shardymorning all09:05
*** jcoufal has joined #heat09:07
*** ramishra_ has joined #heat09:08
*** jtomasek has quit IRC09:09
*** akuznetsov has quit IRC09:09
*** jtomasek has joined #heat09:09
*** Marga_ has joined #heat09:09
*** ramishra_ has quit IRC09:12
*** pas-ha has joined #heat09:21
*** derekh has joined #heat09:27
*** Marga_ has quit IRC09:31
*** ramishra_ has joined #heat09:40
openstackgerritKanagaraj Manickam proposed openstack/heat: Convergence message bus  https://review.openstack.org/15399909:49
openstackgerritKanagaraj Manickam proposed openstack/heat: Move request_context from engine.service to common.context  https://review.openstack.org/15765709:49
openstackgerritPavlo Shchelokovskyy proposed openstack/heat: Restart haproxy in AWS LB during boot  https://review.openstack.org/15770209:50
*** ramishra_ has quit IRC09:51
pas-hamorning all09:51
*** GonZo2K has joined #heat09:52
openstackgerritSergey Kraynev proposed openstack/heat: Add extra columns for resource table  https://review.openstack.org/15669309:52
ParsectiXhello. How can I pass the "insecure" at verify_cert when I'm trying to get the heat template from an https ? I'm using the python client09:58
*** GonZo2K has quit IRC09:59
*** GonZo2K has joined #heat10:01
shardyParsectiX: pass the --insecure option :)10:01
shardyheat help | grep insecure10:01
ParsectiXin the heat stack create call ?10:02
shardyParsectiX: Oh, you're using the python-heaclient python API, not the shell?10:03
ParsectiXyes10:03
ParsectiXthe python client10:03
shardyhttps://github.com/openstack/python-heatclient/blob/master/heatclient/shell.py#L45810:04
shardybasically you need to pass verify=False into the keystone session you're using10:04
*** sorantis has quit IRC10:04
*** GonZo2K has quit IRC10:05
shardyParsectiX: if you're using v1.client directly, it looks like you can pass insecure=True:10:06
shardyhttps://github.com/openstack/python-heatclient/blob/master/heatclient/common/http.py#L8510:06
*** tnurlygayanov has quit IRC10:06
shardy(the kwargs you pass to v1.client.Client get passed into there10:06
*** GonZo2K has joined #heat10:07
openstackgerritPeter Razumovsky proposed openstack/heat: Add resource_definitions check to Stack.validate  https://review.openstack.org/14097610:07
*** GonZo2K has quit IRC10:08
ParsectiXshardy: Let me try this. I have tried to pass it when I init the client and again when I'm calling the heat.stacks.create but again I'm getting the SSL_CERT_ERROR10:09
*** sorantis has joined #heat10:10
therveshardy, It's for the template, not talking to keystone10:11
therveParsectiX, Can you paste the command line you run?10:12
ParsectiXheat_endpoint = keystone.service_catalog.url_for(service_type='orchestration')10:14
ParsectiXheat = htclient.Client(heat_endpoint, token=keystone.auth_token)10:14
ParsectiXheat.stacks.create(stack_name="test",10:14
ParsectiX   template_url="https://xyzdomain.com/test.yaml")10:14
ParsectiXThis is the part of the script where I interact with the heat api10:15
shardyso I'm saying you have to pass insecure=True to htclient.Client, ref http.py#L85 above10:15
shardytherve is right, the other line I referenced is to connect insecurely to keystone, but I assumed you also needed to get a token10:15
ParsectiXI have tried that and I'm getting again "certificate verify failed"10:16
therveIsn't the template retrieved on the server side?10:18
ParsectiXyes10:19
ParsectiXHere is the error "heatclient.exc.HTTPBadRequest: ERROR: Could not retrieve template: Failed to retrieve template: [Errno 1] _ssl.c:504: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed"10:19
shardytherve: aha, you're right, -ENOCOFFEE10:20
shardyParsectiX: you need to retrieve the template on the client side, and not use template_url10:20
shardyinstead pass the template body10:20
therveYeah there is no way to bypass ssl on the server side currently.10:21
ParsectiXhmm. okay10:21
ParsectiXthanks for the help10:21
*** GonZo2K has joined #heat10:21
*** GonZo2K has quit IRC10:22
therveIf you use the shell client it actually does that for you10:23
shardyhttps://github.com/openstack/python-heatclient/blob/master/heatclient/v1/shell.py#L10810:24
shardyget_template_contents will read the file from either a local file, a URL, or swift10:24
shardyParsectiX: ^^10:25
ParsectiXLet me check it guys and I will reply back10:27
*** MasterPiece has joined #heat10:30
openstackgerritMerged openstack/heat: Updated from global requirements  https://review.openstack.org/15764310:35
*** nkhare has quit IRC10:37
*** _shaps_ has joined #heat10:38
*** ishant has quit IRC10:41
*** tochi has quit IRC10:41
*** cinerama has quit IRC10:43
*** cinerama has joined #heat10:43
ParsectiXI have another silly question. When I'm giving the template argument where it tries to get the yaml from client side or server side ?11:08
shardyParsectiX: the template argument expects the body to be retrieved client side, e.g via get_template_contents11:09
shardytemplate_url retrieves it server-side, but tbh I'd suggest not using that, as it's an interface we'd like to deprecate and remove in a v2 API11:10
*** sorantis has quit IRC11:19
ParsectiXshardy: What are you suggesting to do? copy the yaml at server side ?11:23
shardyParsectiX: I'm saying you should download the template in your code client-side, and pass the body via "template"11:26
shardythat's the way all the heatclient shell interfaces now work11:27
ParsectiXwhat you mean with "the body"? I'm trying for a while now to pass the yaml but I'm getting "heatclient.exc.HTTPBadRequest: ERROR: Template not in valid format: The template is not a JSON object or YAML mapping."11:30
ParsectiXI have checked my yaml and it in correct format from the CLI I can create stack with the same yaml11:30
ParsectiXthat's why I'm asking11:30
shardyParsectiX: are you using template_utils.get_template_contents?11:32
ParsectiXohhh11:32
ParsectiXno directly passing my yaml11:32
ParsectiXokay thanks11:32
ParsectiXlet me try that11:32
shardyJust copying exactly what's in do_stack_create, referenced above (shell.py#L108) should work fine11:32
*** openstack has joined #heat20:23

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