profile
viewpoint
Chris Kacerguis chriskacerguis Austin, TX Just a guy in Austin, Texas. Feel free to check out my Resume https://www.resumonk.com/chriskacerguis

chriskacerguis/codeigniter-restserver 4787

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

chriskacerguis/honeywell2mqtt 14

A Docker image for a software defined radio tuned to listen for Honeywell RF security sensors at 345Mhz

chriskacerguis/ad-whitelist 1

A whitelist for ad servers that aren't obnoxious.

chriskacerguis/nagios 1

manios/nagios with a few extra

chriskacerguis/architecture-decision-record 0

Architecture decision record (ADR) examples for software planning, IT leadership, and template documentation

chriskacerguis/Bento 0

🍱 The minimalist, elegant and hackable startpage.

chriskacerguis/dns-qwic 0

Docker for a DNS over Qwic server

chriskacerguis/docker-stacks 0

Ready-to-run Docker images containing Jupyter applications

chriskacerguis/dotfiles 0

My dotfiles

chriskacerguis/knowledgebase 0

A collection of things that I have found helpful

created tagchriskacerguis/codeigniter-restserver

tag3.1.2

A fully RESTful server implementation for CodeIgniter using one library, one config file and one controller.

created time in a day

release chriskacerguis/codeigniter-restserver

3.1.2

released time in a day

push eventchriskacerguis/dotfiles

Chris Kacerguis

commit sha 85ef9018568c67b2a195dca7bcad5e24ad2128d5

Update macos

view details

push time in 15 days

push eventchriskacerguis/dotfiles

Chris Kacerguis

commit sha fc08bb8662466a84656ac5af66f780fe933ee677

Update README.md

view details

push time in 15 days

push eventchriskacerguis/dotfiles

Chris Kacerguis

commit sha 7f816d79d495564cb3a3ff0e82683f27238d3317

Update README.md

view details

push time in a month

issue commentbitnami/bitnami-docker-minio

Minio Containers shutdown when using /certs

So, NOW if I ensure that the public.crt is in /certs/CAs/ I get the following (that repeats for each server):

minio_minio0.1.pchwsam1tzct@data02    | API: SYSTEM()
minio_minio0.1.pchwsam1tzct@data02    | Time: 14:44:43 UTC 11/18/2021
minio_minio0.1.pchwsam1tzct@data02    | Error: https://minio1:9000/data as has incorrect configuration: Post "https://minio1:9000/minio/bootstrap/v1/verify?": x509: certificate is valid for *.ayasdi.io, ayasdi.io, not minio1 (*fmt.wrapError)
minio_minio0.1.pchwsam1tzct@data02    |        1: cmd/server-main.go:533:cmd.serverMain()
minio_minio0.1.pchwsam1tzct@data02    | 
chriskacerguis

comment created time in 2 months

issue commentbitnami/bitnami-docker-minio

Minio Containers shutdown when using /certs

Ok, looking further, it looks like you use

MINIO_CLIENT_CONF_DIR, which is set via

export MINIO_CLIENT_CONF_DIR="/.mc"

so, if I set MINIO_CLIENT_CONFIG_DIR="/.mc" we get further, but then I see:

minio_minio0.1.nx7rr3yclayl@data01    | cp: cannot stat '/certs/CAs/public.crt': No such file or directory
chriskacerguis

comment created time in 2 months

issue commentbitnami/bitnami-docker-minio

Minio Containers shutdown when using /certs

BTW @javsalgar thanks for your help with this.

I added - MINIO_SCHEME=https to the environment section, but then this show'd up in the logs:

minio_minio0.1.kc7vz6pj49mz@data02    | /opt/bitnami/scripts/minio/setup.sh: line 35: MINIO_CLIENT_CONFIG_DIR: unbound variable
chriskacerguis

comment created time in 2 months

issue commentbitnami/bitnami-docker-minio

Minio Containers shutdown when using /certs

minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.48 
minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.48 Welcome to the Bitnami minio container
minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.48 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-minio
minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.48 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-minio/issues
minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.49 
minio_minio0.1.1qihbkgwhg4s@data02    |  14:27:15.49 INFO  ==> ** Starting MinIO setup **
minio_minio0.1.1qihbkgwhg4s@data02    | minio 14:27:15.50 DEBUG ==> Validating settings in MINIO_* env vars..
minio_minio0.1.1qihbkgwhg4s@data02    | minio 14:27:15.52 INFO  ==> Starting MinIO in background...
minio_minio0.1.1qihbkgwhg4s@data02    | ERROR Unable to start the server: HTTP specified in endpoints, but the server in the local machine is configured with a TLS certificate
minio_minio0.1.1qihbkgwhg4s@data02    |       > Please remove the certificate in the configuration directory or switch to HTTPS
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.48 
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.48 Welcome to the Bitnami minio container
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.48 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-minio
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.48 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-minio/issues
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.48 
minio_minio0.1.t4bt0nxqcg0x@data03    |  14:26:58.49 INFO  ==> ** Starting MinIO setup **
minio_minio0.1.t4bt0nxqcg0x@data03    | minio 14:26:58.50 DEBUG ==> Validating settings in MINIO_* env vars..
minio_minio0.1.t4bt0nxqcg0x@data03    | minio 14:26:58.51 INFO  ==> Starting MinIO in background...
minio_minio0.1.t4bt0nxqcg0x@data03    | ERROR Unable to start the server: HTTP specified in endpoints, but the server in the local machine is configured with a TLS certificate
minio_minio0.1.t4bt0nxqcg0x@data03    |       > Please remove the certificate in the configuration directory or switch to HTTPS
minio_minio0.1.t4bt0nxqcg0x@data03    | minio 14:27:08.52 INFO  ==> Adding local Minio host to 'mc' configuration...
minio_minio0.1.t4bt0nxqcg0x@data03    | minio 14:27:08.56 INFO  ==> MinIO is already stopped...
chriskacerguis

