[Users] oVirt Bangalore Workshop - update and agenda

2012-10-11 Thread Dave Neary

Hello everyone,

The oVirt Workshop on the 16th of October is just around the corner, and 
we have some great stuff lined up! We have put together a nice agenda 
for the workshop which will cover user and developer topics related to 
oVirt.


The event schedule, which is still subject to some changes as we confirm 
the attendance of some last minute guests, is now online in the oVirt 
Wiki at http://wiki.ovirt.org/wiki/Bangalore_oVirt_Workshop#Event_schedule


Regards,
Dave Neary.

--
Dave Neary
Community Action and Impact
Open Source and Standards, Red Hat
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to convince oVirt a VM is down

2012-10-11 Thread Roy Golan


since the VM run_on_vds was empty, the confirm host... didn't clear 
its status because its not selected from the DB as one of the host VMs.
I'll try to dig in to see at what point this value was cleared - 
probably around the failed migration.



On 10/10/2012 07:25 PM, Alan Johnson wrote:
On Wed, Oct 10, 2012 at 4:35 AM, Juan Hernandez jhern...@redhat.com 
mailto:jhern...@redhat.com wrote:


On 10/09/2012 11:36 PM, Itamar Heim wrote:
 well, hacking the db will work, but reproducing this and logs
for us to
 fix the actually bug would also help.


Unfortunately, it will would be very difficult to reproduce since I 
have replaced the boot drive that I believe was causing the failures 
and I have no idea what state the host was in when it went down 
(details below).  Plus, our testing folks will become very angry if I 
keep crashing their VMs. =)  Still, I can probably come up with some 
spare hardware eventually and try to reproduce if needed, but let's 
see what we see with the logs, etc., first, yeah?



We have seen this before, and we thought it was fixed.


Was that very recently?  Perhaps I was not running the fixed version. 
 I might not be still.  I'm running on CentOS 6.3 using this repo: 
http://www.dreyou.org/ovirt/ovirt-dre.repo


I used these instructions to setup the nodes 
http://middleswarth.net/content/installing-ovirt-31-and-glusterfs-using-either-nfs-or-posix-native-file-system-node-install and 
these instructions to setup the engine 
http://middleswarth.net/content/installing-ovirt-31-and-glusterfs-using-either-nfs-or-posix-native-file-system-engine. 
 (I have not configured any glusterfs volumes, but I will likely play 
with that soon.)  When setting up the engine, I had to fix a bunch of 
broken symlinks to jar files that were included with the various 
packages.  Both the broken symlinks and jar files there there, but 
many of the symlinks to the jars where broken.  I'll be reporting that 
to the package maintainers soon, but mention it here just in case it 
turns out to be relevant.


Here are my ovirt package versions:
[root@admin ~]# rpm -qa | fgrep -i ovirt
ovirt-log-collector-3.1.0-16.el6.noarch
ovirt-image-uploader-3.1.0-16.el6.noarch
ovirt-engine-userportal-3.1.0-3.19.el6.noarch
ovirt-engine-setup-3.1.0-3.19.el6.noarch
ovirt-engine-restapi-3.1.0-3.19.el6.noarch
ovirt-engine-config-3.1.0-3.19.el6.noarch
ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
ovirt-engine-backend-3.1.0-3.19.el6.noarch
ovirt-engine-sdk-3.1.0.5-1.el6.noarch
ovirt-iso-uploader-3.1.0-16.el6.noarch
ovirt-engine-jbossas711-1-0.x86_64
ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
ovirt-engine-3.1.0-3.19.el6.noarch

[root@cloudhost03 ~]# rpm -qa | fgrep -i vdsm
vdsm-xmlrpc-4.10.0-0.42.13.el6.noarch
vdsm-gluster-4.10.0-0.42.13.el6.noarch
vdsm-python-4.10.0-0.42.13.el6.x86_64
vdsm-4.10.0-0.42.13.el6.x86_64
vdsm-cli-4.10.0-0.42.13.el6.noarch


Alan, can you describe exactly the sequence of events that leaded to
this problem? When you say that the host died while going to
maintenance

what do you mean exactly? It crashed, rebooted, hung, was fenced? 



I'll do my best. =)  First, some back ground.  I have 3 hosts in oVirt 
currently: cloudhost0{2,3,4}.  (1 out there but not in oVirt just yet, 
so of no consequence.  It is currently running the VM hosting oVirt 
engine, but I doubt that is relevant either.)  I originally build 
these using USB sticks as the boot drives hoping to leave the drive 
bays dedicated to VM storage.  I bought what seemed to be the best 
ones for the jobs, but the root file system kept started going into 
read-only due to device errors recently.  It only happened once before 
I installed oVirt a few weeks ago, but I brough to new hosts on line 
with oVirt, so maybe I was just lucky with the first 2 hosts.


After converting to oVirt, the USB drives starting going read-only 
more often and I think they might not have been fast enough to keep up 
with the write requests from a host OS running a full load of VMs 
(~10), causing performance problems with some of our VMs.  So, I 
started replacing the USB drives putting one host into maintenance at 
a time.


I started with cloudhost04 not because it had gone read-only, but in 
hopes of improving performance.  While it was migrating VMs for 
maintenance mode, the engine marked it in an unknown state.  vdsmd had 
 crashed and would not start because it could not write logs or pid 
files.  The / mount had gone ro.


I'm not 100% sure now, but I think a couple of VMs were 
successfully migrated, but several were not.  libvirtd was up and the 
VMs were none the wiser, but I could not figure out the virsh password 
to tell it to migrate VMs despite finding a thread in this list with 
some pointers.  So, we logged into each VM and shut them down 
manually.  Once 

[Users] Is this dd operation harmful?

2012-10-11 Thread Shu Ming
Hi,

I found some dd operations were launched contiguously in my vdsm.log.
Is this harmful? How was this operation caused?

From vdsm.log:

Dummy-51000::DEBUG::2012-10-11
15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:38:57,305::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0388821 s, 26.3 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:38:59,313::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:38:59,375::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0398412 s, 25.7 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:39:01,383::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:39:01,445::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0393934 s, 26.0 MB/s\n'; rc = 0
Dummy-51000::DEBUG::2012-10-11
15:39:03,453::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)
Dummy-51000::DEBUG::2012-10-11
15:39:03,515::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
= '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
0.0391104 s, 26.2 MB/s\n'; rc = 0

-- 
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] Ovirt live USB - aka oVirt on a stick

2012-10-11 Thread Moran Goldboim
well, i think i have something to start playing with, it's still an 
*alpha* version and lots to be done.

go over the wiki [1] and try it out [2].

[1] http://wiki.ovirt.org/wiki/OVirt_Live
[2] http://ovirt.org/releases/3.1/tools/oVirt-Live-0.5.iso

On 09/13/2012 12:55 AM, Moran Goldboim wrote:
In order To improve the ease of installation, we are working on two 
new tools:


1. Fedora oVirt spin

We are planning on integrating oVirt to a live fedora spin[1]

This will simplify the the installation for new users. It will contain 
the oVirt AllInOne [2] on top of a Fedora liveCD desktop.
This will allow users to experiment with oVirt before later installing 
it.
The idea is user will install fedora from the CD, then answer the 
questions of the all-in-one setup.



2. Simple demo environment

As a second stage, for simple demo use cases, we want to take this one 
step further.
We'd like to extend this live spin to include a complete environment - 
sample vm/template/iso/node,etc so that a user can boot from a USB 
key  and have a complete environment that's pre-installed and 
configured, this will probably will be done with a script calling one 
of the APIs[3] to create it.


The user would download an image, write it to a USB disk and then boot 
it[4].

the idea is user can copy this iso to a usb disk (or a qcow/vdmk) and
Once booted the user will have a pre-installed, pre-configured oVirt 
Engine, host and local storage domain complete with ISOs, VM and 
template.


any suggestions/help will be appreciated

[1]http://fedoraproject.org/wiki/Spins_Custom
[2]http://wiki.ovirt.org/wiki/Feature/AllInOne
[3]http://wiki.ovirt.org/wiki/CLI  |http://wiki.ovirt.org/wiki/SDK
[4] bare metal or nested virtualization



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


Re: [Users] Can't start a VM - sanlock permission denied

2012-10-11 Thread Alexandre Santos
It's me again, now less sleepy :-)
What I would like to know is if this sanlock permission issue is within the
oVirt engine, a problem on the NFS Server or on the oVirt node (it's a
2.5.3 from nightly). On the later, I can't access the console to issue
those commands - I don't even know if it's running SELinux at all :-)

Alex

2012/10/11 Alexandre Santos santosa...@gmail.com

 Him
 I managed to install the new oVirt Node on a 8 GB USB Pen. I created the
 NFS Share anf when I try to Run the VM I get the:
  M ubuntu is down. Exit message: internal error Failed to open socket to
 sanlock daemon: Permission denied.



 I did the setsebool mentioned on the wiki on the engine but still get the
 error. Is it necessary to configure anywhere else?

 Alex


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


[Users] oVirt MCollective Agent

2012-10-11 Thread Marco Mornati
Hello guys,

I'm working on a cloud provisioning automatic tool and control (
http://www.kermit.fr) and I'm actually creating the module to control the
virtual farm based on oVirt (and RHEV 3.1 when will be out ;)).

