Wednesday, 2020-07-22

*** Alan_Ortiz has joined #openstack-qinling02:34
Alan_OrtizHi, I'm new to the community I'm currently using Qinling in our openstack environment and works (version 2.1.0), we use kolla ansible for the deployment and a separated k8s cluster, now we tested Ussuri's version (4.0.0)  but unfortunately  when I try to execute a function it doesn't work and the error is not that clear even with debug. I was02:45
Alan_Ortizwondering if someone could guide me to a piece of documentation on how to deploy if something changed for ussuri's version or if there are some considerations to take into account? I'd really appreciate any help thanks!02:45
lxkongAlan_Ortiz: hi, can you paste the error log?02:48
Alan_Ortizyes02:50
Alan_Ortiz2020-07-21 20:45:33.409 20 INFO qinling.engine.service [req-a6603e08-65e4-4bf8-942f-caba326c0f8c - - - - -] Starting engine...2020-07-21 20:52:13.058 20 INFO qinling.engine.default_engine [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a351902:52
Alan_Ortizc91b196530fb41d8b7b9ac29529a3519] Creating execution. execution_id=394f1f8b-28c5-4bc6-8a67-5a99c47a30e7, function_id=2f1ce3c1-cbf6-4246-b6ad-b73703562c9b, function_version=0, runtime_id=d63630d3-a96d-42d2-a8bd-cd2c08347687, input=None2020-07-21 20:52:13.088 20 INFO qinling.engine.default_engine [req-05959688-5f73-4bee-a7a6-a6603c7325f002:52
Alan_Ortiz2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Scale up function 2f1ce3c1-cbf6-4246-b6ad-b73703562c9b(version 0). Current concurrency: 1.0, execution number 1, worker number 02020-07-21 20:52:13.129 20 INFO qinling.orchestrator.kubernetes.manager02:52
Alan_Ortiz[req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Prepare pod d63630d3-a96d-42d2-a8bd-cd2c08347687-59fd846766-npd9d in deployment d63630d3-a96d-42d2-a8bd-cd2c08347687 for function02:52
Alan_Ortiz2f1ce3c1-cbf6-4246-b6ad-b73703562c9b(version 0)2020-07-21 20:52:13.137 20 DEBUG qinling.orchestrator.kubernetes.manager [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Labels updated for pod02:52
Alan_Ortizd63630d3-a96d-42d2-a8bd-cd2c08347687-59fd846766-npd9d _update_pod_label /var/lib/kolla/venv/lib/python3.6/site-packages/qinling/orchestrator/kubernetes/manager.py:4132020-07-21 20:52:13.155 20 DEBUG qinling.orchestrator.kubernetes.manager [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc -02:52
Alan_Ortizc91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Service created for pod d63630d3-a96d-42d2-a8bd-cd2c08347687-59fd846766-npd9d, service name: service-2f1ce3c1-cbf6-4246-b6ad-b73703562c9b-0 _prepare_pod /var/lib/kolla/venv/lib/python3.6/site-packages/qinling/orchestrator/kubernetes/manager.py:3292020-07-21 20:52:13.172 20 INFO02:52
Alan_Ortizqinling.orchestrator.kubernetes.manager [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Pods scaled up for function 2f1ce3c1-cbf6-4246-b6ad-b73703562c9b(version 0):02:52
Alan_Ortiz['d63630d3-a96d-42d2-a8bd-cd2c08347687-59fd846766-npd9d']2020-07-21 20:52:13.179 20 INFO qinling.engine.default_engine [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Finished scaling up function02:52
Alan_Ortiz2f1ce3c1-cbf6-4246-b6ad-b73703562c9b(version 0).2020-07-21 20:52:13.186 20 DEBUG qinling.engine.default_engine [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Found service url for function:02:52
Alan_Ortiz2f1ce3c1-cbf6-4246-b6ad-b73703562c9b(version 0), execution: 394f1f8b-28c5-4bc6-8a67-5a99c47a30e7, url: http://131.226.203.227:30061/execute create_execution /var/lib/kolla/venv/lib/python3.6/site-packages/qinling/engine/default_engine.py:1682020-07-21 20:52:22.247 20 ERROR qinling.engine.utils [req-05959688-5f73-4bee-a7a6-a6603c7325f002:52
Alan_Ortiz2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc - c91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Failed to request url http://131.226.203.227:30061/execute, error: Expecting value: line 1 column 1 (char 0): simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)2020-07-21 20:52:22.247 2002:52
Alan_OrtizERROR qinling.engine.utils Traceback (most recent call last):2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/qinling/engine/utils.py", line 58, in url_request2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils     return True, res.json()2020-07-21 20:52:22.247 20 ERROR02:52
Alan_Ortizqinling.engine.utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/requests/models.py", line 898, in json2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils     return complexjson.loads(self.text, **kwargs)2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils   File02:52
Alan_Ortiz"/var/lib/kolla/venv/lib/python3.6/site-packages/simplejson/__init__.py", line 525, in loads2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils     return _default_decoder.decode(s)2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/simplejson/decoder.py", line 370, in decode2020-07-2102:52
Alan_Ortiz20:52:22.247 20 ERROR qinling.engine.utils     obj, end = self.raw_decode(s)2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils   File "/var/lib/kolla/venv/lib/python3.6/site-packages/simplejson/decoder.py", line 400, in raw_decode2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils     return self.scan_once(s, idx=_w(s, idx).end())2020-07-2102:52
Alan_Ortiz20:52:22.247 20 ERROR qinling.engine.utils simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)2020-07-21 20:52:22.247 20 ERROR qinling.engine.utils 2020-07-21 20:52:22.249 20 DEBUG qinling.engine.utils [req-05959688-5f73-4bee-a7a6-a6603c7325f0 2fe8523ee45347c39591741072fa1720 6c15d2577178478b952c1eb82f9bfbdc -02:52
Alan_Ortizc91b196530fb41d8b7b9ac29529a3519 c91b196530fb41d8b7b9ac29529a3519] Finished execution 394f1f8b-28c5-4bc6-8a67-5a99c47a30e7, success: False finish_execution /var/lib/kolla/venv/lib/python3.6/site-packages/qinling/engine/utils.py:1382020-07-21 21:25:33.421 20 INFO qinling.services.periodics [-] Deleting service mapping and workers for function02:52
lxkongAlan_Ortiz: please use http://paste.openstack.org/02:52
Alan_Ortizdone, I've pasted the log Paste #79619602:55
lxkongAlan_Ortiz: can you just provide a URL?03:14
Alan_Ortizyes, Do you mean like this? http://paste.openstack.org/show/796196/03:15
*** Alan_Ortiz has quit IRC05:08
*** jeevanpuchakay has joined #openstack-qinling06:15
*** jeevanpuchakay has quit IRC06:21
*** Alan_Ortiz has joined #openstack-qinling12:20
*** Alan_Ortiz has quit IRC12:49
*** Alan_Ortiz has joined #openstack-qinling12:52
*** Alan_Ortiz has quit IRC13:04
*** Alan_Ortiz has joined #openstack-qinling13:18
*** jeevan_ has joined #openstack-qinling14:31
*** jeevan_ is now known as jeevan14:31
*** jeevan is now known as jeevan_14:31
*** jeevan_ is now known as jeevan14:31
jeevanHello everyone14:32
jeevanI'm jeevan and currently enrolled in Indian Institute of Technology as a  computer science undergrad. I have heard about openstack from my brother and did a bit of research on internet. And I liked the the product and mission of openstack. Ive been exploring different services, contribution guidelines, how to contribute documents,etc for almost a week now. I have setup all the accounts and explored the git review, gerrit.14:32
jeevanOne of the service that attracted me more is qinling and ive gone through the beginner help documents.Ive a pretty good experience in core python and have done bunch of simple development projects. But im not sure how to go ahead with qinling in particular. I would be more than happy if someone can guide over this initial hurdle.14:32
*** Alan_Ortiz has quit IRC14:42
*** Alan_Ortiz has joined #openstack-qinling14:43
*** Alan_Ortiz has quit IRC15:28
*** Alan_Ortiz has joined #openstack-qinling15:38
*** Alan_Ortiz has quit IRC16:23
*** Alan_Ortiz has joined #openstack-qinling17:00
*** jeevan has quit IRC17:10
*** Alan_Ortiz has quit IRC17:40
*** Alan_Ortiz has joined #openstack-qinling18:06
*** Alan_Ortiz has quit IRC19:05
*** Alan_Ortiz has joined #openstack-qinling19:05
*** Alan_Ortiz has quit IRC20:08
*** Alan_Ortiz has joined #openstack-qinling20:09
lxkongAlan_Ortiz: hi, according to the log, i guess it's related to encoding/decoding in python, but i haven't get a chance to debug21:17
lxkongare you using master branch?21:17
Alan_OrtizHi lxkong we are using release 4.0.0 deployed using kolla-ansible22:48
*** Alan_Ortiz has quit IRC23:09
*** Alan_Ortiz has joined #openstack-qinling23:13

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!