Created
May 31, 2018 03:12
-
-
Save honghuac/c76c8c8cc27400b8b42fd7e0a7770ff2 to your computer and use it in GitHub Desktop.
mongodb pod
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@doubleh ~]# oc logs -f po/mongodb-1 | |
=> sourcing /usr/share/container-scripts/mongodb/pre-init//10-check-env-vars.sh ... | |
=> sourcing /usr/share/container-scripts/mongodb/pre-init//20-setup-wiredtiger-cache.sh ... | |
=> [Wed May 30 14:09:55] wiredTiger cacheSizeGB set to 1 | |
=> sourcing /usr/share/container-scripts/mongodb/pre-init//30-set-config-file.sh ... | |
=> sourcing /usr/share/container-scripts/mongodb/pre-init//35-setup-default-datadir.sh ... | |
=> sourcing /usr/share/container-scripts/mongodb/pre-init//40-setup-keyfile.sh ... | |
=> [Wed May 30 14:09:55] Waiting for local MongoDB to accept connections ... | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] MongoDB starting : pid=32 port=27017 dbpath=/var/lib/mongodb/data 64-bit host=mongodb-1 | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] db version v3.4.9 | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] git version: 876ebee8c7dd0e2d992f36a848ff4dc50ee6603e | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] allocator: tcmalloc | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] modules: none | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] build environment: | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] distarch: x86_64 | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] target_arch: x86_64 | |
2018-05-30T14:09:55.929+0000 I CONTROL [initandlisten] options: { config: "/etc/mongod.conf", net: { port: 27017 }, replication: { oplogSizeMB: 64, replSet: "rs0" }, security: { keyFile: "/var/lib/mongodb/keyfile" }, storage: { dbPath: "/var/lib/mongodb/data", wiredTiger: { engineConfig: { cacheSizeGB: 1.0 } } }, systemLog: { quiet: true } } | |
2018-05-30T14:09:55.933+0000 W - [initandlisten] Detected unclean shutdown - /var/lib/mongodb/data/mongod.lock is not empty. | |
2018-05-30T14:09:55.937+0000 I - [initandlisten] Detected data files in /var/lib/mongodb/data created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'. | |
2018-05-30T14:09:55.937+0000 W STORAGE [initandlisten] Recovering data from the last clean checkpoint. | |
2018-05-30T14:09:55.938+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=1024M,session_max=20000,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),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never' | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never' | |
2018-05-30T14:09:56.515+0000 I CONTROL [initandlisten] | |
2018-05-30T14:09:56.521+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/var/lib/mongodb/data/diagnostic.data' | |
2018-05-30T14:09:56.522+0000 I REPL [initandlisten] Did not find local voted for document at startup. | |
2018-05-30T14:09:56.522+0000 I REPL [initandlisten] Did not find local replica set configuration document at startup; NoMatchingDocument: Did not find replica set configuration document in local.system.replset | |
2018-05-30T14:09:56.522+0000 I NETWORK [thread1] waiting for connections on port 27017 | |
2018-05-30T14:09:57.031+0000 I ACCESS [conn1] note: no users configured in admin.system.users, allowing localhost access | |
2018-05-30T14:09:57.031+0000 I NETWORK [conn1] received client metadata from 127.0.0.1:60234 conn1: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.9" }, os: { type: "Linux", name: "Red Hat Enterprise Linux Server release 7.5 (Maipo)", architecture: "x86_64", version: "Kernel 3.10.0-693.el7.x86_64" } } | |
2018-05-30T14:09:57.143+0000 I NETWORK [conn2] received client metadata from 127.0.0.1:60240 conn2: { application: { name: "MongoDB Shell" }, driver: { name: "MongoDB Internal Client", version: "3.4.9" }, os: { type: "Linux", name: "Red Hat Enterprise Linux Server release 7.5 (Maipo)", architecture: "x86_64", version: "Kernel 3.10.0-693.el7.x86_64" } } | |
=> [Wed May 30 14:09:57] Adding mongodb-1.mongodb-internal.hong-mitzi-prod.svc.cluster.local to replica set ... | |
2018-05-30T14:09:57.263+0000 E QUERY [thread1] SyntaxError: unterminated string literal @(connect):1:29 | |
exception: connect failed | |
=> [Wed May 30 14:09:57] ERROR: couldn't add host to replica set! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment