Re: [Users] oVirt 3.3.1 Beta now available

2013-10-19 Thread Dan Kenigsberg
On Sat, Oct 19, 2013 at 11:57:38AM -0700, Jason Brooks wrote:
> Some further 3.3.1 beta tests: 
> 
> Since I wasn't able to upgrade from 3.3.0.1 (seems related to bz1005533)
> I did a fresh install of 3.3.1 beta on F19 -- an AIO install. That
> worked fine, but I wasn't able to add an additional host, and tried with
> F19 and CentOS 6.4. In both cases, engine complained of:
> "java.io.IOException: Unexpected connection termination"
> 
> I tried installing an 3.3.1 AIO on CentOS 6.4 but hit a dependency
> issue:
> 
> Error: Package: vdsm-4.13.0-2.gitbae164c.el6.x86_64 (ovirt-beta)
>Requires: selinux-policy-targeted >= 3.7.19-213
>Installed: selinux-policy-targeted-3.7.19-195.el6_4.12.noarch
> (@updates)
> 
> I did a clean install of a non-AIO engine on CentOS 6.4, but wasn't able
> to add a host due to the selinux issue  (w/ CentOS) and the "Unexpected
> connection termination" (w/ F19).
> 
> So, so far, F19 AIO w/ no additional hosts is the only 3.3.1 config I've
> managed to get working.

Thanks for opening a bug on this
https://bugzilla.redhat.com/show_bug.cgi?id=1021147

It blocks on
Bug 1015068 - Current selinux policy prevents running a VM with
volumes under /var/run/vdsm/storage

which frankly - I do not know what holds.

On the mean time, the only remedy I have is to --force vdsm's
installation before firing AIO and to manually tweak the policy with

 sudo semanage fcontext -a -s system_u -t virt_var_run_t -r s0 
'/var/run/vdsm(/.*)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Disk state - Illegal?

2013-10-19 Thread Andrew Lau
Could someone post me their disk permissions?
-rw-rw. 1 vdsm kvm 3070820352 Sep 25 09:53
b36e838a-15d4-4058-84d4-bfe19988bcbc

My engine.log doesn't report anything and nor does my audit.log. I need to
destroy about 10+ VMs and not really keen on doing the whole
disk deletion and db removal process manually.

Cheers.


On Mon, Oct 14, 2013 at 6:19 PM, Liron Aravot  wrote:

>
>
> - Original Message -
> > From: "Andrew Lau" 
> > To: "Dan Ferris" 
> > Cc: Users@ovirt.org
> > Sent: Monday, October 14, 2013 4:53:51 AM
> > Subject: Re: [Users] Disk state - Illegal?
> >
> > I was just wondering, did anyone ever find the root cause of this issue?
>
> Hi,
> Disk will be in illegal status in case that ovirt failed to initiate the
> delete task for it,
> as the engine can't tell what's the exact disk state at this stage (on
> what phase the delete operation has failed) - the disk status is shown is
> illegal.
> Therefore there might be many possible reasons, each issue that will fail
> the creation of the delete task would cause the disk to remain in that
> status (along permissions issues)
> The disk deletion won't succeed till those issues would be resolved.
>
> >
> > Mine still seems to be doing the same thing, is it a permission issue or
> a
> > bug?
> >
> >
> > On Fri, Sep 27, 2013 at 12:28 PM, Dan Ferris <
> dfer...@prometheusresearch.com
> > > wrote:
> >
> >
> > I was off today, so I just saw this. I will try it out tomorrow.
> >
> > Thanks!
> >
> > Dan
> >
> >
> > On 9/25/2013 8:53 PM, Andrew Lau wrote:
> >
> >
> >
> > I noticed that too, I wasn't sure if it was a bug or just how I had
> > setup my NFS share..
> >
> > There were three steps I did to remove the disk images, I'm sure there's
> > a 100% easier solution..:
> >
> > I found the easiest way (graphically) was go to your
> > https://ovirtengine/api/disks and so a search for the illegal disk.
> > Append the extra ID eg.  >
> > into your URL this'll give you your image ID.
> >
> > Go to your storage share:
> > cd /data/storage-id/master/vms/ storage-id
> > grep -ir 'vmname' *
> > You'll find the image-id reference here too.
> >
> > Then the image you will want to remove is in the
> > /data/storage-id/images/image- id
> > I assume you could safely remove this whole folder if you wanted to
> > delete the disk.
> >
> > To remove the illegal state I did it through the API so again with the
> > URL above https://ovirtengine/disks/ disk-id send a DELETE using
> HTTP/CURL
> >
> > Again, this was a poor mans solution but it worked for me.
> >
> > On Thu, Sep 26, 2013 at 4:04 AM, Dan Ferris
> > < dferris@prometheusresearch. com
> > >wrote:
> >
> >
> > Hi,
> >
> > I have another hopefully simple question.
> >
> > One VM that I am trying to remove says that it's disk state is
> > "illegal" and when I try to remove the disk it says that it failed
> > to initiate the removing of the disk.
> >
> > Is there an easy way to get rid of these illegal disk images?
> >
> > Dan
> > __ ___
> > Users mailing list
> > Users@ovirt.org 
> > http://lists.ovirt.org/__ mailman/listinfo/users
> > < http://lists.ovirt.org/ mailman/listinfo/users >
> >
> >
> > __ _
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/ mailman/listinfo/users
> >
> >
> > ___
> > 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.3.1 Beta now available

