[Users] Export Domain & Upgrade

--_272d8d1f-e015-441a-98fc-e40fecdaa7c2_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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 hasn't been as straightforwa= rd 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 an= d 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 these directions 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= =0A= Storage Domain. The selected storage path is not empty (probably =0A= contains another Storage Domain). Either remove the existing Storage =0A= Domain from this path=2C or change the Storage path)." Any suggestions? I wonder if anything changed for 3.3 that need to be in th= e instructions? I also tried making another export domain (/var/lib/exports/export) and dum= ping everything into the UUID under that=2C but no VMs showed 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 = --_272d8d1f-e015-441a-98fc-e40fecdaa7c2_ 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'>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 hasn't been as straightforward as I thought.<br><br>On my oV= irt 3.2 install=2C I created a NFS export (/var/lib/exports/DAONE) and expo= rted my VMs to it. I created a tarball of everything in DAONE=2C and then f= ormatted 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 <= a href=3D"http://www.ovirt.org/How_to_clear_the_storage_domain_pool_config_= of_an_exported_nfs_domain">followed these directions</a> to clear the stora= ge domain. However when I try to add it=2C the webadmin reports the followi= ng error:<br><br>"Error while executing action New NFS Storage Domain: Erro= r in creating a=0A= Storage Domain. The selected storage path is not empty (probably =0A= contains another Storage Domain). Either remove the existing Storage =0A= Domain from this path=2C or change the Storage path)."<br><br>Any suggestio= ns? I wonder if anything changed for 3.3 that need to be in the instruction= s?<br><br>I also tried making another export domain (/var/lib/exports/expor= t) and dumping everything into the UUID under that=2C but no VMs showed up = to import.<br><br>#showmount -e f19-ovirt.mkesick.net<br>Export list for f1= 9-ovirt.mkesick.net:<br>/var/lib/exports/storage 0.0.0.0/0.0.0.0<br>/var/li= b/exports/iso =3B =3B =3B =3B 0.0.0.0/0.0.0.0<br>/var/lib/e= xports/export =3B 0.0.0.0/0.0.0.0<br>/var/lib/exports/DAONE =3B&nbs= p=3B 0.0.0.0/0.0.0.0<br><br>[root@f19-ovirt dom_md]# cat metadata<br>CLASS= =3DBackup<br>DESCRIPTION=3DDaOne<br>IOOPTIMEOUTSEC=3D1<br>LEASERETRIES=3D3<= br>LEASETIMESEC=3D5<br>LOCKPOLICY=3D<br>LOCKRENEWALINTERVALSEC=3D5<br>MASTE= R_VERSION=3D0<br>POOL_UUID=3D<br>REMOTE_PATH=3Dlocalhost:/var/lib/exports/D= AONE<br>ROLE=3DRegular<br>SDUUID=3D8e4f6fbd-b635-4f47-b113-ba146ee1c0cf<br>= TYPE=3DNFS<br>VERSION=3D0<br><br> </div></body> </html>= --_272d8d1f-e015-441a-98fc-e40fecdaa7c2_--

