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

can not run mongodb 4.4.10 #11121

Closed
sfeng1996 opened this issue Jul 11, 2022 · 9 comments
Closed

can not run mongodb 4.4.10 #11121

sfeng1996 opened this issue Jul 11, 2022 · 9 comments
Assignees
Labels
mongodb solved stale 15 days without activity triage Triage is needed

Comments

@sfeng1996
Copy link

sfeng1996 commented Jul 11, 2022

Name and Version

[bitnami/mongodb] Release 12.1.25

What is the problem this feature will solve?

Can this chart successfully run mongdb version 4.4.10 ?

What is the feature you are proposing to solve the problem?

none

What alternatives have you considered?

No response

@rafariossaa
Copy link
Contributor

Have you tried changing the image.tag parameter ?

@sfeng1996
Copy link
Author

Have you tried changing the image.tag parameter ?

yes, the pod of mongodb can not run successfully,
here is the error log:

 kubectl logs -f pods/mongodb-1
mongodb 06:54:28.74 INFO  ==> Advertised Hostname: mongodb-1.mongodb-headless.default.svc.cluster.local
mongodb 06:54:28.74 INFO  ==> Advertised Port: 27017
mongodb 06:54:28.75 INFO  ==> Pod name doesn't match initial primary pod name, configuring node as a secondary
mongodb 06:54:28.77 
mongodb 06:54:28.77 Welcome to the Bitnami mongodb container
mongodb 06:54:28.77 Subscribe to project updates by watching https://github.com/bitnami/bitnami-docker-mongodb
mongodb 06:54:28.77 Submit issues and feature requests at https://github.com/bitnami/bitnami-docker-mongodb/issues
mongodb 06:54:28.77 
mongodb 06:54:28.77 INFO  ==> ** Starting MongoDB setup **
mongodb 06:54:28.79 INFO  ==> Validating settings in MONGODB_* env vars...
mongodb 06:54:28.81 INFO  ==> Initializing MongoDB...
mongodb 06:54:28.83 INFO  ==> Deploying MongoDB with persisted data...
mongodb 06:54:28.84 INFO  ==> Writing keyfile for replica set authentication...
mongodb 06:54:28.86 INFO  ==> ** MongoDB setup finished! **

mongodb 06:54:28.88 INFO  ==> ** Starting MongoDB **