That means I created a module to control oVirt using MCollective (
http://docs.puppetlabs.com/mcollective/).

You can find some information about the agent and the usage on my blog,
here: http://blog.mornati.net/2012/10/09/mcollective-ovirt-agent/
And source of the Mcollective oVirt agent here:
https://github.com/thinkfr/mcoplugins (ovirt.rb and ovirt.ddl).

Even if you are not interested in the agent, I think the ruby file could be
useful if you want to use the rbovirt API. I couldn't find any doc about
that API on the net, so I created the agent looking to ruby api sources (I
think any good project should have a little bit of documentation!!!).

Anyway, let me know if you are interested and if you have any suggestion
and idea about it.

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


[Users] Virtual Machine Provisiong

2012-10-11 Thread Marco Mornati
Hello guys,

I'm trying to integrate an automatic provisioning to my oVirt installation.
Something like: API to create VM, NIC and Disk, tool to install SO (??).

I'm actually working around aeolus (after a useless test with koan), but
I'm not sure I can do what I want. I prefer not to use a PXE to get all
things really automatic (something cloud style).

Have you got any idea, suggestion and/or guide about it?

Thanks a lot
Marco
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-node install hangs

2012-10-11 Thread Alexandre Santos
Hi,
yesterday I tried the new oVirt Node 2.5.3. I tried installing it without
the quiet flag but no luck. It hanged again and the kernel didn't show any
error on console (tty2).
Later will test without the rhgh flag.

Alex

BTW, now the hostname works on 2.5.3 :-) The network configuration is still
tricky... sometimes I have an Apply sometimes only a Back choice.

2012/10/9 Alexandre Santos santosa...@gmail.com

 It's working now :-)

 Thanks a lot all!

 Alex

 P.S. I haven't tried installing it on my SATA disk because I have there a
 Local Node already running but I'm going to try again on another one to see
 if I can send to you the error log.


 2012/10/8 Mike Burns mbu...@redhat.com

 On Mon, 2012-10-08 at 09:54 +0100, Alexandre Santos wrote:
 
 
  2012/10/8 Fabian Deutsch fabi...@redhat.com
  Am Montag, den 08.10.2012, 09:24 +0100 schrieb Alexandre
  Santos:
   2012/10/8 Fabian Deutsch fabi...@redhat.com
   Hey,
  
   Am Sonntag, den 07.10.2012, 15:29 +0100 schrieb
  Alexandre
   Santos:
Hi,
I'm trying to install the ovirt-node iso image on
  a SATA
   disk and when
it gets to the screen where it shows 25% completed
  the
   kernel hangs. I
can't connect using a serial console to see what
  has
   happened. If I
reboot using a usb linux disk I see that the SATA
  disk has
   been
formated and the partitions that existed before
  disappeared,
   being
there just one partition of type ee
  
  
   Is there any error displayed when kernel hangs at
  25%? And it
   can take
   some time to pass the 25% (up to ~2min or so).
  
   No, I think it's a kernel hang because the lights on the
  keyboard halt
   and I can't change to tty2, etc.. I even changed to tty2 and
  waited to
   see if there were some errors but nothing. I've read that
  tty8 was
   the logging console but no luck also.
   BTW, I tried with an IDE disk and the result was the same.
 
 
  Mh, okay.
  Could you try booting without the rhgb and quiet kernel
  arguments. I
  hope that some errors will be displayed on the screen so we
  get an idea
  about the problem.
 
  
If I use a 8 GB usb pen-drive instead of the SATA
  disk, the
installation comes to an end and I reboot but then
  I get
   some error
about not getting /dev/mapper/by-name/Root and the
  boot
   fails to a
dracut shell.
Any ideas?
  
  
   In the dracut shell, could you run blkid and post
  the results?
  
   I noticed that the USB Disk was named RootBackup instead of
  Root... I
   then rebooted and chose uninstall and then installed oVirt
  Node from
   scratch and now it worked.

 Glad it worked the second time.  There should be 4 partitions on the
 disk.

 Partition 1 is for UEFI or bios_boot depending on your machine type.
 Partition 2 and Partition 3 are Root and RootBackup.  So seeing a
 RootBackup is correct.  Not seeing a Root is incorrect.  If you rebooted
 the host in the middle of the install, or if the install hung for some
 reason, I can see that situation happening and see it working after
 uninstall/install.

   I can't activate Networking because I have that no
  hostname error
   mentioned in another post. I think it's related to that...

 You can't activate networking at all?  That is news to me.  The node
 should work perfectly fine with or without a FQDN.


 
 
  Yes, I've also seen the hostname error. And I've also seen
  some problems
  with the rootfs lately.

 Have you seen these issues with the 2.5.2 build?  Or only master branch
 builds?

  Could you provide a screenshot/dump of the console with that
  error?
 
  - fabian
 
 
  Ok! I'll send them as soon as possible.
 
  Alex
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users




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


Re: [Users] oVirt MCollective Agent

2012-10-11 Thread Oved Ourfalli


