
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EnH4WVI8j3jdpIrw2R3swDSqAbxkfFgmT Content-Type: multipart/alternative; boundary="------------070802080601040009010105" This is a multi-part message in MIME format. --------------070802080601040009010105 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Sahina!! The hosts are there as the volume. What is gone is the DC and mostly everything else. I'll send you the logs, but due to the lack of time, they are going to be the raw logs for several days as the force was last week. Regards, On 31/01/14 09:35, Sahina Bose wrote:
On 01/31/2014 04:49 PM, Juan Pablo Lorier wrote:
Hi,
I'm about to hack engine db to remove a gluster volume and I'd like someone to advise me on this. The environment is in production, I've backed up the db and I'm planning to remove every entry I can find of the volume (host members, cluster, etc) but I found that there's no clusters table (and I need to remove a cluster that no longer exists after a force remove of the DC but somehow the volume still is attache=
d
to it).
delete from gluster_volume_bricks where volume_id =3D ".."; delete from gluster_volume_options where volume_id =3D ".."; delete from gluster_volume_transport_types where volume_id=3D".."; delete from gluster_volume_access_protocols where volume_id=3D".."; delete from gluster_volumes where id=3D"..";
The above would delete all gluster volume information stored in the db.=
Cluster information is stored in vds_groups table.
You should have been able to remove the host using "Force" option. Didn't that work for you. I would be interested to see the logs if it did not.
thanks sahina
I'll try IRC also to see if someone can give me a hand. Regards,
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
--------------070802080601040009010105 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"> Thanks Sahina!!<br> <br> The hosts are there as the volume. What is gone is the DC and mostly everything else. I'll send you the logs, but due to the lack of time, they are going to be the raw logs for several days as the force was last week.<br> Regards,<br> <br> <div class=3D"moz-cite-prefix">On 31/01/14 09:35, Sahina Bose wrote:<= br> </div> <blockquote cite=3D"mid:52EB8A81.8030105@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/31/2014 04:49 PM, Juan Pablo Lorier wrote:<br> </div> <blockquote cite=3D"mid:52EB86AB.7020908@gmail.com" type=3D"cite"> <pre wrap=3D"">Hi, I'm about to hack engine db to remove a gluster volume and I'd like someone to advise me on this. The environment is in production, I've backed up the db and I'm planning to remove every entry I can find of the volume (host members, cluster, etc) but I found that there's no clusters table (and I need to remove a cluster that no longer exists after a force remove of the DC but somehow the volume still is attached to it).</pre> </blockquote> <br> delete from gluster_volume_bricks where volume_id =3D "..";<br> delete from gluster_volume_options where volume_id =3D "..";<br> delete from gluster_volume_transport_types where volume_id=3D"..";<= br> delete from gluster_volume_access_protocols where volume_id=3D"..";= <br> delete from gluster_volumes where id=3D"..";<br> <br> The above would delete all gluster volume information stored in the db.<br> <br> Cluster information is stored in vds_groups table.<br> <br> You should have been able to remove the host using "Force" option. Didn't that work for you. I would be interested to see the logs if it did not.<br> <br> thanks<br> sahina<br> <blockquote cite=3D"mid:52EB86AB.7020908@gmail.com" type=3D"cite"> <pre wrap=3D"">I'll try IRC also to see if someone can give me a = hand. Regards, </pre> <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> --------------070802080601040009010105-- --EnH4WVI8j3jdpIrw2R3swDSqAbxkfFgmT 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/ iQEcBAEBAgAGBQJS644DAAoJEC5KDDg2+NMM0RwH/0H70FT3HIcKpsxRuE2mmiHm rpmQj8vYItZ1FUOm7uEHhjudAp2LGHNEcJ/WY5KM3e3P4Cax7xBW9Zaq3yeKX37r Zg7CUZglD+WjUTH6nVkqiBRgGRSQ40sEA/8SB9YRlXz29BnsRkpcjF3CkJ3QO5wO fHk9gPeGmSbXHmn3P4Zl6NvkNkLyRl0qJUlhWibHCa7KWHUk+i5bc8P6Cmt5lHAY O4Ff5KsUgXnZ+TsAMh919zp/mJOn7CfP+Fa4lx4aI2Z4H6QolG3XMmv918VNr9tQ emKIKniTfvtOfkWbMA+rcbIVv2PVEsEuu62pvBxl+c5MKythSdrHY0huzlWzcXI= =sohr -----END PGP SIGNATURE----- --EnH4WVI8j3jdpIrw2R3swDSqAbxkfFgmT--