{"t":{"$date":"2022-07-11T06:54:28.918+00:00"},"s":"I",  "c":"CONTROL",  "id":20698,   "ctx":"main","msg":"***** SERVER RESTARTED *****"}
{"t":{"$date":"2022-07-11T06:54:28.921+00:00"},"s":"I",  "c":"CONTROL",  "id":23285,   "ctx":"main","msg":"Automatically disabling TLS 1.0, to force-enable TLS 1.0 specify --sslDisabledProtocols 'none'"}
{"t":{"$date":"2022-07-11T06:54:28.923+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2022-07-11T06:54:28.923+00:00"},"s":"I",  "c":"NETWORK",  "id":4648601, "ctx":"main","msg":"Implicit TCP FastOpen unavailable. If TCP FastOpen is required, set tcpFastOpenServer, tcpFastOpenClient, and tcpFastOpenQueueSize."}
{"t":{"$date":"2022-07-11T06:54:28.923+00:00"},"s":"W",  "c":"ASIO",     "id":22601,   "ctx":"main","msg":"No TransportLayer configured during NetworkInterface startup"}
{"t":{"$date":"2022-07-11T06:54:28.956+00:00"},"s":"I",  "c":"STORAGE",  "id":4615611, "ctx":"initandlisten","msg":"MongoDB starting","attr":{"pid":1,"port":27017,"dbPath":"/bitnami/mongodb/data/db","architecture":"64-bit","host":"mongodb-1"}}
{"t":{"$date":"2022-07-11T06:54:28.956+00:00"},"s":"I",  "c":"CONTROL",  "id":23403,   "ctx":"initandlisten","msg":"Build Info","attr":{"buildInfo":{"version":"4.4.10","gitVersion":"58971da1ef93435a9f62bf4708a81713def6e88c","openSSLVersion":"OpenSSL 1.1.1d  10 Sep 2019","modules":[],"allocator":"tcmalloc","environment":{"distmod":"debian10","distarch":"x86_64","target_arch":"x86_64"}}}}
{"t":{"$date":"2022-07-11T06:54:28.956+00:00"},"s":"I",  "c":"CONTROL",  "id":51765,   "ctx":"initandlisten","msg":"Operating System","attr":{"os":{"name":"PRETTY_NAME=\"Debian GNU/Linux 10 (buster)\"","version":"Kernel 4.14.49"}}}
{"t":{"$date":"2022-07-11T06:54:28.956+00:00"},"s":"I",  "c":"CONTROL",  "id":21951,   "ctx":"initandlisten","msg":"Options set by command line","attr":{"options":{"config":"/opt/bitnami/mongodb/conf/mongodb.conf","net":{"bindIp":"*","ipv6":false,"port":27017,"unixDomainSocket":{"enabled":true,"pathPrefix":"/opt/bitnami/mongodb/tmp"}},"processManagement":{"fork":false,"pidFilePath":"/opt/bitnami/mongodb/tmp/mongodb.pid"},"replication":{"enableMajorityReadConcern":true,"replSetName":"rs0"},"security":{"authorization":"disabled","keyFile":"/opt/bitnami/mongodb/conf/keyfile"},"setParameter":{"enableLocalhostAuthBypass":"true"},"storage":{"dbPath":"/bitnami/mongodb/data/db","directoryPerDB":false,"journal":{"enabled":true}},"systemLog":{"destination":"file","logAppend":true,"logRotate":"reopen","path":"/opt/bitnami/mongodb/logs/mongodb.log","quiet":false,"verbosity":0}}}}
{"t":{"$date":"2022-07-11T06:54:28.957+00:00"},"s":"I",  "c":"STORAGE",  "id":22270,   "ctx":"initandlisten","msg":"Storage engine to use detected by data files","attr":{"dbpath":"/bitnami/mongodb/data/db","storageEngine":"wiredTiger"}}
{"t":{"$date":"2022-07-11T06:54:28.957+00:00"},"s":"I",  "c":"STORAGE",  "id":22315,   "ctx":"initandlisten","msg":"Opening WiredTiger","attr":{"config":"create,cache_size=3477M,session_max=33000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000,close_scan_interval=10,close_handle_minimum=250),statistics_log=(wait=0),verbose=[recovery_progress,checkpoint_progress,compact_progress],"}}
{"t":{"$date":"2022-07-11T06:54:29.501+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:501705][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 53 through 54"}}
{"t":{"$date":"2022-07-11T06:54:29.609+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:609258][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 54 through 54"}}
{"t":{"$date":"2022-07-11T06:54:29.749+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:749344][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Main recovery loop: starting at 53/1024 to 54/256"}}
{"t":{"$date":"2022-07-11T06:54:29.749+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:749803][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 53 through 54"}}
{"t":{"$date":"2022-07-11T06:54:29.820+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:820199][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY_PROGRESS] Recovering log 54 through 54"}}
{"t":{"$date":"2022-07-11T06:54:29.876+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:876238][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global recovery timestamp: (1657508523, 1)"}}
{"t":{"$date":"2022-07-11T06:54:29.876+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:876315][1:0x7f2310826140], txn-recover: [WT_VERB_RECOVERY | WT_VERB_RECOVERY_PROGRESS] Set global oldest timestamp: (1657508523, 1)"}}
{"t":{"$date":"2022-07-11T06:54:29.878+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:878735][1:0x7f2310826140], WT_SESSION.checkpoint: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 6, snapshot max: 6 snapshot count: 0, oldest timestamp: (1657508523, 1) , meta checkpoint timestamp: (1657508523, 1) base write gen: 397"}}
{"t":{"$date":"2022-07-11T06:54:29.894+00:00"},"s":"I",  "c":"STORAGE",  "id":4795906, "ctx":"initandlisten","msg":"WiredTiger opened","attr":{"durationMillis":937}}
{"t":{"$date":"2022-07-11T06:54:29.894+00:00"},"s":"I",  "c":"RECOVERY", "id":23987,   "ctx":"initandlisten","msg":"WiredTiger recoveryTimestamp","attr":{"recoveryTimestamp":{"$timestamp":{"t":1657508523,"i":1}}}}
{"t":{"$date":"2022-07-11T06:54:29.895+00:00"},"s":"I",  "c":"STORAGE",  "id":4366408, "ctx":"initandlisten","msg":"No table logging settings modifications are required for existing WiredTiger tables","attr":{"loggingEnabled":false}}
{"t":{"$date":"2022-07-11T06:54:29.897+00:00"},"s":"I",  "c":"STORAGE",  "id":22383,   "ctx":"initandlisten","msg":"The size storer reports that the oplog contains","attr":{"numRecords":23,"dataSize":2405}}
{"t":{"$date":"2022-07-11T06:54:29.897+00:00"},"s":"I",  "c":"STORAGE",  "id":22384,   "ctx":"initandlisten","msg":"Scanning the oplog to determine where to place markers for truncation"}
{"t":{"$date":"2022-07-11T06:54:29.897+00:00"},"s":"I",  "c":"STORAGE",  "id":22382,   "ctx":"initandlisten","msg":"WiredTiger record store oplog processing finished","attr":{"durationMillis":0}}
{"t":{"$date":"2022-07-11T06:54:29.898+00:00"},"s":"I",  "c":"STORAGE",  "id":22262,   "ctx":"initandlisten","msg":"Timestamp monitor starting"}
{"t":{"$date":"2022-07-11T06:54:29.906+00:00"},"s":"F",  "c":"CONTROL",  "id":20573,   "ctx":"initandlisten","msg":"Wrong mongod version","attr":{"error":"UPGRADE PROBLEM: Found an invalid featureCompatibilityVersion document (ERROR: BadValue: Invalid value for version, found 5.0, expected '4.4' or '4.2'. Contents of featureCompatibilityVersion document in admin.system.version: { _id: \"featureCompatibilityVersion\", version: \"5.0\" }. See https://docs.mongodb.com/master/release-notes/4.4-compatibility/#feature-compatibility.). If the current featureCompatibilityVersion is below 4.2, see the documentation on upgrading at https://docs.mongodb.com/master/release-notes/4.4/#upgrade-procedures."}}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784900, "ctx":"initandlisten","msg":"Stepping down the ReplicationCoordinator for shutdown","attr":{"waitTimeMillis":10000}}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"COMMAND",  "id":4784901, "ctx":"initandlisten","msg":"Shutting down the MirrorMaestro"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"SHARDING", "id":4784902, "ctx":"initandlisten","msg":"Shutting down the WaitForMajorityService"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"NETWORK",  "id":20562,   "ctx":"initandlisten","msg":"Shutdown: going to close listening sockets"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"NETWORK",  "id":4784905, "ctx":"initandlisten","msg":"Shutting down the global connection pool"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784906, "ctx":"initandlisten","msg":"Shutting down the FlowControlTicketholder"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"-",        "id":20520,   "ctx":"initandlisten","msg":"Stopping further Flow Control ticket acquisitions."}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784907, "ctx":"initandlisten","msg":"Shutting down the replica set node executor"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784908, "ctx":"initandlisten","msg":"Shutting down the PeriodicThreadToAbortExpiredTransactions"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784934, "ctx":"initandlisten","msg":"Shutting down the PeriodicThreadToDecreaseSnapshotHistoryCachePressure"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784909, "ctx":"initandlisten","msg":"Shutting down the ReplicationCoordinator"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":21328,   "ctx":"initandlisten","msg":"Shutting down replication subsystems"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"W",  "c":"REPL",     "id":21409,   "ctx":"initandlisten","msg":"ReplicationCoordinatorImpl::shutdown() called before startup() finished. Shutting down without cleaning up the replication system"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"SHARDING", "id":4784910, "ctx":"initandlisten","msg":"Shutting down the ShardingInitializationMongoD"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784911, "ctx":"initandlisten","msg":"Enqueuing the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"-",        "id":4784912, "ctx":"initandlisten","msg":"Killing all operations for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"-",        "id":4695300, "ctx":"initandlisten","msg":"Interrupted all currently running operations","attr":{"opsKilled":3}}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"COMMAND",  "id":4784913, "ctx":"initandlisten","msg":"Shutting down all open transactions"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784914, "ctx":"initandlisten","msg":"Acquiring the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"INDEX",    "id":4784915, "ctx":"initandlisten","msg":"Shutting down the IndexBuildsCoordinator"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784916, "ctx":"initandlisten","msg":"Reacquiring the ReplicationStateTransitionLock for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"REPL",     "id":4784917, "ctx":"initandlisten","msg":"Attempting to mark clean shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"NETWORK",  "id":4784918, "ctx":"initandlisten","msg":"Shutting down the ReplicaSetMonitor"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"SHARDING", "id":4784921, "ctx":"initandlisten","msg":"Shutting down the MigrationUtilExecutor"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"CONTROL",  "id":4784925, "ctx":"initandlisten","msg":"Shutting down free monitoring"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784927, "ctx":"initandlisten","msg":"Shutting down the HealthLog"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784929, "ctx":"initandlisten","msg":"Acquiring the global lock for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":4784930, "ctx":"initandlisten","msg":"Shutting down the storage engine"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":22320,   "ctx":"initandlisten","msg":"Shutting down journal flusher thread"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":22321,   "ctx":"initandlisten","msg":"Finished shutting down journal flusher thread"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":20282,   "ctx":"initandlisten","msg":"Deregistering all the collections"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":22372,   "ctx":"OplogVisibilityThread","msg":"Oplog visibility thread shutting down."}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":22261,   "ctx":"initandlisten","msg":"Timestamp monitor shutting down"}
{"t":{"$date":"2022-07-11T06:54:29.907+00:00"},"s":"I",  "c":"STORAGE",  "id":22317,   "ctx":"initandlisten","msg":"WiredTigerKVEngine shutting down"}
{"t":{"$date":"2022-07-11T06:54:29.909+00:00"},"s":"I",  "c":"STORAGE",  "id":22318,   "ctx":"initandlisten","msg":"Shutting down session sweeper thread"}
{"t":{"$date":"2022-07-11T06:54:29.909+00:00"},"s":"I",  "c":"STORAGE",  "id":22319,   "ctx":"initandlisten","msg":"Finished shutting down session sweeper thread"}
{"t":{"$date":"2022-07-11T06:54:29.909+00:00"},"s":"I",  "c":"STORAGE",  "id":22322,   "ctx":"initandlisten","msg":"Shutting down checkpoint thread"}
{"t":{"$date":"2022-07-11T06:54:29.909+00:00"},"s":"I",  "c":"STORAGE",  "id":22323,   "ctx":"initandlisten","msg":"Finished shutting down checkpoint thread"}
{"t":{"$date":"2022-07-11T06:54:29.909+00:00"},"s":"I",  "c":"STORAGE",  "id":4795902, "ctx":"initandlisten","msg":"Closing WiredTiger","attr":{"closeConfig":"leak_memory=true,"}}
{"t":{"$date":"2022-07-11T06:54:29.911+00:00"},"s":"I",  "c":"STORAGE",  "id":22430,   "ctx":"initandlisten","msg":"WiredTiger message","attr":{"message":"[1657522469:911308][1:0x7f2310826140], close_ckpt: [WT_VERB_CHECKPOINT_PROGRESS] saving checkpoint snapshot min: 8, snapshot max: 8 snapshot count: 0, oldest timestamp: (1657508523, 1) , meta checkpoint timestamp: (1657508523, 1) base write gen: 397"}}
{"t":{"$date":"2022-07-11T06:54:29.928+00:00"},"s":"I",  "c":"STORAGE",  "id":4795901, "ctx":"initandlisten","msg":"WiredTiger closed","attr":{"durationMillis":19}}
{"t":{"$date":"2022-07-11T06:54:29.929+00:00"},"s":"I",  "c":"STORAGE",  "id":22279,   "ctx":"initandlisten","msg":"shutdown: removing fs lock..."}
{"t":{"$date":"2022-07-11T06:54:29.929+00:00"},"s":"I",  "c":"-",        "id":4784931, "ctx":"initandlisten","msg":"Dropping the scope cache for shutdown"}
{"t":{"$date":"2022-07-11T06:54:29.929+00:00"},"s":"I",  "c":"FTDC",     "id":4784926, "ctx":"initandlisten","msg":"Shutting down full-time data capture"}
{"t":{"$date":"2022-07-11T06:54:29.929+00:00"},"s":"I",  "c":"CONTROL",  "id":20565,   "ctx":"initandlisten","msg":"Now exiting"}
{"t":{"$date":"2022-07-11T06:54:29.929+00:00"},"s":"I",  "c":"CONTROL",  "id":23138,   "ctx":"initandlisten","msg":"Shutting down","attr":{"exitCode":62}}

