[Users] Documentation: Storage Domain conversion from Data Domain to Export Domain

Haim Ateya hateya at redhat.com
Thu Nov 28 08:53:36 UTC 2013



----- Original Message -----
> From: "Bob Doolittle" <bob at doolittle.us.com>
> To: dron at redhat.com
> Cc: users at ovirt.org
> Sent: Wednesday, November 27, 2013 12:16:30 AM
> Subject: Re: [Users] Documentation: Storage Domain conversion from Data Domain to Export Domain
> 
> 
> On 11/26/2013 03:27 PM, Dafna Ron wrote:
> > sql -U postgres engine -c 'select connection from
> > storage_server_connections;'
> 
> So now that we determined that I have stale connection state in my DB,
> any suggestions as to how I might clear it out safely?
> 
> I tried rebooting my Engine, but the connection is still in the DB and
> it still doesn't show in the Admin Portal.

Hi Bob,


you can try the following command: 


engine=# delete FROM storage_server_connections where connection = '172.16.0.58:/export/VM_EXPORTDOMAIN';


this should allow you re-create your storage domain.

I would appreciate if you could file a bug against it. 


> 
> Thanks,
>     Bob
> 
> >
> >
> >
> >
> > On 11/26/2013 08:21 PM, Bob Doolittle wrote:
> >>
> >> On 11/26/2013 03:11 PM, Dafna Ron wrote:
> >>> can you check the engine data base for the connection?
> >>
> >> Sorry, will need more guidance for that :(
> >>
> >> -Bob
> >>
> >>>
> >>>
> >>>
> >>> On 11/26/2013 07:12 PM, Bob Doolittle wrote:
> >>>> On 11/26/2013 02:00 PM, Dafna Ron wrote:
> >>>>> can you run mount and see if you have stale connections to the
> >>>>> domain?
> >>>>
> >>>> The only existing mounts on the Host are the loopback mount for the
> >>>> Data Domain, and the mount from Engine for the ISO Domain.
> >>>>
> >>>> I can import another Export domain on the same host which was
> >>>> created in the normal manner (and then 'destroy' it), but I can't
> >>>> import the converted one.
> >>>>
> >>>> -Bob
> >>>>
> >>>>
> >>>>>
> >>>>>
> >>>>>
> >>>>> On 11/26/2013 06:22 PM, Bob Doolittle wrote:
> >>>>>> Hi,
> >>>>>>
> >>>>>> I am having to recreate my engine, and want to recover my old VMs
> >>>>>> from
> >>>>>> the previous Storage Master Data Domain.
> >>>>>>
> >>>>>> A while back, Michael Ayers posted this recipe (the gmane reply
> >>>>>> feature
> >>>>>> won't allow lines longer than 80 chars, even if they were from
> >>>>>> the original
> >>>>>> post :(, so I apologize for the link ) :
> >>>>>>
> >>>>>> http://comments.gmane.org/gmane.comp.emulators.ovirt.user/4428
> >>>>>>
> >>>>>> Should this method still work? I have tried to recreate this with
> >>>>>> 3.3.1
> >>>>>> and can't. I copied over the old Data Domain to a new directory, and
> >>>>>> edited the dom_md/metadata file as follows:
> >>>>>>
> >>>>>> http://pastebin.com/U4xJawR8
> >>>>>>
> >>>>>> But when I try to import it, I get:
> >>>>>>
> >>>>>> "Error while executing action: Cannot add Storage Connection.
> >>>>>> Storage connection already exists."
> >>>>>>
> >>>>>> and
> >>>>>>
> >>>>>> "Failed to retrieve existing storage domain information."
> >>>>>>
> >>>>>> Here's output from engine.log:
> >>>>>>
> >>>>>> http://pastebin.com/NVdzLDXb
> >>>>>>
> >>>>>> Any clues?
> >>>>>>
> >>>>>> Thanks,
> >>>>>>     Bob
> >>>>>>
> >>>>>> _______________________________________________
> >>>>>> 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