- Original Message -
 From: Marco Mornati morna...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, October 11, 2012 12:06:23 PM
 Subject: [Users] oVirt MCollective Agent
 
 
 Hello guys,
 
 
 I'm working on a cloud provisioning automatic tool and control (
 http://www.kermit.fr ) and I'm actually creating the module to
 control the virtual farm based on oVirt (and RHEV 3.1 when will be
 out ;)).
 
 
 That means I created a module to control oVirt using MCollective (
 http://docs.puppetlabs.com/mcollective/ ).
 
 
 You can find some information about the agent and the usage on my
 blog, here:
 http://blog.mornati.net/2012/10/09/mcollective-ovirt-agent/
 And source of the Mcollective oVirt agent here:
 https://github.com/thinkfr/mcoplugins (ovirt.rb and ovirt.ddl).
 
 
 Even if you are not interested in the agent, I think the ruby file
 could be useful if you want to use the rbovirt API. I couldn't find
 any doc about that API on the net, so I created the agent looking to
 ruby api sources (I think any good project should have a little bit
 of documentation!!!).
 

Nice work!
As for rbovirt, I saw that indeed there isn't a lot of documentation on it.
You can have a look at deltacloud, which uses it as well, to see some usage 
samples (although some are similar to what you already did).
I hope rbovirt will expand more, to include some new features that were added 
in 3.1.

You can see the driver they wrote in:
https://github.com/apache/deltacloud/blob/master/server/lib/deltacloud/drivers/rhevm/rhevm_driver.rb

I'm currently working on testing EC2/CIMI API calls using deltacloud, and 
pushing some fixes both in deltacloud in rbovirt, but there is indeed a lot of 
work that needs to be done there.

Feel free to contact this mailing list, or the engine-devel mailing list if you 
have issues, and we'll help.

Good luck!
Oved

 
 Anyway, let me know if you are interested and if you have any
 suggestion and idea about it.
 
 
 Marco
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Oved Ourfalli
oVirt exposes REST API that allows you to perform almost every operation in the 
oVirt engine, including provisioning, monitoring, performing different actions 
on the different entities, and etc.

We also have both SDK and CLI, which are based on this REST API.

Useful wiki pages:
http://wiki.ovirt.org/wiki/Architecture
http://wiki.ovirt.org/wiki/SDK
http://wiki.ovirt.org/wiki/CLI

and I guess you'll find more pages on ovirt.org.

Good luck,
Oved

- Original Message -
 From: Marco Mornati morna...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, October 11, 2012 12:09:53 PM
 Subject: [Users] Virtual Machine Provisiong
 
 
 Hello guys,
 
 
 I'm trying to integrate an automatic provisioning to my oVirt
 installation. Something like: API to create VM, NIC and Disk, tool
 to install SO (??).
 
 
 I'm actually working around aeolus (after a useless test with koan),
 but I'm not sure I can do what I want. I prefer not to use a PXE to
 get all things really automatic (something cloud style).
 
 
 Have you got any idea, suggestion and/or guide about it?
 
 
 Thanks a lot
 Marco
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [oVirt 3.1] reinstallation

2012-10-11 Thread Ofer Schreiber


- Original Message -
 
 Hi,
 
 
 I'm trying to reinstall but when I execute: engine-cleanup I get the
 following errors:
 
 
 
 [root@test ~]# engine-cleanup
 
 WARNING: Executing oVirt Engine cleanup utility.
 This utility will wipe all existing data including configuration
 settings, certificates and database.
 In addition, all existing DB connections will be closed.
 Would you like to proceed? (yes|no): yes
 
 
 Stopping ovirt-engine service... [ ERROR ]
 
 
 Error: Couldn't connect to the database server.Check that connection
 is working and rerun the cleanup utility
 Error: Cleanup failed.
 please check log at
 /var/log/ovirt-engine/engine-cleanup_2012_10_10_23_38_30.log

can you please supply this log? it might reveal the actual issue.
also, /var/log/messages might be helpful

few questions:
1. Did you ever touched the postgres configuration?
2. Any special iptables modifications?

Thanks,
Ofer

 
 
 
 And If I execute engine-setup, those ones:
 
 
 
 
 [root@test ~]# engine-setup
 
 Welcome to oVirt Engine setup utility
 
 
 In order to proceed the installer must stop the ovirt-engine service
 Would you like to stop the ovirt-engine service? (yes|no): yes
 Stopping ovirt-engine service... Error: Can't stop the ovirt-engine
 service
 Please check log file
 /var/log/ovirt-engine/engine-setup_2012_10_10_23_49_28.log for more
 information
 
 
 
 
 Log file:
 
 
 
 
 
 2012-10-10 23:49:29::DEBUG::common_utils::335::root:: stderr =
 2012-10-10 23:49:29::DEBUG::common_utils::336::root:: retcode = 0
 2012-10-10 23:49:29::DEBUG::engine-setup::1992::root:: Found a match,
 amount of memory: 2887
 2012-10-10 23:49:29::WARNING::engine-setup::2003::root:: There is
 less then 4096 available memory
 2012-10-10 23:49:29::DEBUG::engine-setup::1897::root:: Entered
 main(configFile='None')
 2012-10-10 23:49:29::DEBUG::engine-setup::1684::root:: stopping
 ovirt-engine service
 2012-10-10 23:49:29::DEBUG::common_utils::815::root:: asking user:
 Would you like to stop the ovirt-engine service? (yes|no):
 2012-10-10 23:49:30::DEBUG::common_utils::819::root:: user answered:
 yes
 2012-10-10 23:49:30::DEBUG::common_utils::1059::root:: stopping
 ovirt-engine
 2012-10-10 23:49:30::DEBUG::common_utils::1096::root:: executing
 action ovirt-engine on service stop
 2012-10-10 23:49:30::DEBUG::common_utils::294::root:: Executing
 command -- '/sbin/service ovirt-engine stop'
 2012-10-10 23:49:30::DEBUG::common_utils::334::root:: output =
 Stopping engine-service: [FAILED]
 
 
 2012-10-10 23:49:30::DEBUG::common_utils::335::root:: stderr =
 2012-10-10 23:49:30::DEBUG::common_utils::336::root:: retcode = 1
 2012-10-10 23:49:30::DEBUG::engine-setup::1771::root:: *** The
 following params were used as user input:
 2012-10-10 23:49:30::ERROR::engine-setup::2170::root:: Traceback
 (most recent call last):
 File /usr/bin/engine-setup, line 2164, in module
 main(confFile)
 File /usr/bin/engine-setup, line 1911, in main
 if not _stopEngine(configFile):
 File /usr/bin/engine-setup, line 1693, in _stopEngine
 jservice.stop(True)
 File /usr/share/ovirt-engine/scripts/common_utils.py, line 1064, in
 stop
 raise Exception(output_messages.ERR_FAILED_STOP_SERVICE % self.name )
 Exception: Error: Can't stop the ovirt-engine service
 
 
 
 
 
 
 I removed all oVirt packages and installed again (yum), but the same
 error.
 What can I do ?
 
 
 Regards.-
 
 
 
 
 
 
 
 
 
 --
 AGD
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is this dd operation harmful?

2012-10-11 Thread Dan Kenigsberg
On Thu, Oct 11, 2012 at 03:44:25PM +0800, Shu Ming wrote:
 Hi,
 
 I found some dd operations were launched contiguously in my vdsm.log.
 Is this harmful? How was this operation caused?

That's storage.storage_mailbox.SPM_MailMonitor, polling for lvextend
requests. dd is used, since in the old days, vdsm did not have
storage.fileUtils.DirectFile.

The behavior is expected, but I cannot say that it is harmless.
The mailbox should be high on
http://wiki.ovirt.org/wiki/Vdsm_TODO#refactoring
since forking so much is a waste, as well as using strings instead of
bytearrays. Making the module as a separate, testable entity, is important,
too.

 
 From vdsm.log:
 
 Dummy-51000::DEBUG::2012-10-11
 15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
 if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
 iflag=direct,fullblock count=1 bs=1024000' (cwd None)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Is this dd operation harmful?

2012-10-11 Thread Rami Vaknin
On 10/11/2012 09:44 AM, Shu Ming wrote:
 Hi,

 I found some dd operations were launched contiguously in my vdsm.log.
 Is this harmful? How was this operation caused?

dd is the way vdsm reads and writes data in its metadata luns of a
storage domain.

Each storage domain (except for nfs-based storage domains) has several
special luns for managing the storage domain operations, one of them is
the inbox which is used for communication between hosts about storage
domains write operations that should executed by the SPM host etc.

The only thing I'm not happy with is the usage of 'dd' instead of '/bin/dd'.


 From vdsm.log:

 Dummy-51000::DEBUG::2012-10-11
 15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
 if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
 iflag=direct,fullblock count=1 bs=1024000' (cwd None)
 Dummy-51000::DEBUG::2012-10-11
 15:38:57,305::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
 = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
 0.0388821 s, 26.3 MB/s\n'; rc = 0
 Dummy-51000::DEBUG::2012-10-11
 15:38:59,313::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
 if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
 iflag=direct,fullblock count=1 bs=1024000' (cwd None)
 Dummy-51000::DEBUG::2012-10-11
 15:38:59,375::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
 = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
 0.0398412 s, 25.7 MB/s\n'; rc = 0
 Dummy-51000::DEBUG::2012-10-11
 15:39:01,383::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
 if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
 iflag=direct,fullblock count=1 bs=1024000' (cwd None)
 Dummy-51000::DEBUG::2012-10-11
 15:39:01,445::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
 = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
 0.0393934 s, 26.0 MB/s\n'; rc = 0
 Dummy-51000::DEBUG::2012-10-11
 15:39:03,453::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
 if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
 iflag=direct,fullblock count=1 bs=1024000' (cwd None)
 Dummy-51000::DEBUG::2012-10-11
 15:39:03,515::__init__::1249::Storage.Misc.excCmd::(_log) SUCCESS: err
 = '1+0 records in\n1+0 records out\n1024000 bytes (1.0 MB) copied,
 0.0391104 s, 26.2 MB/s\n'; rc = 0



-- 

Thanks,

Rami Vaknin, QE @ Red Hat, TLV, IL.

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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Marco Mornati
Hello Oved,

thanks for your response, but, for me, provisioning means Install
Operating System and other packages. Is it possibile to do this directly
using oVirt? I didn't find anything about it and that's the resason why I'm
looking for others tools.
By and I can just start oVirt VM in Run Once mode, and putting the mac
address in my PXE installation could start automatically. Problem is that I
need to modify my PXE to create an automatic system. That's the reason puu
me to look for anything else.

Marco

On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli ov...@redhat.com wrote:

 oVirt exposes REST API that allows you to perform almost every operation
 in the oVirt engine, including provisioning, monitoring, performing
 different actions on the different entities, and etc.

 We also have both SDK and CLI, which are based on this REST API.

 Useful wiki pages:
 http://wiki.ovirt.org/wiki/Architecture
 http://wiki.ovirt.org/wiki/SDK
 http://wiki.ovirt.org/wiki/CLI

 and I guess you'll find more pages on ovirt.org.

 Good luck,
 Oved

 - Original Message -
  From: Marco Mornati morna...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, October 11, 2012 12:09:53 PM
  Subject: [Users] Virtual Machine Provisiong
 
 
  Hello guys,
 
 
  I'm trying to integrate an automatic provisioning to my oVirt
  installation. Something like: API to create VM, NIC and Disk, tool
  to install SO (??).
 
 
  I'm actually working around aeolus (after a useless test with koan),
  but I'm not sure I can do what I want. I prefer not to use a PXE to
  get all things really automatic (something cloud style).
 
 
  Have you got any idea, suggestion and/or guide about it?
 
 
  Thanks a lot
  Marco
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 

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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Oved Ourfalli
Hey Marco.

I see. My mistake...
We don't have such a feature built-in yet, but I guess there may be other 3rd 
party products that integrate with oVirt in order to do so.
Let's wait for other people to answer this thread.

Oved

- Original Message -
 From: Marco Mornati morna...@gmail.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, October 11, 2012 1:09:56 PM
 Subject: Re: [Users] Virtual Machine Provisiong
 
 
 Hello Oved,
 
 
 thanks for your response, but, for me, provisioning means Install
 Operating System and other packages. Is it possibile to do this
 directly using oVirt? I didn't find anything about it and that's the
 resason why I'm looking for others tools.
 By and I can just start oVirt VM in Run Once mode, and putting the
 mac address in my PXE installation could start automatically.
 Problem is that I need to modify my PXE to create an automatic
 system. That's the reason puu me to look for anything else.
 
 
 Marco
 
 
 On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
 wrote:
 
 
 oVirt exposes REST API that allows you to perform almost every
 operation in the oVirt engine, including provisioning, monitoring,
 performing different actions on the different entities, and etc.
 
 We also have both SDK and CLI, which are based on this REST API.
 
 Useful wiki pages:
 http://wiki.ovirt.org/wiki/Architecture
 http://wiki.ovirt.org/wiki/SDK
 http://wiki.ovirt.org/wiki/CLI
 
 and I guess you'll find more pages on ovirt.org .
 
 Good luck,
 Oved
 
 
 
 - Original Message -
  From: Marco Mornati  morna...@gmail.com 
  To: users@ovirt.org
  Sent: Thursday, October 11, 2012 12:09:53 PM
  Subject: [Users] Virtual Machine Provisiong
  
  
  Hello guys,
  
  
  I'm trying to integrate an automatic provisioning to my oVirt
  installation. Something like: API to create VM, NIC and Disk, tool
  to install SO (??).
  
  
  I'm actually working around aeolus (after a useless test with
  koan),
  but I'm not sure I can do what I want. I prefer not to use a PXE to
  get all things really automatic (something cloud style).
  
  
  Have you got any idea, suggestion and/or guide about it?
  
  
  Thanks a lot
  Marco
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Can't start a VM - sanlock permission denied

2012-10-11 Thread Mike Burns
On Thu, 2012-10-11 at 11:06 +0100, Alexandre Santos wrote:
 It's me again, now less sleepy :-)
 What I would like to know is if this sanlock permission issue is
 within the oVirt engine, a problem on the NFS Server or on the oVirt
 node (it's a 2.5.3 from nightly). On the later, I can't access the
 console to issue those commands

From the TUI, hit F2 to get a shell.  

  - I don't even know if it's running SELinux at all :-)

Yes, in enforcing mode always.


Mike
 
 Alex
 
 2012/10/11 Alexandre Santos santosa...@gmail.com
 Him
 I managed to install the new oVirt Node on a 8 GB USB Pen. I
 created the NFS Share anf when I try to Run the VM I get the:
 M ubuntu is down. Exit message:
 internal error Failed to open
 socket to sanlock daemon:
 Permission denied.
 
 
 
 
 
 I did the setsebool mentioned on the wiki on the engine but
 still get the error. Is it necessary to configure anywhere
 else?
 
 Alex
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users


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


Re: [Users] ovirt-node install hangs

2012-10-11 Thread Mike Burns
On Thu, 2012-10-11 at 11:12 +0100, Alexandre Santos wrote:
 Hi,
 yesterday I tried the new oVirt Node 2.5.3. I tried installing it
 without the quiet flag but no luck. It hanged again and the kernel
 didn't show any error on console (tty2).
 Later will test without the rhgh flag.

Default options? TUI install? Hardware? UEFI or legacy bios?

 
 Alex
 
 BTW, now the hostname works on 2.5.3 :-) The network configuration is
 still tricky... sometimes I have an Apply sometimes only a Back
 choice.

I *think* this is a feature of being registered to ovirt-engine.  Once
you are registered, you can't change the network through the TUI
anymore.  

If you're not registered with Engine, please elaborate a bit and I'll
try to figure out what is going on.

Mike

 
 2012/10/9 Alexandre Santos santosa...@gmail.com
 It's working now :-)
 
 Thanks a lot all!
 
 Alex
 
 P.S. I haven't tried installing it on my SATA disk because I
 have there a Local Node already running but I'm going to try
 again on another one to see if I can send to you the error
 log.
 
 
 2012/10/8 Mike Burns mbu...@redhat.com
 On Mon, 2012-10-08 at 09:54 +0100, Alexandre Santos
 wrote:
 
 
  2012/10/8 Fabian Deutsch fabi...@redhat.com
  Am Montag, den 08.10.2012, 09:24 +0100
 schrieb Alexandre
  Santos:
   2012/10/8 Fabian Deutsch
 fabi...@redhat.com
   Hey,
  
   Am Sonntag, den 07.10.2012, 15:29
 +0100 schrieb
  Alexandre
   Santos:
Hi,
I'm trying to install the
 ovirt-node iso image on
  a SATA
   disk and when
it gets to the screen where it
 shows 25% completed
  the
   kernel hangs. I
can't connect using a serial
 console to see what
  has
   happened. If I
reboot using a usb linux disk I
 see that the SATA
  disk has
   been
formated and the partitions that
 existed before
  disappeared,
   being
there just one partition of type
 ee
  
  
   Is there any error displayed when
 kernel hangs at
  25%? And it
   can take
   some time to pass the 25% (up to
 ~2min or so).
  
   No, I think it's a kernel hang because the
 lights on the
  keyboard halt
   and I can't change to tty2, etc.. I even
 changed to tty2 and
  waited to
   see if there were some errors but nothing.
 I've read that
  tty8 was
   the logging console but no luck also.
   BTW, I tried with an IDE disk and the
 result was the same.
 
 
  Mh, okay.
  Could you try booting without the rhgb and
 quiet kernel
  arguments. I
  hope that some errors will be displayed on
 the screen so we
  get an idea
  about the problem.
 
  
If I use a 8 GB usb pen-drive
 instead of the SATA
  disk, the
installation comes to an end and
 I reboot but then
  I get
   some error
about not
 getting /dev/mapper/by-name/Root and the
  boot
   fails to a
dracut shell.
Any ideas?
  
  
   In the dracut 

Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Michal Skrivanek
On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:

 Hey Marco.
 
 I see. My mistake...
 We don't have such a feature built-in yet, but I guess there may be other 3rd 
 party products that integrate with oVirt in order to do so.
 Let's wait for other people to answer this thread.
 
 Oved
 
 - Original Message -
 From: Marco Mornati morna...@gmail.com
 To: Oved Ourfalli ov...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, October 11, 2012 1:09:56 PM
 Subject: Re: [Users] Virtual Machine Provisiong
 
 
 Hello Oved,
 
 
 thanks for your response, but, for me, provisioning means Install
 Operating System and other packages. Is it possibile to do this
 directly using oVirt? I didn't find anything about it and that's the
 resason why I'm looking for others tools.
well, if you want to select packages, etc., how would you present that to the 
user in ovirt GUI? 
Isn't it essentially the same as installing a VM with whatever you need using 
the desired OS installation method/GUI and save it as a template? And then 
deploy the template and do minor customizations (e.g. hostname change). We do 
plan to have support for such things in near future - we already have sysprep 
for Windows guests.

Thanks,
michal

 By and I can just start oVirt VM in Run Once mode, and putting the
 mac address in my PXE installation could start automatically.
 Problem is that I need to modify my PXE to create an automatic
 system. That's the reason puu me to look for anything else.
 
 
 Marco
 
 
 On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
 wrote:
 
 
 oVirt exposes REST API that allows you to perform almost every
 operation in the oVirt engine, including provisioning, monitoring,
 performing different actions on the different entities, and etc.
 
 We also have both SDK and CLI, which are based on this REST API.
 
 Useful wiki pages:
 http://wiki.ovirt.org/wiki/Architecture
 http://wiki.ovirt.org/wiki/SDK
 http://wiki.ovirt.org/wiki/CLI
 
 and I guess you'll find more pages on ovirt.org .
 
 Good luck,
 Oved
 
 
 
 - Original Message -
 From: Marco Mornati  morna...@gmail.com 
 To: users@ovirt.org
 Sent: Thursday, October 11, 2012 12:09:53 PM
 Subject: [Users] Virtual Machine Provisiong
 
 
 Hello guys,
 
 
 I'm trying to integrate an automatic provisioning to my oVirt
 installation. Something like: API to create VM, NIC and Disk, tool
 to install SO (??).
 
 
 I'm actually working around aeolus (after a useless test with
 koan),
 but I'm not sure I can do what I want. I prefer not to use a PXE to
 get all things really automatic (something cloud style).
 
 
 Have you got any idea, suggestion and/or guide about it?
 
 
 Thanks a lot
 Marco
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] Can't start a VM - sanlock permission denied

2012-10-11 Thread Alexandre Santos
2012/10/11 Mike Burns mbu...@redhat.com

 On Thu, 2012-10-11 at 11:06 +0100, Alexandre Santos wrote:
  It's me again, now less sleepy :-)
  What I would like to know is if this sanlock permission issue is
  within the oVirt engine, a problem on the NFS Server or on the oVirt
  node (it's a 2.5.3 from nightly). On the later, I can't access the
  console to issue those commands

 From the TUI, hit F2 to get a shell.


Thanks a lot. I'll try it later when I get back to my oVirt :-)


   - I don't even know if it's running SELinux at all :-)

 Yes, in enforcing mode always.


Ok!



 Mike
 
  Alex
 
  2012/10/11 Alexandre Santos santosa...@gmail.com
  Him
  I managed to install the new oVirt Node on a 8 GB USB Pen. I
  created the NFS Share anf when I try to Run the VM I get the:
  M ubuntu is down. Exit message:
  internal error Failed to open
  socket to sanlock daemon:
  Permission denied.
 
 
 
 
 
  I did the setsebool mentioned on the wiki on the engine but
  still get the error. Is it necessary to configure anywhere
  else?
 
  Alex
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users



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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Marco Mornati
Hello,

yep template could be a solution, but means we need to have machine that
are quite similar.
What I'd like to do, and presents to user, is a list of profiles
(Centos6, RHEL6, Fedora17, etc.) and any profile has a kickstart
associated that indicates iso source, which base packages should be
installed, etc.
That is exactly what we have today with a PXE installation, but the only
things is that I cannot invoke an automatic installation within a script.

To be clear, here yuo are what I'm traying in this moment:

https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52

And if someone has aeolus experience and suggestions is welcome :D

Marco

On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
michal.skriva...@redhat.com wrote:

 On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:

  Hey Marco.
 
  I see. My mistake...
  We don't have such a feature built-in yet, but I guess there may be
 other 3rd party products that integrate with oVirt in order to do so.
  Let's wait for other people to answer this thread.
 
  Oved
 
  - Original Message -
  From: Marco Mornati morna...@gmail.com
  To: Oved Ourfalli ov...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, October 11, 2012 1:09:56 PM
  Subject: Re: [Users] Virtual Machine Provisiong
 
 
  Hello Oved,
 
 
  thanks for your response, but, for me, provisioning means Install
  Operating System and other packages. Is it possibile to do this
  directly using oVirt? I didn't find anything about it and that's the
  resason why I'm looking for others tools.
 well, if you want to select packages, etc., how would you present that to
 the user in ovirt GUI?
 Isn't it essentially the same as installing a VM with whatever you need
 using the desired OS installation method/GUI and save it as a template? And
 then deploy the template and do minor customizations (e.g. hostname
 change). We do plan to have support for such things in near future - we
 already have sysprep for Windows guests.

 Thanks,
 michal

  By and I can just start oVirt VM in Run Once mode, and putting the
  mac address in my PXE installation could start automatically.
  Problem is that I need to modify my PXE to create an automatic
  system. That's the reason puu me to look for anything else.
 
 
  Marco
 
 
  On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
  wrote:
 
 
  oVirt exposes REST API that allows you to perform almost every
  operation in the oVirt engine, including provisioning, monitoring,
  performing different actions on the different entities, and etc.
 
  We also have both SDK and CLI, which are based on this REST API.
 
  Useful wiki pages:
  http://wiki.ovirt.org/wiki/Architecture
  http://wiki.ovirt.org/wiki/SDK
  http://wiki.ovirt.org/wiki/CLI
 
  and I guess you'll find more pages on ovirt.org .
 
  Good luck,
  Oved
 
 
 
  - Original Message -
  From: Marco Mornati  morna...@gmail.com 
  To: users@ovirt.org
  Sent: Thursday, October 11, 2012 12:09:53 PM
  Subject: [Users] Virtual Machine Provisiong
 
 
  Hello guys,
 
 
  I'm trying to integrate an automatic provisioning to my oVirt
  installation. Something like: API to create VM, NIC and Disk, tool
  to install SO (??).
 
 
  I'm actually working around aeolus (after a useless test with
  koan),
  but I'm not sure I can do what I want. I prefer not to use a PXE to
  get all things really automatic (something cloud style).
 
 
  Have you got any idea, suggestion and/or guide about it?
 
 
  Thanks a lot
  Marco
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users


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


[Users] Here we go again - Error adding host , incorrect vdsm version

2012-10-11 Thread Ricky Schneberger
When I try to add a new host from Webadmin I got Unable to fetch VDSM
with minimal version of vdsm-4.9. Please check.
I have patched as told from this post,
http://lists.ovirt.org/pipermail/users/2012-June/002466.html, but it
does not solved my problem.

Here is the install-log.

Thu, 11 Oct 2012 11:10:20 DEBUG Start VDS Validation 
Thu, 11 Oct 2012 11:10:20 DEBUGEntered VdsValidation(subject =
'10.10.1.191', random_num = '6685b8f2-6bfe-4d14-8ad6-205c087fb189',
rev_num = 'None', installVirtualizationService = 'True',
installGlusterService = 'False')
Thu, 11 Oct 2012 11:10:20 DEBUGSetting up Package Sacks
Thu, 11 Oct 2012 11:10:20 DEBUGyumSearch: found vdsm entries:
[YumAvailablePackageSqlite : vdsm-4.10.1-0.19.18.el6.x86_64
(0x28b87d0), YumAvailablePackageSqlite :
vdsm-4.10.0-0.42.13.el6.x86_64 (0x28b8810)]
Thu, 11 Oct 2012 11:10:20 DEBUGHost properly registered with
RHN/Satellite.
Thu, 11 Oct 2012 11:10:20 DEBUGBSTRAP component='RHN_REGISTRATION'
status='OK' message='Host properly registered with RHN/Satellite.'/
Thu, 11 Oct 2012 11:10:20 DEBUGyumSearchVersion: pkg
vdsm-4.10.1-0.19.18.el6.x86_64 does not start with: vdsm-4.9
Thu, 11 Oct 2012 11:10:20 DEBUGyumSearchVersion: pkg
vdsm-4.10.0-0.42.13.el6.x86_64 does not start with: vdsm-4.9
Thu, 11 Oct 2012 11:10:20 ERRORUnable to fetch VDSM with minimal
version of vdsm-4.9. Please check if host is properly registered with
updated yum repository
Thu, 11 Oct 2012 11:10:20 DEBUGBSTRAP component='VDSM_MAJOR_VER'
status='FAIL' message='Unable to fetch VDSM with minimal version of
vdsm-4.9. Please check if host is properly registered with updated yum
repository'/
Thu, 11 Oct 2012 11:10:20 ERRORcheckMajorVersion test failed
Thu, 11 Oct 2012 11:10:20 DEBUGBSTRAP component='RHEV_INSTALL'
status='FAIL'/
Thu, 11 Oct 2012 11:10:20 DEBUG End VDS Validation 

What can I do to solve the problem?

Regards //Ricky


0xB88C0B63.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-node install hangs

2012-10-11 Thread Alexandre Santos
2012/10/11 Mike Burns mbu...@redhat.com

 On Thu, 2012-10-11 at 11:12 +0100, Alexandre Santos wrote:
  Hi,
  yesterday I tried the new oVirt Node 2.5.3. I tried installing it
  without the quiet flag but no luck. It hanged again and the kernel
  didn't show any error on console (tty2).
  Later will test without the rhgh flag.

 Default options? TUI install? Hardware? UEFI or legacy bios?


I always choose the troubleshooting option and then do an install with
basic video. The only thing I changed from the default kernel boot line was
the quiet flag.

Yes, TUI.

Hardware: this is an old MSI P35Neo MB with 4 GB RAM and a Xeon 3040. The
SATA disk is connected to the onboard controller. The same problem occurred
with an IDE HDD.



 
  Alex
 
  BTW, now the hostname works on 2.5.3 :-) The network configuration is
  still tricky... sometimes I have an Apply sometimes only a Back
  choice.

 I *think* this is a feature of being registered to ovirt-engine.  Once
 you are registered, you can't change the network through the TUI
 anymore.

 If you're not registered with Engine, please elaborate a bit and I'll
 try to figure out what is going on.


What you're saying makes sense. The problem I had was that my node was
booting with DHCP and the IP changed. When I got to the engine / web
administrator, my Host was not detected and I couldn't change it's IP, only
the hostname... On the TUI I can't change the IP because I'm registered but
can't change it also on the engine. Is this correct?


 Mike

 
  2012/10/9 Alexandre Santos santosa...@gmail.com
  It's working now :-)
 
  Thanks a lot all!
 
  Alex
 
  P.S. I haven't tried installing it on my SATA disk because I
  have there a Local Node already running but I'm going to try
  again on another one to see if I can send to you the error
  log.
 
 
  2012/10/8 Mike Burns mbu...@redhat.com
  On Mon, 2012-10-08 at 09:54 +0100, Alexandre Santos
  wrote:
  
  
   2012/10/8 Fabian Deutsch fabi...@redhat.com
   Am Montag, den 08.10.2012, 09:24 +0100
  schrieb Alexandre
   Santos:
2012/10/8 Fabian Deutsch
  fabi...@redhat.com
Hey,
   
Am Sonntag, den 07.10.2012, 15:29
  +0100 schrieb
   Alexandre
Santos:
 Hi,
 I'm trying to install the
  ovirt-node iso image on
   a SATA
disk and when
 it gets to the screen where it
  shows 25% completed
   the
kernel hangs. I
 can't connect using a serial
  console to see what
   has
happened. If I
 reboot using a usb linux disk I
  see that the SATA
   disk has
been
 formated and the partitions that
  existed before
   disappeared,
being
 there just one partition of type
  ee
   
   
Is there any error displayed when
  kernel hangs at
   25%? And it
can take
some time to pass the 25% (up to
  ~2min or so).
   
No, I think it's a kernel hang because the
  lights on the
   keyboard halt
and I can't change to tty2, etc.. I even
  changed to tty2 and
   waited to
see if there were some errors but nothing.
  I've read that
   tty8 was
the logging console but no luck also.
BTW, I tried with an IDE disk and the
  result was the same.
  
  
   Mh, okay.
   Could you try booting without the rhgb and
  quiet kernel
   arguments. I
   hope that some errors will be displayed on
  the screen so we
   get an idea
   

Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Michal Skrivanek

On Oct 11, 2012, at 13:44 , Marco Mornati wrote:

 Hello,
 
 yep template could be a solution, but means we need to have machine that are 
 quite similar.
 What I'd like to do, and presents to user, is a list of profiles (Centos6, 
 RHEL6, Fedora17, etc.) and any profile has a kickstart associated that 
 indicates iso source, which base packages should be installed, etc.
 That is exactly what we have today with a PXE installation, but the only 
 things is that I cannot invoke an automatic installation within a script.
