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

k3s-server start failure - datapoint url escaping issue #53

Open
poblin-orange opened this issue Apr 25, 2024 · 0 comments
Open

k3s-server start failure - datapoint url escaping issue #53

poblin-orange opened this issue Apr 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@poblin-orange
Copy link
Member

poblin-orange commented Apr 25, 2024

k3s-server failing on first deployment.
Error logs:

server/dbd756c8-ea9d-46a7-810f-6d5ddaf15f16:/var/vcap/sys/log/k3s-server# cat pre-start.stderr.log 
time="2024-04-25T19:43:55Z" level=info msg="Acquiring lock file /var/lib/rancher/k3s/data/.lock"
time="2024-04-25T19:43:55Z" level=info msg="Preparing data dir /var/lib/rancher/k3s/data/ef92c15b8f1c59f266ea4a9589be87b1b799d1682673f29721e8a1f7b0a4a97b"
modprobe: FATAL: Module configs not found in directory /lib/modules/6.2.0-39-generic
cp: cannot create regular file '/var/vcap/store/k3s-server/server/manifests/additional-manifest.yaml': No such file or directory
Created symlink /etc/systemd/system/sys-subsystem-net-devices-eth0.device.wants/ethtool-patch-eth0-tx-udp_tnl-segmentation.service → /etc/systemd/system/ethtool-patch-eth0-tx-udp_tnl-segmentation.service.
Unit /etc/systemd/system/ethtool-patch-eth0-tx-udp_tnl-segmentation.service is added as a dependency to a non-existent unit sys-subsystem-net-devices-eth0.device.
Created symlink /etc/systemd/system/sys-subsystem-net-devices-eth0.device.wants/ethtool-patch-eth0-tx-udp_tnl-csum-segmentation.service → /etc/systemd/system/ethtool-patch-eth0-tx-udp_tnl-csum-segmentation.service.
Unit /etc/systemd/system/ethtool-patch-eth0-tx-udp_tnl-csum-segmentation.service is added as a dependency to a non-existent unit sys-subsystem-net-devices-eth0.device.

related version set:

$ bosh deployment
Using environment '192.168.99.152' as user 'poblin'
Name                Release(s)                Stemcell(s)                                    Config(s)            Team(s)  
00-shared-services  bosh-dns/1.36.1           bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340  166 runtime/default  -  
                    bpm/1.1.18                bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340  158 cloud/default      
                    generic-scripting/5       bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340                         
                    generic-taint-jobs/2      bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340                         
                    haproxy/13.3.0+2.8.4      bosh-vsphere-esxi-ubuntu-jammy-go_agent/1.340                         
                    helm-kubectl/40                                                                                 
                    k3s-packages/1.28.8+k3s1                                                                        
                    k3s-wrapper/0.8.4                                                                               
                    k9s-package/0.32.4                                                                              
                    nerdctl-package/1.3.1                                                                           
                    node-exporter/5.1.0                                                                             
                    node-hardening/1.1                                                                              
                    os-conf/22.1.1                                                                                  
                    syslog/12.1.1                                                                                   
1 deployments

related failing manifest part:

              "^(.*)$": xpkg.upbound.io/$1

      k3s:
        cluster_name: 00-shared-services
        datastore-endpoint: mysql://k3s:((/bosh-ops/00-k8s-ha-datastore/shared_services_kine_password))@tcp(127.0.0.1:13306)/k3s


compare with a correct datapoint for postgresql:

        cluster-cidr: 10.16.0.0/12
        cluster_name: 00-shared-services
        datastore-endpoint: '''postgres://k3s:((/bosh-ops/00-k8s-ha-datastore/shared_services_kine_password))@127.0.0.1:15432/k3s'''
@poblin-orange poblin-orange added the bug Something isn't working label Apr 25, 2024
@poblin-orange poblin-orange self-assigned this Apr 25, 2024
@poblin-orange poblin-orange changed the title k3s-server start failure k3s-server start failure - datapoint url escaping issue Apr 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant