burmilla / os

Tiny Linux distro that runs the entire OS as Docker containers
https://burmillaos.org
Apache License 2.0
210 stars 13 forks source link

x509: certificate has expired or is not yet valid #177

Closed AciDCooL closed 5 months ago

AciDCooL commented 5 months ago

BurmillaOS Version: (ros os version) v1.9.6 (last time i upgraded the system did not boot anymore, refrained from 2.0.0)

Where are you running BurmillaOS? (docker-machine, AWS, GCE, baremetal, etc.) Baremetal

Which processor architecture you are using? x86

Do you use some extra hardware? (GPU, etc)? no

Which console you use (default, ubuntu, centos, etc..) default

Do you use some service(s) which are not enabled by default?

Have you installed some extra tools to console?

Do you use some other customizations?

Please share copy of your cloud-init (remember remove all sensitive data first)

hostname: Audumla
mounts:
- - /dev/sdb1
  - /mnt/Rancher_Data
  - ext4
  - ""
- - 10.0.50.30:/mnt/Vanir
  - /mnt/Vanir
  - nfs4
  - nfsvers=4.1,rsize=1048576,wsize=1048576,hard,timeo=600,retrans=2,sec=sys
rancher:
  docker:
    engine: docker-20.10.23
    tls: false
  environment:
    EXTRA_CMDLINE: /init
  network:
    dns:
      nameservers:
      - 10.0.50.1
      - 1.1.1.1
    interfaces:
      eth0:
        address: 10.0.50.50/24
        dhcp: false
        gateway: 10.0.50.1
        mtu: 9000
  resize_device: /dev/sda
  services_include:
    container-cron: true
    docker-compose: true
    open-vm-tools: true
    rancher-server: false
  state:
    dev: LABEL=RANCHER_STATE
    wait: true
  sysctl:
    net.core.netdev_budget: 50000
    net.core.netdev_max_backlog: 100000
    net.core.optmem_max: 40960
    net.core.rmem_default: 16777216
    net.core.rmem_max: 16777216
    net.core.wmem_default: 16777216
    net.core.wmem_max: 16777216
    net.ipv4.tcp_fin_timeout: 10
    net.ipv4.tcp_max_syn_backlog: 30000
    net.ipv4.tcp_max_tw_buckets: 2000000
    net.ipv4.tcp_rmem: 4096 1048576 2097152
    net.ipv4.tcp_slow_start_after_idle: 0
    net.ipv4.tcp_tw_reuse: 1
    net.ipv4.tcp_wmem: 4096 65536 16777216
    net.ipv4.udp_rmem_min: 8192
    net.ipv4.udp_wmem_min: 8192
  upgrade:
    url: https://raw.githubusercontent.com/burmilla/releases/v1.9.x/releases.yml
runcmd:
- docker network create --driver=overlay traefik-net
- docker swarm init
ssh_authorized_keys:
- ssh-rsa ####
write_files:
- content: |+
    #!/bin/bash
    [ ! -e /usr/bin/docker ] && ln -s /usr/bin/docker.dist /usr/bin/docker
    docker network rm traefik-net -f
    docker network create --driver=overlay traefik-net --mtu 1450 --subnet=10.0.0.0/24 --gateway 10.0.0.1
    docker swarm init
  path: /etc/rc.local
  permissions: "0755"

Cannot pull any image anymore.

[rancher@Audumla ~]$ docker pull latest: Pulling from 8dfc70c9a1cf: Retrying in 1 second 234761c825d9: Retrying in 1 second 093dbff040ac: Retrying in 1 second 9bfa438fee60: Waiting error pulling image configuration: download failed after attempts=6: x509: certificate has expired or is not yet valid: current time 2024-04-17T07:40:33Z is after 2021-09-30T14:01:15Z

olljanat commented 5 months ago

Look https://github.com/burmilla/os/releases/tag/v2.0.1

AciDCooL commented 5 months ago

Life saver! Should have read the latest notes. Although bit of a panic moment after trying few hours to fix it :)

netsandbox commented 5 months ago

@olljanat v2.0.1 is missing in https://github.com/burmilla/releases/blob/v1.9.x/releases.yml

olljanat commented 5 months ago

Good point. Fixed