hmmm
If it needs to be really unattended you either have to attach the right disk 
with install ISO and supply(point to) the desired kickstart? You'd need to have 
a template only per each OS install iso.

 
 To be clear, here yuo are what I'm traying in this moment:
 
 https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52
 
 And if someone has aeolus experience and suggestions is welcome :D
 
 Marco
 
 On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
 On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
 
  Hey Marco.
 
  I see. My mistake...
  We don't have such a feature built-in yet, but I guess there may be other 
  3rd party products that integrate with oVirt in order to do so.
  Let's wait for other people to answer this thread.
 
  Oved
 
  - Original Message -
  From: Marco Mornati morna...@gmail.com
  To: Oved Ourfalli ov...@redhat.com
  Cc: users@ovirt.org
  Sent: Thursday, October 11, 2012 1:09:56 PM
  Subject: Re: [Users] Virtual Machine Provisiong
 
 
  Hello Oved,
 
 
  thanks for your response, but, for me, provisioning means Install
  Operating System and other packages. Is it possibile to do this
  directly using oVirt? I didn't find anything about it and that's the
  resason why I'm looking for others tools.
 well, if you want to select packages, etc., how would you present that to the 
 user in ovirt GUI?
 Isn't it essentially the same as installing a VM with whatever you need using 
 the desired OS installation method/GUI and save it as a template? And then 
 deploy the template and do minor customizations (e.g. hostname change). We do 
 plan to have support for such things in near future - we already have sysprep 
 for Windows guests.
 
 Thanks,
 michal
 
  By and I can just start oVirt VM in Run Once mode, and putting the
  mac address in my PXE installation could start automatically.
  Problem is that I need to modify my PXE to create an automatic
  system. That's the reason puu me to look for anything else.
 
 
  Marco
 
 
  On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
  wrote:
 
 
  oVirt exposes REST API that allows you to perform almost every
  operation in the oVirt engine, including provisioning, monitoring,
  performing different actions on the different entities, and etc.
 
  We also have both SDK and CLI, which are based on this REST API.
 
  Useful wiki pages:
  http://wiki.ovirt.org/wiki/Architecture
  http://wiki.ovirt.org/wiki/SDK
  http://wiki.ovirt.org/wiki/CLI
 
  and I guess you'll find more pages on ovirt.org .
 
  Good luck,
  Oved
 
 
 
  - Original Message -
  From: Marco Mornati  morna...@gmail.com 
  To: users@ovirt.org
  Sent: Thursday, October 11, 2012 12:09:53 PM
  Subject: [Users] Virtual Machine Provisiong
 
 
  Hello guys,
 
 
  I'm trying to integrate an automatic provisioning to my oVirt
  installation. Something like: API to create VM, NIC and Disk, tool
  to install SO (??).
 
 
  I'm actually working around aeolus (after a useless test with
  koan),
  but I'm not sure I can do what I want. I prefer not to use a PXE to
  get all things really automatic (something cloud style).
 
 
  Have you got any idea, suggestion and/or guide about it?
 
 
  Thanks a lot
  Marco
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 

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


Re: [Users] Can't start a VM - sanlock permission denied

2012-10-11 Thread Haim Ateya
Hi Alex, can you please provide some logs (engine + vdsm) ? also, can you 
verify that sanlock service is running on node  ?

- Original Message -
 From: Alexandre Santos santosa...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, October 11, 2012 12:06:19 PM
 Subject: Re: [Users] Can't start a VM - sanlock permission denied
 
 
 It's me again, now less sleepy :-)
 What I would like to know is if this sanlock permission issue is
 within the oVirt engine, a problem on the NFS Server or on the oVirt
 node (it's a 2.5.3 from nightly). On the later, I can't access the
 console to issue those commands - I don't even know if it's running
 SELinux at all :-)
 
 Alex
 
 
 2012/10/11 Alexandre Santos  santosa...@gmail.com 
 
 
 Him
 I managed to install the new oVirt Node on a 8 GB USB Pen. I created
 the NFS Share anf when I try to Run the VM I get the:
 
 
 M ubuntu is down. Exit message: internal error Failed to open socket
 to sanlock daemon: Permission denied.
 
 
 
 I did the setsebool mentioned on the wiki on the engine but still get
 the error. Is it necessary to configure anywhere else?
 
 Alex
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Marco Mornati
 hmmm
 If it needs to be really unattended you either have to attach the right
 disk with install ISO and supply(point to) the desired kickstart? You'd
 need to have a template only per each OS install iso.

 Yes exactly. And the iso file could be a net address (for example
directly on the centos servers). And you could have more than one kickstart
per iso (that is the list proposed to the oVirt user):

Centos6 64 bit 10GB disk lvm no selinux
Centos6 64 bit All avaiable disk space
Centos6 64 bit with puppet and mcollective


Marco




 
  To be clear, here yuo are what I'm traying in this moment:
 
 
 https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52
 
  And if someone has aeolus experience and suggestions is welcome :D
 
  Marco
 
  On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
  On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
 
   Hey Marco.
  
   I see. My mistake...
   We don't have such a feature built-in yet, but I guess there may be
 other 3rd party products that integrate with oVirt in order to do so.
   Let's wait for other people to answer this thread.
  
   Oved
  
   - Original Message -
   From: Marco Mornati morna...@gmail.com
   To: Oved Ourfalli ov...@redhat.com
   Cc: users@ovirt.org
   Sent: Thursday, October 11, 2012 1:09:56 PM
   Subject: Re: [Users] Virtual Machine Provisiong
  
  
   Hello Oved,
  
  
   thanks for your response, but, for me, provisioning means Install
   Operating System and other packages. Is it possibile to do this
   directly using oVirt? I didn't find anything about it and that's the
   resason why I'm looking for others tools.
  well, if you want to select packages, etc., how would you present that
 to the user in ovirt GUI?
  Isn't it essentially the same as installing a VM with whatever you need
 using the desired OS installation method/GUI and save it as a template? And
 then deploy the template and do minor customizations (e.g. hostname
 change). We do plan to have support for such things in near future - we
 already have sysprep for Windows guests.
 
  Thanks,
  michal
 
   By and I can just start oVirt VM in Run Once mode, and putting the
   mac address in my PXE installation could start automatically.
   Problem is that I need to modify my PXE to create an automatic
   system. That's the reason puu me to look for anything else.
  
  
   Marco
  
  
   On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
   wrote:
  
  
   oVirt exposes REST API that allows you to perform almost every
   operation in the oVirt engine, including provisioning, monitoring,
   performing different actions on the different entities, and etc.
  
   We also have both SDK and CLI, which are based on this REST API.
  
   Useful wiki pages:
   http://wiki.ovirt.org/wiki/Architecture
   http://wiki.ovirt.org/wiki/SDK
   http://wiki.ovirt.org/wiki/CLI
  
   and I guess you'll find more pages on ovirt.org .
  
   Good luck,
   Oved
  
  
  
   - Original Message -
   From: Marco Mornati  morna...@gmail.com 
   To: users@ovirt.org
   Sent: Thursday, October 11, 2012 12:09:53 PM
   Subject: [Users] Virtual Machine Provisiong
  
  
   Hello guys,
  
  
   I'm trying to integrate an automatic provisioning to my oVirt
   installation. Something like: API to create VM, NIC and Disk, tool
   to install SO (??).
  
  
   I'm actually working around aeolus (after a useless test with
   koan),
   but I'm not sure I can do what I want. I prefer not to use a PXE to
   get all things really automatic (something cloud style).
  
  
   Have you got any idea, suggestion and/or guide about it?
  
  
   Thanks a lot
   Marco
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
 
 


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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Michal Skrivanek

On Oct 11, 2012, at 13:58 , Marco Mornati wrote:

 
 hmmm
 If it needs to be really unattended you either have to attach the right disk 
 with install ISO and supply(point to) the desired kickstart? You'd need to 
 have a template only per each OS install iso.
 
 Yes exactly. And the iso file could be a net address (for example directly 
 on the centos servers). And you could have more than one kickstart per iso 
 (that is the list proposed to the oVirt user):\
so - can you do that already by supplying these on kernel boot line - in Edit 
VM dialog? I thin that should work.

 
 Centos6 64 bit 10GB disk lvm no selinux
 Centos6 64 bit All avaiable disk space
 Centos6 64 bit with puppet and mcollective
 
 
 Marco
 
 
  
 
  To be clear, here yuo are what I'm traying in this moment:
 
  https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52
 
  And if someone has aeolus experience and suggestions is welcome :D
 
  Marco
 
  On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
  michal.skriva...@redhat.com wrote:
  On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
 
   Hey Marco.
  
   I see. My mistake...
   We don't have such a feature built-in yet, but I guess there may be other 
   3rd party products that integrate with oVirt in order to do so.
   Let's wait for other people to answer this thread.
  
   Oved
  
   - Original Message -
   From: Marco Mornati morna...@gmail.com
   To: Oved Ourfalli ov...@redhat.com
   Cc: users@ovirt.org
   Sent: Thursday, October 11, 2012 1:09:56 PM
   Subject: Re: [Users] Virtual Machine Provisiong
  
  
   Hello Oved,
  
  
   thanks for your response, but, for me, provisioning means Install
   Operating System and other packages. Is it possibile to do this
   directly using oVirt? I didn't find anything about it and that's the
   resason why I'm looking for others tools.
  well, if you want to select packages, etc., how would you present that to 
  the user in ovirt GUI?
  Isn't it essentially the same as installing a VM with whatever you need 
  using the desired OS installation method/GUI and save it as a template? And 
  then deploy the template and do minor customizations (e.g. hostname 
  change). We do plan to have support for such things in near future - we 
  already have sysprep for Windows guests.
 
  Thanks,
  michal
 
   By and I can just start oVirt VM in Run Once mode, and putting the
   mac address in my PXE installation could start automatically.
   Problem is that I need to modify my PXE to create an automatic
   system. That's the reason puu me to look for anything else.
  
  
   Marco
  
  
   On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
   wrote:
  
  
   oVirt exposes REST API that allows you to perform almost every
   operation in the oVirt engine, including provisioning, monitoring,
   performing different actions on the different entities, and etc.
  
   We also have both SDK and CLI, which are based on this REST API.
  
   Useful wiki pages:
   http://wiki.ovirt.org/wiki/Architecture
   http://wiki.ovirt.org/wiki/SDK
   http://wiki.ovirt.org/wiki/CLI
  
   and I guess you'll find more pages on ovirt.org .
  
   Good luck,
   Oved
  
  
  
   - Original Message -
   From: Marco Mornati  morna...@gmail.com 
   To: users@ovirt.org
   Sent: Thursday, October 11, 2012 12:09:53 PM
   Subject: [Users] Virtual Machine Provisiong
  
  
   Hello guys,
  
  
   I'm trying to integrate an automatic provisioning to my oVirt
   installation. Something like: API to create VM, NIC and Disk, tool
   to install SO (??).
  
  
   I'm actually working around aeolus (after a useless test with
   koan),
   but I'm not sure I can do what I want. I prefer not to use a PXE to
   get all things really automatic (something cloud style).
  
  
   Have you got any idea, suggestion and/or guide about it?
  
  
   Thanks a lot
   Marco
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 

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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Marco Mornati
 
  hmmm
  If it needs to be really unattended you either have to attach the right
 disk with install ISO and supply(point to) the desired kickstart? You'd
 need to have a template only per each OS install iso.
 
  Yes exactly. And the iso file could be a net address (for example
 directly on the centos servers). And you could have more than one kickstart
 per iso (that is the list proposed to the oVirt user):\
 so - can you do that already by supplying these on kernel boot line - in
 Edit VM dialog? I thin that should work.


