Re: [ovirt-users] 3.6 master hosted engine setup error

On Tue, Nov 17, 2015 at 6:29 PM, Simone Tiraboschi wrote:
On Tue, Nov 17, 2015 at 5:04 PM, Gianluca Cecchi wrote:
Yes, I know. No problem for me. I'm using master because I want to test Italian layout so that I can change current translation where necessary. But do I have to start from scratch or is there any command to clean the current half-completed setup?
No, unfortunately is still not available for hosted-engine-setup
Gianluca
Hello, retrying from master, as the problem solution should have been merged. But it seems the package for the appliance is not available now... [root@ovc71 ~]# yum install ovirt-engine-appliance Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mi.mirror.garr.it * extras: mi.mirror.garr.it * ovirt-master-epel: fr2.rpmfind.net * ovirt-master-snapshot: ftp.plusline.net * ovirt-master-snapshot-static: ftp.plusline.net * updates: mi.mirror.garr.it No package ovirt-engine-appliance available. Error: Nothing to do Any alternative manually downloading the ova file or other strategy? Gianluca

On Fri, Nov 20, 2015 at 11:20 AM, Gianluca Cecchi <gianluca.cecchi@gmail.com
wrote:
On Tue, Nov 17, 2015 at 6:29 PM, Simone Tiraboschi wrote:
On Tue, Nov 17, 2015 at 5:04 PM, Gianluca Cecchi wrote:
Yes, I know. No problem for me. I'm using master because I want to test Italian layout so that I can change current translation where necessary. But do I have to start from scratch or is there any command to clean the current half-completed setup?
No, unfortunately is still not available for hosted-engine-setup
Gianluca
Hello, retrying from master, as the problem solution should have been merged. But it seems the package for the appliance is not available now...
[root@ovc71 ~]# yum install ovirt-engine-appliance Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mi.mirror.garr.it * extras: mi.mirror.garr.it * ovirt-master-epel: fr2.rpmfind.net * ovirt-master-snapshot: ftp.plusline.net * ovirt-master-snapshot-static: ftp.plusline.net * updates: mi.mirror.garr.it No package ovirt-engine-appliance available. Error: Nothing to do
Any alternative manually downloading the ova file or other strategy?
Gianluca
In the mean time I have tried with this: http://jenkins.ovirt.org/job/ovirt-appliance-engine_3.6_create-rpms-el7-noar... found referred at: http://www.ovirt.org/Feature/oVirtAppliance BTW: There was a problem related with smtp during host deploy phase (I'm going to send separate e-mail). The main strange thing is that it seems that the packages installed enabling master today are the same as the ones pcked up during an installation done yesterday using offical 3.6.0 But there is something I don't understand in general, related to my need to crosscheck rendering of Italian translation in oVirt. For 3.6.0 I used http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm Today for master I used: http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm Are the engine repos configured inside the appliance itself or inside the host where I run the command hosted-engine --deploy ??? If I go inside the 2 configured engine appliances I see 3.6.0 one: # rpm -qa|grep engine|sort ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-backend-3.6.0.3-1.el7.centos.noarch ovirt-engine-cli-3.6.0.1-1.el7.centos.noarch ovirt-engine-dbscripts-3.6.0.3-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch ovirt-engine-extensions-api-impl-3.6.0.3-1.el7.centos.noarch ovirt-engine-lib-3.6.0.3-1.el7.centos.noarch ovirt-engine-restapi-3.6.0.3-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-base-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-tools-3.6.0.3-1.el7.centos.noarch ovirt-engine-userportal-3.6.0.3-1.el7.centos.noarch ovirt-engine-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-webadmin-portal-3.6.0.3-1.el7.centos.noarch ovirt-engine-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-wildfly-8.2.0-1.el7.x86_64 ovirt-engine-wildfly-overlay-001-2.el7.noarch 3.6 master one: # rpm -qa|grep engine|sort ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-backend-3.6.0.3-1.el7.centos.noarch ovirt-engine-cli-3.6.0.1-1.el7.centos.noarch ovirt-engine-dbscripts-3.6.0.3-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch ovirt-engine-extensions-api-impl-3.6.0.3-1.el7.centos.noarch ovirt-engine-lib-3.6.0.3-1.el7.centos.noarch ovirt-engine-restapi-3.6.0.3-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-base-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-tools-3.6.0.3-1.el7.centos.noarch ovirt-engine-userportal-3.6.0.3-1.el7.centos.noarch ovirt-engine-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-webadmin-portal-3.6.0.3-1.el7.centos.noarch ovirt-engine-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-wildfly-8.2.0-1.el7.x86_64 ovirt-engine-wildfly-overlay-001-2.el7.noarch and in fact inside the engine admin portal I don't see Italian as a possible language to select. And the about button gives the same release for both: oVirt Engine Version: 3.6.0.3-1.el7.centos So perphaps I'm doing anything wrong to be able to use master for testing Italian translation? Gianluca

On Fri, Nov 20, 2015 at 12:07 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com
wrote:
On Fri, Nov 20, 2015 at 11:20 AM, Gianluca Cecchi < gianluca.cecchi@gmail.com> wrote:
On Tue, Nov 17, 2015 at 6:29 PM, Simone Tiraboschi wrote:
On Tue, Nov 17, 2015 at 5:04 PM, Gianluca Cecchi wrote:
Yes, I know. No problem for me. I'm using master because I want to test Italian layout so that I can change current translation where necessary. But do I have to start from scratch or is there any command to clean the current half-completed setup?
No, unfortunately is still not available for hosted-engine-setup
Gianluca
Hello, retrying from master, as the problem solution should have been merged. But it seems the package for the appliance is not available now...
[root@ovc71 ~]# yum install ovirt-engine-appliance Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mi.mirror.garr.it * extras: mi.mirror.garr.it * ovirt-master-epel: fr2.rpmfind.net * ovirt-master-snapshot: ftp.plusline.net * ovirt-master-snapshot-static: ftp.plusline.net * updates: mi.mirror.garr.it No package ovirt-engine-appliance available. Error: Nothing to do
Any alternative manually downloading the ova file or other strategy?
Gianluca
In the mean time I have tried with this:
http://jenkins.ovirt.org/job/ovirt-appliance-engine_3.6_create-rpms-el7-noar...
This one is simply the appliance from 3.6 so everything else looks correct. The appliance build from master is here: http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-n... found referred at:
http://www.ovirt.org/Feature/oVirtAppliance
BTW: There was a problem related with smtp during host deploy phase (I'm going to send separate e-mail). The main strange thing is that it seems that the packages installed enabling master today are the same as the ones pcked up during an installation done yesterday using offical 3.6.0
But there is something I don't understand in general, related to my need to crosscheck rendering of Italian translation in oVirt.
For 3.6.0 I used http://resources.ovirt.org/pub/yum-repo/ovirt-release36.rpm
Today for master I used: http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm
Are the engine repos configured inside the appliance itself or inside the host where I run the command hosted-engine --deploy
???
If I go inside the 2 configured engine appliances I see
3.6.0 one: # rpm -qa|grep engine|sort ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-backend-3.6.0.3-1.el7.centos.noarch ovirt-engine-cli-3.6.0.1-1.el7.centos.noarch ovirt-engine-dbscripts-3.6.0.3-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch ovirt-engine-extensions-api-impl-3.6.0.3-1.el7.centos.noarch ovirt-engine-lib-3.6.0.3-1.el7.centos.noarch ovirt-engine-restapi-3.6.0.3-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-base-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-tools-3.6.0.3-1.el7.centos.noarch ovirt-engine-userportal-3.6.0.3-1.el7.centos.noarch ovirt-engine-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-webadmin-portal-3.6.0.3-1.el7.centos.noarch ovirt-engine-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-wildfly-8.2.0-1.el7.x86_64 ovirt-engine-wildfly-overlay-001-2.el7.noarch
3.6 master one: # rpm -qa|grep engine|sort ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-backend-3.6.0.3-1.el7.centos.noarch ovirt-engine-cli-3.6.0.1-1.el7.centos.noarch ovirt-engine-dbscripts-3.6.0.3-1.el7.centos.noarch ovirt-engine-extension-aaa-jdbc-1.0.1-1.el7.noarch ovirt-engine-extensions-api-impl-3.6.0.3-1.el7.centos.noarch ovirt-engine-lib-3.6.0.3-1.el7.centos.noarch ovirt-engine-restapi-3.6.0.3-1.el7.centos.noarch ovirt-engine-sdk-python-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-base-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-ovirt-engine-common-3.6.0.3-1.el7.centos.noarch
ovirt-engine-setup-plugin-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-setup-plugin-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-tools-3.6.0.3-1.el7.centos.noarch ovirt-engine-userportal-3.6.0.3-1.el7.centos.noarch ovirt-engine-vmconsole-proxy-helper-3.6.0.3-1.el7.centos.noarch ovirt-engine-webadmin-portal-3.6.0.3-1.el7.centos.noarch ovirt-engine-websocket-proxy-3.6.0.3-1.el7.centos.noarch ovirt-engine-wildfly-8.2.0-1.el7.x86_64 ovirt-engine-wildfly-overlay-001-2.el7.noarch
and in fact inside the engine admin portal I don't see Italian as a possible language to select. And the about button gives the same release for both: oVirt Engine Version: 3.6.0.3-1.el7.centos
So perphaps I'm doing anything wrong to be able to use master for testing Italian translation?
Gianluca

On Fri, Nov 20, 2015 at 1:32 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Fri, Nov 20, 2015 at 12:07 PM, Gianluca Cecchi < gianluca.cecchi@gmail.com> wrote:
[snip]
Hello, retrying from master, as the problem solution should have been merged. But it seems the package for the appliance is not available now...
[snip]
This one is simply the appliance from 3.6 so everything else looks correct. The appliance build from master is here:
http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-n...
Hello Simone, always trying to setup a working environment from master using self hosted engine I'm using the appliance at the link you provided, because it seems that the ovirt-appliance rpm is outside from master repo (I suppose due to its size and daily mirrors effort?) But it seems it remains stuck at [ INFO ] Connecting to the Engine [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes... in this phase I see that the engine vm is not up In /var/log/libvirt/qemu/HostedEngine.log 2015-11-24 10:51:15.576+0000: shutting down and both ovirt-ha-broker and ovirt-ha-agent are down and yet disable at host side. and at the end [ INFO ] Still waiting for VDSM host to become operational... ... [ INFO ] Still waiting for VDSM host to become operational... [ ERROR ] Timed out while waiting for host to start. Please check the logs. [ ERROR ] Unable to add hosted_engine_1 to the manager [ INFO ] Saving hosted-engine configuration on the shared storage domain [ INFO ] Shutting down the engine VM [ INFO ] Enabling and starting HA services Hosted Engine successfully set up [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151124123248.conf' [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination Perhaps is it better to configure a separate self hosted engine os and not use the appliance? Or all the sef hosted engine in master is broken right now and I have to wait? On the same infra if I configure 3.6.0 in the same way I have no problem. I'm working at snapshot level in virt-manager so I can revert back just to before the phase where I enable of 3.6-master repo on host. Let me know if you want me to test anything. Gianluca

On Tue, Nov 24, 2015 at 12:43 PM, Gianluca Cecchi <gianluca.cecchi@gmail.com
wrote:
On Fri, Nov 20, 2015 at 1:32 PM, Simone Tiraboschi <stirabos@redhat.com> wrote:
On Fri, Nov 20, 2015 at 12:07 PM, Gianluca Cecchi < gianluca.cecchi@gmail.com> wrote:
[snip]
Hello, retrying from master, as the problem solution should have been merged. But it seems the package for the appliance is not available now...
[snip]
This one is simply the appliance from 3.6 so everything else looks correct. The appliance build from master is here:
http://jenkins.ovirt.org/job/ovirt-appliance-engine_master_create-rpms-el7-n...
Hello Simone, always trying to setup a working environment from master using self hosted engine I'm using the appliance at the link you provided, because it seems that the ovirt-appliance rpm is outside from master repo (I suppose due to its size and daily mirrors effort?)
It's basically for the size, we'll fix it when we'll move to new infrastructure.
But it seems it remains stuck at
[ INFO ] Connecting to the Engine [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...
in this phase I see that the engine vm is not up
This looks strange, the engine should be up at that point.
In /var/log/libvirt/qemu/HostedEngine.log 2015-11-24 10:51:15.576+0000: shutting down
Can you please attach vdsm logs and /var/log/messages from your host to let me check why the VM died?
and both ovirt-ha-broker and ovirt-ha-agent are down and yet disable at host side.
and at the end [ INFO ] Still waiting for VDSM host to become operational... ... [ INFO ] Still waiting for VDSM host to become operational... [ ERROR ] Timed out while waiting for host to start. Please check the logs. [ ERROR ] Unable to add hosted_engine_1 to the manager [ INFO ] Saving hosted-engine configuration on the shared storage domain [ INFO ] Shutting down the engine VM [ INFO ] Enabling and starting HA services Hosted Engine successfully set up [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151124123248.conf' [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
Perhaps is it better to configure a separate self hosted engine os and not use the appliance? Or all the sef hosted engine in master is broken right now and I have to wait?
I tryied it a couple of days ago with the appliance and it was OK. I think is worth now to had CI jobs also from master.
On the same infra if I configure 3.6.0 in the same way I have no problem. I'm working at snapshot level in virt-manager so I can revert back just to before the phase where I enable of 3.6-master repo on host.
Let me know if you want me to test anything.
Gianluca

On Wed, Nov 25, 2015 at 11:57 AM, Simone Tiraboschi <stirabos@redhat.com> wrote:
Hello Simone, always trying to setup a working environment from master using self hosted engine I'm using the appliance at the link you provided, because it seems that the ovirt-appliance rpm is outside from master repo (I suppose due to its size and daily mirrors effort?)
It's basically for the size, we'll fix it when we'll move to new infrastructure.
But it seems it remains stuck at
[ INFO ] Connecting to the Engine [ INFO ] Waiting for the host to become operational in the engine. This may take several minutes...
in this phase I see that the engine vm is not up
This looks strange, the engine should be up at that point.
In /var/log/libvirt/qemu/HostedEngine.log 2015-11-24 10:51:15.576+0000: shutting down
Can you please attach vdsm logs and /var/log/messages from your host to let me check why the VM died?
and both ovirt-ha-broker and ovirt-ha-agent are down and yet disable at host side.
and at the end [ INFO ] Still waiting for VDSM host to become operational... ... [ INFO ] Still waiting for VDSM host to become operational... [ ERROR ] Timed out while waiting for host to start. Please check the logs. [ ERROR ] Unable to add hosted_engine_1 to the manager [ INFO ] Saving hosted-engine configuration on the shared storage domain [ INFO ] Shutting down the engine VM [ INFO ] Enabling and starting HA services Hosted Engine successfully set up [ INFO ] Stage: Clean up [ INFO ] Generating answer file '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151124123248.conf' [ INFO ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf' [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination
Perhaps is it better to configure a separate self hosted engine os and not use the appliance? Or all the sef hosted engine in master is broken right now and I have to wait?
I tryied it a couple of days ago with the appliance and it was OK. I think is worth now to had CI jobs also from master.
On the same infra if I configure 3.6.0 in the same way I have no problem. I'm working at snapshot level in virt-manager so I can revert back just to before the phase where I enable of 3.6-master repo on host.
Let me know if you want me to test anything.
Gianluca
Actually after I manually started ovirt-ha-broker and ovirt-ha-agent at host side, the engine vm has been started. And I was able to: access it, put infra in maintenanance, shutdown all and then restart host and exit form maintenance with the engine vm started again and accessible.... I also see italian shown as a possible language, so it is indeed master version and I can begin to crosscheck... ;-) To analyze the ERRORS I got from host deploy phase, you can find messages in tar.gz format here: https://drive.google.com/file/d/0BwoPbcrMv8mvckRNbUdzWDQ2bWc/view?usp=sharin... ovirt-hosted-engine logs in tar.gz format here: https://drive.google.com/file/d/0BwoPbcrMv8mvZzVBZXBNRzlvRkk/view?usp=sharin... vdsm logs tree in tar.gz format here: https://drive.google.com/file/d/0BwoPbcrMv8mvcGZjSFFlTDd1aDA/view?usp=sharin... engine side logs in tar.gz format here: https://drive.google.com/file/d/0BwoPbcrMv8mvTHBqMjlCaktOUzA/view?usp=sharin... Output of some commands (let me know if you want me to run other ones to crosscheck if the installation is ok from all points of view): [root@ovc71 qemu]# hosted-engine --check-liveliness Hosted Engine is up! [root@ovc71 qemu]# hosted-engine --vm-status --== Host 1 status ==-- Status up-to-date : True Hostname : ovc71.localdomain.local Host ID : 1 Engine status : {"health": "good", "vm": "up", "detail": "up"} Score : 3400 stopped : False Local maintenance : False crc32 : 6a8e8808 Host timestamp : 1510 due to the bug that the storage domain of hosted engine is not shown inside the web admin portal I cannot crosscheck from the gui.... But from the gui itself the host results as unresponsive (enjoy the italian ... ;-) so there is indeed something not correct, I hope fixable without reinstall... see print screen https://drive.google.com/file/d/0BwoPbcrMv8mvUEpRS2RteXhiWjQ/view?usp=sharin... Gianluca
participants (2)
-
Gianluca Cecchi
-
Simone Tiraboschi