[MB-7489] cb_collect info does not collect ini files and config.dat Created: 04/Jan/13  Updated: 09/Jan/13  Resolved: 08/Jan/13

Status: Closed
Project: Couchbase Server
Component/s: tools
Affects Version/s: 2.0.1
Fix Version/s: 2.0.1
Security Level: Public

Type: Bug Priority: Major
Reporter: Rohit Sinha Assignee: Bin Cui
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: <manifest><remote name="couchbase" fetch="git://github.com/couchbase/"/><remote name="membase" fetch="git://github.com/membase/"/><remote name="apache" fetch="git://github.com/apache/"/><remote name="erlang" fetch="git://github.com/erlang/"/><default remote="couchbase" revision="master"/><project name="tlm" path="tlm" revision="12abea946eafd7411273d18a10ae1f84390db3d4"><copyfile src="Makefile.top" dest="Makefile"/></project><project name="bucket_engine" path="bucket_engine" revision="70b3624abc697b7d18bf3d57f331b7674544e1e7"/><project name="ep-engine" path="ep-engine" revision="9b8377b94356c867cab2f63b2b5798001ca671f7"/><project name="libconflate" path="libconflate" revision="2cc8eff8e77d497d9f03a30fafaecb85280535d6"/><project name="libmemcached" path="libmemcached" revision="ca739a890349ac36dc79447e37da7caa9ae819f5" remote="membase"/><project name="libvbucket" path="libvbucket" revision="00d3763593c116e8e5d97aa0b646c42885727398"/><project name="membase-cli" path="membase-cli" revision="cb34a9ad94374d407a70d402bb59d07bfa41c873" remote="membase"/><project name="memcached" path="memcached" revision="7ea975a93a0231393502af4ca98976eee8a83386" remote="membase"/><project name="moxi" path="moxi" revision="52a5fa887bfff0bf719c4ee5f29634dd8707500e"/><project name="ns_server" path="ns_server" revision="941af572260ce0100aaaacbdc0c188b88ade4ef2"/><project name="portsigar" path="portsigar" revision="1bc865e1622fb93a3fe0d1a4cdf18eb97ed9d600"/><project name="sigar" path="sigar" revision="63a3cd1b316d2d4aa6dd31ce8fc66101b983e0b0"/><project name="couchbase-examples" path="couchbase-examples" revision="c59551adf11860963c1bba028adf33529a4a4d4a"/><project name="couchbase-python-client" path="couchbase-python-client" revision="006c1aa8b76f6bce11109af8a309133b57079c4c"/><project name="couchdb" path="couchdb" revision="5938ee3003f53606d5a71438da163886503cfd12"/><project name="couchdbx-app" path="couchdbx-app" revision="1e50ce34508f81dfbc99146aa5b80c12f3489e5b"/><project name="couchstore" path="couchstore" revision="b5937c4479bf05dcc67264efe19abaf52870a127"/><project name="geocouch" path="geocouch" revision="8997159c44282cfcd89ea9984dd8c0944a35b2b4"/><project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/><project name="testrunner" path="testrunner" revision="308818bf3eb9b9e092ff9acb4b7f3da60d7ca619"/><project name="otp" path="otp" revision="b6dc1a844eab061d0a7153d46e7e68296f15a504" remote="erlang"/><project name="icu4c" path="icu4c" revision="26359393672c378f41f2103a8699c4357c894be7" remote="couchbase"/><project name="snappy" path="snappy" revision="5681dde156e9d07adbeeab79666c9a9d7a10ec95" remote="couchbase"/><project name="v8" path="v8" revision="447decb75060a106131ab4de934bcc374648e7f2" remote="couchbase"/><project name="gperftools" path="gperftools" revision="8f60ba949fb8576c530ef4be148bff97106ddc59" remote="couchbase"/><project name="pysqlite" path="pysqlite" revision="0ff6e32ea05037fddef1eb41a648f2a2141009ea" remote="couchbase"/></manifest>

Attachments: Zip Archive inifile.zip    

 Description   
ran command ./cbcollect_info ~/inifile.zip over (2.0.1-110-rel)
Ubuntu 10.04.4
and zipped file contains only .log files
couchbase,
diag,
ini
memcached
ns_server.couchdb
ns_server.debug
ns_server.error
ns_server.info
ns_server.mapreduce_errors
ns_server.stats
ns_server.views
ns_server.xdcr
ns_server.xdcr_errors
stats


Neither ini file nor config.dat is captured as mentioned MB-7224.
Although we can see in /opt/couchbase we have following ini files present
root@ubuntu-1004:/opt/couchbase# find . -name *.ini
./etc/runtime.ini
./etc/couchdb/default.d/geocouch.ini
./etc/couchdb/default.d/capi.ini
./etc/couchdb/default.ini
./etc/couchdb/local.ini

Attaching the cb collect info data

 Comments   
Comment by Steve Yen [ 07/Jan/13 ]
Hi Bin,
This might be a dupe, but good to fix.
Comment by Steve Yen [ 07/Jan/13 ]
Also as with anything cbcollect-info, if any of those *.ini or *.dat files are missing/unreadable, cbcollect_info should not stop or throw an error but should just keep on going.
Comment by Bin Cui [ 08/Jan/13 ]
From the attached log, you can find all ini files under ini.log and config.dat under couchbase.log.

So this is not a bug.
Generated at Fri Apr 18 19:35:23 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.