comment created time in 2 months

fork chriskacerguis/docker-stacks

Ready-to-run Docker images containing Jupyter applications

https://jupyter-docker-stacks.readthedocs.io

fork in 2 months

issue openedbitnami/bitnami-docker-minio

Minio Containers shutdown when using /certs

Description

When using the containers on a docker swarm with certs, the containers fail to start.

Stack File -> https://gist.github.com/chriskacerguis/37763adc88931669841b676d95ff93de

Steps to reproduce the issue:

  1. docker swarm init
  2. docker secret create fullchain.crt fullchain.crt
  3. docker secret create fullchain.crt fullchain.crt
  4. docker stack deploy -c stack.minio.yml

Describe the results you received:

Containers appear to start, however it doesn't get past this in the logs.

minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 
minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 Welcome to the Bitnami minio container
minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-minio
minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-minio/issues
minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 
minio_minio0.1.d9l92b3vfooe@data03    |  17:43:28.95 INFO  ==> ** Starting MinIO setup **
minio_minio0.1.d9l92b3vfooe@data03    | minio 17:43:28.98 INFO  ==> Starting MinIO in background...
minio_minio0.1.d9l92b3vfooe@data03    | minio 17:43:38.98 INFO  ==> Adding local Minio host to 'mc' configuration...
minio_minio0.1.d9l92b3vfooe@data03    | minio 17:43:44.05 INFO  ==> MinIO is already stopped...

Describe the results you expected:

Containers should start with TLS enabled

Additional information you deem important (e.g. issue happens only occasionally):

<!-- Any additional information, configuration or data that might be necessary to reproduce the issue. -->

Version

  • Output of docker version:
Client: Docker Engine - Community
 Version:           20.10.10
 API version:       1.41
 Go version:        go1.16.9
 Git commit:        b485636
 Built:             Mon Oct 25 07:42:59 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.10
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       e2f740d
  Built:            Mon Oct 25 07:41:08 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.11
  GitCommit:        5b46e404f6b9f661a205e28d59c982d3634148f8
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0
  • Output of docker info:
Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Build with BuildKit (Docker Inc., v0.6.3-docker)
  scan: Docker Scan (Docker Inc., v0.9.0)

Server:
 Containers: 0
  Running: 0
  Paused: 0
  Stopped: 0
 Images: 5
 Server Version: 20.10.10
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: active
  NodeID: jk8yrdpoyelri5gihp7d8d67g
  Is Manager: true
  ClusterID: qqjvjfvqscv4cwf25l76aw4zp
  Managers: 3
  Nodes: 3
  Default Address Pool: 10.0.0.0/8  
  SubnetSize: 24
  Data Path Port: 4789
  Orchestration:
   Task History Retention Limit: 5
  Raft:
   Snapshot Interval: 10000
   Number of Old Snapshots to Retain: 0
   Heartbeat Tick: 1
   Election Tick: 10
  Dispatcher:
   Heartbeat Period: 5 seconds
  CA Configuration:
   Expiry Duration: 3 months
   Force Rotate: 0
  Autolock Managers: false
  Root Rotation In Progress: false
  Node Address: 10.30.8.40
  Manager Addresses:
   10.30.8.40:2377
   10.30.9.186:2377
   10.30.9.203:2377
 Runtimes: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 5b46e404f6b9f661a205e28d59c982d3634148f8
 runc version: v1.0.2-0-g52b36a2
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
 Kernel Version: 5.11.0-1021-aws
 Operating System: Ubuntu 20.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 61.7GiB
 Name: data01
 ID: 7AOD:3HKK:J4KF:EWRO:BPXF:ARP2:P3VR:VH6P:MF2P:NDN5:3NZA:ZMTX
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
  • Output of docker-compose version (if applicable):
n/a

Additional environment details (AWS, VirtualBox, Docker for MAC, physical, etc.):

created time in 2 months

push eventchriskacerguis/dotfiles

Chris Kacerguis

commit sha a01e309d6b5edee95a8cf2f92b6d368e6fd6e2a0

added mas stuff

view details

Chris Kacerguis

commit sha 5709ea8cf3b7978a442c2e358ab8cf5bece42393

install nvm, remove hyper.js

view details

push time in 3 months

push eventchriskacerguis/dotfiles

Chris Kacerguis

commit sha 5336981e85ace7eed840e5272597671f2e55ea6f

Delete hyper.js

view details

push time in 3 months

more