[ovirt-users] Re: Version 4.4.2.6-1.el8 -Console Error: java.lang.reflect.UndeclaredThrowableException

2020-09-30 Thread Jeremey Wise
Ok.. made a backup..  ran from ovirt-engin the command " taskcleaner.sh -R
-o -A"

This cleared out issue.. but scared me a bit as it just terminated the
connections / vm. I had to power vm off "hosted-engine --vm-shutdown"  and
then back on "hosted-engine --vm-start"

Off to find the next "feature"

:)


On Wed, Sep 30, 2020 at 4:02 PM Jeremey Wise  wrote:

>
>
> I found this note from RedHat on bugzilla
>
> https://bugzilla.redhat.com/show_bug.cgi?id=1827033
>
> Seems like this could be my issue
>
> This could be where had issue with rebuild of ovirt-engine.  And then had
> to scrape out the disk files to then import them back in. I then moved the
> "old files" into sub folder "junk"  ... so after reboot I could know nobody
> needed them..and delete old orphaned disk from previous oVirt-HCI deploy
> version.
>
> 
> [root@thor images]# tree
> .
> ├── 04002d39-4f60-4ed0-94db-74cb6b8de8d9
> │   ├── 3f68af97-44ac-4a14-926e-dca66f7ce544
> 
> ├── fff3c1de-e21e-4f03-8905-d587448f6543
> │   ├── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b
> │   ├── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b.lease
> │   └── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b.meta
> └── junk
> ├── 138a359c-13e6-4448-b543-533894e41fca
> │   ├── ece912a4-6756-4944-803c-c7ac58713ef4
> │   ├── ece912a4-6756-4944-803c-c7ac58713ef4.lease
> │   └── ece912a4-6756-4944-803c-c7ac58713ef4.meta
> 
> ├── ce4133ad-562f-4f23-add6-cd168a906267
> │   ├── a09c8a84-1904-4632-892e-beb55abc873a
> │   ├── a09c8a84-1904-4632-892e-beb55abc873a.lease
> │   └── a09c8a84-1904-4632-892e-beb55abc873a.meta
> └── f6679e35-fa56-4ed8-aa47-18492e00fd01
> ├── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c
> ├── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c.lease
> └── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c.meta
>
> 31 directories, 113 files
> 
>
> The bug notes running command "taskcleaner.sh -R -o -A"
>
> [root@ovirte01 dbutils]#
> /usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -R -o -A
>
>  This will remove all Tasks in async_tasks table, and all Job Steps and
> Compensation data!!!
> Caution, this operation should be used with care. Please contact support
> prior to running this command
> Are you sure you want to proceed? [y/n]
> n
> FATAL: Please contact support for further assistance.
> [root@ovirte01 dbutils]#
>
>
> I chickened out...   Asking for input on of this is a good idea
>
> On Wed, Sep 30, 2020 at 10:27 AM penguin pages 
> wrote:
>
>>
>> Got message this AM when tried to login to oVirt Engine which up till now
>> has been working fine.
>>
>> I can supply username and password and get portal to choose
>> "Administration Portal" or "VM Portal"
>>
>> I have tested both.. both have same response about
>> java.lang.reflect.UndeclaredThrowableException
>>
>> I restarted the engine
>> #
>> hosted-engine --set-maintenance --mode=global
>> hosted-engine --vm-shutdown
>> hosted-engine --vm-status
>> #make sure that the status is shutdown before restarting
>> hosted-engine --vm-start
>> hosted-engine --vm-status
>> #make sure the status is health before leaving maintenance mode
>> hosted-engine --set-maintenance --mode=none
>>
>> #
>> --== Host thor.penguinpages.local (id: 1) status ==--
>>
>> Host ID: 1
>> Host timestamp : 70359
>> Score  : 3400
>> Engine status  : {"vm": "down", "health": "bad",
>> "detail": "unknown", "reason": "vm not running on this host"}
>> Hostname   : thor.penguinpages.local
>> Local maintenance  : False
>> stopped: False
>> crc32  : 25adf6d0
>> conf_on_shared_storage : True
>> local_conf_timestamp   : 70359
>> Status up-to-date  : True
>> Extra metadata (valid at timestamp):
>> metadata_parse_version=1
>> metadata_feature_version=1
>> timestamp=70359 (Wed Sep 30 09:35:22 2020)
>> host-id=1
>> score=3400
>> vm_conf_refresh_time=70359 (Wed Sep 30 09:35:22 2020)
>> conf_on_shared_storage=True
>> maintenance=False
>> state=EngineDown
>> stopped=False
>>
>>
>> --== Host medusa.penguinpages.local (id: 3) status ==--
>>
>> Host ID: 3
>> Host timestamp : 92582
>> Score  : 3400
>> Engine status  : {"vm": "up", "health": "good",
>> "detail": "Up"}
>> Hostname   : medusa.penguinpages.local
>> Local maintenance  : False
>> stopped: False
>> crc32  : 623359d2
>> conf_on_shared_storage : True
>> local_conf_timestamp   : 92582
>> Status up-to-date  : True
>> Extra metadata (valid at timestamp):
>> metadata_parse_version=1
>> metadata_feature_version=1
>> 