2013-10-19 Thread Patrick Lists

On 10/19/2013 08:57 PM, Jason Brooks wrote:

Some further 3.3.1 beta tests:

Since I wasn't able to upgrade from 3.3.0.1 (seems related to bz1005533)
I did a fresh install of 3.3.1 beta on F19 -- an AIO install. That
worked fine, but I wasn't able to add an additional host, and tried with
F19 and CentOS 6.4. In both cases, engine complained of:
"java.io.IOException: Unexpected connection termination"

I tried installing an 3.3.1 AIO on CentOS 6.4 but hit a dependency
issue:

Error: Package: vdsm-4.13.0-2.gitbae164c.el6.x86_64 (ovirt-beta)
Requires: selinux-policy-targeted >= 3.7.19-213
Installed: selinux-policy-targeted-3.7.19-195.el6_4.12.noarch
(@updates)


You could try the latest SELinux packages available here:
http://people.redhat.com/dwalsh/SELinux/RHEL6/noarch/

Regards,
Patrick

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


Re: [Users] oVirt 3.3.1 Beta now available

2013-10-19 Thread Jason Brooks
Some further 3.3.1 beta tests: 

Since I wasn't able to upgrade from 3.3.0.1 (seems related to bz1005533)
I did a fresh install of 3.3.1 beta on F19 -- an AIO install. That
worked fine, but I wasn't able to add an additional host, and tried with
F19 and CentOS 6.4. In both cases, engine complained of:
"java.io.IOException: Unexpected connection termination"

I tried installing an 3.3.1 AIO on CentOS 6.4 but hit a dependency
issue:

Error: Package: vdsm-4.13.0-2.gitbae164c.el6.x86_64 (ovirt-beta)
   Requires: selinux-policy-targeted >= 3.7.19-213
   Installed: selinux-policy-targeted-3.7.19-195.el6_4.12.noarch
(@updates)

I did a clean install of a non-AIO engine on CentOS 6.4, but wasn't able
to add a host due to the selinux issue  (w/ CentOS) and the "Unexpected
connection termination" (w/ F19).

So, so far, F19 AIO w/ no additional hosts is the only 3.3.1 config I've
managed to get working.

Jason



