Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Nov 27 16:29

    sguiheux on updateCobra

    fix: assertion (compare)

  • Nov 27 14:43

    fsamin on master

    fix(cdn): manage worker without… (compare)

  • Nov 27 14:43
    fsamin closed #5566
  • Nov 27 14:34
    sguiheux review_requested #5566
  • Nov 27 14:21

    sguiheux on updateCobra

    fix: missing admin parameter (compare)

  • Nov 27 14:20
    richardlt commented #5566
  • Nov 27 14:20
    richardlt commented #5566
  • Nov 27 14:20
    richardlt commented #5566
  • Nov 27 14:20
    richardlt commented #5566
  • Nov 27 14:20
    richardlt commented #5566
  • Nov 27 13:43

    sguiheux on updateCobra

    fix(test): use member instead o… feat: update cobra version (compare)

  • Nov 27 11:42
    ovh-cds commented #5567
  • Nov 27 11:31
    sonarcloud[bot] commented #5567
  • Nov 27 11:16
    ovh-cds commented #5566
  • Nov 27 11:07
    richardlt review_requested #5567
  • Nov 27 11:07
    richardlt review_requested #5567
  • Nov 27 11:07
    richardlt review_requested #5567
  • Nov 27 11:07
    richardlt opened #5567
  • Nov 27 11:07

    richardlt on test-redis-read-write

    test(cdn): add tests for redis … (compare)

  • Nov 27 10:31
    ovh-cds commented #5566
Yvonnick Esnault
@yesnault
after the signup, you have to 'verify' the registration
extract from tutorial:
# verify the user
$ VERIFY_CMD=$(docker-compose logs cds-api|grep 'cdsctl signup verify'|cut -d '$' -f2|xargs) && ./$VERIFY_CMD
# if you have this error:  "such file or directory: ./cdsctl signup verify --api-url...", 
# you can manually execute the command "./cdsctl signup verify --api-url..."
Brandon Nason
@bnason
yea that's the command I'm trying to run. Well actually i have to run the inner command as I get the no such file or directory since I moved it to my local bin folder. I'll try docker-compose down and re-running the tutorial again though
Yvonnick Esnault
@yesnault
when you run the cdsctl signup verify command, cdsctl should ask you the context name where to store your configuration
Brandon Nason
@bnason
Ok, it worked that time. ¯\_(ツ)_/¯
Yvonnick Esnault
@yesnault
cool :)
Brandon Nason
@bnason
thanks
sumanthk9
@sumanthk9
image.png
can someone tell me how can i point github extension toward our enterprise github from public github.?
Evgenii Shapovalov
@shapovalovdev
Hello! Can somebody direct me to docs or articles with k8s deployment of CDS success stories?
Evgenii Shapovalov
@shapovalovdev
Is there some inconsistencies with Bitbucket integration with 7 version?
Yvonnick Esnault
@yesnault
Hi @shapovalovdev I check with you directly
Gergely Brautigam
@Skarlso
Hey everyone. Hi from a Gaia maintainer. This is an incredibly awesome project. Looking at the plugins, this is doing the same thing what we achieved to do. :D Kudos to you all. :)
Yvonnick Esnault
@yesnault
@Skarlso Thank you!
Gergely Brautigam
@Skarlso
You're welcome! :)
ebiggela
@ebiggela

good morning! I'm looking into CDS as a replacement for our current CI tool (Bamboo).
On my local machine, I can get it up and running fine using either binaries or the compose method.
On RHEL, however, no such luck. The UI only shows the "CDS is loading" page.

Are you aware of any constraints or requirements that would cause this?