[ovirt-users] Re: Version 4.4.2.6-1.el8 -Console Error: java.lang.reflect.UndeclaredThrowableException

2020-09-30 Thread Jeremey Wise
I found this note from RedHat on bugzilla

https://bugzilla.redhat.com/show_bug.cgi?id=1827033

Seems like this could be my issue

This could be where had issue with rebuild of ovirt-engine.  And then had
to scrape out the disk files to then import them back in. I then moved the
"old files" into sub folder "junk"  ... so after reboot I could know nobody
needed them..and delete old orphaned disk from previous oVirt-HCI deploy
version.


[root@thor images]# tree
.
├── 04002d39-4f60-4ed0-94db-74cb6b8de8d9
│   ├── 3f68af97-44ac-4a14-926e-dca66f7ce544

├── fff3c1de-e21e-4f03-8905-d587448f6543
│   ├── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b
│   ├── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b.lease
│   └── 6f4343b6-dc3d-40e3-b872-6a954b8d1a7b.meta
└── junk
├── 138a359c-13e6-4448-b543-533894e41fca
│   ├── ece912a4-6756-4944-803c-c7ac58713ef4
│   ├── ece912a4-6756-4944-803c-c7ac58713ef4.lease
│   └── ece912a4-6756-4944-803c-c7ac58713ef4.meta

├── ce4133ad-562f-4f23-add6-cd168a906267
│   ├── a09c8a84-1904-4632-892e-beb55abc873a
│   ├── a09c8a84-1904-4632-892e-beb55abc873a.lease
│   └── a09c8a84-1904-4632-892e-beb55abc873a.meta
└── f6679e35-fa56-4ed8-aa47-18492e00fd01
├── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c
├── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c.lease
└── 3f2f0fc7-cb3c-4bbc-9f7b-4f196588c78c.meta

31 directories, 113 files


The bug notes running command "taskcleaner.sh -R -o -A"

[root@ovirte01 dbutils]#
/usr/share/ovirt-engine/setup/dbutils/taskcleaner.sh -R -o -A

 This will remove all Tasks in async_tasks table, and all Job Steps and
Compensation data!!!
Caution, this operation should be used with care. Please contact support
prior to running this command
Are you sure you want to proceed? [y/n]
n
FATAL: Please contact support for further assistance.
[root@ovirte01 dbutils]#


I chickened out...   Asking for input on of this is a good idea

On Wed, Sep 30, 2020 at 10:27 AM penguin pages 
wrote:

>
> Got message this AM when tried to login to oVirt Engine which up till now
> has been working fine.
>
> I can supply username and password and get portal to choose
> "Administration Portal" or "VM Portal"
>
> I have tested both.. both have same response about
> java.lang.reflect.UndeclaredThrowableException
>
> I restarted the engine
> #
> hosted-engine --set-maintenance --mode=global
> hosted-engine --vm-shutdown
> hosted-engine --vm-status
> #make sure that the status is shutdown before restarting
> hosted-engine --vm-start
> hosted-engine --vm-status
> #make sure the status is health before leaving maintenance mode
> hosted-engine --set-maintenance --mode=none
>
> #
> --== Host thor.penguinpages.local (id: 1) status ==--
>
> Host ID: 1
> Host timestamp : 70359
> Score  : 3400
> Engine status  : {"vm": "down", "health": "bad",
> "detail": "unknown", "reason": "vm not running on this host"}
> Hostname   : thor.penguinpages.local
> Local maintenance  : False
> stopped: False
> crc32  : 25adf6d0
> conf_on_shared_storage : True
> local_conf_timestamp   : 70359
> Status up-to-date  : True
> Extra metadata (valid at timestamp):
> metadata_parse_version=1
> metadata_feature_version=1
> timestamp=70359 (Wed Sep 30 09:35:22 2020)
> host-id=1
> score=3400
> vm_conf_refresh_time=70359 (Wed Sep 30 09:35:22 2020)
> conf_on_shared_storage=True
> maintenance=False
> state=EngineDown
> stopped=False
>
>
> --== Host medusa.penguinpages.local (id: 3) status ==--
>
> Host ID: 3
> Host timestamp : 92582
> Score  : 3400
> Engine status  : {"vm": "up", "health": "good",
> "detail": "Up"}
> Hostname   : medusa.penguinpages.local
> Local maintenance  : False
> stopped: False
> crc32  : 623359d2
> conf_on_shared_storage : True
> local_conf_timestamp   : 92582
> Status up-to-date  : True
> Extra metadata (valid at timestamp):
> metadata_parse_version=1
> metadata_feature_version=1
> timestamp=92582 (Wed Sep 30 09:35:25 2020)
> host-id=3
> score=3400
> vm_conf_refresh_time=92582 (Wed Sep 30 09:35:25 2020)
> conf_on_shared_storage=True
> maintenance=False
> state=EngineUp
> stopped=False
> ##
>
> I downloaded and installed key from portal.. thinking that may have been
> issue.. it was not.
>
> I googled around /searched forum and nothing jumped out.   (only hit I
> found in forum
> https://lists.ovirt.org/pipermail/users/2015-June/033421.html  but no
> note about