I tried but it does not work. For what I understood (but I didn't find lot
of doc about this) the 3 parameters are used to specify kernel information
but for an already installed machine. Means for example that the Kernel and
Initd location should already be on the vm disk. I tried putting a remote
location but my machine wouldn't start up... So I think I can't use the
kernel parameters in oVirt

Marco



 
  Centos6 64 bit 10GB disk lvm no selinux
  Centos6 64 bit All avaiable disk space
  Centos6 64 bit with puppet and mcollective
  
 
  Marco
 
 
 
  
   To be clear, here yuo are what I'm traying in this moment:
  
  
 https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52
  
   And if someone has aeolus experience and suggestions is welcome :D
  
   Marco
  
   On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
 michal.skriva...@redhat.com wrote:
   On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
  
Hey Marco.
   
I see. My mistake...
We don't have such a feature built-in yet, but I guess there may be
 other 3rd party products that integrate with oVirt in order to do so.
Let's wait for other people to answer this thread.
   
Oved
   
- Original Message -
From: Marco Mornati morna...@gmail.com
To: Oved Ourfalli ov...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, October 11, 2012 1:09:56 PM
Subject: Re: [Users] Virtual Machine Provisiong
   
   
Hello Oved,
   
   
thanks for your response, but, for me, provisioning means Install
Operating System and other packages. Is it possibile to do this
directly using oVirt? I didn't find anything about it and that's the
resason why I'm looking for others tools.
   well, if you want to select packages, etc., how would you present that
 to the user in ovirt GUI?
   Isn't it essentially the same as installing a VM with whatever you
 need using the desired OS installation method/GUI and save it as a
 template? And then deploy the template and do minor customizations (e.g.
 hostname change). We do plan to have support for such things in near future
 - we already have sysprep for Windows guests.
  
   Thanks,
   michal
  
By and I can just start oVirt VM in Run Once mode, and putting the
mac address in my PXE installation could start automatically.
Problem is that I need to modify my PXE to create an automatic
system. That's the reason puu me to look for anything else.
   
   
Marco
   
   
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com
wrote:
   
   
oVirt exposes REST API that allows you to perform almost every
operation in the oVirt engine, including provisioning, monitoring,
performing different actions on the different entities, and etc.
   
We also have both SDK and CLI, which are based on this REST API.
   
Useful wiki pages:
http://wiki.ovirt.org/wiki/Architecture
http://wiki.ovirt.org/wiki/SDK
http://wiki.ovirt.org/wiki/CLI
   
and I guess you'll find more pages on ovirt.org .
   
Good luck,
Oved
   
   
   
- Original Message -
From: Marco Mornati  morna...@gmail.com 
To: users@ovirt.org
Sent: Thursday, October 11, 2012 12:09:53 PM
Subject: [Users] Virtual Machine Provisiong
   
   
Hello guys,
   
   
I'm trying to integrate an automatic provisioning to my oVirt
installation. Something like: API to create VM, NIC and Disk, tool
to install SO (??).
   
   
I'm actually working around aeolus (after a useless test with
koan),
but I'm not sure I can do what I want. I prefer not to use a PXE to
get all things really automatic (something cloud style).
   
   
Have you got any idea, suggestion and/or guide about it?
   
   
Thanks a lot
Marco
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
  
  
 
 


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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Michal Skrivanek

On Oct 11, 2012, at 14:28 , Marco Mornati wrote:

 
 
  hmmm
  If it needs to be really unattended you either have to attach the right 
  disk with install ISO and supply(point to) the desired kickstart? You'd 
  need to have a template only per each OS install iso.
 
  Yes exactly. And the iso file could be a net address (for example 
  directly on the centos servers). And you could have more than one kickstart 
  per iso (that is the list proposed to the oVirt user):\
 so - can you do that already by supplying these on kernel boot line - in Edit 
 VM dialog? I thin that should work.
 
 I tried but it does not work. For what I understood (but I didn't find lot of 
 doc about this) the 3 parameters are used to specify kernel information but 
 for an already installed machine. Means for example that the Kernel and Initd 
 location should already be on the vm disk. I tried putting a remote location 
 but my machine wouldn't start up... So I think I can't use the kernel 
 parameters in oVirt
so then a combination of these?
PXE with kernel per each OS. Split it to some MAC groups  based on that, 
something like 00:00:00:00:00:xx would boot Fedora 17 kernel, 00:00:00:00:01:xx 
would boot Centos.
You manually manage the MAC assignemnet when you create the VM using CLI/SDK
Then customizable ks with desired packages in some network location, you point 
to these on kernel cmdline

 
 Marco
  
 
 
  Centos6 64 bit 10GB disk lvm no selinux
  Centos6 64 bit All avaiable disk space
  Centos6 64 bit with puppet and mcollective
  
 
  Marco
 
 
 
  
   To be clear, here yuo are what I'm traying in this moment:
  
   https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52
  
   And if someone has aeolus experience and suggestions is welcome :D
  
   Marco
  
   On Thu, Oct 11, 2012 at 1:38 PM, Michal Skrivanek 
   michal.skriva...@redhat.com wrote:
   On Oct 11, 2012, at 13:26 , Oved Ourfalli wrote:
  
Hey Marco.
   
I see. My mistake...
We don't have such a feature built-in yet, but I guess there may be 
other 3rd party products that integrate with oVirt in order to do so.
Let's wait for other people to answer this thread.
   
Oved
   
- Original Message -
From: Marco Mornati morna...@gmail.com
To: Oved Ourfalli ov...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, October 11, 2012 1:09:56 PM
Subject: Re: [Users] Virtual Machine Provisiong
   
   
Hello Oved,
   
   
thanks for your response, but, for me, provisioning means Install
Operating System and other packages. Is it possibile to do this
directly using oVirt? I didn't find anything about it and that's the
resason why I'm looking for others tools.
   well, if you want to select packages, etc., how would you present that to 
   the user in ovirt GUI?
   Isn't it essentially the same as installing a VM with whatever you need 
   using the desired OS installation method/GUI and save it as a template? 
   And then deploy the template and do minor customizations (e.g. hostname 
   change). We do plan to have support for such things in near future - we 
   already have sysprep for Windows guests.
  
   Thanks,
   michal
  
By and I can just start oVirt VM in Run Once mode, and putting the
mac address in my PXE installation could start automatically.
Problem is that I need to modify my PXE to create an automatic
system. That's the reason puu me to look for anything else.
   
   
Marco
   
   
On Thu, Oct 11, 2012 at 12:25 PM, Oved Ourfalli  ov...@redhat.com 
wrote:
   
   
oVirt exposes REST API that allows you to perform almost every
operation in the oVirt engine, including provisioning, monitoring,
performing different actions on the different entities, and etc.
   
We also have both SDK and CLI, which are based on this REST API.
   
Useful wiki pages:
http://wiki.ovirt.org/wiki/Architecture
http://wiki.ovirt.org/wiki/SDK
http://wiki.ovirt.org/wiki/CLI
   
and I guess you'll find more pages on ovirt.org .
   
Good luck,
Oved
   
   
   
- Original Message -
From: Marco Mornati  morna...@gmail.com 
To: users@ovirt.org
Sent: Thursday, October 11, 2012 12:09:53 PM
Subject: [Users] Virtual Machine Provisiong
   
   
Hello guys,
   
   
I'm trying to integrate an automatic provisioning to my oVirt
installation. Something like: API to create VM, NIC and Disk, tool
to install SO (??).
   
   
I'm actually working around aeolus (after a useless test with
koan),
but I'm not sure I can do what I want. I prefer not to use a PXE to
get all things really automatic (something cloud style).
   
   
Have you got any idea, suggestion and/or guide about it?
   
   
Thanks a lot
Marco
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   
   
   

Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Justin Clift
On 11/10/2012, at 13:44 PM, Marco Mornati wrote:
 Hello,
 
 yep template could be a solution, but means we need to have machine that
 are quite similar.
 What I'd like to do, and presents to user, is a list of profiles
 (Centos6, RHEL6, Fedora17, etc.) and any profile has a kickstart
 associated that indicates iso source, which base packages should be
 installed, etc.
 That is exactly what we have today with a PXE installation, but the only
 things is that I cannot invoke an automatic installation within a script.
 
 To be clear, here yuo are what I'm traying in this moment:
 
 https://www.aeolusproject.org/redmine/projects/aeolus/wiki/RHEV-M_Setup?version=52

Hi Marco,

From reading through what you're looking for, it seems a good fit for Aeolus.

