This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--66emp7BA7bxAHcrH9o6vnBTPRuUUC9QbB
Content-Type: multipart/alternative;
boundary="------------040407060705020309060309"
This is a multi-part message in MIME format.
--------------040407060705020309060309
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi Sahina,
I've tried to remove the volume also from gluster manually to see if
ovirt would set it as inactive, but nothing.
The thing now is that as I was unable to remove the gluster domain, I
decided to force remove the hole data center and to my surprise, though
it deleted the DC and all it's data, it didn't delete the volume and is
still there in volume tab depending on a non existing cluster and thus
I'm not able to do anything with it as everything fails with "there's no
host in the cluster"....
Sounds like the destroy operation is not checking everything and leaves
things hanging in the air.
Can you help me hacking the database to remove the volume? I'm in a rush
and can't wait till this bug gets solved (didn't open a bz as I'm too
busy right now).
I have a deadline to get this working by the 10th February and won't be
at the office from 4 through 6, so you may imagine where I'm standing.
I think the hole logic of dependencies in the gluster DC (maybe more)
must be checked as since I had my gluster domain down I was unable to do
mostly anything in the DC because everything depended on each other. I
couldn't delete the domain as there where vms in it, but couldn't delete
the vms as they needed the domain. Couldn't remove the hosts as they
where bricks, but couldn't remove from the volume as the domain was
down, etc, etc
Regards,
On 29/01/14 07:28, Sahina Bose wrote:
On 01/29/2014 04:15 AM, Steve Dainard wrote:
> Not sure if this is exactly your issue, but this post
> here:
http://comments.gmane.org/gmane.comp.emulators.ovirt.user/12200
> might lead you in the right direction.
>
> "one note - if you back it up while its attached to an engine, you wil=
l=20
> need to edit its meta data file to remove the association to
allow the=
=20
> other engine to connect it to the new pool for restore."
>
Did this solve your issue?
If not, could you let us know the error messages from the logs?
(engine.log)
If you're looking to remove a host from a gluster cluster when there
are no online hosts, checking the Force option should do this for you.
> *Steve Dainard *
>
>
>
> On Tue, Jan 28, 2014 at 12:41 PM, Juan Pablo Lorier
> <jplorier(a)gmail.com <mailto:jplorier@gmail.com>> wrote:
>
> Hi,
>
> I had some issues with a gluster cluster and after some time
> trying to
> get the storage domain up or delete it (I opened a BZ about a
> deadlock
> in the process of removing the domain) I gave up and destroyed
> the DC.
> The thing is that I want to add the hosts that where part of the
> DC and
> now I get that I can't as they have the volume. I try to stop the
> volume
> but I can't as no host is running in the deleted cluster and for s=
ome
> reason, ovirt needs that.
> I can't delete the hosts either as they have the volume... so
> I'm back
> in another chicken and egg problem.
> Any hints??
>
> PD: I can't nuke the hole ovirt plataform as I have another DC in
> production.... otherwise I would :-)
>
> Regards,
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org <mailto:Users@ovirt.org>
>
http://lists.ovirt.org/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
--------------040407060705020309060309
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
<html>
<head>
<meta content=3D"text/html; charset=3DISO-8859-1"
http-equiv=3D"Content-Type">
</head>
<body text=3D"#000000" bgcolor=3D"#FFFFFF">
Hi Sahina,<br>
<br>
I've tried to remove the volume also from gluster manually to see if
ovirt would set it as inactive, but nothing.<br>
The thing now is that as I was unable to remove the gluster domain,
I decided to force remove the hole data center and to my surprise,
though it deleted the DC and all it's data, it didn't delete the
volume and is still there in volume tab depending on a non existing
cluster and thus I'm not able to do anything with it as everything
fails with "there's no host in the cluster"....<br>
Sounds like the destroy operation is not checking everything and
leaves things hanging in the air.<br>
Can you help me hacking the database to remove the volume? I'm in a
rush and can't wait till this bug gets solved (didn't open a bz as
I'm too busy right now).<br>
I have a deadline to get this working by the 10th February and won't
be at the office from 4 through 6, so you may imagine where I'm
standing.<br>
I think the hole logic of dependencies in the gluster DC (maybe
more) must be checked as since I had my gluster domain down I was
unable to do mostly anything in the DC because everything depended
on each other. I couldn't delete the domain as there where vms in
it, but couldn't delete the vms as they needed the domain. Couldn't
remove the hosts as they where bricks, but couldn't remove from the
volume as the domain was down, etc, etc<br>
Regards,<br>
<br>
<div class=3D"moz-cite-prefix">On 29/01/14 07:28, Sahina Bose
wrote:<=
br>
</div>
<blockquote cite=3D"mid:52E8C9BB.9020103@redhat.com"
type=3D"cite">
<meta content=3D"text/html; charset=3DISO-8859-1"
http-equiv=3D"Content-Type">
<br>
<div class=3D"moz-cite-prefix">On 01/29/2014 04:15 AM, Steve
Dainar=
d
wrote:<br>
</div>
<blockquote
cite=3D"mid:CAHnsdUtE5TCQW77_yehJ1=3DVh69JH_ZamtT0DtGizyGYyn-MRqQ@mail.gm=
ail.com"
type=3D"cite">
<div dir=3D"ltr">Not sure if this is exactly your issue, but
this=
post here: <a moz-do-not-send=3D"true"
href=3D"http://comments.gmane.org/gmane.comp.emulators.ovirt.=
user/12200">http://comments.gmane.org/gmane.comp.emulators.ovirt....
00</a>
might lead you in the right direction.
<div> <br>
</div>
<div>
<pre style=3D"line-height:24px;text-align:justify">"one
note =
- if you back it up while its attached to an engine, you will=20
need to edit its meta data file to remove the association to allow the=20
other engine to connect it to the new pool for restore."</pre>
</div>
<div class=3D"gmail_extra"><br clear=3D"all">
</div>
</div>
</blockquote>
<br>
Did this solve your issue?<br>
<br>
If not, could you let us know the error messages from the logs?
(engine.log)<br>
If you're looking to remove a host from a gluster cluster when
there are no online hosts, checking the Force option should do
this for you.<br>
<br>
<blockquote
cite=3D"mid:CAHnsdUtE5TCQW77_yehJ1=3DVh69JH_ZamtT0DtGizyGYyn-MRqQ@mail.gm=
ail.com"
type=3D"cite">
<div dir=3D"ltr">
<div class=3D"gmail_extra">
<div>
<div dir=3D"ltr"><span
style=3D"font-family:arial,sans-serif;font-size:16px"><=
strong>Steve Dainard </strong></span><span
style=3D"font-size:12px"></span><br>
<br>
</div>
</div>
<br>
<br>
<div class=3D"gmail_quote">On Tue, Jan 28, 2014 at 12:41 PM,
Juan Pablo Lorier <span dir=3D"ltr"><<a
moz-do-not-send=3D"true"
href=3D"mailto:jplorier@gmail.com"
target=3D"_blank"
onclick=3D"window.open('https://mail.google.com/mail/?v=
iew=3Dcm&amp;tf=3D1&amp;to=3Djplorier(a)gmail.com&amp;cc=3D&amp;bcc=3D&amp;=
su=3D&body=3D','_blank');return
false;">jplorier(a)gmail.com</a>&gt;</span>
wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>=
<br>
I had some issues with a gluster cluster and after some
time trying to<br>
get the storage domain up or delete it (I opened a BZ
about a deadlock<br>
in the process of removing the domain) I gave up and
destroyed the DC.<br>
The thing is that I want to add the hosts that where
part of the DC and<br>
now I get that I can't as they have the volume. I try to
stop the volume<br>
but I can't as no host is running in the deleted cluster
and for some<br>
reason, ovirt needs that.<br>
I can't delete the hosts either as they have the
volume... so I'm back<br>
in another chicken and egg problem.<br>
Any hints??<br>
<br>
PD: I can't nuke the hole ovirt plataform as I have
another DC in<br>
production.... otherwise I would :-)<br>
<br>
Regards,<br>
<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send=3D"true"
href=3D"mailto:Users@ovirt.or=
g"
onclick=3D"window.open('https://mail.google.com/mail/?v=
iew=3Dcm&amp;tf=3D1&amp;to=3DUsers(a)ovirt.org&amp;cc=3D&amp;bcc=3D&amp;su=3D=
&body=3D','_blank');return
false;">Users(a)ovirt.org</a><br>
<a moz-do-not-send=3D"true"
href=3D"http://lists.ovirt.org/mailman/listinfo/users"
target=3D"_blank">http://lists.ovirt.org/mailman/listin=
fo/users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<fieldset class=3D"mimeAttachmentHeader"></fieldset>
<br>
<pre wrap=3D"">_______________________________________________
Users mailing list
<a moz-do-not-send=3D"true" class=3D"moz-txt-link-abbreviated"
href=3D"ma=
ilto:Users@ovirt.org">Users@ovirt.org</a>
<a moz-do-not-send=3D"true" class=3D"moz-txt-link-freetext"
href=3D"http:=
//lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/=
listinfo/users</a>
</pre>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>
--------------040407060705020309060309--
--66emp7BA7bxAHcrH9o6vnBTPRuUUC9QbB
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQEcBAEBAgAGBQJS6qZRAAoJEC5KDDg2+NMM/awH/jiNwA0MBA6+MahX/puviZbf
rdFLPO8252isL0SgOqe3UDyXE6QuK/idR0/Y/n0QFdERauwB5uEs3CwQbRUrPwC8
xKbH9c/kfcNMGiJUHwouNjGIYc2c//Am9JEhSG1MpM2MEJtEUiQedmKVAwLxansH
wV2q7UBys7xCJNMZN6VEODMaH3nQzdPS5FLNyaa1BNU/SRIhp6ly0Kw/rGeNOzmV
tYoNEJ8jC1vYomdU2TOKKJf9naeq5BmM0PW/5tcu5aBpjz1NzpGYXnvpw2U0CZsr
fsbedw/0Z7jm93BuWvwy+htNw1CRXD4y0wFUFGGny2hyBsjEUl9JwqDDrwXgOzQ=
=lf40
-----END PGP SIGNATURE-----
--66emp7BA7bxAHcrH9o6vnBTPRuUUC9QbB--