On Fri, 2013-10-18 at 13:48 -0700, Jason Brooks wrote:
> I hit a bump upgrading from 3.3.0.1:
> 
> 2013-10-18 16:38:14 DEBUG otopi.plugins.ovirt_engine_setup.db.schema
> plugin.execute:446 execute-output:
> ['/usr/share/ovirt-engine/dbscripts/upgrade.sh', '-s', 'localhost',
> '-p', '5432', '-u', 'engine', '-d', 'engine', '-l',
> '/var/log/ovirt-engine/setup/ovirt-engine-setup-20131018163438.log',
> '-g'] stderr:
> psql:create_views.sql:400: ERROR:  column vm_templates.single_qxl_pci
> does not exist
> LINE 18:vm_templates.single_qxl_pci as single_qxl_pci,
> ^
> 
> 2013-10-18 16:38:14 DEBUG otopi.context context._executeMethod:137
> method exception
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 127, in
> _executeMethod
> method['method']()
>   File
> "/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/db/schema.py",
>  line 261, in _miscUpgrade
> osetupcons.DBEnv.PGPASS_FILE
>   File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 451, in
> execute
> command=args[0],
> RuntimeError: Command '/usr/share/ovirt-engine/dbscripts/upgrade.sh'
> failed to execute
> 2013-10-18 16:38:14 ERROR otopi.context context._executeMethod:146
> Failed to execute stage 'Misc configuration': Command
> '/usr/share/ovirt-engine/dbscripts/upgrade.sh' failed to execute
> 
> 
> 
> - Original Message -
> > From: "Mike Burns" 
> > To: annou...@ovirt.org, "users" 
> > Sent: Friday, October 18, 2013 4:03:38 AM
> > Subject: [Users] oVirt 3.3.1 Beta now available
> > 
> > The oVirt team is pleased to announce that the 3.3.1 Release is now
> > available in beta.
> > 
> > Release notes for this update are still being worked on, but information
> > on the changes can be found on the wiki[1].
> > 
> > A new oVirt Node build will be available soon as well.
> > 
> > Mike
> > 
> > 
> > [1] http://www.ovirt.org/OVirt_3.3.1_release_notes
> > ___
> > 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] install engine with everything setup like node-iso and xen-server

2013-10-19 Thread Nir Soffer
- Original Message -
> From: "lofyer" 
> To: "users" 
> Sent: Saturday, October 19, 2013 12:38:16 PM
> Subject: [Users] install engine with everything setup like node-iso and   
> xen-server
> 
> I'm trying to make a livecd of ovirt-engine

Did you know about ovirt-live?
http://wiki.ovirt.org/OVirt_Live

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


Re: [Users] Kickstarting the VM's -- new ovirt user

2013-10-19 Thread Doron Fediuck


- Original Message -
> From: "Hunter Matthews" 
> To: users@ovirt.org
> Sent: Saturday, October 19, 2013 2:10:40 AM
> Subject: [Users] Kickstarting the VM's -- new ovirt user
> 
> All,
>I'm working on my first ovirt setup and have managed to get to the point
>where I have a VM running. Most of my VM's
> will be centos-6.x and I already have a DHCP/PXE/kickstart environment for
> that.
> 
> Is there  a way in ovirt to specify what MAC address a new VM will get? Or is
> there another way to accomplish this?
> (I could care less about the specific MAC thats just what I use on bare
> hardware to id which server is which.)
> 
> 
> --
> Hunter Matthews  Unix Administrator
> Office: Bldg 240 Room 2139   Argonne National Labs, MCS
> Key: F0F88438 / FFB5 34C0 B350 99A4 BB02  9779 A5DB 8B09 F0F8 8438
> Never take candy from strangers. Especially on the internet.

Hi Hunter,
you can get and set the mac address rage using: 

engine-config -g MacPoolRanges (to see the current range) 

and then engine-config -s MacPoolRanges=

You can set a specific mac for a specific VM in the new or edit network 
interface
dialog. Look for: "Specify custom MAC address".
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Domain not found with windows7

2013-10-19 Thread Mario Giammarco
Gianluca Cecchi  writes:

> See this thread of mine if it can be in any way related, at least for
> the "paused" state:
> http://lists.ovirt.org/pipermail/users/2013-February/012597.html
> 
> No suggestions for the doamin not found error...
> 

Thanks but unfortunately it goes in paused state already at boot.




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


Re: [Users] Domain not found with windows7