Yvonnick Esnault
@yesnault
Hi @ebiggela , did you register a new user with the INIT_TOKEN well set, following this documentation https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/ ?
ebiggela
@ebiggela
hey @yesnault , I did. Running ./cdsctl user me does return the admin account information
api / ui logs do show health checks going back and forth, communication seems to be working
following the compose quick start works on my local ubuntu, but it doesn't on the rhel vm
Yvonnick Esnault
@yesnault
@ebiggela you have ring ADMIN on output of cdsctl user me?
ebiggela
@ebiggela
yes
image.png
Yvonnick Esnault
@yesnault
do you have some log on api and on ui ? (output of engine start ui, and engine start api)
and with csdctl admin service status , do you have some line about the ui service ?
ebiggela
@ebiggela
admin service status: Global/ui status is OK
one moment, might have found something..
ebiggela
@ebiggela
cds-api logs show one error, cds-vcs service is unreachable. But that wasn't started yet. And I didn't need it to get a working UI locally either
are you looking specifically for errors, or?
Yvonnick Esnault
@yesnault
PM for the next
YLQZ
@YLQZ
image.png
YLQZ
@YLQZ
Is there a Chinese doc, and introduce the configuration file in detail
I couldn't boot up in win10 using binaries. Like above
Yvonnick Esnault
@yesnault
Hi @YLQZ sorry, no Chinese documentation. About your screenshot, did you manage to run cdsctl signup, then signup verify with the INIT_TOKEN ? If not, ui service can't start, cf. https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/#launch-signup-cds-ui
Evgenii Shapovalov
@shapovalovdev
Reading configuration file @ config.toml
Starting service api
2020-10-23 19:44:53 [INFO] Directory /var/lib/cds-engine has been created
2020-10-23 19:44:53 [INFO] Directory /var/lib/cds-engine/artifacts has been created
2020-10-23 19:44:53 [INFO] api> cds-api-laughing_hawking configuration applied
2020-10-23 19:44:53 [INFO] observability> initializing observability for api/cds-api-laughing_hawking
2020-10-23 19:44:53 [INFO] Registing service api(*service.Common) cds-api-laughing_hawking
2020-10-23 19:44:53 [INFO] api> Service registered
2020-10-23 19:44:54 [INFO] Starting CDS API Server 0.47.0+cds.13856
2020-10-23 19:44:54 [ERROR] engine is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] cdsctl is unavailable for download, this may lead to a poor user experience. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] worker is unavailable for download. Please check your configuration file or the /var/lib/cds-engine directory
2020-10-23 19:44:54 [ERROR] api> Serve: worker binary unavailable
Hello guys, did someone face this? It is strange because I w/a it with "cds-engine download workers" that was working
Evgenii Shapovalov
@shapovalovdev
Hello, is it possible to separate config file? If i start api, hooks, ui etc in distinct containers, can i start the service with Only necessary config parts? For instance, api service with [api] config?
It will be easier to maintain this parts...
Yvonnick Esnault
@yesnault
Hi @shapovalovdev First issue: [ERROR] api> Serve: worker binary unavailable -> did you follow this: https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/, and run this command: ./cds-engine download workers --config conf.toml The worker binaries are mandatory for running the cds engine.
About configuration: yes, it's possible to use dedicated config file per service. Example: engine config new api > api.toml && engine --config ./api.toml start api. ./engine config new -h to see all options;
1 reply
Evgenii Shapovalov
@shapovalovdev

Hi @shapovalovdev First issue: [ERROR] api> Serve: worker binary unavailable -> did you follow this: https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/, and run this command: ./cds-engine download workers --config conf.toml The worker binaries are mandatory for running the cds engine.

the problem was with incorrect download folder parameter. I had the binaries but cds could not find them and start to download again

Evgenii Shapovalov
@shapovalovdev
Hello, i manage to start the api server, but there some issue with authentication in logs : 2020-10-27 07:49:22 [INFO] pprofLabel>compress>setRequestID>recoverWrap>handle>postAuthBuiltinSigninHandler>AuthDriver>CheckSigninConsumerToken>parseSigninConsumerToken>VerifyJWS>Verify: wrong request (from: invalid signin token) (caused by: square/go-jose: compact JWS format must have three parts) request_id=3cd62f7b-9b5b-49b0-84a8-612166a62954 stack_trace=square/go-jose: compact JWS format must have three parts
is it possible to generate the jwt token again?
Evgenii Shapovalov
@shapovalovdev
I guess i found what the problem. I am using the env variables like CDS_API_SHARED_TOKEN that is generated as 64 bit string and there are tokens in config that were generated during the init stage when the config were created. When i stop use shared token the api could not find the tokens at all and when i am using the token in variables it sayes that the token format is wrong... So how should i resolve this issue?
Evgenii Shapovalov
@shapovalovdev
guys, can you please explain, how can i generate and store api keys and tokens? Do they generates on every start of api? because i don't get how to handle the problem with access to my service in distributed system...
Yvonnick Esnault
@yesnault
Hi @shapovalovdev where do you see the CDS_API_SHARED_TOKEN? About the 'tokens' that you can see in you [ui.api] section for example (for the service ui), it's a token that you have to create one time if you want to run the ui service.
you don't need to re-create the token each time you restart the api, but if you start an api with a fresh api, you have to create a new token yes.
but
if you run ./cds-engine config new > conf.toml, you can use tokens generated and validate them on the first login with the INIT_TOKEN variables, as described in https://ovh.github.io/cds/hosting/ready-to-run/from-binaries/.
manu
@emmanuelpommier
Hi, any planified date for 0.48 release ?
Yvonnick Esnault
@yesnault
@hi @emmanuelpommier not yet. The release 0.48.0 will contain a new service name 'cdn', it's a refactoring of backend storage for logs (logs on swift or fs, encryption, streaming). We will release it when we will consider it stable and safe to deploy and migrate.