@sfeng1996
Copy link
Author

Have you tried changing the image.tag parameter ?

Is there a better solution ?

@joancafom
Copy link
Contributor

Hi @sfeng1996

The current version of the chart is specially tailored to be compatible with the latest major release of MongoDB, 5.X. Using an older version can make some things fail. In this case: liveness and readiness probes

$ k describe pod/beta-mongodb-59d9db6d88-g8tsw
  Normal   Pulled                  68s                kubelet                  Successfully pulled image "docker.io/bitnami/mongodb:4.4.10" in 8.05425779s
  Normal   Created                 68s                kubelet                  Created container mongodb
  Normal   Started                 68s                kubelet                  Started container mongodb
  Warning  Unhealthy               2s (x7 over 62s)   kubelet                  Readiness probe failed: /bitnami/scripts/readiness-probe.sh: line 9: mongosh: command not found
  Warning  Unhealthy               2s (x2 over 22s)   kubelet                  Liveness probe failed: /bitnami/scripts/ping-mongodb.sh: line 2: mongosh: command not found

If you want to use MongoDB 4.X, you can always install an older version od the chart compatible with it:

$ helm search repo bitnami/mongodb --versions
NAME                   	CHART VERSION	APP VERSION	DESCRIPTION
bitnami/mongodb        	12.1.26      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.25      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.24      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
...
bitnami/mongodb        	11.2.0       	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	11.1.10      	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
...

