[Users] oVirt 3.4.0 beta - Hosted Engine Setup -- issues

I'm trying to test out the oVirt Hosted Engine, but am experiencing a failure early on and was hoping someone could point me in the right direction. I'm not familiar enough with the architecture of oVirt to start to debug this situation. Basically, I run the "hosted-engine --deploy" command and it outputs: ======================== [ INFO ] Stage: Initializing Continuing will configure this host for serving as hypervisor and create a VM where you have to install oVirt Engine afterwards. Are you sure you want to continue? (Yes, No)[Yes]: [ INFO ] Generating a temporary VNC password. [ INFO ] Stage: Environment setup Configuration files: [] Log file: /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140122110741.log Version: otopi-1.2.0_beta (otopi-1.2.0-0.1.beta.fc19) [ INFO ] Hardware supports virtualization [ INFO ] Bridge ovirtmgmt already created [ INFO ] Stage: Environment packages setup [ INFO ] Stage: Programs detection [ INFO ] Stage: Environment setup [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Waiting for VDSM hardware info [ INFO ] Stage: Environment customization --== STORAGE CONFIGURATION ==-- During customization use CTRL-D to abort. [ ERROR ] Failed to execute stage 'Environment customization': [Errno 111] Connection refused [ INFO ] Stage: Clean up [ INFO ] Stage: Pre-termination [ INFO ] Stage: Termination ======================== /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20140122110741.log has: ======================== 2014-01-22 11:07:57 DEBUG otopi.plugins.ovirt_hosted_engine_setup.storage.storage storage._check_existing_pools:631 getConnectedStoragePoolsList 2014-01-22 11:07:57 DEBUG otopi.context context._executeMethod:152 method exception Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in _executeMethod method['method']() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 729, in _customization self._check_existing_pools() File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/storage/storage.py", line 632, in _check_existing_pools pools = self.serv.s.getConnectedStoragePoolsList() File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__ return self.__send(self.__name, args) File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request verbose=self.__verbose File "/usr/lib64/python2.7/xmlrpclib.py", line 1264, in request return self.single_request(host, handler, request_body, verbose) File "/usr/lib64/python2.7/xmlrpclib.py", line 1292, in single_request self.send_content(h, request_body) File "/usr/lib64/python2.7/xmlrpclib.py", line 1439, in send_content connection.endheaders(request_body) File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders self._send_output(message_body) File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output self.send(msg) File "/usr/lib64/python2.7/httplib.py", line 791, in send self.connect() File "/usr/lib64/python2.7/site-packages/vdsm/SecureXMLRPCServer.py", line 188, in connect sock = socket.create_connection((self.host, self.port), self.timeout) File "/usr/lib64/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused 2014-01-22 11:07:57 ERROR otopi.context context._executeMethod:161 Failed to execute stage 'Environment customization': [Errno 111] Connection refused ======================== Unfortunately I do not know what service this is trying to connect to, or what hostname or port to try to start debugging that. Some other useful information about my environment: - Fedora 19 (64bit), minimal install, selected 'standard' add-on utilities. This was a fresh install just for this test. - 512MB /boot ext4 - 80GB / ext4 in LVM, 220GB free in VG - "yum -y update" performed to get all latest updates - SElinux in permissive mode - Hardware: - Supermicro 1026T-URF barebones - single CPU populated (Xeon E5630 4x2.53GHz) - 12GB ECC DDR3 RAM - H/W Raid with SSDs - Networking: - Network Manager DISABLED - 4 GbE ports (p2p1, p2p2, em1, em2) - all 4 ports configured in a bond (bond0) using balance-alb - ovirtmgmt bridge pre-created with 'bond0' as the only member, assigned a static IP address - firewall DISABLED - /etc/yum.repos.d/ovirt.rep has ONLY the 3.4.0 beta repo enabled: [ovirt-3.4.0-beta] name=3.4.0 beta testing repo for the oVirt project baseurl=http://ovirt.org/releases/3.4.0-beta/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 - only other packages installed were "ntp" and "screen" - performed "yum install ovirt-hosted-engine-setup" then "screen" then "hosted-engine --deploy" Any guidance or things to test would be _greatly_ appreciated. Thanks! -Brad

Hi, This looks like this BZ which I reported https://bugzilla.redhat.com/show_bug.cgi?id=1055153 Did you customize your nics before you tried running hosted-engine --deploy? Thanks, Andrew On Thu, Jan 23, 2014 at 7:32 AM, Brad House <brad@monetra.com> wrote:

On 01/22/2014 05:42 PM, Andrew Lau wrote:
Yes, I created all the /etc/sysconfig/network-scripts/ifcfg-* for my 4 NICs in the bond, then also created the ifcfg-bond0, as well as an ifcfg-ovirtmgmt which uses the bond0. So the ovirt management interface should be fully configured before even running the hosted-engine --deploy ... when I was testing the all-in-one (non-hosted) I had to do that, so figured it was a good idea for hosted too. I'm trying to understand your BZ 1055153, did you actually get it to work? Or did you get stuck at that point? I have seen the same issue as your BZ 1055129 as well. -Brad

That sounds exactly what I did, do you mind putting those log files into the BZ saves me from having to find some hardware and replicate it again. So what i did was I ended up just nuking the whole OS, and getting a clean start. First after doing all your initial prep EXCEPT configuring your 4 NICs run the "hosted-engine --deploy" command twice. Assuming the first run fails always like in my case, else once you get to the "Configure Storage" phase press Ctrl + D to exit. Now configure your NICs (also configure ovirtmgmt manually as there is another BZ about it not being able to create the bridge) and rerun "hosted-engine --deploy" and you should be back in action. This should get you to a working hosted-engine solution. P.S. could you add me in the CC when you reply, I would've seen your message sooner. On Thu, Jan 23, 2014 at 9:55 AM, Brad House <brad@monetra.com> wrote:

Good luck! If you get time it'd really be great if you could post those logs (ovirt-hosted-engine-setup.log and vdsm.log) to BZ 1055153 for me? It'd help them debug the issue and save me from having to find a new spare server. I spent a good 2 days trying to work through the alpha jungle so hope this helps :) On Thu, Jan 23, 2014 at 10:32 PM, Brad House <brad@monetra.com> wrote:

