<!-- 
RSS generated by JIRA (5.2.4#845-sha1:c9f4cc41abe72fb236945343a1f485c2c844dac9) at Wed Jun 19 20:01:29 CDT 2013

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
For example:
http://www.couchbase.com/issues/si/jira.issueviews:issue-xml/MB-7289/MB-7289.xml?field=key&field=summary
-->
<rss version="0.92" >
<channel>
    <title>Couchbase</title>
    <link>http://www.couchbase.com/issues</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>5.2.4</version>
        <build-number>845</build-number>
        <build-date>26-12-2012</build-date>
    </build-info>

<item>
            <title>[MB-7289] [windows] Upgrade fails on cluster from 181 to 2.0 ( node referenced using hostnames) even after changing &quot;ip&quot; file</title>
                <link>http://www.couchbase.com/issues/browse/MB-7289</link>
                <project id="10010" key="MB">Couchbase Server</project>
                        <description>&lt;br/&gt;
The upgrade  from 181 to 2.0 doesn&amp;#39;t work as expected on windows64 even after changing the C:\Program Files\Couchbase\Server\var\lib\couchbase\ip file. Tested with build 1967 with following steps: &lt;br/&gt;
&lt;br/&gt;
1. Install 1.8.1. Create default bucket. &lt;br/&gt;
2. Change the hostname as per below steps: &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html&lt;/a&gt; &lt;br/&gt;
3. Verify the hostname has been changed in the Servers section on UI. &lt;br/&gt;
4. Edit the C:\Program Files\Couchbase\Server\var\lib\couchbase\ip file to reflect the latest hostname. &lt;br/&gt;
5. Upgrade to build 1967. &lt;br/&gt;
6. Existing buckets prior to upgrade are not available and Servers tab shows the IP address again. The hostname change is lost.</description>
                <environment>build 1967 on windows 64bit</environment>
            <key id="21005">MB-7289</key>
            <summary>[windows] Upgrade fails on cluster from 181 to 2.0 ( node referenced using hostnames) even after changing &quot;ip&quot; file</summary>
                <type id="1" iconUrl="http://www.couchbase.com/issues/images/icons/issuetypes/bug.png">Bug</type>
                                <priority id="1" iconUrl="http://www.couchbase.com/issues/images/icons/priorities/blocker.png">Blocker</priority>
                    <status id="6" iconUrl="http://www.couchbase.com/issues/images/icons/statuses/closed.png">Closed</status>
                    <resolution id="1">Fixed</resolution>
                    <security id="10011">Public</security>
                        <assignee username="farshid">Farshid Ghods</assignee>
                                <reporter username="deepkaran.salooja">Deepkaran Salooja</reporter>
                        <labels>
                        <label>2.0-release-notes</label>
                    </labels>
                <created>Thu, 29 Nov 2012 12:54:39 -0600</created>
                <updated>Wed, 10 Apr 2013 22:12:44 -0500</updated>
                    <resolved>Mon, 10 Dec 2012 13:26:48 -0600</resolved>
                            <version>2.0</version>
                                <fixVersion>2.0</fixVersion>
                                <component>installer</component>
                <component>tools</component>
                                <votes>0</votes>
                        <watches>1</watches>
                                                    <comments>
                    <comment id="45009" author="farshid" created="Thu, 29 Nov 2012 12:59:29 -0600"  >using windows with host names is not a supported solution. deferring this to 2.1 to make this work by then!</comment>
                    <comment id="45010" author="ketaki" created="Thu, 29 Nov 2012 13:09:00 -0600"  >This should be supported?</comment>
                    <comment id="45016" author="bcui" created="Thu, 29 Nov 2012 13:21:26 -0600"  >After upgrade to build 1967, you should follow the step 2 again to change to hostnaem to ip address. We don&amp;#39;t keep the hostname during upgrade. But we should keep the date upgraded. Can you try again?</comment>
                    <comment id="45029" author="steve" created="Thu, 29 Nov 2012 14:34:07 -0600"  >Ketaki also pointed out to me that the instructions to upgrade ip-&amp;gt;hostname do also cover both linux and windows.</comment>
                    <comment id="45047" author="ketaki" created="Thu, 29 Nov 2012 21:23:28 -0600"  >&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&lt;/a&gt; * updated the document link pointed above.</comment>
                    <comment id="45066" author="deepkaran.salooja" created="Fri, 30 Nov 2012 05:57:54 -0600"  >Tried again and followed step 2 again after the upgrade. &lt;br/&gt;
&lt;br/&gt;
Now the hostname is shown correctly. But the bucket(and the data) is lost after upgrade.&lt;br/&gt;
After upgrade, setup screen is shown and old bucket/data is lost.</comment>
                    <comment id="45131" author="bcui" created="Fri, 30 Nov 2012 21:23:15 -0600"  >&lt;a href=&quot;http://review.couchbase.org/#/c/22964/&quot;&gt;http://review.couchbase.org/#/c/22964/&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
Before upgrade:&lt;br/&gt;
Make sure ip file that contains hostname exists under &amp;lt;installroot&amp;gt;\var\lib\couchbase.  Without it,  upgrade will fail if node referenced with hostname !!!&lt;br/&gt;
&lt;br/&gt;
After upgrade:&lt;br/&gt;
1. net stop couchbaseserver&lt;br/&gt;
2. copy &amp;lt;installroot&amp;gt;\var\lib\couchbase\config.dat  &amp;lt;installroot&amp;gt;\var\lib\couchbase\config\config.dat&lt;br/&gt;
3. following the &lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-bestpractice-cloud-ip.html&lt;/a&gt;  to modify the node reference back to hostname&lt;br/&gt;
4. net start couchbaseserver&lt;br/&gt;
&lt;br/&gt;
The above second step is newly added. We need to modify document to reflect the change.  Again, this step is essential. Without it, you won&amp;#39;t see the upgraded data and original  bucket settings!&lt;br/&gt;
</comment>
                    <comment id="45132" author="bcui" created="Fri, 30 Nov 2012 21:25:06 -0600"  >My test image exists under 10.3.2.23\c:\tmp\couchbase-server.setup.exe.</comment>
                    <comment id="45133" author="ketaki" created="Fri, 30 Nov 2012 22:17:36 -0600"  >Verified this on a 1 node 181 to 2.0 upgrade. It works, all data recovered from 181</comment>
                    <comment id="45138" author="steve" created="Fri, 30 Nov 2012 23:34:03 -0600"  >The change for review is based on a commit that&amp;#39;s been -1&amp;#39;ed, so the change will need to be updated to be instead based on the last, submitted couchbase commit.</comment>
                    <comment id="45139" author="steve" created="Fri, 30 Nov 2012 23:34:23 -0600"  >up to blocker.</comment>
                    <comment id="45142" author="bcui" created="Sat, 1 Dec 2012 11:00:31 -0600"  >Rebased commit is submitted.</comment>
                    <comment id="45217" author="deepkaran.salooja" created="Mon, 3 Dec 2012 10:29:31 -0600"  >With build 1971(which has the fix), the hostname is shown and the original bucket is shown but the data is lost. &lt;br/&gt;
&lt;br/&gt;
Below are the detailed steps I followed:&lt;br/&gt;
&lt;br/&gt;
1. Install 1.8.1 on single node 64bit windows.&lt;br/&gt;
2. Change the hostname as per below steps: &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&lt;/a&gt;&lt;br/&gt;
3. Setup the cluster on UI and verify the hostname is being used in the Servers section on UI. &lt;br/&gt;
4. Create default bucket and load 500 items &lt;br/&gt;
5. Edit the ip file under &amp;lt;installroot&amp;gt;\var\lib\couchbase to have the hostname.&lt;br/&gt;
6. Upgrade to build 1971&lt;br/&gt;
7. net stop couchbaseserver &lt;br/&gt;
8. copy &amp;lt;installroot&amp;gt;\var\lib\couchbase\config.dat &amp;lt;installroot&amp;gt;\var\lib\couchbase\config\config.dat &lt;br/&gt;
9. modify the node reference back to hostname &lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&lt;/a&gt;&lt;br/&gt;
10. The UI shows the hostname and default bucket but there is no data in the bucket.</comment>
                    <comment id="45231" author="bcui" created="Mon, 3 Dec 2012 12:00:33 -0600"  >Tested build 1971 on setup 10.3.2.23. And it works with all data upgraded correctly.&lt;br/&gt;
&lt;br/&gt;
Give me your ip address and and i will take a look. Also, please check directory &amp;lt;installdroot&amp;gt;\var\lib\couchbase\data. Do you see both default and default-data directories or just default-data directory? Make sure that ip file name  will be just &amp;quot;ip&amp;quot; instead of &amp;quot;ip.txt&amp;quot;. And can you show me the content of &amp;lt;installroot&amp;gt;\var\lib\couchbase\config\ip ?</comment>
                    <comment id="45302" author="ketaki" created="Mon, 3 Dec 2012 18:53:21 -0600"  >Hi Deep, &lt;br/&gt;
&lt;br/&gt;
I tested w/ the steps outlined above. It works for&lt;br/&gt;
-Multi Node, Multi Bucket[ sasl and default]upgrade from 181 to 2.0&lt;br/&gt;
-single node, multi bucket [ sasl and default]&lt;br/&gt;
&lt;br/&gt;
-Ketaki</comment>
                    <comment id="45395" author="steve" created="Tue, 4 Dec 2012 14:10:52 -0600"  >per bug-scrub, this needs docs.</comment>
                    <comment id="45446" author="mccouch" created="Wed, 5 Dec 2012 05:35:10 -0600"  >Sorry, I&amp;#39;m not following the exact information required in the docs. &lt;br/&gt;
&lt;br/&gt;
Is it that the ip file must match the configuration file *before* the upgrade takes place? &lt;br/&gt;
&lt;br/&gt;
And this only applies to machines on which you have re-configured the IP address/hostname? </comment>
                    <comment id="45495" author="kzeller" created="Wed, 5 Dec 2012 14:15:55 -0600"  >Added to RN with flag to get clarification from QA&lt;br/&gt;
&lt;br/&gt;
For the Microsoft Windows platform, &lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;the upgrade from 1.8.1 to 2.0 does not work as expected on windows64.&lt;br/&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;This is after changing the C:\Program Files\Couchbase\Server\var\lib\couchbase\ip file. </comment>
                    <comment id="45528" author="kzeller" created="Wed, 5 Dec 2012 18:22:25 -0600"  >Added to &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-bestpractice-cloud-ip.html&lt;/a&gt;&lt;br/&gt;
&lt;br/&gt;
-Added to Release Note - cross reference to page and on page:&lt;br/&gt;
--&lt;br/&gt;
&lt;br/&gt;
You must also edit the IP address configuration file, C:\Program Files\Couchbase \Server\var\lib\couchbase\ip. This file contains the identified IP address of the node once it is part of a cluster. Open the file, and add a single line containing the hostname, as configured in the previous step.</comment>
                    <comment id="45692" author="mccouch" created="Mon, 10 Dec 2012 06:42:52 -0600"  >Added information on the upgrade process in the following places: &lt;br/&gt;
&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-upgrade-1-8-2-0.html#couchbase-getting-started-upgrade-1-8-2-0-windowsnotes&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-upgrade-1-8-2-0.html#couchbase-getting-started-upgrade-1-8-2-0-windowsnotes&lt;/a&gt;&lt;br/&gt;
&lt;a href=&quot;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-upgrade-individual.html&quot;&gt;http://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-getting-started-upgrade-individual.html&lt;/a&gt;&lt;br/&gt;
</comment>
                    <comment id="45696" author="mccouch" created="Mon, 10 Dec 2012 08:39:06 -0600"  >Documentation updated; handing back</comment>
                    <comment id="45732" author="farshid" created="Mon, 10 Dec 2012 13:26:48 -0600"  >documented</comment>
                    <comment id="54865" author="deepkaran.salooja" created="Wed, 10 Apr 2013 22:12:44 -0500"  >Verified. Per Ketaki&amp;#39;s comment above.</comment>
                </comments>
                    <attachments>
                </attachments>
            <subtasks>
        </subtasks>
                <customfields>
                                                                        <customfield id="customfield_10180" key="com.atlassian.jira.ext.charting:firstresponsedate">
                <customfieldname>Date of First Response</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>Thu, 29 Nov 2012 12:59:29 -0600</customfieldvalue>

                </customfieldvalues>
            </customfield>
                                                                                                                                                                                                            <customfield id="customfield_10081" key="com.pyxis.greenhopper.jira:gh-global-rank">
                <customfieldname>Rank</customfieldname>
                <customfieldvalues>
                    <customfieldvalue>3412</customfieldvalue>
                </customfieldvalues>
            </customfield>
                                                                                                                                                                                        <customfield id="customfield_10181" key="com.atlassian.jira.ext.charting:timeinstatus">
                <customfieldname>Time In Status</customfieldname>
                <customfieldvalues>
                    
                </customfieldvalues>
            </customfield>
                                                                    </customfields>
    </item>
</channel>
</rss>