Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the path "config-root/customresourcedefinitions" does not exist #7895

Closed
bvboca opened this issue Jul 18, 2021 · 2 comments
Closed

the path "config-root/customresourcedefinitions" does not exist #7895

bvboca opened this issue Jul 18, 2021 · 2 comments

Comments

@bvboca
Copy link

bvboca commented Jul 18, 2021

  1. fork the repo to https://github.com/bvboca

  2. Intall jx on on-premise kubenetes 1.18

  3. Install git operator

  4. The jx boot job keeps failing with:
    jx gitops git setup
    setup git user email jenkins-x@googlegroups.com
    generated Git credentials file: /workspace/xdg_config/git/credentials with username: bvboca email:
    jx gitops apply
    found last commit message: Merge pull request Add command: init #1 from bvboca/ChangeNetworkVersion
    Change network version
    last commit was a merge pull request without changing an ExternalSecret so not regenerating
    make regen-none
    make[1]: Entering directory '/workspace/source'
    make[1]: Nothing to be done for 'regen-none'.
    make[1]: Leaving directory '/workspace/source'
    using kubectl to apply resources
    kubectl apply --force --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f config-root/customresourcedefinitions
    error: the path "config-root/customresourcedefinitions" does not exist
    make: *** [versionStream/src/Makefile.mk:287: kubectl-apply] Error 1

Console shows:

Change network version
last commit was a merge pull request without changing an ExternalSecret so not regenerating
make regen-none
make[1]: Entering directory '/workspace/source'
make[1]: Nothing to be done for 'regen-none'.
make[1]: Leaving directory '/workspace/source'
using kubectl to apply resources
kubectl apply --force --prune -l=gitops.jenkins-x.io/pipeline=customresourcedefinitions -R -f config-root/customresourcedefinitions
error: the path "config-root/customresourcedefinitions" does not exist
make: *** [versionStream/src/Makefile.mk:287: kubectl-apply] Error 1
boot Job pod jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd-5qzgp has Failed
boot Job jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd has Failed
error: failed to tail the Jenkins X boot Job pods: job jx-boot-0097a7b8-b96c-4005-8881-674f8d819bbd failed

@jstrachan
Copy link
Member

I think there is another error earlier in the log. My guess is it’s the 1.18 version of k8s and Ingress v1 not being supported - as v1beta1 has been removed in 1.21.

see the third bullet here: https://jenkins-x.io/v3/about/changes/#breaking-changes

@bvboca
Copy link
Author

bvboca commented Jul 24, 2021

thanks! upgraded to k8s 1.19, the issue is gone.

@bvboca bvboca closed this as completed Jul 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants