[MB-7255] [windows] cbcollect_info doesn't work: tool is trying to access linux path Created: 23/Nov/12  Updated: 02/Apr/13  Resolved: 03/Jan/13

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

Type: Bug Priority: Blocker
Reporter: Iryna Mironava Assignee: Iryna Mironava
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment: build 1965
<manifest>
<remote name="couchbase" fetch="git://10.1.1.210/"/>
<remote name="membase" fetch="git://10.1.1.210/"/>
<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="de42c8cab65eb4ec7107c1c43c333df0ef8ff73d"/>
<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="9daab001105fc00ed00550811a3b3725ef17f19e" 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="982ef07f3c20f45024830befcc4b430e3929de24"/>
<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="31560d74c3bbe8c019186923a9db3468a8197ab8"/>
<project name="couchdbx-app" path="couchdbx-app" revision="7b8eb60114fdc3b8e79baf8cc8ec87d32be71983"/>
<project name="couchstore" path="couchstore" revision="b5937c4479bf05dcc67264efe19abaf52870a127"/>
<project name="geocouch" path="geocouch" revision="849d5443689b1924f097548af864c539bffcc929"/>
<project name="mccouch" path="mccouch" revision="88701cc326bc3dde4ed072bb8441be83adcfb2a5"/>
<project name="testrunner" path="testrunner" revision="c233365d5981b9dfd9b7947bc1b7692b2514dffc"/>
<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: File local.ini     File runtime.ini    

 Description   
$ ./cbcollect_info.exe collect-146.zip
Traceback (most recent call last):
  File "cbcollect_info", line 479, in <module>
    main()
  File "cbcollect_info", line 472, in main
    for task in make_tasks(options.root, dbdir):
  File "cbcollect_info", line 427, in make_tasks
    for f in os.listdir(dbdir):
WindowsError: [Error 3] The system cannot find the path specified: '/opt/couchbase/var/lib/couchbase/data/*.*'


 Comments   
Comment by Pavel Paulau [ 23/Nov/12 ]
See also MB-7242.
Comment by Bin Cui [ 23/Nov/12 ]
It fails to retrieve the database directory path from etc/runtime.ini or etc/couchdb/local.ini. Can Iryna upload all ini files so that we can figure it out?
Comment by Iryna Mironava [ 26/Nov/12 ]
ini files are attached now
Comment by Bin Cui [ 26/Nov/12 ]
Neither of those ini files has database_dir field specified. Can you point your VM to me?
Comment by Farshid Ghods (Inactive) [ 26/Nov/12 ]
please provide the vm info ( ip/user/password ) and asign the ticketback to bin
Comment by Bin Cui [ 26/Nov/12 ]
I download the latest 1965 build and i can find database_dir specified in runtime.ini

[couchdb]
database_dir = c:/Program Files/Couchbase/Server/var/lib/couchbase/data
view_index_dir = c:/Program Files/Couchbase/Server/var/lib/couchbase/data

But at the same time, i found a potential bug
http://review.couchbase.org/#/c/22826/
Comment by Steve Yen [ 26/Nov/12 ]
bug-scrub - must fix for 2.0
Comment by Steve Yen [ 27/Nov/12 ]
from bug-scrub...

Iryna, please confirm that this is fixed with latest build (> 1966).
Thanks.
Comment by Iryna Mironava [ 28/Nov/12 ]
verified build 1967
Comment by Iryna Mironava [ 02/Apr/13 ]
closed as not reproduced
Generated at Sat Sep 20 09:09:21 CDT 2014 using JIRA 5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9.