2013-10-19 Thread Gianluca Cecchi
On Sat, Oct 19, 2013 at 11:25 AM, Mario Giammarco wrote:
> Hello,
> I am continuing tests with ovirt.
> Now I am trying windows7. I started without using virt-io.
> It worked for one day. Then the windows7 vm goes automatically on stated
> "paused" and there is no way to reenable it.
> Only way is to delete and recreate. So I did it.
> Now I cannot shutdown it. It blocks on "powering down" state and I cannot
> restart nor delete it.
>
> The error is:
>
> VM windows7ok is down. Exit message: Domain not found: no domain with
> matching uuid 'fc8c63dd-fff0-4592-aded-8344cd74fd88


See this thread of mine if it can be in any way related, at least for
the "paused" state:
http://lists.ovirt.org/pipermail/users/2013-February/012597.html

No suggestions for the doamin not found error...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt October Updates

2013-10-19 Thread Gianluca Cecchi
On Wed, Oct 16, 2013 at 1:01 PM, Itamar Heim wrote:
> Hope to meet many next week in LinuxCon Europe/KVM Forum/oVirt conference in
> Edinburgh
>
Unfortunately not me ;-(


> - LINBIT published "High-Availability oVirt-Cluster with
>   iSCSI-Storage"[9]

>
> [9] note: link requires registeration:
> http://www.linbit.com/en/company/news/333-high-available-virtualization-at-a-most-reasonable-price
> the pdf is:
> http://www.linbit.com/en/downloads/tech-guides?download=68:high-availability-ovirt-cluster-with-iscsi-storage

About 3 years ago I successfully tested plain Qemu/KVM with two nodes
and drbd dual-primary with live migration on Fedora, so I know it
works very well.
I think the LINBIT guide gives many suggestions, one of them is in
particular just another way to have a High Available oVirt Engine for
example, that is a hot topic lately
Deep attention is to be put in fencing mechanism though, as always it
is in general when talking about drbd, pacemaker, oVirt.
I don't know it quite well, but the drbd proxy feature (closed source
and not free) could also be then an option for DR in small
environments

I'm going to experiment the solution of the paper (possibly using
clusterlabs.org repo for cluster and so using corosync instead of
heartbeat).
To compare in small environments where two nodes are ok, in my opinion
glusterfs is far away from robust at the moment: with 3.4.1 on fedora
19 I cannot put a host in maintenance and get back a workable node
after normal reboot.
Didn't find any "safe" way for a node in distributed-replicated two
nodes config to leave the cluster and get it back without becoming
crazy to manual solve the brick differences generated in the mean
time. And this was with only one VM running .
Possibly I have to dig more in this, but I didn't find great resources
for it. Any tips/links are welcome
I would like to have oVirt more conscious about it and have sort of
capability to solve itself the misalignments generated on gluster
backend during mainteneance of a node.
At the moment it seems to me it only shows volumes are ok in the sense
of started, but they could be very different...
For example another tab with details about heal info; something like
the output of the command

gluster volume heal $VOLUME info

and/or

gluster volume heal $VOLUME info split-brain

so that if one finds 0 entries, he/she is calm and at the same doesn't
risk to be erroneously calm in the other scenario...

just my opinion.

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


[Users] install engine with everything setup like node-iso and xen-server

2013-10-19 Thread lofyer

I'm trying to make a livecd of ovirt-engine. And I have got a question.
Is it possible that setting the engine done before rebooting ?
I mean, like node-iso and xen-server.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Domain not found with windows7

2013-10-19 Thread Mario Giammarco
Hello,
I am continuing tests with ovirt.
Now I am trying windows7. I started without using virt-io. 
It worked for one day. Then the windows7 vm goes automatically on stated
"paused" and there is no way to reenable it.
Only way is to delete and recreate. So I did it.
Now I cannot shutdown it. It blocks on "powering down" state and I cannot
restart nor delete it.

The error is:

VM windows7ok is down. Exit message: Domain not found: no domain with
matching uuid 'fc8c63dd-fff0-4592-aded-8344cd74fd88


Thanks,
Mario

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