On 01/23/2014 08:30 AM, Sandro Bonazzola wrote:
It seems that VDSM is not working on your system. Can you attach vdsm logs?
vdsm log is empty # ls -l /var/log/vdsm/vdsm.log -rw-r--r-- 1 root root 0 Jan 20 10:13 /var/log/vdsm/vdsm.log # ps -ef | grep -i vdsm root 1628 1 0 09:16 ? 00:00:00 /usr/bin/python /usr/share/vdsm/supervdsmServer --sockfile /var/run/vdsm/svdsm.sock # service vdsmd status Redirecting to /bin/systemctl status vdsmd.service vdsmd.service - Virtual Desktop Server Manager Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled) Active: failed (Result: start-limit) since Thu 2014-01-23 09:16:38 EST; 1min 26s ago Process: 2387 ExecStopPost=/usr/libexec/vdsm/vdsmd_init_common.sh --post-stop (code=exited, status=0/SUCCESS) Process: 2380 ExecStart=/usr/share/vdsm/daemonAdapter -0 /dev/null -1 /dev/null -2 /dev/null /usr/share/vdsm/vdsm (code=exited, status=1/FAILURE) Process: 2328 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh --pre-start (code=exited, status=0/SUCCESS) Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: Unit vdsmd.service entered failed state. Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: vdsmd.service holdoff time over, scheduling restart. Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: Stopping Virtual Desktop Server Manager... Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: Starting Virtual Desktop Server Manager... Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: vdsmd.service start request repeated too quickly, refusing to start. Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: Failed to start Virtual Desktop Server Manager. Jan 23 09:16:38 ovirttest.internal.monetra.com systemd[1]: Unit vdsmd.service entered failed state. I've attached the supervdsm.log and ovirt-hosted-engine-setup-20140123091611.log incase that's helpful. Thanks. -Brad

Il 23/01/2014 15:30, Brad House ha scritto:
Sorry it was for vdsm people. It sorted out that changing owner to vdsm:kvm on /var/log/vdsm/vdsm.log solve the issue. Investigating how owner have been set to root:root on that file.
Thanks. -Brad
-- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com

Hi I have been going though trying to find a way to increase the memory in a already created VM So far all I see in the webadmin portal is a place to edit the "Physical Memory Guaranteed" in the VM definition. But changing this does not affect in any way the amount of memory the VM actually sees and does not change the "Defined Memory" value in the VM details tab after shutdown and start of the VM there is no change even after full ovirt-engine restarts The guest OS is windows 2008r2 and yes Ovirt guest is installed I have even tried adding a custom userdefine of memory , which did not work. I can see where you add/change the number of CPUs/Sockets to a existing VM, But changing the "physical memeory guarantee seems to do .. nothing Where/how do you change the "Defined Memory" after a VM is created?

On Thu, Jan 23, 2014 at 3:32 PM, Madhav V Diwan <mdiwan@diwanconsulting.com> wrote: ...
Where/how do you change the "Defined Memory" after a VM is created?
The VM has to be down to change the amount of memory. This works for me in 3.3.2: Right mouse button on VM -> Edit -> Show advanced options -> System -> Edit Total Memory

thank you I was looking at the resource allocation menu in advanced settings and not at the system menu changing the memory setting in the system menu works -----Original Message----- From: Sander Grendelman <sander@grendelman.com> To: Madhav V Diwan <mdiwan@diwanconsulting.com> Cc: users <users@ovirt.org> Subject: Re: [Users] Can not change "Defined Memory" in VM in Ovirt 3.3.3 Date: Thu, 23 Jan 2014 15:56:10 +0100 On Thu, Jan 23, 2014 at 3:32 PM, Madhav V Diwan <mdiwan@diwanconsulting.com> wrote: ...
Where/how do you change the "Defined Memory" after a VM is created?
The VM has to be down to change the amount of memory. This works for me in 3.3.2: Right mouse button on VM -> Edit -> Show advanced options -> System -> Edit Total Memory
participants (5)
-
Andrew Lau
-
Brad House
-
Madhav V Diwan
-
Sander Grendelman
-
Sandro Bonazzola