Wednesday, 2017-05-31

*** jrist has quit IRC02:20
*** jrist has joined #openstack-mistral02:33
*** jaosorior has quit IRC04:10
*** jaosorior has joined #openstack-mistral04:13
*** zhurong has joined #openstack-mistral04:16
*** zhurong has quit IRC04:19
openstackgerritLingxian Kong proposed openstack/mistral master: Refactor mistral context using oslo_context  https://review.openstack.org/45540704:35
*** jaosorior has quit IRC06:08
openstackgerritMerged openstack/mistral-dashboard master: Optimize the link address  https://review.openstack.org/45527506:17
*** jaosorior has joined #openstack-mistral06:17
d0ugalfultonj: Let me know if you didn't get an answer, sorry I missed you yesterday.06:45
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Replace request mocking in test_httpclient with requests-mock  https://review.openstack.org/46934406:48
d0ugalfultonj: I think it depends on the error really, but there isn't a good way to catch exceptions. Can you show me the problematic expression?06:49
*** sharatss has joined #openstack-mistral06:49
*** shardy has joined #openstack-mistral06:54
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Switch from keystoneclient to keystoneauth  https://review.openstack.org/45765607:14
*** jpich has joined #openstack-mistral07:56
*** dmellado_ has joined #openstack-mistral09:00
*** dmellado has quit IRC09:01
*** jistr has quit IRC09:01
*** jistr has joined #openstack-mistral09:02
*** jaosorior is now known as jaosorior_lunch09:19
*** dmellado_ is now known as dmellado09:46
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Replace request mocking in test_httpclient with requests-mock  https://review.openstack.org/46934410:21
*** jaosorior_lunch is now known as jaosorior10:41
*** shardy has quit IRC10:44
*** jkilpatr has quit IRC10:47
openstackgerritLingxian Kong proposed openstack/mistral master: [WIP] Refactor mistral context using oslo_context  https://review.openstack.org/45540710:56
*** jkilpatr has joined #openstack-mistral11:00
*** Qiming_ has quit IRC11:09
*** Qiming has joined #openstack-mistral11:13
*** rbrady has quit IRC11:14
openstackgerritSharat Sharma proposed openstack/python-mistralclient master: Replace request mocking in test_httpclient with requests-mock  https://review.openstack.org/46934411:23
*** thrash|g0ne is now known as thrash11:25
openstackgerritNikolay Mahotkin proposed openstack/mistral master: [Trusts] Fixing trusts deletion  https://review.openstack.org/46907811:29
*** chlong has quit IRC12:03
*** dprince has joined #openstack-mistral12:29
*** rbrady has joined #openstack-mistral12:45
fultonjhi d0ugal, thanks for the ping back12:53
fultonjfollowing up on the problematic expression...12:54
fultonjI can get env variables made available via https://review.openstack.org/#/c/467682 with embded jinja2 inside of mistral with something like:12:54
fultonj {% for ip in env().service_ips.ceph_mon_ctlplane_node_ips %}{{ ip }}{% endfor %}12:54
fultonjHowever, I want to handle cases where that variable may not exist to avoid things like ERROR oslo_messaging.rpc.server UndefinedError: 'dict object' has no attribute 'ceph_mon_ctlplane_node_ips'12:55
fultonjd0ugal: https://github.com/fultonj/tripleo-ceph-ansible/blob/master/mistral-ceph-ansible.yaml#L27-L3612:56
fultonjfyi: i will be dropping a variation of ^ into tripleo-common this week12:57
fultonjfor review12:57
d0ugalYou'll need to do something like...13:09
d0ugal{% for ip in env().get('service_ips', {}).get('ceph_mon_ctlplane_node_ips', []) %}{{ ip }}{% endfor %}13:09
d0ugalfultonj: but it is ugly :(13:10
fultonjd0ugal: ok, thanks i will try that.13:15
*** sharatss has quit IRC13:26
*** chlong has joined #openstack-mistral13:30
*** bobh has joined #openstack-mistral13:33
*** zhurong has joined #openstack-mistral13:42
*** chlong has quit IRC13:43
*** chlong has joined #openstack-mistral13:46
*** FL1SK has joined #openstack-mistral14:04
*** tung_doan has quit IRC14:30
*** zhurong has quit IRC14:35
fultonjd0ugal: that got me past my issue thank you!14:54
*** thrash is now known as thrash|biab15:44
*** jpich has quit IRC16:14
openstackgerritOpenStack Proposal Bot proposed openstack/mistral master: Updated from global requirements  https://review.openstack.org/46957116:38
*** jkilpatr has quit IRC16:47
*** jkilpatr has joined #openstack-mistral17:04
*** thrash|biab is now known as thrash17:11
openstackgerritToure Dunnon proposed openstack/python-mistralclient master: [WIP] Workflow Error Analysis Client updates.  https://review.openstack.org/45290117:34
*** jaosorior is now known as jaosorior_away17:44
*** chlong has quit IRC18:05
*** chlong has joined #openstack-mistral18:22
*** bobh has quit IRC19:07
*** jkilpatr has quit IRC19:41
*** jkilpatr has joined #openstack-mistral19:54
*** dprince has quit IRC20:13
*** chlong has quit IRC20:53
*** chlong has joined #openstack-mistral21:05
*** bobh has joined #openstack-mistral21:10
*** bobh has quit IRC21:21
*** harlowja has quit IRC21:21
*** harlowja has joined #openstack-mistral22:06
*** jkilpatr has quit IRC22:23
*** jkilpatr has joined #openstack-mistral22:38
*** chlong has quit IRC23:00

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