[ovirt-users] Import FC Storage as iSCSI

Raul Laansoo raul.laansoo at bigbank.ee
Wed Nov 5 07:06:05 UTC 2014


Hi.

No. I see no disks, VMs or templates on the imported storage domain. I do see two OVF_STORE disks listed under 'Disks'

Regards.
Raul
----- Original Message -----
> From: "Maor Lipchuk" <mlipchuk at redhat.com>
> To: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> Cc: "Piotr Kliczewski" <pkliczew at redhat.com>, "users" <users at ovirt.org>
> Sent: Wednesday, 5 November, 2014 9:01:36 AM
> Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> 
> Hi Raul,
> 
> It is a known issue which should be fixed once
> http://gerrit.ovirt.org/#/c/33154 will be merged.
> Please disregard this log, it only indicates about disks which are not
> OVF_STORE disks, the error there is misleading.
> 
> did you managed to register those VMs to the engine?
> 
> Regards,
> Maor
> 
> 
> ----- Original Message -----
> > From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > Cc: "Piotr Kliczewski" <pkliczew at redhat.com>, "users" <users at ovirt.org>
> > Sent: Tuesday, November 4, 2014 11:06:09 AM
> > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > 
> > Progress. Now it does import/attach, but now VMs/disks are visible in
> > storage
> > domain and error is logged:
> > 
> > 2014-11-04 10:58:18,511 ERROR
> > [org.ovirt.engine.core.bll.GetUnregisteredDisksQuery]
> > (ajp--127.0.0.1-8702-7) [2bc90d28] Could not get populated disk, reason:
> > null
> > 
> > Thank you.
> > 
> > Raul
> > 
> > ----- Original Message -----
> > > From: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > To: "Raul Laansoo" <raul.laansoo at bigbank.ee>, "Piotr Kliczewski"
> > > <pkliczew at redhat.com>
> > > Cc: "users" <users at ovirt.org>
> > > Sent: Tuesday, 4 November, 2014 10:43:03 AM
> > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > 
> > > I think I already saw this issue related to jsonRPC.
> > > 
> > > Pioter,
> > > does the error at [1] looks familiar to you,
> > > I remember that you worked on a bug which fixed an issue at the force
> > > detach?
> > > 
> > > Raul,
> > > meanwhile can u please try to set the Host not to use json-RPC, and check
> > > if
> > > that works for you.
> > > do the following:
> > >   maintain the Host ->
> > >   edit the Host ->
> > >   go to advanced parameters ->
> > >   uncheck the checkbox of json ->
> > >   after doing that, start the Host again, and try to attach the domain
> > >   once
> > >   again.
> > > 
> > > Please let me know if you have any questions.
> > > 
> > > 
> > > [1]
> > > .DetachStorageDomainVDSCommand] (ajp--127.0.0.1-8702-2) [69fba16c] Could
> > > not
> > > force detach domain 46243ce5-face-483e-9a40-7daea77d82a3 on pool
> > > 4e14574d-9472-4e4a-a44a-140acbb790bb. error:
> > > org.ovirt.engine.core.vdsbroker.irsbroker.IRSErrorException:
> > > IRSGenericException: IRSErrorException: Failed to DetachStorageDomainVDS,
> > > error = detach() takes exactly 5 arguments (3 given), code = -32603
> > > 2014-11-04 09:47:31,980 INFO
> > > [org.ovirt.engine.core.vdsbroker.irsbroker.DetachStorageDomainVDSCommand]
> > > (ajp--127.0.0.1-8702-2) [69fba16c] FINISH, DetachStorageDomainVDSCommand,
> > > log id: 5b4d7f9a
> > > 
> > > Regards,
> > > Maor
> > > 
> > > 
> > > ----- Original Message -----
> > > > From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > Cc: "users" <users at ovirt.org>
> > > > Sent: Tuesday, November 4, 2014 9:57:46 AM
> > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > 
> > > > Hi.
> > > > 
> > > > I have managed to get my oVirt node running using oVirt Node Hypervisor
> > > > 3.1.0_master-20140707.0. I hope this is not causing following issue,
> > > > but
> > > > this Is the only way for me to test 3.5.
> > > > 
> > > > When I try to import existing FC storage domain I get errors on Engine
> > > > (see
> > > > attached log).
> > > > 
> > > > Regards.
> > > > 
> > > > Raul
> > > > ----- Original Message -----
> > > > > From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > Sent: Monday, 27 October, 2014 11:29:40 AM
> > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > 
> > > > > I have set this to 3.4 because I still use ovirt-node-iso from oVirt
> > > > > 3.4.
> > > > > For
> > > > > some reason I can't set cluster compatibility to 3.4 and with cluster
> > > > > 3.5
> > > > > node installation fails. I will install node from 3.5 iso and try
> > > > > again.
> > > > > 
> > > > > ----- Original Message -----
> > > > > > From: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > To: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > Cc: "users" <users at ovirt.org>
> > > > > > Sent: Monday, 27 October, 2014 10:50:21 AM
> > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > 
> > > > > > Which Data Center version are you using to attach the Storage
> > > > > > Domain
> > > > > > to?
> > > > > > If the storage domain meta data indicates that it is already
> > > > > > attached
> > > > > > to
> > > > > > another Data Center (after DR for example). then you the attach of
> > > > > > it
> > > > > > will
> > > > > > only be supported for Data Center 3.5.
> > > > > > 
> > > > > > Regards,
> > > > > > Maor
> > > > > > 
> > > > > > ----- Original Message -----
> > > > > > > From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > Sent: Monday, October 27, 2014 10:07:18 AM
> > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > 
> > > > > > > When I try to import existing FC storage domain, which consists
> > > > > > > of
> > > > > > > two
> > > > > > > NetAPP
> > > > > > > LUN-s cloned from NetAPP snapshots, I get:
> > > > > > > 
> > > > > > > Error while executing action Attach Storage Domain: The Domain is
> > > > > > > already
> > > > > > > used by another Data Center.
> > > > > > > In order to use it, detach it from the Data Center it is
> > > > > > > currently
> > > > > > > attached
> > > > > > > to.
> > > > > > > 
> > > > > > > Does this mean, that to import existing storage domain, it must
> > > > > > > be
> > > > > > > first
> > > > > > > (cleanly) detached?
> > > > > > > 
> > > > > > > Regards.
> > > > > > > 
> > > > > > > ----- Original Message -----
> > > > > > > > From: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > > > To: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > Sent: Monday, 27 October, 2014 9:26:50 AM
> > > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > ----- Original Message -----
> > > > > > > > > From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > > > > Cc: "users" <users at ovirt.org>
> > > > > > > > > Sent: Monday, October 27, 2014 8:43:31 AM
> > > > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > 
> > > > > > > > > Hi.
> > > > > > > > > 
> > > > > > > > > Thank you for looking into this. Does this only affect the
> > > > > > > > > import
> > > > > > > > > or
> > > > > > > > > influences also the process of attaching storage domain to
> > > > > > > > > Data
> > > > > > > > > Center
> > > > > > > > > (you
> > > > > > > > > can't attach iSCSI Storage Domain to FC DC and vice versa?)
> > > > > > > > 
> > > > > > > > Hi Raul,
> > > > > > > > 
> > > > > > > > for now, the fix should include the ability to "switch" storage
> > > > > > > > types
> > > > > > > > only
> > > > > > > > through the import process,and not through the attach process.
> > > > > > > > I think that the import process might be enough because you can
> > > > > > > > always
> > > > > > > > remove
> > > > > > > > the Storage Domain and re-import it to the setup as another
> > > > > > > > storage
> > > > > > > > type.
> > > > > > > > 
> > > > > > > > > If I understand
> > > > > > > > > correctly, the Data Center's storage type is set at the
> > > > > > > > > initialization
> > > > > > > > > time,
> > > > > > > > > when the first storage domain is attached and you can't
> > > > > > > > > change
> > > > > > > > > it
> > > > > > > > > afterwards. In previous versions you could clearly see the DC
> > > > > > > > > storage
> > > > > > > > > type,
> > > > > > > > > now it's not visible.
> > > > > > > > 
> > > > > > > > You are right, mixed type data center is a feature introduced
> > > > > > > > in
> > > > > > > > version
> > > > > > > > 3.4
> > > > > > > > (see http://www.ovirt.org/Features/Mixed_Types_Data_Center),
> > > > > > > > There should be only two type of Data Center local and shared.
> > > > > > > > The import Storage Domain feature is supported only from
> > > > > > > > version
> > > > > > > > 3.5
> > > > > > > > so
> > > > > > > > it
> > > > > > > > can only be supported in mixed type Data Centers.
> > > > > > > > 
> > > > > > > > 
> > > > > > > > > 
> > > > > > > > > Regards.
> > > > > > > > > Raul
> > > > > > > > > 
> > > > > > > > > ----- Original Message -----
> > > > > > > > > > From: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > > > > > To: "Itamar Heim" <iheim at redhat.com>
> > > > > > > > > > Cc: "raul laansoo" <raul.laansoo at bigbank.ee>, "Vered
> > > > > > > > > > Volansky"
> > > > > > > > > > <vered at redhat.com>, "users" <users at ovirt.org>
> > > > > > > > > > Sent: Monday, 27 October, 2014 2:16:14 AM
> > > > > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > From: "Itamar Heim" <iheim at redhat.com>
> > > > > > > > > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>, "raul laansoo"
> > > > > > > > > > > <raul.laansoo at bigbank.ee>
> > > > > > > > > > > Cc: "Vered Volansky" <vered at redhat.com>, "users"
> > > > > > > > > > > <users at ovirt.org>
> > > > > > > > > > > Sent: Sunday, October 26, 2014 9:34:14 PM
> > > > > > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > > 
> > > > > > > > > > > On 10/26/2014 03:58 PM, Maor Lipchuk wrote:
> > > > > > > > > > > > Hi Raul,
> > > > > > > > > > > >
> > > > > > > > > > > > The storage domain type is determined from the Storage
> > > > > > > > > > > > Domain
> > > > > > > > > > > > meta
> > > > > > > > > > > > data.
> > > > > > > > > > > > If your storage domain was previously an FC Storage
> > > > > > > > > > > > Domain,
> > > > > > > > > > > > the
> > > > > > > > > > > > import
> > > > > > > > > > > > process will read this from the meta data and import it
> > > > > > > > > > > > as
> > > > > > > > > > > > an
> > > > > > > > > > > > FC
> > > > > > > > > > > > Storage
> > > > > > > > > > > > Domain.
> > > > > > > > > > > >
> > > > > > > > > > > > This behavior should be changed so the storage type
> > > > > > > > > > > > will
> > > > > > > > > > > > be
> > > > > > > > > > > > determined
> > > > > > > > > > > > by
> > > > > > > > > > > > the user instead from the meta data,
> > > > > > > > > > > > I've opened a bug on this issue for 3.5,
> > > > > > > > > > > > https://bugzilla.redhat.com/1157240.
> > > > > > > > > > > 
> > > > > > > > > > > so i guess for now the metadata can be changed as a
> > > > > > > > > > > workaround?
> > > > > > > > > > 
> > > > > > > > > > I believe so,
> > > > > > > > > > I've tried now to import an existing iSCSI Storage Domain
> > > > > > > > > > after
> > > > > > > > > > changing
> > > > > > > > > > its
> > > > > > > > > > meta data from ISCSI to FCP and it seems to work well, the
> > > > > > > > > > Storage
> > > > > > > > > > was
> > > > > > > > > > imported as Fibre Channel.
> > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > > >
> > > > > > > > > > > > Regards,
> > > > > > > > > > > > Maor
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > > From: "Allon Mureinik" <amureini at redhat.com>
> > > > > > > > > > > > To: "Maor Lipchuk" <mlipchuk at redhat.com>
> > > > > > > > > > > > Cc: "Vered Volansky" <vered at redhat.com>, "users"
> > > > > > > > > > > > <users at ovirt.org>,
> > > > > > > > > > > > "Raul
> > > > > > > > > > > > Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > > > > > Sent: Sunday, October 26, 2014 10:42:53 AM
> > > > > > > > > > > > Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > > >
> > > > > > > > > > > > Maor, does this ring in bells wrt importing a storage
> > > > > > > > > > > > domain?
> > > > > > > > > > > >
> > > > > > > > > > > > ----- Original Message -----
> > > > > > > > > > > >> From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > > > > >> To: "Vered Volansky" <vered at redhat.com>
> > > > > > > > > > > >> Cc: "users" <users at ovirt.org>
> > > > > > > > > > > >> Sent: Thursday, October 23, 2014 4:51:34 PM
> > > > > > > > > > > >> Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > > >>
> > > > > > > > > > > >> Hi.
> > > > > > > > > > > >>
> > > > > > > > > > > >> I have done this because this is the only way to
> > > > > > > > > > > >> access
> > > > > > > > > > > >> iSCSI
> > > > > > > > > > > >> target.
> > > > > > > > > > > >> But
> > > > > > > > > > > >> after import it shows up as FC (the original storage
> > > > > > > > > > > >> domain
> > > > > > > > > > > >> type).
> > > > > > > > > > > >> Where
> > > > > > > > > > > >> does this information come from? I have DataCenter
> > > > > > > > > > > >> setup
> > > > > > > > > > > >> from
> > > > > > > > > > > >> about
> > > > > > > > > > > >> version
> > > > > > > > > > > >> ovirt-engine-3.3.2.
> > > > > > > > > > > >>
> > > > > > > > > > > >> Thank you.
> > > > > > > > > > > >>
> > > > > > > > > > > >> ----- Original Message -----
> > > > > > > > > > > >>> From: "Vered Volansky" <vered at redhat.com>
> > > > > > > > > > > >>> To: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > > > > >>> Cc: "users" <users at ovirt.org>
> > > > > > > > > > > >>> Sent: Thursday, 23 October, 2014 4:24:12 PM
> > > > > > > > > > > >>> Subject: Re: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> ----- Original Message -----
> > > > > > > > > > > >>>> From: "Raul Laansoo" <raul.laansoo at bigbank.ee>
> > > > > > > > > > > >>>> To: "users" <users at ovirt.org>
> > > > > > > > > > > >>>> Sent: Thursday, October 23, 2014 10:59:30 AM
> > > > > > > > > > > >>>> Subject: [ovirt-users] Import FC Storage as iSCSI
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> Hello.
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> I have created an FC Storage Domain and made
> > > > > > > > > > > >>>> snapshots
> > > > > > > > > > > >>>> of
> > > > > > > > > > > >>>> all
> > > > > > > > > > > >>>> LUNs
> > > > > > > > > > > >>>> on
> > > > > > > > > > > >>>> the
> > > > > > > > > > > >>>> SAN. Now I want to use those snapshots on another
> > > > > > > > > > > >>>> Data
> > > > > > > > > > > >>>> Center
> > > > > > > > > > > >>>> over
> > > > > > > > > > > >>>> iSCSI
> > > > > > > > > > > >>>> connection to test recovery. I can import the
> > > > > > > > > > > >>>> domain,
> > > > > > > > > > > >>>> but
> > > > > > > > > > > >>>> the
> > > > > > > > > > > >>>> domains
> > > > > > > > > > > >>>> Storage Type is FC and I can't attach it to host. Is
> > > > > > > > > > > >>>> it
> > > > > > > > > > > >>>> possible
> > > > > > > > > > > >>>> to
> > > > > > > > > > > >>>> change
> > > > > > > > > > > >>>> domain type to iSCSI or some other way to import
> > > > > > > > > > > >>>> storage
> > > > > > > > > > > >>>> domain.
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> Just select iSCSI as thetype when you import it. This
> > > > > > > > > > > >>> is
> > > > > > > > > > > >>> the
> > > > > > > > > > > >>> type
> > > > > > > > > > > >>> of
> > > > > > > > > > > >>> the
> > > > > > > > > > > >>> new
> > > > > > > > > > > >>> domain.
> > > > > > > > > > > >>>
> > > > > > > > > > > >>> Vered
> > > > > > > > > > > >>>
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> Thank you.
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>> Raul
> > > > > > > > > > > >>>> _______________________________________________
> > > > > > > > > > > >>>> Users mailing list
> > > > > > > > > > > >>>> Users at ovirt.org
> > > > > > > > > > > >>>> http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > >>>>
> > > > > > > > > > > >>>
> > > > > > > > > > > >> _______________________________________________
> > > > > > > > > > > >> Users mailing list
> > > > > > > > > > > >> Users at ovirt.org
> > > > > > > > > > > >> http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > >>
> > > > > > > > > > > > _______________________________________________
> > > > > > > > > > > > Users mailing list
> > > > > > > > > > > > Users at ovirt.org
> > > > > > > > > > > > http://lists.ovirt.org/mailman/listinfo/users
> > > > > > > > > > > >
> > > > > > > > > > > 
> > > > > > > > > > > 
> > > > > > > > > > 
> > > > > > > > > 
> > > > > > > > 
> > > > > > > 
> > > > > > 
> > > > > 
> > > > 
> > > 
> > 
> 



More information about the Users mailing list