needscoffee | doesn't need dolphm --- but i don't remember what it's called? developer.rackspace.com ? something like that | 00:00 |
---|---|---|
randallburt | right, I think we offer a dev account for free for openstack folks | 00:00 |
needscoffee | randallburt, sortof. | 00:00 |
jamielennox | ah - wasn't sure of the affiliations | 00:00 |
randallburt | well, yeah :) | 00:00 |
needscoffee | randallburt, it's very limited (1 tiny instance for free) and for 6months | 00:00 |
randallburt | oh, double drat | 00:00 |
needscoffee | i tried it, i cant even run a devstack on it w/o paying $ | 00:00 |
needscoffee | so i cancelled it | 00:00 |
randallburt | k, let me ping someone on our end. 1 sec | 00:01 |
randallburt | crap, he just logged. | 00:01 |
randallburt | if you can check on your side during your day, I'll ping on my side in the am during mine | 00:02 |
jamielennox | anyway, 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 |
Drago | jamielennox: not sure, randallburt, would you know? | 00:04 |
jamielennox | asalkeld: is there a guide somewhere for how to use the v2 keystoneclient plugin? | 00:05 |
asalkeld | not that i know of | 00:05 |
Drago | jamielennox: https://github.com/openstack/heat/tree/master/contrib/heat_keystoneclient_v2 | 00:05 |
jamielennox | preferably with devstack magic | 00:05 |
Drago | jamielennox: that's just for heat though | 00:05 |
randallburt | Drago: 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 urls | 00:05 |
asalkeld | i use that for standalone mode | 00:06 |
jamielennox | asalkeld: the v2 plugin? | 00:06 |
asalkeld | i think standalone mode uses that | 00:07 |
asalkeld | keystone_backend = heat_keystoneclient_v2.client.KeystoneClientV2 | 00:07 |
asalkeld | my heat.conf | 00:07 |
Drago | asalkeld: depends on how it's installed. ours is heat.engine.plugins.heat_keystoneclient_v2.client.KeystoneClientV2 | 00:10 |
asalkeld | yip | 00:11 |
*** ParsectiX has quit IRC | 00:13 | |
*** ParsectiX has joined #heat | 00:14 | |
Drago | jamielennox: additionally, you may need to set auth_version = v2.0 in your heat.conf | 00:16 |
*** EricGonczer_ has joined #heat | 00:18 | |
*** sdake_ has joined #heat | 00:18 | |
*** Qiming has joined #heat | 00:21 | |
*** EricGonc_ has joined #heat | 00:21 | |
*** sdake__ has joined #heat | 00:21 | |
Drago | jamielennox: best of luck, I'm heading home now. Goodnight (or good day for you) | 00:22 |
Drago | I'll be setting up a devstack tomorrow as well | 00:22 |
*** EricGonczer_ has quit IRC | 00:25 | |
*** sdake__ has quit IRC | 00:25 | |
*** sdake_ has quit IRC | 00:25 | |
*** pm90_ has quit IRC | 00:27 | |
jamielennox | Drago: good night, i'll message you if i find anything | 00:28 |
*** EricGonc_ has quit IRC | 00:31 | |
*** sarob has quit IRC | 00:43 | |
*** lpmulligan has joined #heat | 00:45 | |
*** randallburt has quit IRC | 00:46 | |
*** david-lyle is now known as david-lyle_afk | 00:59 | |
*** alex_xu has quit IRC | 01:06 | |
openstackgerrit | Miguel Grinberg proposed openstack/heat: Add name and tenant indexes to stack table https://review.openstack.org/157625 | 01:08 |
*** alex_xu has joined #heat | 01:09 | |
openstackgerrit | Miguel Grinberg proposed openstack/heat: Add name and tenant indexes to stack table https://review.openstack.org/157625 | 01:14 |
*** achanda has quit IRC | 01:16 | |
*** jdob has quit IRC | 01:19 | |
*** Qiming_ has joined #heat | 01:20 | |
*** Qiming has quit IRC | 01:21 | |
*** lpmulligan has quit IRC | 01:26 | |
asalkeld | bbl | 01:36 |
*** asalkeld is now known as asalkeld_afk | 01:36 | |
*** chlong has quit IRC | 01:40 | |
*** chlong has joined #heat | 01:41 | |
*** ParsectiX has quit IRC | 01:44 | |
*** ParsectiX has joined #heat | 01:45 | |
*** GonZo2K has quit IRC | 01:45 | |
*** hdd has joined #heat | 02:03 | |
*** ramishra_ has joined #heat | 02:03 | |
*** erkules_ has joined #heat | 02:25 | |
*** ramishra_ has quit IRC | 02:26 | |
*** erkules has quit IRC | 02:28 | |
*** ramishra_ has joined #heat | 02:34 | |
*** alexheneveld has joined #heat | 02:45 | |
*** ramishra_ has quit IRC | 02:53 | |
*** lpmulligan has joined #heat | 02:56 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/heat: Updated from global requirements https://review.openstack.org/157643 | 03:00 |
*** smc7 has quit IRC | 03:06 | |
*** asalkeld_afk is now known as asalkeld | 03:09 | |
*** ramishra_ has joined #heat | 03:10 | |
*** coolsvap_ is now known as coolsvap | 03:15 | |
*** sdake_ has joined #heat | 03:17 | |
*** sdake_ has quit IRC | 03:22 | |
*** ramishra_ has quit IRC | 03:25 | |
*** Marga_ has quit IRC | 03:26 | |
*** dims__ has joined #heat | 03:29 | |
*** dims__ has quit IRC | 03:30 | |
*** dims__ has joined #heat | 03:31 | |
*** dims_ has joined #heat | 03:32 | |
*** alexheneveld has quit IRC | 03:34 | |
*** coolsvap is now known as coolsvap_ | 03:34 | |
*** dims__ has quit IRC | 03:36 | |
*** coolsvap_ is now known as coolsvap | 03:43 | |
*** dsneddon has quit IRC | 03:45 | |
*** lpmulligan has quit IRC | 03:49 | |
openstackgerrit | Steve Baker proposed openstack/heat-templates: Boot config for installing software-config agent https://review.openstack.org/119282 | 03:49 |
asalkeld | stevebaker: that's a handy patch ^ | 03:53 |
stevebaker | I'm thinking of using bits of it for software-config functional tests | 03:54 |
jamielennox | asalkeld: 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 session | 03:55 |
*** dsneddon has joined #heat | 03:57 | |
asalkeld | jamielennox: have you restarted heat-engine? | 03:57 |
jamielennox | i ugh... | 03:58 |
jamielennox | was about to reply of course i have... but i restarted h-api | 03:58 |
asalkeld | doh ;) | 03:58 |
*** lpmulligan has joined #heat | 04:03 | |
asalkeld | https://review.openstack.org/#/c/154049/ | 04:10 |
asalkeld | heat mission patch ^ | 04:10 |
asalkeld | need to do that *finally* | 04:10 |
openstackgerrit | Merged openstack/python-heatclient: Sort event-list by oldest first https://review.openstack.org/154328 | 04:14 |
*** ramishra_ has joined #heat | 04:15 | |
*** Marga_ has joined #heat | 04:21 | |
*** harlowja is now known as harlowja_away | 04:28 | |
*** nkhare has joined #heat | 04:30 | |
*** hdd has quit IRC | 04:30 | |
*** dsneddon has quit IRC | 04:32 | |
*** coolsvap is now known as coolsvap_ | 04:41 | |
*** lpmulligan has quit IRC | 04:43 | |
*** sabeen has quit IRC | 04:46 | |
*** dims_ has quit IRC | 04:48 | |
*** coolsvap_ is now known as coolsvap | 04:48 | |
*** vijayagurug has joined #heat | 04:51 | |
openstackgerrit | Kanagaraj Manickam proposed openstack/heat: Convergence message bus https://review.openstack.org/153999 | 04:56 |
openstackgerrit | Kanagaraj Manickam proposed openstack/heat: Move request_context from engine.service to common.context https://review.openstack.org/157657 | 04:56 |
*** vijayagurug has quit IRC | 04:57 | |
jamielennox | asalkeld: i can't reproduce https://bugs.launchpad.net/heat/+bug/1420987 | 05:03 |
openstack | Launchpad bug 1420987 in heat "Heat not working with keystoneclient_v2" [High,Triaged] | 05:03 |
jamielennox | it seems to be doing the right thing for me | 05:03 |
jamielennox | until i went and killed my environment anyway | 05:04 |
*** ramishra_ has quit IRC | 05:06 | |
*** achanda has joined #heat | 05:08 | |
*** lpmulligan has joined #heat | 05:14 | |
*** akuznetsov has joined #heat | 05:20 | |
asalkeld | jamielennox: thanks, can you put your findings in the bug? | 05:33 |
*** harlowja_at_home has joined #heat | 05:39 | |
asalkeld | i use that every day (standalone mode) | 05:40 |
asalkeld | i'd notice | 05:40 |
*** cinerama has quit IRC | 05:42 | |
*** sarob has joined #heat | 05:43 | |
*** cinerama has joined #heat | 05:43 | |
*** dims__ has joined #heat | 05:48 | |
*** akuznetsov has quit IRC | 05:52 | |
*** akuznetsov has joined #heat | 05:52 | |
*** kebray has joined #heat | 05:52 | |
*** dims__ has quit IRC | 05:53 | |
*** lpmulligan has quit IRC | 05:54 | |
*** Marga_ has quit IRC | 05:55 | |
*** harlowja_at_home has quit IRC | 06:00 | |
*** akuznetsov has quit IRC | 06:03 | |
jamielennox | asalkeld: no i think they're right :( | 06:04 |
jamielennox | it's just not the same issue as Drago was having earlier | 06:05 |
asalkeld | ok, just put what ever info you have in the bug | 06:05 |
jamielennox | asalkeld: is there any expectation that people would be putting something in for keystone_backend that is not the default or _v2? | 06:06 |
asalkeld | jamielennox: i guess you *could*, but realistically no | 06:06 |
openstackgerrit | Ishant Tyagi proposed openstack/heat: DB changes for resource locking https://review.openstack.org/157672 | 06:11 |
asalkeld | ooo, more convergence patches :-) | 06:15 |
*** ramishra_ has joined #heat | 06:15 | |
*** ahonda has quit IRC | 06:16 | |
asalkeld | Ishant what is your irc nick? | 06:18 |
*** alexheneveld has joined #heat | 06:20 | |
*** kebray has quit IRC | 06:22 | |
*** ishant has joined #heat | 06:25 | |
*** hdd has joined #heat | 06:29 | |
*** ramishra_ has quit IRC | 06:32 | |
*** achanda has quit IRC | 06:35 | |
*** akuznetsov has joined #heat | 06:36 | |
*** achanda has joined #heat | 06:38 | |
*** ParsectiX has quit IRC | 06:38 | |
*** ParsectiX has joined #heat | 06:39 | |
*** ramishra_ has joined #heat | 06:42 | |
*** ramishra_ has quit IRC | 06:54 | |
*** ParsectiX has quit IRC | 07:00 | |
openstackgerrit | Merged openstack/heat: Add name and tenant indexes to stack table https://review.openstack.org/157625 | 07:05 |
*** ramishra_ has joined #heat | 07:06 | |
*** akuznetsov has quit IRC | 07:06 | |
*** hdd has quit IRC | 07:10 | |
*** alexheneveld has quit IRC | 07:12 | |
*** Tango has quit IRC | 07:15 | |
*** tspatzier has joined #heat | 07:17 | |
*** jamielennox is now known as jamielennox|away | 07:22 | |
*** akuznetsov has joined #heat | 07:35 | |
skraynev | good morning all | 07:37 |
skraynev | asalkeld: more changes - faster progress in convergence | 07:38 |
*** jprovazn has joined #heat | 07:48 | |
asalkeld | hi skraynev , yeah - nice | 07:50 |
* asalkeld heads off to drive around in my new car:-) | 07:50 | |
*** jtomasek has joined #heat | 07:51 | |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Translate exception in the right way https://review.openstack.org/157003 | 07:56 |
*** prazumovsky has joined #heat | 07:57 | |
*** ramishra_ has quit IRC | 07:57 | |
*** ahonda has joined #heat | 08:08 | |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Add OS::Mistral::Workflow for Mistral workflows https://review.openstack.org/147645 | 08:10 |
*** achanda has quit IRC | 08:15 | |
openstackgerrit | Ishant Tyagi proposed openstack/heat: DB changes for resource locking https://review.openstack.org/157672 | 08:16 |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Add extra columns for resource table https://review.openstack.org/156693 | 08:16 |
*** sorantis has joined #heat | 08:16 | |
openstackgerrit | Merged openstack/heat-templates: heat-config-notify support deploy_signal_verb https://review.openstack.org/156805 | 08:18 |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Add functional test for AWS loadbalancer https://review.openstack.org/153192 | 08:20 |
*** vijayagurug has joined #heat | 08:24 | |
*** ParsectiX has joined #heat | 08:24 | |
*** ifarkas has joined #heat | 08:24 | |
*** coolsvap is now known as coolsvap_ | 08:29 | |
*** akuznetsov has quit IRC | 08:30 | |
*** dsneddon has joined #heat | 08:32 | |
*** coolsvap_ is now known as coolsvap | 08:35 | |
*** coolsvap is now known as coolsvap_ | 08:35 | |
*** akuznetsov has joined #heat | 08:37 | |
*** dims__ has joined #heat | 08:38 | |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Add test for db version 052 convergence_flag https://review.openstack.org/157695 | 08:41 |
*** dims__ has quit IRC | 08:43 | |
*** akuznetsov has quit IRC | 08:46 | |
*** jistr has joined #heat | 08:46 | |
openstackgerrit | Merged openstack/heat: Make import of oslo libraries namespaceless https://review.openstack.org/156985 | 08:53 |
*** akuznetsov has joined #heat | 09:01 | |
shardy | morning all | 09:05 |
*** jcoufal has joined #heat | 09:07 | |
*** ramishra_ has joined #heat | 09:08 | |
*** jtomasek has quit IRC | 09:09 | |
*** akuznetsov has quit IRC | 09:09 | |
*** jtomasek has joined #heat | 09:09 | |
*** Marga_ has joined #heat | 09:09 | |
*** ramishra_ has quit IRC | 09:12 | |
*** pas-ha has joined #heat | 09:21 | |
*** derekh has joined #heat | 09:27 | |
*** Marga_ has quit IRC | 09:31 | |
*** ramishra_ has joined #heat | 09:40 | |
openstackgerrit | Kanagaraj Manickam proposed openstack/heat: Convergence message bus https://review.openstack.org/153999 | 09:49 |
openstackgerrit | Kanagaraj Manickam proposed openstack/heat: Move request_context from engine.service to common.context https://review.openstack.org/157657 | 09:49 |
openstackgerrit | Pavlo Shchelokovskyy proposed openstack/heat: Restart haproxy in AWS LB during boot https://review.openstack.org/157702 | 09:50 |
*** ramishra_ has quit IRC | 09:51 | |
pas-ha | morning all | 09:51 |
*** GonZo2K has joined #heat | 09:52 | |
openstackgerrit | Sergey Kraynev proposed openstack/heat: Add extra columns for resource table https://review.openstack.org/156693 | 09:52 |
ParsectiX | hello. 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 client | 09:58 |
*** GonZo2K has quit IRC | 09:59 | |
*** GonZo2K has joined #heat | 10:01 | |
shardy | ParsectiX: pass the --insecure option :) | 10:01 |
shardy | heat help | grep insecure | 10:01 |
ParsectiX | in the heat stack create call ? | 10:02 |
shardy | ParsectiX: Oh, you're using the python-heaclient python API, not the shell? | 10:03 |
ParsectiX | yes | 10:03 |
ParsectiX | the python client | 10:03 |
shardy | https://github.com/openstack/python-heatclient/blob/master/heatclient/shell.py#L458 | 10:04 |
shardy | basically you need to pass verify=False into the keystone session you're using | 10:04 |
*** sorantis has quit IRC | 10:04 | |
*** GonZo2K has quit IRC | 10:05 | |
shardy | ParsectiX: if you're using v1.client directly, it looks like you can pass insecure=True: | 10:06 |
shardy | https://github.com/openstack/python-heatclient/blob/master/heatclient/common/http.py#L85 | 10:06 |
*** tnurlygayanov has quit IRC | 10:06 | |
shardy | (the kwargs you pass to v1.client.Client get passed into there | 10:06 |
*** GonZo2K has joined #heat | 10:07 | |
openstackgerrit | Peter Razumovsky proposed openstack/heat: Add resource_definitions check to Stack.validate https://review.openstack.org/140976 | 10:07 |
*** GonZo2K has quit IRC | 10:08 | |
ParsectiX | shardy: 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_ERROR | 10:09 |
*** sorantis has joined #heat | 10:10 | |
therve | shardy, It's for the template, not talking to keystone | 10:11 |
therve | ParsectiX, Can you paste the command line you run? | 10:12 |
ParsectiX | heat_endpoint = keystone.service_catalog.url_for(service_type='orchestration') | 10:14 |
ParsectiX | heat = htclient.Client(heat_endpoint, token=keystone.auth_token) | 10:14 |
ParsectiX | heat.stacks.create(stack_name="test", | 10:14 |
ParsectiX | template_url="https://xyzdomain.com/test.yaml") | 10:14 |
ParsectiX | This is the part of the script where I interact with the heat api | 10:15 |
shardy | so I'm saying you have to pass insecure=True to htclient.Client, ref http.py#L85 above | 10:15 |
shardy | therve is right, the other line I referenced is to connect insecurely to keystone, but I assumed you also needed to get a token | 10:15 |
ParsectiX | I have tried that and I'm getting again "certificate verify failed" | 10:16 |
therve | Isn't the template retrieved on the server side? | 10:18 |
ParsectiX | yes | 10:19 |
ParsectiX | Here 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 |
shardy | therve: aha, you're right, -ENOCOFFEE | 10:20 |
shardy | ParsectiX: you need to retrieve the template on the client side, and not use template_url | 10:20 |
shardy | instead pass the template body | 10:20 |
therve | Yeah there is no way to bypass ssl on the server side currently. | 10:21 |
ParsectiX | hmm. okay | 10:21 |
ParsectiX | thanks for the help | 10:21 |
*** GonZo2K has joined #heat | 10:21 | |
*** GonZo2K has quit IRC | 10:22 | |
therve | If you use the shell client it actually does that for you | 10:23 |
shardy | https://github.com/openstack/python-heatclient/blob/master/heatclient/v1/shell.py#L108 | 10:24 |
shardy | get_template_contents will read the file from either a local file, a URL, or swift | 10:24 |
shardy | ParsectiX: ^^ | 10:25 |
ParsectiX | Let me check it guys and I will reply back | 10:27 |
*** MasterPiece has joined #heat | 10:30 | |
openstackgerrit | Merged openstack/heat: Updated from global requirements https://review.openstack.org/157643 | 10:35 |
*** nkhare has quit IRC | 10:37 | |
*** _shaps_ has joined #heat | 10:38 | |
*** ishant has quit IRC | 10:41 | |
*** tochi has quit IRC | 10:41 | |
*** cinerama has quit IRC | 10:43 | |
*** cinerama has joined #heat | 10:43 | |
ParsectiX | I 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 |
shardy | ParsectiX: the template argument expects the body to be retrieved client side, e.g via get_template_contents | 11:09 |
shardy | template_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 API | 11:10 |
*** sorantis has quit IRC | 11:19 | |
ParsectiX | shardy: What are you suggesting to do? copy the yaml at server side ? | 11:23 |
shardy | ParsectiX: I'm saying you should download the template in your code client-side, and pass the body via "template" | 11:26 |
shardy | that's the way all the heatclient shell interfaces now work | 11:27 |
ParsectiX | what 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 |
ParsectiX | I have checked my yaml and it in correct format from the CLI I can create stack with the same yaml | 11:30 |
ParsectiX | that's why I'm asking | 11:30 |
shardy | ParsectiX: are you using template_utils.get_template_contents? | 11:32 |
ParsectiX | ohhh | 11:32 |
ParsectiX | no directly passing my yaml | 11:32 |
ParsectiX | okay thanks | 11:32 |
ParsectiX | let me try that | 11:32 |
shardy | Just copying exactly what's in do_stack_create, referenced above (shell.py#L108) should work fine | 11:32 |
*** openstack has joined #heat | 20:23 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!