------=_Part_166924_1049918107.1380446113808 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Nicholas Kesick" <cybertimber2000@hotmail.com> To: "oVirt Mailing List" <users@ovirt.org> Sent: Wednesday, September 25, 2013 8:43:47 PM Subject: [Users] Export Domain & Upgrade
This is the first time I've run through an 'upgrade', so I'm very new to export domains, and I'm having some trouble getting one connected to 3.3. I had hoped to add this to the wiki, but it hasn't been as straightforward as I thought.
On my oVirt 3.2 install, I created a NFS export (/var/lib/exports/DAONE) and exported my VMs to it. I created a tarball of everything in DAONE, and then formatted the system and installed Fedora 19, and then oVirt 3.3. Created the NFS resource (/var/lib/exports/DAONE), extracted the tarball, and followed these directions to clear the storage domain. However when I try to add it, 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, or change the Storage path)."
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.
I also tried making another export domain (/var/lib/exports/export) and dumping everything into the UUID under that, but no VMs showed 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=Backup DESCRIPTION=DaOne IOOPTIMEOUTSEC=1 LEASERETRIES=3 LEASETIMESEC=5 LOCKPOLICY= LOCKRENEWALINTERVALSEC=5 MASTER_VERSION=0 POOL_UUID= REMOTE_PATH=localhost:/var/lib/exports/DAONE ROLE=Regular SDUUID=8e4f6fbd-b635-4f47-b113-ba146ee1c0cf TYPE=NFS VERSION=0
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
"oVirt Mailing List" <users@ovirt.org><br><b>Sent: </b>Wednesday, Se=
------=_Part_166924_1049918107.1380446113808 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"font-family: times new roman, new york, times, se= rif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id= =3D"zwchr"><blockquote style=3D"border-left:2px solid #1010FF;margin-left:5= px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-de= coration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>Fr= om: </b>"Nicholas Kesick" <cybertimber2000@hotmail.com><br><b>To: </b= ptember 25, 2013 8:43:47 PM<br><b>Subject: </b>[Users] Export Domain & = Upgrade<br><div><br></div><style><!-- .hmmessage P { margin:0px; padding:0px } body.hmmessage { font-size: 12pt; font-family:Calibri } --></style><div dir=3D"ltr">This is the first time I've run through an 'upg= rade', so I'm very new to export domains, and I'm having some trouble getti= ng one connected to 3.3. I had hoped to add this to the wiki, but it hasn't= been as straightforward as I thought.<br><div><br></div>On my oVirt 3.2 in= stall, I created a NFS export (/var/lib/exports/DAONE) and exported my VMs = to it. I created a tarball of everything in DAONE, and then formatted the s= ystem and installed Fedora 19, and then oVirt 3.3. Created the NFS resource= (/var/lib/exports/DAONE), extracted the tarball, and <a href=3D"http://www= .ovirt.org/How_to_clear_the_storage_domain_pool_config_of_an_exported_nfs_d= omain" target=3D"_blank">followed these directions</a> to clear the storage= domain. However when I try to add it, the webadmin reports the following e= rror:<br><div><br></div>"Error while executing action New NFS Storage Domai= n: Error in creating a Storage Domain. The selected storage path is not empty (probably=20 contains another Storage Domain). Either remove the existing Storage=20 Domain from this path, or change the Storage path)."<br><div><br></div>Any = suggestions? I wonder if anything changed for 3.3 that need to be in the in= structions?<br></div></blockquote><div>looks like you should have done 'imp= ort existing export domain' to this path instead of trying create a new one= .</div><div><br></div><blockquote style=3D"border-left:2px solid #1010FF;ma= rgin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:nor= mal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:1= 2pt;"><div dir=3D"ltr">I also tried making another export domain (/var/lib/= exports/export) and dumping everything into the UUID under that, but no VMs= showed up to import.<br><div><br></div>#showmount -e f19-ovirt.mkesick.net= <br>Export list for f19-ovirt.mkesick.net:<br>/var/lib/exports/storage 0.0.= 0.0/0.0.0.0<br>/var/lib/exports/iso 0.0.0.0/0.0.0.0= <br>/var/lib/exports/export 0.0.0.0/0.0.0.0<br>/var/lib/exports/DAONE= 0.0.0.0/0.0.0.0<br><div><br></div>[root@f19-ovirt dom_md]# cat= metadata<br>CLASS=3DBackup<br>DESCRIPTION=3DDaOne<br>IOOPTIMEOUTSEC=3D1<br=
LEASERETRIES=3D3<br>LEASETIMESEC=3D5<br>LOCKPOLICY=3D<br>LOCKRENEWALINTERV= ALSEC=3D5<br>MASTER_VERSION=3D0<br>POOL_UUID=3D<br>REMOTE_PATH=3Dlocalhost:= /var/lib/exports/DAONE<br>ROLE=3DRegular<br>SDUUID=3D8e4f6fbd-b635-4f47-b11= 3-ba146ee1c0cf<br>TYPE=3DNFS<br>VERSION=3D0<br><div><br></div></div><br>___= ____________________________________________<br>Users mailing list<br>Users= @ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote= <div><br></div></div></body></html> ------=_Part_166924_1049918107.1380446113808--

On 09/29/2013 12:15 PM, Omer Frenkel wrote:
------------------------------------------------------------------------
*From: *"Nicholas Kesick" <cybertimber2000@hotmail.com> *To: *"oVirt Mailing List" <users@ovirt.org> *Sent: *Wednesday, September 25, 2013 8:43:47 PM *Subject: *[Users] Export Domain & Upgrade
This is the first time I've run through an 'upgrade', so I'm very new to export domains, and I'm having some trouble getting one connected to 3.3. I had hoped to add this to the wiki, but it hasn't been as straightforward as I thought.
On my oVirt 3.2 install, I created a NFS export (/var/lib/exports/DAONE) and exported my VMs to it. I created a tarball of everything in DAONE, and then formatted the system and installed Fedora 19, and then oVirt 3.3. Created the NFS resource (/var/lib/exports/DAONE), extracted the tarball, and followed these directions <http://www.ovirt.org/How_to_clear_the_storage_domain_pool_config_of_an_exported_nfs_domain> to clear the storage domain. However when I try to add it, 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, or change the Storage path)."
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.
indeed. also note you could have just upgraded rather than export/import all the vms: Bug 1009335 - TestOnly - upgrade path from Fedora 18 with oVirt 3.2 to Fedora 19 with oVirt 3.3
I also tried making another export domain (/var/lib/exports/export) and dumping everything into the UUID under that, but no VMs showed 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=Backup DESCRIPTION=DaOne IOOPTIMEOUTSEC=1 LEASERETRIES=3 LEASETIMESEC=5 LOCKPOLICY= LOCKRENEWALINTERVALSEC=5 MASTER_VERSION=0 POOL_UUID= REMOTE_PATH=localhost:/var/lib/exports/DAONE ROLE=Regular SDUUID=8e4f6fbd-b635-4f47-b113-ba146ee1c0cf TYPE=NFS VERSION=0
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

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_--
participants (3)
-
Itamar Heim
-
Nicholas Kesick
-
Omer Frenkel