Re: [ovirt-users] 4.2 Hosted Engine - Web UI login does not work

2017-11-06 Thread Marcin Jessa

> On 6 Nov 2017, at 07:47, Maton, Brett  wrote:
> 
> Have you tried clearing the cache and restarting the browser?
> I had an issue with 4.2 UI in one browser, and that did the trick.

I actually just flushed iptables rules and it worked. 
Have always had strange issues with ovirt-generated iptables rules.


Cheers
Marcin.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Hosted Engine deployment failed: this system is not reliable

2017-11-05 Thread Marcin Jessa

> 
> Hi,
> in your env the FQDN of the engine VM you are going to create (virt.yazzy.net 
> ) resolves to 192.168.99.50 but you choose:
> 
> 1. to rely on DHCP for the engine VM
> 2. to accept the proposed random MAC address (00:16:3e:3a:12:1a) for the 
> engine VM
> 
> Are you sure that your DHCP server provided the right IP address to the 
> engine VM?

Thanks. 

I used a static IP and it worked. It installed. I thought that option was for 
how oVirt hands out IPs to the VMs. Should be stated clearly in the setup.
The docs had no mention of it either.


Marcin

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] 4.2 Hosted Engine - Web UI login does not work

2017-11-05 Thread Marcin Jessa
Hi guys.

I finally managed to successfully install 4.2 hosted engine. It installed with 
no errors, it boots fine but when I try to login to the UI nothing happens.
Nothing happens when I click on Administration Portal, VM Portal or Login. 
Any thoughts what can be wrong?

Cheers
Marcin
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Messed up upgrade to 4.2. Solution badly needed.

2017-11-03 Thread Marcin Jessa
Hi guys.

I have VM with hosted engine and a two node setup. When beta came out I was 
“OH! New shiny tech! Let’s try it!”. You all know the feeling.
Unfortunately the upgrade process did not go as expected. 
I created a backup of my 4.1 installation and started to upgrade the VM. All 
went well. I then migrated all the running VMs to my second node put the 
cluster in global maintenance mode and updated one of the nodes.
Then I run hosted-engine —upgrade-appliance on the node but it fails:

[ ERROR ] Failed to execute stage 'Environment customization': exceptions must 
be old-style classes or derived from BaseException, not str

The log file says:
2017-11-03 13:12:48,259+0100 DEBUG otopi.context context._executeMethod:143 
method exception
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, in 
_executeMethod
method['method']()
  File 
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-upgradeappliance/engine/misc.py",
 line 180, in _check_spm
'Unable to find this host in the engine, '
TypeError: exceptions must be old-style classes or derived from BaseException, 
not str
2017-11-03 13:12:48,259+0100 ERROR otopi.context context._executeMethod:152 
Failed to execute stage 'Environment customization': exceptions must be 
old-style classes or derived from BaseException, not str
2017-11-03 13:12:48,260+0100 DEBUG otopi.context context.dumpEnvironment:821 
ENVIRONMENT DUMP - BEGIN
2017-11-03 13:12:48,260+0100 DEBUG otopi.context context.dumpEnvironment:831 
ENV BASE/error=bool:'True'
2017-11-03 13:12:48,260+0100 DEBUG otopi.context context.dumpEnvironment:831 
ENV BASE/exceptionInfo=list:'[(, 
TypeError('exceptions must be old-style classes or derived from BaseException, 
not str',), )]'
2017-11-03 13:12:48,261+0100 DEBUG otopi.context context.dumpEnvironment:835 
ENVIRONMENT DUMP - END

I can login to the hosted engine but the nodes are down, the VMs are down and 
the storage is not connected.

Can you please advice what to do now? 
Is there a way to upgrade my setup?
Should I disconnect my second node, which is also upgraded to 4.2 now and try 
to install hosted engine from scratch?
Anything else I can do to save my VMs?


Cheers
Marcin.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Re-adding oVirt host.

2017-06-11 Thread Marcin Jessa
Hi.

I deleted /etc/vdsm/vdsm.id, rebooted the box but still could not re-add the 
host. 
Still the same error message: "Error while executing action: Cannot add Host. 
The Host name is already in use, please choose a unique name and try again.”

What I did to fix it:
# su postgres
bash-4.2$ psql -s engine
psql (9.2.18)
engine=# select vds_id from vds_static where host_name = ‘my.ip.add.ress’;

vds_id
--
 acadd185-5673-4eb9-8ad3-b5c0390caeb0
(1 row)

engine=# delete from vds_statistics where vds_id = 
'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;
engine=# delete from vds_dynamic where vds_id = 
'acadd185-5673-4eb9-8ad3-b5c0390caeb0’;
engine=# delete from vds_static where vds_id = 
'acadd185-5673-4eb9-8ad3-b5c0390caeb0';


Finally I ran:
# uuidgen > /etc/vdsm/vdsm.id

Thanks for pointing me to the right direction Arman.

Marcin.

> On 11 Jun 2017, at 16:15, Arman Khalatyan <arm2...@gmail.com> wrote:
> 
> you should delete vdsmid from /etc/vdsmd or so... checkout the forum 
> somewhere I mentioned it.
> 
> Am 11.06.2017 2:52 nachm. schrieb "Marcin M. Jessa" <li...@yazzy.org 
> <mailto:li...@yazzy.org>>:
> Hi guys.
> 
> I have a two node setup. One server running on CentOS [1] and one server with 
> oVirt node [2].
> I added local storage to my oVirt host but I forgot the storage I chose was 
> already in use so it failed.
> I then got a host entry with local storage which was shown as not configured.
> I then removed that local storage host but then it completely disappeared 
> from my setup.
> Then I tried to add it again but oVirt said that host is already defined. I 
> tried different name with the same IP but it also failed saying that that IP 
> is already defined. Is there a way to re-add that previously defined host?
> How can I bring it back?
> 
> [1]: oVirt Engine Version: 4.1.2.2-1.el7.centos
> [2]: oVirt Node 4.1.2
> 
> 
> Marcin Jessa.
> ___
> Users mailing list
> Users@ovirt.org <mailto:Users@ovirt.org>
> http://lists.ovirt.org/mailman/listinfo/users 
> <http://lists.ovirt.org/mailman/listinfo/users>

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users