$ helm install sapphire bitnami/mongodb --version 11.2.0
NAME: sapphire
LAST DEPLOYED: Thu Jul 14 11:36:41 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: mongodb
CHART VERSION: 11.2.0
APP VERSION: 4.4.13
...

@github-actions
Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label Jul 30, 2022
@sfeng1996
Copy link
Author

Hi @sfeng1996

The current version of the chart is specially tailored to be compatible with the latest major release of MongoDB, 5.X. Using an older version can make some things fail. In this case: liveness and readiness probes

$ k describe pod/beta-mongodb-59d9db6d88-g8tsw
  Normal   Pulled                  68s                kubelet                  Successfully pulled image "docker.io/bitnami/mongodb:4.4.10" in 8.05425779s
  Normal   Created                 68s                kubelet                  Created container mongodb
  Normal   Started                 68s                kubelet                  Started container mongodb
  Warning  Unhealthy               2s (x7 over 62s)   kubelet                  Readiness probe failed: /bitnami/scripts/readiness-probe.sh: line 9: mongosh: command not found
  Warning  Unhealthy               2s (x2 over 22s)   kubelet                  Liveness probe failed: /bitnami/scripts/ping-mongodb.sh: line 2: mongosh: command not found

If you want to use MongoDB 4.X, you can always install an older version od the chart compatible with it:

