This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--ujRdKtglIhPz8reG7slXQyfJBb8Dum0Kz
Content-Type: multipart/mixed; boundary="kTkpiHIB81lTMdBrSQDkZk7ByBvTldWHY";
protected-headers="v1"
From: ~Stack~ <i.am.stack(a)gmail.com>
To: users(a)ovirt.org
Message-ID: <afd965b8-7a09-9fa2-ebed-a267f5487760(a)gmail.com>
Subject: Re: [ovirt-users] I broke my ovirt real good....
References: <816729cd-1ec6-f2e6-6986-2a18e83ab650(a)gmail.com>
<2691691.Lu8XbsuI1x@awels>
In-Reply-To: <2691691.Lu8XbsuI1x@awels>
--kTkpiHIB81lTMdBrSQDkZk7ByBvTldWHY
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
On 04/13/2018 07:16 AM, Alexander Wels wrote:
On Thursday, April 12, 2018 6:26:07 PM EDT ~Stack~ wrote:
> Greetings,
>
> So I did a over-confident-admin-makes-rookie-mistake. I changed a bunc=
h
> of things all back-to-back and thus don't actually know what
broke. :-=
D
>
> The only two real "big" changes were:
> * Upgrade from 4.2.1 to 4.2.2
> * change my ovirtmgmt network
>
> The update I followed the upgrade procedures and I thought it all went=
> pretty well. Because I am moving it from a testing into what I
hope wi=
ll
> be a more heavily used environment, I changed my ovirtmgmt
network fro=
m
> 192.168.100.0/24 to 192.168.101.0/24 via the web-gui.
>
> That was a touch tricker than just a change as I had to poke the
> management engine host to be reachable on both network for a while, th=
en
> it just seemed OK.
>
> What's happening is:
> * I can no longer migrate a vm from one host to the other.
> * If I try to do a "reinstall" it dies.
> * There is some serious network lag between my hosts on a 10Gb network=
=2E
> * I've got all kinds of python2.4 failures in my vdsm and mom
logs.
>
> Those are least the biggies.
>
> So while I was planning on moving this to a more active use case, righ=
t
> now - it is all still my play ground. I would REALLY hate to lose
the
> VM's but everything else can go and be rebuilt.
>
> Given that I've somehow really broke this system pretty good, would it=
> be more advisable to blow away and rebuild it ALL or can I simply
dele=
te
> the hypervisor hosts and rebuild them?
>
> Thoughts?
>
> Thanks!
> ~Stack~
=20
As long as you don't destroy the data on your data domain you can rebui=
ld
the=20
engine and hosts and then import the existing data domain without too
m=
any=20
issues. I have destroyed my engine database many times, and I am
still =
using=20
the same VMs from the same data domain.
=20
Here is what I do when I mess up my database to the point I have to mak=
e a
new=20
one:
=20
1. Recreate the engine and database, so that I have basically have an e=
mpty=20
engine with no hosts and VMs.
1.1 (Optional) make a new DC that is not default. and add a cluster.
2. Add my hosts (I only have 2 so that is quick and easy).
3. Add a throw away data domain (This is needed to get the DC up so I c=
an=20
import the existing data domain).
4. Import (NOT new, import) the existing data domain.
5. Do to Storage->Storage Domains->VM import and import the VMs I want.=
6. Same for templates and disks if needed.
7. After you have imported the VMs/Templates/Disks you can detach and r=
emove=20
the throw away data domain and the one you imported becomes the
master =
domain.
=20
Note if you want to move VMs between your play ground and more serious =
system=20
you can simply detach your data domain from the play ground, then
attac=
h it to=20
the serious engine (so you have 2 engines, one play ground and one
seri=
ous)=20
and import which VMs you want. That way you won't run into issues
with =
configuring networks and stuff like you experienced.
=20
Thanks for that help. I did that and everything looks fantastic...except
I can't migrate VM's. :-/
It just sits there and in the log files there is the below messages
repeating. It's like it doesn't care for the fact that this was an
imported domain or something.
Thoughts?
Thanks!
~Stack~
2018-04-13 16:58:59,920-0500 ERROR (monitor/232975a) [storage.Monitor]
Setting up monitor for 232975ad-1771-4b6b-afda-958f7b745867 failed
(monitor:329)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
326, in _setupLoop
self._setupMonitor()
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
348, in _setupMonitor
self._produceDomain()
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 158, in
wrapper
value =3D meth(self, *a, **kw)
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
366, in _produceDomain
self.domain =3D sdCache.produce(self.sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 110,
in produce
domain.getRealDomain()
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 51,
in getRealDomain
return self._cache._realProduce(self._sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 134,
in _realProduce
domain =3D self._findDomain(sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 151,
in _findDomain
return findMethod(sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 176,
in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'232975ad-1771-4b6b-afda-958f7b745867',)
2018-04-13 16:58:59,923-0500 ERROR (monitor/bc975a4) [storage.Monitor]
Setting up monitor for bc975a4c-6c38-4248-b3f7-a26945f23693 failed
(monitor:329)
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
326, in _setupLoop
self._setupMonitor()
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
348, in _setupMonitor
self._produceDomain()
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 158, in
wrapper
value =3D meth(self, *a, **kw)
File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line
366, in _produceDomain
self.domain =3D sdCache.produce(self.sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 110,
in produce
domain.getRealDomain()
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 51,
in getRealDomain
return self._cache._realProduce(self._sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 134,
in _realProduce
domain =3D self._findDomain(sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 151,
in _findDomain
return findMethod(sdUUID)
File "/usr/lib/python2.7/site-packages/vdsm/storage/sdc.py", line 176,
in _findUnfetchedDomain
raise se.StorageDomainDoesNotExist(sdUUID)
StorageDomainDoesNotExist: Storage domain does not exist:
(u'bc975a4c-6c38-4248-b3f7-a26945f23693',)
--kTkpiHIB81lTMdBrSQDkZk7ByBvTldWHY--
--ujRdKtglIhPz8reG7slXQyfJBb8Dum0Kz
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJa0TO/AAoJELkej+ysXJPmUBsP/19UzsPB/qYad0aF9uBA9US3
9MAaHPAUx4IWUFViHGxN/B5BRxXqg0lnYsC2EEGNcKOlz9n66zVTyoegV5P9ZMSZ
iz206e3RwtlA/y2TV/E3HhuZnD7Z+ImTWZLmloKagacxdLMJ0RrUzoo4uhOdyA6J
xHs1XE/RlvqgSkb55zsMz17a06S/LIBNrGn/BB/7jIlHTC/gEcojOmVtYGpPOBsw
NJWtEdqYXx6wHs77P3n6Yi9toDEGSWWAHT+h95dMF0wSBo2Jw1OJmnbmzUJTQtp1
MQtojJkvv2kbBc9NWonOeBNYxNzZyy+jCV+bk6PfobJ2Gb8he8RhVuksALJb+bfI
U/e4frxfu3Gpm9XpGD3TJBAkIXOM+rwJ6TOjfD79KAalO42BtV7l+FQaIS/YQwWZ
/ta6GkP3UAuG2SYz5Hf9/l8kr3Odvun56dwlWPlw6DMKTeUGuP/wZPK7gPAXCpYS
cnH1PpNE0ctqzGB889XtSUBsI+lmr4n23ysG/IgvY3HBlTa+wmaLnDugQCwtqdHt
rW00L4HK62APctym2BysS3MRU7KzTG4Zkh2CzkaLsZvva0HkWYKDHfJ4EcUL1wiW
MYvmFNN83eNDXwvVrduCqRjZPLCiEH9jc0IdjgTBq+yUiX4tsMnfLV44wwnfHxhD
tTqbcSt24kE1GNlqc9aw
=eh58
-----END PGP SIGNATURE-----
--ujRdKtglIhPz8reG7slXQyfJBb8Dum0Kz--