Thursday, 2018-06-07

*** jangutter has quit IRC01:19
*** jangutter has joined #softwarefactory03:20
*** Rohaan has joined #softwarefactory05:13
tristanCRohaan: hello, fwiw I am working on an Openshift resource provider for zuul, the prototype is described here: https://softwarefactory-project.io/draft/zuul-openshift/05:16
RohaantristanC: Thanks for sharing05:27
RohaanI know that you were working on openshift integration with zuul. I saw your mail to Chmouel few days ago05:28
*** jpena|off is now known as jpena07:36
rcarrillocruztristanC: that's amazing, kudos07:59
rcarrillocruzjust in time for upshift i guess ;-)07:59
*** nijaba has joined #softwarefactory10:30
*** eliqiao_ has joined #softwarefactory10:54
eliqiao_hello guys, I have setup zuul service, but the Web-based log streaming failed and said : "Failure from finger client: [Errno -2] Name or service not known" , anyone know how to resolve that?10:54
sfbenderMerged software-factory/sf-config master: managesf: remove unused zuul_rsa key copy  https://softwarefactory-project.io/r/1224010:58
tristanCeliqiao_: does "hostname -f" resolv from the zuul-web service? if you changed hostname, service needs to be restarted11:01
eliqiao_https://www.irccloud.com/pastebin/m2Jl3dET/11:09
eliqiao_@tristanC, host -f doesn't work.11:09
eliqiao_I am using OCI driver11:09
tristanCeliqiao_: hum, what is the content of /etc/hosts ?11:14
eliqiao_https://www.irccloud.com/pastebin/ZgQt6uh7/11:15
tristanCeliqiao_: perhaps try running "hostnamectl set-hostname managesf.sftests.com", this should fix "hostname -f"11:17
eliqiao_https://www.irccloud.com/pastebin/sQwL4xCM/11:18
eliqiao_but I got this error after I restart  zuul-web11:18
tristanCeliqiao_: there will be all sort of issue if your hostname isn't properly set. "hostname -f" needs to be a valid dns11:19
eliqiao_https://www.irccloud.com/pastebin/d1ZrOypj/11:19
*** jpena is now known as jpena|off11:20
tristanCeliqiao_: then try restarting the services, e.g.: "systemctl restart rh-python35-zuul-*"11:20
eliqiao_yes, Ihave done zuul-web11:20
tristanCbest is to restart all zuul services, as they use hostname to communicate between each other11:21
eliqiao_yep ,done, but got "systemctl restart rh-python35-zuul-*"11:22
eliqiao_got there error "/zuul/api/tenant/local/status: Internal Server Error"11:22
tristanCeliqiao_: could you share the output of "systemctl status rh-python35-zuul-*" ?11:23
eliqiao_yes, I see the scheduler service failed to start11:24
eliqiao_https://www.irccloud.com/pastebin/mBgGedbF/11:24
tristanCeliqiao_: oh bad ordering luck, try to restart just the scheduler now, e.g.: systemctl restart rh-python35-zuul-scheduler11:25
eliqiao_yes, I restart scheduler again, it's up11:25
tristanC(if the executor restart right after the scheduler, then it may block the scheduler from starting)11:25
eliqiao_but it's failed after some while.11:26
tristanCeliqiao_: is there something in the logs/status?11:29
eliqiao_https://www.irccloud.com/pastebin/ei9oqTO2/11:29
eliqiao_something wrong with my job define11:30
tristanCeliqiao_: yes, make sure the cvm-functional-test project is defined in /etc/zuul/main.yaml11:30
tristanCeliqiao_: and set it up in a /root/config/zuul/ yaml file too11:31
tristanCeliqiao_: as documented here: https://softwarefactory-project.io/docs/user/zuul_user.html#adding-a-project-to-the-zuul-service11:31
eliqiao_it works well before I restart it. I think there's something wrong with zuul-conf to config zuul11:32
tristanCeliqiao_: the project may have been broken, you can check this endpoint to see live errors: https://sftests.com/zuul/api/tenant/local/info11:34
eliqiao_I got 500 error11:34
eliqiao_500 Internal Server Error11:34
tristanCafter you add cvm-functional-test to /etc/zuul/main.yaml, you need to restart the scheduler11:36
eliqiao_not sure why the issue's there. I can find it in /etc/zuul/main.yaml11:38
eliqiao_https://www.irccloud.com/pastebin/TEe1qFQD/11:38
eliqiao_I get, the project name defined in cvm-functional-test/.zuul.yaml is wrong.11:40
tristanCeliqiao_: in "cvm/cvm-functional-test/.zuul.yaml@master", line 3, column 3, set "name: cvm/cvm-functional-test"11:41
tristanCinstead of just "name: cvm-functional-test"11:41
eliqiao_yes, I have correct patch, but that's not merged yet, so at this point, when I restart the scheduler, failed11:53
eliqiao_tristanC: yeah, works, and web console works too.11:58
eliqiao_thanks :)11:58
tristanCeliqiao_: you're welcome11:59
tristanCthough, this hostname error shouldn't happen, perhaps we should add a test to make sure it resolves before doing the deployment12:00
*** jpena|off is now known as jpena12:01
*** Rohaan___ has joined #softwarefactory12:29
*** Rohaan has quit IRC12:29
*** Rohaan has joined #softwarefactory12:39
*** Rohaan___ has quit IRC12:39
*** Rohaan has quit IRC13:09
sfbenderMerged software-factory/python-sfmanager master: Simplify logging and remove default log file  https://softwarefactory-project.io/r/946614:34
sfbenderNicolas HICHER created www.softwarefactory-project.io master: blog zuul: add sandbox setup article  https://softwarefactory-project.io/r/1247515:16
sfbenderMerged software-factory/sf-config master: nodepool: Add image_format in clouds.yaml  https://softwarefactory-project.io/r/1244916:04
sfbenderNicolas HICHER created www.softwarefactory-project.io master: WIP: how zuul works blog article  https://softwarefactory-project.io/r/1247616:12
*** jpena is now known as jpena|off17:17
sfbenderMerged software-factory/sf-docs master: nodepool: move image_format in operator documentation  https://softwarefactory-project.io/r/1245020:26
sfbenderFabien Boucher created software-factory/cauth master: repoxplorer service: do not overwrite user defined setting  https://softwarefactory-project.io/r/1248222:05

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