$ helm search repo bitnami/mongodb --versions
NAME                   	CHART VERSION	APP VERSION	DESCRIPTION
bitnami/mongodb        	12.1.26      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.25      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.24      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
...
bitnami/mongodb        	11.2.0       	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	11.1.10      	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
...

$ helm install sapphire bitnami/mongodb --version 11.2.0
NAME: sapphire
LAST DEPLOYED: Thu Jul 14 11:36:41 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: mongodb
CHART VERSION: 11.2.0
APP VERSION: 4.4.13
...

thks, it works

@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@charnet1019
Copy link

Hi @sfeng1996

The current version of the chart is specially tailored to be compatible with the latest major release of MongoDB, 5.X. Using an older version can make some things fail. In this case: liveness and readiness probes

$ k describe pod/beta-mongodb-59d9db6d88-g8tsw
  Normal   Pulled                  68s                kubelet                  Successfully pulled image "docker.io/bitnami/mongodb:4.4.10" in 8.05425779s
  Normal   Created                 68s                kubelet                  Created container mongodb
  Normal   Started                 68s                kubelet                  Started container mongodb
  Warning  Unhealthy               2s (x7 over 62s)   kubelet                  Readiness probe failed: /bitnami/scripts/readiness-probe.sh: line 9: mongosh: command not found
  Warning  Unhealthy               2s (x2 over 22s)   kubelet                  Liveness probe failed: /bitnami/scripts/ping-mongodb.sh: line 2: mongosh: command not found

