
Date: Mon=2C 30 Sep 2013 00:33:08 +0300 From: iheim@redhat.com To: ofrenkel@redhat.com CC: cybertimber2000@hotmail.com=3B users@ovirt.org Subject: Re: [Users] Export Domain & Upgrade =20 On 09/29/2013 12:15 PM=2C Omer Frenkel wrote:
-----------------------------------------------------------------------=
*From: *"Nicholas Kesick" <cybertimber2000@hotmail.com> *To: *"oVirt Mailing List" <users@ovirt.org> *Sent: *Wednesday=2C September 25=2C 2013 8:43:47 PM *Subject: *[Users] Export Domain & Upgrade
This is the first time I've run through an 'upgrade'=2C so I'm very new to export domains=2C and I'm having some trouble getting one connected to 3.3. I had hoped to add this to the wiki=2C but it has=
n't
been as straightforward as I thought.
On my oVirt 3.2 install=2C I created a NFS export (/var/lib/exports/DAONE) and exported my VMs to it. I created a tarball of everything in DAONE=2C and then formatted the system and installed Fedora 19=2C and then oVirt 3.3. Created the NFS resource (/var/lib/exports/DAONE)=2C extracted the tarball=2C and followed t=
hese
directions <http://www.ovirt.org/How_to_clear_the_storage_domain_pool_config_o=
f_an_exported_nfs_domain>
to clear the storage domain. However when I try to add it=2C the webadmin reports the following error:
"Error while executing action New NFS Storage Domain: Error in creating a Storage Domain. The selected storage path is not empty (probably contains another Storage Domain). Either remove the existing Storage Domain from this path=2C or change the Storage pat=
h)."
Any suggestions? I wonder if anything changed for 3.3 that need to be in the instructions?
looks like you should have done 'import existing export domain' to this path instead of trying create a new one.
=20 indeed. also note you could have just upgraded rather than export/import all the= =20 vms: Bug 1009335 - TestOnly - upgrade path from Fedora 18 with oVirt 3.2 to=20 Fedora 19 with oVirt 3.3 I should have responded to this sooner=2C I got it working thanks to some= help in IRC. I should have been using "import domain"=2C but I also found =
--_ea9c1eb1-4d71-4e88-b36d-c44d97dd18e4_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable =20 - that the path has to match what was in the metdata file. So while I was try= ing to use hostname:/var/lib/exports/export I had used localhost:/var/lib/e= xports/export in ovirt 3.2=2C so that caused some delay.
I also tried making another export domain (/var/lib/exports/export) and dumping everything into the UUID under that=2C but no VMs showe=
d
up to import.
#showmount -e f19-ovirt.mkesick.net Export list for f19-ovirt.mkesick.net: /var/lib/exports/storage 0.0.0.0/0.0.0.0 /var/lib/exports/iso 0.0.0.0/0.0.0.0 /var/lib/exports/export 0.0.0.0/0.0.0.0 /var/lib/exports/DAONE 0.0.0.0/0.0.0.0
[root@f19-ovirt dom_md]# cat metadata CLASS=3DBackup DESCRIPTION=3DDaOne IOOPTIMEOUTSEC=3D1 LEASERETRIES=3D3 LEASETIMESEC=3D5 LOCKPOLICY=3D LOCKRENEWALINTERVALSEC=3D5 MASTER_VERSION=3D0 POOL_UUID=3D REMOTE_PATH=3Dlocalhost:/var/lib/exports/DAONE ROLE=3DRegular SDUUID=3D8e4f6fbd-b635-4f47-b113-ba146ee1c0cf TYPE=3DNFS VERSION=3D0
=20
=
--_ea9c1eb1-4d71-4e88-b36d-c44d97dd18e4_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'><br> =3B<BR><div>>=3B Date= : Mon=2C 30 Sep 2013 00:33:08 +0300<br>>=3B From: iheim@redhat.com<br>>= =3B To: ofrenkel@redhat.com<br>>=3B CC: cybertimber2000@hotmail.com=3B us= ers@ovirt.org<br>>=3B Subject: Re: [Users] Export Domain &=3B Upgrade<= br>>=3B <br>>=3B On 09/29/2013 12:15 PM=2C Omer Frenkel wrote:<br>>= =3B >=3B<br>>=3B >=3B<br>>=3B >=3B ------------------------------= ------------------------------------------<br>>=3B >=3B<br>>=3B >= =3B *From: *"Nicholas Kesick" <=3Bcybertimber2000@hotmail.com>=3B<b= r>>=3B >=3B *To: *"oVirt Mailing List" <=3Busers@ovirt.org>=3B<= br>>=3B >=3B *Sent: *Wednesday=2C September 25=2C 2013 8:43:47 PM<b= r>>=3B >=3B *Subject: *[Users] Export Domain &=3B Upgrade<br>>= =3B >=3B<br>>=3B >=3B This is the first time I've run through an = 'upgrade'=2C so I'm very<br>>=3B >=3B new to export domains=2C and = I'm having some trouble getting one<br>>=3B >=3B connected to 3.3. = I had hoped to add this to the wiki=2C but it hasn't<br>>=3B >=3B b= een as straightforward as I thought.<br>>=3B >=3B<br>>=3B >=3B = On my oVirt 3.2 install=2C I created a NFS export<br>>=3B >=3B (/va= r/lib/exports/DAONE) and exported my VMs to it. I created a<br>>=3B >= =3B tarball of everything in DAONE=2C and then formatted the system and= <br>>=3B >=3B installed Fedora 19=2C and then oVirt 3.3. Created th= e NFS resource<br>>=3B >=3B (/var/lib/exports/DAONE)=2C extracted t= he tarball=2C and followed these<br>>=3B >=3B directions<br>>=3B = >=3B <=3Bhttp://www.ovirt.org/How_to_clear_the_storage_domain_pool_= config_of_an_exported_nfs_domain>=3B<br>>=3B >=3B to clear the st= orage domain. However when I try to add it=2C the<br>>=3B >=3B weba= dmin reports the following error:<br>>=3B >=3B<br>>=3B >=3B "Er= ror while executing action New NFS Storage Domain: Error in<br>>=3B >= =3B creating a Storage Domain. The selected storage path is not empty<b= r>>=3B >=3B (probably contains another Storage Domain). Either remo= ve the<br>>=3B >=3B existing Storage Domain from this path=2C or ch= ange the Storage path)."<br>>=3B >=3B<br>>=3B >=3B Any suggesti= ons? I wonder if anything changed for 3.3 that need to<br>>=3B >=3B = be in the instructions?<br>>=3B >=3B<br>>=3B >=3B looks like you s= hould have done 'import existing export domain' to this<br>>=3B >=3B pa= th instead of trying create a new one.<br>>=3B <br>>=3B indeed.<br>>= =3B also note you could have just upgraded rather than export/import all th= e <br>>=3B vms:<br>>=3B Bug 1009335 - TestOnly - upgrade path from Fedo= ra 18 with oVirt 3.2 to <br>>=3B Fedora 19 with oVirt 3.3<br>>=3B </div=
<div>I should have responded to this sooner=2C I got it working thanks to = some help in IRC. =3BI should have been using "import domain"=2C but I = also found that the path has to match what was in the metdata file. So whil= e I was trying to use hostname:/var/lib/exports/export I had used localhost= :/var/lib/exports/export in ovirt 3.2=2C so that caused some delay.<br>>= =3B >=3B<br>>=3B >=3B I also tried making another export domain (= /var/lib/exports/export)<br>>=3B >=3B and dumping everything into t= he UUID under that=2C but no VMs showed<br>>=3B >=3B up to import.<= br>>=3B >=3B<br>>=3B >=3B #showmount -e f19-ovirt.mkesick.net<b= r>>=3B >=3B Export list for f19-ovirt.mkesick.net:<br>>=3B >=3B= /var/lib/exports/storage 0.0.0.0/0.0.0.0<br>>=3B >=3B /var/lib= /exports/iso 0.0.0.0/0.0.0.0<br>>=3B >=3B /var/lib/exports/expo= rt 0.0.0.0/0.0.0.0<br>>=3B >=3B /var/lib/exports/DAONE 0.0.0.0/0= .0.0.0<br>>=3B >=3B<br>>=3B >=3B [root@f19-ovirt dom_md]# cat m= etadata<br>>=3B >=3B CLASS=3DBackup<br>>=3B >=3B DESCRIPTIO= N=3DDaOne<br>>=3B >=3B IOOPTIMEOUTSEC=3D1<br>>=3B >=3B LEAS= ERETRIES=3D3<br>>=3B >=3B LEASETIMESEC=3D5<br>>=3B >=3B LOC= KPOLICY=3D<br>>=3B >=3B LOCKRENEWALINTERVALSEC=3D5<br>>=3B >=3B= MASTER_VERSION=3D0<br>>=3B >=3B POOL_UUID=3D<br>>=3B >=3B = REMOTE_PATH=3Dlocalhost:/var/lib/exports/DAONE<br>>=3B >=3B ROL= E=3DRegular<br>>=3B >=3B SDUUID=3D8e4f6fbd-b635-4f47-b113-ba146ee1c= 0cf<br>>=3B >=3B TYPE=3DNFS<br>>=3B >=3B VERSION=3D0<br>>= =3B >=3B<br>>=3B >=3B<br>>=3B >=3B =3B =3B =3B = =3B <br></div> </div></body> </html>=
--_ea9c1eb1-4d71-4e88-b36d-c44d97dd18e4_--