As well as the points you mention (templates for creations of vm's, with
desired packages, etc), it does a lot more too:

 + VM launching/killing and monitoring

 + Supports several virtualization and cloud platforms simultaneously,
   so you build/launch/manage your VM's on (say) oVirt, VMware, and EC2.
   OpenStack support (amongst others) is currently being added.

 + You can build custom applications out of several vm templates,
   and have them correct pass configuration information amongst
   themselves when they launch. (IP addresses, dependency info, etc)

   For example, a 2-node Wordpress application, consisting of an Apache
   webserver vm template + a MySQL vm template).  Automatically sets
   itself up at launch:

 https://github.com/aeolusproject/audrey/tree/master/examples/wordpress

With the oVirt setup you're doing for those instructions, please try and
use oVirt 3.0 for the moment.  There's a bug in an rpm we rely on for our
oVirt support (vdsm floppyinject hook) that's broken with oVirt 3.1.

Hopefully we'll have that issue fixed late next week (enabling oVirt 3.1
support).  That doesn't help you right now though. ;)

If it's helpful, the Aeolus dev's are in the #aeolus freenode IRC channel,
and are generally pretty responsive requests for help.  i.e. RHEV-M
setup, etc.

We also have an aeolus-users mailing list, which is worth asking on if
you're not in to IRC. :)

  https://lists.fedorahosted.org/mailman/listinfo/aeolus-users

Does that help? :)

Regards and best wishes,

Justin Clift

 And if someone has aeolus experience and suggestions is welcome :D
 
 Marco

--
Aeolus Community Manager
http://www.aeolusproject.org

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


Re: [Users] Can't start a VM - sanlock permission denied

2012-10-11 Thread Alexandre Santos
Hello Haim,
sure I'll provide them. I'll enter the node console and will check that.

Alex

2012/10/11 Haim Ateya hat...@redhat.com

 Hi Alex, can you please provide some logs (engine + vdsm) ? also, can you
 verify that sanlock service is running on node  ?

 - Original Message -
  From: Alexandre Santos santosa...@gmail.com
  To: users@ovirt.org
  Sent: Thursday, October 11, 2012 12:06:19 PM
  Subject: Re: [Users] Can't start a VM - sanlock permission denied
 
 
  It's me again, now less sleepy :-)
  What I would like to know is if this sanlock permission issue is
  within the oVirt engine, a problem on the NFS Server or on the oVirt
  node (it's a 2.5.3 from nightly). On the later, I can't access the
  console to issue those commands - I don't even know if it's running
  SELinux at all :-)
 
  Alex
 
 
  2012/10/11 Alexandre Santos  santosa...@gmail.com 
 
 
  Him
  I managed to install the new oVirt Node on a 8 GB USB Pen. I created
  the NFS Share anf when I try to Run the VM I get the:
 
 
  M ubuntu is down. Exit message: internal error Failed to open socket
  to sanlock daemon: Permission denied.
 
 
 
  I did the setsebool mentioned on the wiki on the engine but still get
  the error. Is it necessary to configure anywhere else?
 
  Alex
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 

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


Re: [Users] Is this dd operation harmful?

2012-10-11 Thread Shu Ming

After reading the code, every mailbox should be 4096 byte size.
And the total mailbox size is host * 4096. Ony one host is here, so
the total mailbox size here is 4096. why should the 'dd' operation
read 1024000 byte which is 1000K byte much lager than 4096 here?

2012-10-11 18:54, Dan Kenigsberg:

On Thu, Oct 11, 2012 at 03:44:25PM +0800, Shu Ming wrote:

Hi,

I found some dd operations were launched contiguously in my vdsm.log.
Is this harmful? How was this operation caused?

That's storage.storage_mailbox.SPM_MailMonitor, polling for lvextend
requests. dd is used, since in the old days, vdsm did not have
storage.fileUtils.DirectFile.

The behavior is expected, but I cannot say that it is harmless.
The mailbox should be high on
http://wiki.ovirt.org/wiki/Vdsm_TODO#refactoring
since forking so much is a waste, as well as using strings instead of
bytearrays. Making the module as a separate, testable entity, is important,
too.


 From vdsm.log:

Dummy-51000::DEBUG::2012-10-11
15:38:57,243::__init__::1249::Storage.Misc.excCmd::(_log) 'dd
if=/rhev/data-center/6f6d4801-7447-48ea-b516-627d83e7801e/mastersd/dom_md/inbox
iflag=direct,fullblock count=1 bs=1024000' (cwd None)



--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] ovirt-node install hangs

2012-10-11 Thread Alexandre Santos
2012/10/11 Alexandre Santos santosa...@gmail.com

 2012/10/11 Mike Burns mbu...@redhat.com

 On Thu, 2012-10-11 at 11:12 +0100, Alexandre Santos wrote:
  Hi,
  yesterday I tried the new oVirt Node 2.5.3. I tried installing it
  without the quiet flag but no luck. It hanged again and the kernel
  didn't show any error on console (tty2).
  Later will test without the rhgh flag.

 Default options? TUI install? Hardware? UEFI or legacy bios?


 I always choose the troubleshooting option and then do an install with
 basic video. The only thing I changed from the default kernel boot line was
 the quiet flag.

 Yes, TUI.

 Hardware: this is an old MSI P35Neo MB with 4 GB RAM and a Xeon 3040. The
 SATA disk is connected to the onboard controller. The same problem occurred
 with an IDE HDD.


Without rhgb and quiet no luck at all. Tomorrow will try with a SATA PCI
Card with a Sil chip.





 
  Alex
 
  BTW, now the hostname works on 2.5.3 :-) The network configuration is
  still tricky... sometimes I have an Apply sometimes only a Back
  choice.

 I *think* this is a feature of being registered to ovirt-engine.  Once
 you are registered, you can't change the network through the TUI
 anymore.

 If you're not registered with Engine, please elaborate a bit and I'll
 try to figure out what is going on.


 What you're saying makes sense. The problem I had was that my node was
 booting with DHCP and the IP changed. When I got to the engine / web
 administrator, my Host was not detected and I couldn't change it's IP, only
 the hostname... On the TUI I can't change the IP because I'm registered but
 can't change it also on the engine. Is this correct?


 Mike

 
  2012/10/9 Alexandre Santos santosa...@gmail.com
  It's working now :-)
 
  Thanks a lot all!
 
  Alex
 
  P.S. I haven't tried installing it on my SATA disk because I
  have there a Local Node already running but I'm going to try
  again on another one to see if I can send to you the error
  log.
 
 
  2012/10/8 Mike Burns mbu...@redhat.com
  On Mon, 2012-10-08 at 09:54 +0100, Alexandre Santos
  wrote:
  
  
   2012/10/8 Fabian Deutsch fabi...@redhat.com
   Am Montag, den 08.10.2012, 09:24 +0100
  schrieb Alexandre
   Santos:
2012/10/8 Fabian Deutsch
  fabi...@redhat.com
Hey,
   
Am Sonntag, den 07.10.2012, 15:29
  +0100 schrieb
   Alexandre
Santos:
 Hi,
 I'm trying to install the
  ovirt-node iso image on
   a SATA
disk and when
 it gets to the screen where it
  shows 25% completed
   the
kernel hangs. I
 can't connect using a serial
  console to see what
   has
happened. If I
 reboot using a usb linux disk I
  see that the SATA
   disk has
been
 formated and the partitions that
  existed before
   disappeared,
being
 there just one partition of type
  ee
   
   
Is there any error displayed when
  kernel hangs at
   25%? And it
can take
some time to pass the 25% (up to
  ~2min or so).
   
No, I think it's a kernel hang because the
  lights on the
   keyboard halt
and I can't change to tty2, etc.. I even
  changed to tty2 and
   waited to
see if there were some errors but nothing.
  I've read that
   tty8 was
the logging console but no luck also.
BTW, I tried with an IDE disk and the
  result was the same.
  
  
   Mh, okay.
   Could you try booting without the rhgb and
  quiet kernel
   

Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Itamar Heim

On 10/11/2012 08:28 AM, Marco Mornati wrote:

I tried but it does not work. For what I understood (but I didn't find
lot of doc about this) the 3 parameters are used to specify kernel
information but for an already installed machine. Means for example that
the Kernel and Initd location should already be on the vm disk. I tried
putting a remote location but my machine wouldn't start up... So I think
I can't use the kernel parameters in oVirt


the initrd/kernel can also reside on the iso domain iirc (iso:// prefix 
or something like that)


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


Re: [Users] Virtual Machine Provisiong

2012-10-11 Thread Ohad Levy
On Thu, Oct 11, 2012 at 12:09 PM, Marco Mornati morna...@gmail.com wrote:

 Hello guys,

 I'm trying to integrate an automatic provisioning to my oVirt
 installation. Something like: API to create VM, NIC and Disk, tool to
 install SO (??).

 I'm actually working around aeolus (after a useless test with koan), but
 I'm not sure I can do what I want. I prefer not to use a PXE to get all
 things really automatic (something cloud style).

 Have you got any idea, suggestion and/or guide about it?


You might consider using foreman [1] which has a pretty good integration
with oVirt and can be used to:

Provision your  OS (redhat, debian, suse, solairs etc and their clones).
Manage things like DNS, DHCP etc
Configure your instances (using puppet)
...

You can have a look how it might look like (via foreman ui) at [2], its
libvirt based, but really is nearly the same for ovirt.
Its currently using PXE based solutions (but image/template based
alternatives would be available in the near future)

Ohad

[1] theforeman.org
[2] http://www.youtube.com/watch?v=FYsHZbCQzH8

 Thanks a lot
 Marco

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


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