If you want to use MongoDB 4.X, you can always install an older version od the chart compatible with it:

$ helm search repo bitnami/mongodb --versions
NAME                   	CHART VERSION	APP VERSION	DESCRIPTION
bitnami/mongodb        	12.1.26      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.25      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	12.1.24      	5.0.9      	MongoDB(R) is a relational open source NoSQL da...
...
bitnami/mongodb        	11.2.0       	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb        	11.1.10      	4.4.13     	MongoDB(R) is a relational open source NoSQL da...
...

$ helm install sapphire bitnami/mongodb --version 11.2.0
NAME: sapphire
LAST DEPLOYED: Thu Jul 14 11:36:41 2022
NAMESPACE: default
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
CHART NAME: mongodb
CHART VERSION: 11.2.0
APP VERSION: 4.4.13
...

Now i can not find older version for mongodb 4.x, how can i to get it?

[root@ksmaster01 helm]# helm search repo bitnami/mongodb --versions
NAME                    CHART VERSION   APP VERSION     DESCRIPTION                                       
bitnami/mongodb         13.15.1         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.15.0         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.14.2         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.14.1         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.14.0         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.13.1         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.13.0         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.12.1         6.0.6           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.12.0         6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.10.3         6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.10.2         6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.10.1         6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.9.4          6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.9.3          6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.9.2          6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.9.1          6.0.5           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.9.0          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.8.3          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.8.2          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.8.1          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.8.0          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.7.0          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.8          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.7          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.6          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.5          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.4          6.0.4           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.3          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.2          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.1          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.6.0          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.5.0          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.4.4          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.4.3          6.0.3           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.4.2          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.4.1          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.4.0          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.3.1          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.3.0          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.2.0          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.7          6.0.2           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.5          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.4          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.3          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.2          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.1          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.1.0          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.0.2          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.0.1          6.0.1           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         13.0.0          6.0.0           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.31         5.0.10          MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.30         5.0.10          MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.29         5.0.10          MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.27         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.26         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.25         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.24         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.23         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.22         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.21         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.20         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.19         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.18         5.0.9           MongoDB(R) is a relational open source NoSQL da...
bitnami/mongodb         12.1.16         5.0.9           MongoDB(R) is a relational open source NoSQL da...

@bitnami-bot bitnami-bot added this to Triage in Support Jun 2, 2023
@github-actions github-actions bot added the triage Triage is needed label Jun 2, 2023
@carrodher
Copy link
Member

This is related to the retention policy applied to the index.yaml, see #10539

@carrodher carrodher moved this from Triage to Solved in Support Jun 2, 2023
@github-actions github-actions bot moved this from Solved to Pending in Support Jun 2, 2023
@github-actions github-actions bot added the solved label Jun 2, 2023
@fmulero fmulero moved this from Pending to Solved in Support Jun 28, 2023
@github-actions github-actions bot removed this from Solved in Support Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mongodb solved stale 15 days without activity triage Triage is needed
Projects
None yet
Development

No branches or pull requests

5 participants