Re: [Users] [3.2 Beta]Creating DB fails

2013-02-03 Thread Gianluca Cecchi
On Feb 4, 2013 3:18 AM, "Nicholas Kesick" 
wrote:
>
> Hey guys, I'm having a problem with engine-setup. When it gets to the
creating database part, it fails. I've tried rebuilding the system (this
time from Fedora minimal install) and I had the same problem. Any
suggestions? I've attached the engine setup log and it basically ends with
the "engine" database is not currently accepting connections.
>
> ovirt-engine-setup-3.1.0-4.fc17.noarch
> kernel 3.7.4-204.fc18.x86_64 (also tried with what came on the dvd)
> sytemctl status postgresql.service reports postgresql is active (running).
>
> - Nick
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
You wrote with 3.2 beta tag in subject, but you are using a 3.1
engine-setup?
Can you detail better your environment?
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Glusterfs HA doubts

2013-02-03 Thread Tim Hildred
Hey Adrian,

I'm jumping in now because you haven't had any nibbles yet, not because I know 
for sure I'm right. I only have something to say about the 3rd part of your 
email:

> 3) Mount dns resolution
> If you check Jason Brooks howto you will see that it uses a hostname
> for refering to nfs mount. If you want to perform HA you need your
> storage to be mounted and if the server1 host is down it doesn't
> help that the nfs mount point associated to the storage is
> server1:/vms/ and not server2:/vms/. Checking Middleswarth howto I
> think that he does the same thing.
> 
> Let's explain a bit more so that understand. My example setup is the
> one where you have two host machines where you run a set of virtual
> machines on one and the other one doesn't have any virtual machine
> running. Where is the virtual machines storage located? It's located
> at the glusterfs volume.
> 
> So the first one of the machines mounts the glusterfs volume as nfs
> (It's an example).
> If it uses its own hostname for the nfs mount then if itself goes
> down the second host isn't going to mount it when it's restarted in
> the HA mode.
> 
> So the first one of the machines mounts the glusterfs volume as nfs
> (It's an example).
> If it uses the second host hostname for the nfs mount then if the
> second host goes down the virtual machine cannot access its virtual
> disks.

From what I can tell, you are asking about using storage local to hypervisors, 
combined into a gluster volume, and used as a POSIX data center. 

I don't think anyone would disagree about that being a bad idea. In the RHEV 
documentation, we try and make it clear that one of the weaknesses of using 
storage that is local to they hypervisors is that when something happens, you 
lose two pieces of infrastructure in one shot, rather than one. I think that 
for the availability you are talking about, you'll want at least three nodes. 

I've cc'd John Walker, the Gluster Community Guy (whom I met recently at LCA, 
g'day John!), he can probably say something specific. 

Tim Hildred, RHCE
Content Author II - Engineering Content Services, Red Hat, Inc.
Brisbane, Australia
Email: thild...@redhat.com
Internal: 8588287
Mobile: +61 4 666 25242
IRC: thildred

- Original Message -
> From: "Adrian Gibanel" 
> To: "users" 
> Sent: Friday, January 25, 2013 9:35:42 PM
> Subject: [Users] Glusterfs HA doubts
> 
> In oVirt 3.1 GlusterFS support was added. It was an easy way to
> replicate your virtual machine storage without too much hassle.
> There are two main howtos:
> *
> http://www.middleswarth.net/content/installing-ovirt-31-and-glusterfs-using-either-nfs-or-posix-native-file-system-engine
> (Robert Middleswarth)
> * http://blog.jebpages.com/archives/ovirt-3-1-glusterized/ (Jason
> Brooks).
> 
> 1) What about performance?
> I've done some tests with rsync backups (even using the suggested
> --inplace rsync switch) that implies small files. These backups were
> done into local mounted glusterfs volumes. Backups instead of
> lasting about 2 hours they lasted like 15 hours long.
> 
> Is there maybe something that only happens with small files and with
> big files performance is ok?
> 
> 2) How to know the current status?
> In DRBD you know it checking a proc file if I remember it well. I
> remember too that GlusterFS doesn't have an equivalent thing and
> there's no evident way to know if all the files are synced.
> 
> If you have tried it how do you know if both sets of virtual disks
> images are synced?
> 
> 3) Mount dns resolution
> If you check Jason Brooks howto you will see that it uses a hostname
> for refering to nfs mount. If you want to perform HA you need your
> storage to be mounted and if the server1 host is down it doesn't
> help that the nfs mount point associated to the storage is
> server1:/vms/ and not server2:/vms/. Checking Middleswarth howto I
> think that he does the same thing.
> 
> Let's explain a bit more so that understand. My example setup is the
> one where you have two host machines where you run a set of virtual
> machines on one and the other one doesn't have any virtual machine
> running. Where is the virtual machines storage located? It's located
> at the glusterfs volume.
> 
> So the first one of the machines mounts the glusterfs volume as nfs
> (It's an example).
> If it uses its own hostname for the nfs mount then if itself goes
> down the second host isn't going to mount it when it's restarted in
> the HA mode.
> 
> So the first one of the machines mounts the glusterfs volume as nfs
> (It's an example).
> If it uses the second host hostname for the nfs mount then if the
> second host goes down the virtual machine cannot access its virtual
> disks.
> 
> A workaround for this situation which I have thought is to use
> /etc/hosts on both machines so that:
>   whatever.domain.com
> resolves in both hosts to the host self's ip.
> 
> I think that glusterfs has a way of mounting their share through "-t
> glusterfs" that somehow can ig

Re: [Users] How to connect to console after another user logged out

2013-02-03 Thread Jiri Belka
On Sun, 3 Feb 2013 23:43:21 +0100
Gianluca Cecchi  wrote:

> Hello,
> I have 3.2 beta and a Fedra 18 VM configured with spice access.
> One user connects to portal and access it, then terminates his session
> and closes the spice console window and log out from portal.
> Another user connects to portal and tries to connect to the same VM
> that is still powered on.
> 
> It receives this message:
> 
> Error:
> 
> F18:
> 
> Console connection denied. Another user has already accessed the
> console of this VM. The VM should be rebooted to allow another user to
> access it, or changed by an admin to not enforce reboot between users
> accessing its console.

Check VM properties -> Console -> Advanced params ->  Disable strict
user checking.

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


Re: [Users] [3.2 Beta]Creating DB fails

2013-02-03 Thread Yair Zaslavsky
Did you try to see if postgresql is listening on 5432? 

013-02-03 21:11:43::DEBUG::common_utils::291::root:: output = 
2013-02-03 21:11:43::DEBUG::common_utils::292::root:: stderr = psql: could not 
connect to server: Connection refused
Is the server running on host "localhost" (::1) and accepting
TCP/IP connections on port 5432?
could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5432?

2013-02-03 21:11:43::DEBUG::common_utils::293::root:: retcode = 2
2013-02-03 21:11:43::DEBUG::setup_sequences::59::root:: running _encryptDBPass
2013-02-03 21:11:43::DEBUG::common_utils::309::root:: Executing command --> 
'/etc/pki/ovirt-engine/encryptpasswd.sh '
2013-02-03 21:11:44::DEBUG::common_utils::335::root:: output = 
/usr/share/ovirt-engine 

- Original Message -

> From: "Nicholas Kesick" 
> To: "oVirt Mailing List" 
> Sent: Monday, February 4, 2013 4:18:42 AM
> Subject: [Users] [3.2 Beta]Creating DB fails

> Hey guys, I'm having a problem with engine-setup. When it gets to the
> creating database part, it fails. I've tried rebuilding the system
> (this time from Fedora minimal install) and I had the same problem.
> Any suggestions? I've attached the engine setup log and it basically
> ends with the "engine" database is not currently accepting
> connections.

> ovirt-engine-setup-3.1.0-4.fc17.noarch
> kernel 3.7.4-204.fc18.x86_64 (also tried with what came on the dvd)
> sytemctl status postgresql.service reports postgresql is active
> (running).

> - Nick

> ___
> 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] How to connect to console after another user logged out

2013-02-03 Thread Gianluca Cecchi
Hello,
I have 3.2 beta and a Fedra 18 VM configured with spice access.
One user connects to portal and access it, then terminates his session
and closes the spice console window and log out from portal.
Another user connects to portal and tries to connect to the same VM
that is still powered on.

It receives this message:

Error:

F18:

Console connection denied. Another user has already accessed the
console of this VM. The VM should be rebooted to allow another user to
access it, or changed by an admin to not enforce reboot between users
accessing its console.


I didn't find a way to accomplish the "or changed by an admin to not
enforce reboot..."

Where to set this?

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


Re: [Users] Testday aftermath

2013-02-03 Thread Joop

Vijay Bellur wrote:

On 02/01/2013 07:38 PM, Kanagaraj wrote:

On 02/01/2013 06:47 PM, Joop wrote:

Shireesh Anjal wrote:

On 02/01/2013 05:13 PM, noc wrote:

On 1-2-2013 11:07, Kanagaraj wrote:

Hi Joop,

 Looks like the problem is because of the glusterfs version you are
using. vdsm could not parse the output from gluster.

 Can you update the glusterfs to
http://bits.gluster.org/pub/gluster/glusterfs/v3.4.0qa7/x86_64/ and
check it out?

How??

I tried adding this repo but but yum says that there are no updates
available, atleast yesterday it did.

[gluster-nieuw]
name=GlusterFS
baseurl=http://bits.gluster.org/pub/gluster/glusterfs/stage/
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-Gluster
enabled=1

My yumfoo isn't that good so I don't know how to force it. Besides I
tried through yum localinstall but it will revert when yum update is
run. It looks like it thinks that 3.3.1 is newer than 3.4


The problem is that, released glusterfs rpms in fedora repository are
of the form 3.3.1-8, whereas the ones from above QA release are
v3.4.0qa7. I think because of the "v" before 3.4, these are
considered as lower version, and by default yum picks up the rpms
from fedora repository.


The 'v' is 99.9% the culprit. I had 3.4.0qa6 before I wiped and just
had a look that folder and repo doesn't have the 'v' in front of it.


Thats correct.

[kanagaraj@localhost ~]$ rpmdev-vercmp glusterfs-3.3.1-8.fc18.x86_64
glusterfs-v3.4.0qa7-1.el6.x86_64
glusterfs-3.3.1-8.fc18.x86_64 > glusterfs-v3.4.0qa7-1.el6.x86_64


Is there someone on this list that has the 'powers' to change that ??



[Adding Vijay]



3.4.0qa8 is available now. Can you please check with that?

Thanks,
Vijay
I can report back that 3.4.0qa8 does work. oVirt also picked up on the 
volumes that I created but didn't show up in the interface. Could start 
them an will test if they are fully usable.


Thanks for the quick respons.

Joop

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


[Users] Connecting with vnc to a VM defined as spice

2013-02-03 Thread Gianluca Cecchi
Hello,
I have a Windows XP VM  in 3.2 beta defined as spice.

If I want to connect from a client that only has vnc (a Mac for
example) how can I do from User Portal?
Even if the VM is powered off then I power it on, on the right I see
only spice as an option...
Does the user need any special right?
And if I select run once form user portal and select vnc then it tries
to fire up spice protocol and if I click on "..." icon, only spice is
present and selected...

Any pre-requisite on engine/node/vm/client?

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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Matt .
Hi,

I have it working again.

It had something todo with the 36:36 permissions indeed and a restart of
NFS on the Node.

Thanks!


2013/2/3 Gianluca Cecchi 

> On Sun, Feb 3, 2013 at 5:24 PM, Matt .  wrote:
> > OK, thanks!
> >
> > So you don't have local storage on a KVM node, so not the management
> server.
> >
> > I would like to have this again and I think I need to setup an export
> with
> > NFS.
>
> My vdsm node is a server with 5x146Gb sas disks configured in RAID5,
> so that the OS sees a disk with about 580Gb.
> Fedora 18 installation configured a big /home filesystem on that disk,
> and it is ok for me to use as a base for local storage domain.
> I created /home/LDATA, gave it the right permissions and pointed to
> that for local storage domain
>
> On the same server, with different DCs configured in web admin gui (so
> that I attach the host to one or another DC depending on what testing)
> I plan to test also
>
> - iSCSI pointing to a iSCSI target in sw with CentOS 6.3 VM (on
> another standalone fedora server)
> - iSCSI pointing to an equallogic storage array
>
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 5:24 PM, Matt .  wrote:
> OK, thanks!
>
> So you don't have local storage on a KVM node, so not the management server.
>
> I would like to have this again and I think I need to setup an export with
> NFS.

My vdsm node is a server with 5x146Gb sas disks configured in RAID5,
so that the OS sees a disk with about 580Gb.
Fedora 18 installation configured a big /home filesystem on that disk,
and it is ok for me to use as a base for local storage domain.
I created /home/LDATA, gave it the right permissions and pointed to
that for local storage domain

On the same server, with different DCs configured in web admin gui (so
that I attach the host to one or another DC depending on what testing)
I plan to test also

- iSCSI pointing to a iSCSI target in sw with CentOS 6.3 VM (on
another standalone fedora server)
- iSCSI pointing to an equallogic storage array

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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Matt .
OK, thanks!

So you don't have local storage on a KVM node, so not the management server.

I would like to have this again and I think I need to setup an export with
NFS.




2013/2/3 Gianluca Cecchi 

> On Sun, Feb 3, 2013 at 3:42 PM, Matt . wrote:
> > This is strange than.
> >
> > When I configure local storage from the hosts tab, I get a new DC and
> > Cluster added.
> >
> > When I add the local storage from the storage tab I cannot add it also.
> >
> > What is the idea about the local storage ? I cannot remeber from 3.1 at
> the
> > moment but I thought I always added it as NFS share on the Host itself.
>
> I don't know for 3.1, but in my 3.2 beta with an ISO DOMAIN (exported
> by the engine server) and a local domain under /home/LDATA (only /home
> is a mount point by itself)
>
> I have this
>
> df -h
> ...
> /dev/mapper/fedora_f18ovn03-home  456G  205M  432G   1% /home
> f18engine.localdomain.local:/ISO   45G  9.9G   33G  24%
> /rhev/data-center/mnt/f18engine.localdomain.local:_ISO
>
> mount
> ...
> /dev/mapper/fedora_f18ovn03-home on /home type ext4
> (rw,relatime,seclabel,data=ordered)
> f18engine.localdomain.local:/ISO on
> /rhev/data-center/mnt/f18engine.localdomain.local:_ISO type nfs
>
> (rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=192.168.1.111,mountvers=3,mountport=20048,mountproto=udp,local_lock=none,addr=192.168.1.111)
>
> [root@f18ovn03 ~]# ll /home/LDATA/
> total 4
> drwxr-xr-x. 5 vdsm kvm 4096 Feb  1 23:02
> a5c8c654-7c47-4ca5-b440-5cbf92d3fc7d
>
> [root@f18ovn03 ~]# ll /home/LDATA/a5c8c654-7c47-4ca5-b440-5cbf92d3fc7d/
> total 12
> drwxr-xr-x. 2 vdsm kvm 4096 Feb  3 16:59 dom_md
> drwxr-xr-x. 3 vdsm kvm 4096 Feb  1 23:53 images
> drwxr-xr-x. 4 vdsm kvm 4096 Feb  1 23:02 master
>
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM migrations failing

2013-02-03 Thread Martin Kletzander
On 02/03/2013 08:40 AM, Dan Kenigsberg wrote:
> On Fri, Feb 01, 2013 at 11:44:08PM +0100, Martin Kletzander wrote:
>> On 02/01/2013 09:29 PM, Dead Horse wrote:
>>> To test further I loaded up two more identical servers with EL 6.3 and the
>>> same package versions originally indicated. The difference here is that I
>>> did not turn these into ovirt nodes. EG: installing VDSM.
>>>
>>> - All configurations were left at defaults on both servers
>>> - iptables and selinux disabled on both servers
>>> - verified full connectivty between both servers
>>> - setup ssh (/root/authorized keys) between the servers --> this turned out
>>> to be the key!
>>>
>>> Then using syntax found here:
>>> http://libvirt.org/migration.html#flowpeer2peer
>>> EG: From the source server I issued the following:
>>>
>>
>> So your client equals to the source server, that makes us sure that the
>> connection is made on the same network for p2p and non-p2p migration.
>>
>>> virsh migrate --p2p sl63 qemu+ssh://192.168.1.2/system
>>>
>>
>> You're using ssh transport here, but isn't vdsm using tcp or tls?
> 
> It is!
> 

So then testing it with '+ssh' does not help much.  But at least we know
the addresses are reachable.

>> According to the config file tcp transport is enabled with no
>> authentication whatsoever...
>>
>>> It fails in exactly the same way as previously indicated when the
>>> destination server does not have an ssh rsa pub ID from the source system
>>> in it's /root/.ssh/authorized_keys file.
>>> However once the ssh rsa pub ID is in place on the destination system all
>>> is well and migrations work as expected.
>>>
>>
>> ..., which would mean you need no ssh keys when migrating using tcp
>> transport instead.
>>
>> Also during p2p migration the source libvirt daemon can't ask you for
>> the password, but when not using p2p the client is connecting to the
>> destination, thus being able to ask for the password and/or use
>> different ssh keys.
>>
>> But it looks like none of this has anything to do with the problem as:
>>
>>  1) as you found out, changing vdsm versions makes the problem go
>> away/appear and
> 
> I've missed this point. Which version of vdsm makes it go away?
> 

Sorry, I've got it stuck in my head that part of the thread was about
it, but when going through the mail now it makes less sense than before.
 I probably understood that from [1] and maybe some other sentence that
mixed in my head, but was related to the ssh migration.

Sorry for that,
Martin

[1] http://www.mail-archive.com/users@ovirt.org/msg06105.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Dan Kenigsberg
On Sun, Feb 03, 2013 at 04:55:11PM +0100, Gianluca Cecchi wrote:
> On Sun, Feb 3, 2013 at 2:40 PM, Dan Kenigsberg wrote:
> >
> > I see that /proc/cpuinfo DOES have svm, but libvirt does not recognize
> > it. Maybe our friendly libvirt developers (CCed) could help with the
> > debugging. Which version of libvirt are you using? Could you dump
> > your /proc/cpuinfo somewhere?
> >
> > Dan.
> 
> libvirt-0.10.2.2-3.fc18.x86_64
> 
> full cpuinfo output here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvMUVkNWp0SC11MTQ/edit?usp=sharing
> 

I suppose that the problem you are seeing is indeed the libvirt issue
pointed out by Kaul.

> BTW: when I configure a server as an oVirt node its libvirtd.conf is
> modified by vdsm, so that I can't run anymore the command
> 
> virsh capabilities
> 
> My host, after successfully install now gives me:
> 
> [root@f18ovn03 ~]# virsh capabilities
> Please enter your authentication name:
> 
> do I have to pass any particular connection parameters for vdsm to get
> the output again? What to use as authentication name and password?

You can pass -r (read-only), or use `-c qemu+tcp://hostname/system`. Not
that the latter option would allow you to change things under the feet
of oVirt, which does not end well usually.

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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 3:42 PM, Matt . wrote:
> This is strange than.
>
> When I configure local storage from the hosts tab, I get a new DC and
> Cluster added.
>
> When I add the local storage from the storage tab I cannot add it also.
>
> What is the idea about the local storage ? I cannot remeber from 3.1 at the
> moment but I thought I always added it as NFS share on the Host itself.

I don't know for 3.1, but in my 3.2 beta with an ISO DOMAIN (exported
by the engine server) and a local domain under /home/LDATA (only /home
is a mount point by itself)

I have this

df -h
...
/dev/mapper/fedora_f18ovn03-home  456G  205M  432G   1% /home
f18engine.localdomain.local:/ISO   45G  9.9G   33G  24%
/rhev/data-center/mnt/f18engine.localdomain.local:_ISO

mount
...
/dev/mapper/fedora_f18ovn03-home on /home type ext4
(rw,relatime,seclabel,data=ordered)
f18engine.localdomain.local:/ISO on
/rhev/data-center/mnt/f18engine.localdomain.local:_ISO type nfs
(rw,relatime,vers=3,rsize=524288,wsize=524288,namlen=255,soft,nosharecache,proto=tcp,timeo=600,retrans=6,sec=sys,mountaddr=192.168.1.111,mountvers=3,mountport=20048,mountproto=udp,local_lock=none,addr=192.168.1.111)

[root@f18ovn03 ~]# ll /home/LDATA/
total 4
drwxr-xr-x. 5 vdsm kvm 4096 Feb  1 23:02 a5c8c654-7c47-4ca5-b440-5cbf92d3fc7d

[root@f18ovn03 ~]# ll /home/LDATA/a5c8c654-7c47-4ca5-b440-5cbf92d3fc7d/
total 12
drwxr-xr-x. 2 vdsm kvm 4096 Feb  3 16:59 dom_md
drwxr-xr-x. 3 vdsm kvm 4096 Feb  1 23:53 images
drwxr-xr-x. 4 vdsm kvm 4096 Feb  1 23:02 master

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


Re: [Users] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Joop
Gianluca Cecchi  wrote:

>[root@f18ovn03 ~]# virsh capabilities
>Please enter your authentication name:
>
>do I have to pass any particular connection parameters for vdsm to get
>the output again? What to use as authentication name and password?
>
If I'm right it is vdsm@ovirt and the passwd is in libvirt.conf, or try google. 
Can't remember at the moment. I have it somewhere written down but can access 
it tomorrow .

Joop


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 2:40 PM, Dan Kenigsberg wrote:
>
> I see that /proc/cpuinfo DOES have svm, but libvirt does not recognize
> it. Maybe our friendly libvirt developers (CCed) could help with the
> debugging. Which version of libvirt are you using? Could you dump
> your /proc/cpuinfo somewhere?
>
> Dan.

libvirt-0.10.2.2-3.fc18.x86_64

full cpuinfo output here:
https://docs.google.com/file/d/0BwoPbcrMv8mvMUVkNWp0SC11MTQ/edit?usp=sharing

BTW: when I configure a server as an oVirt node its libvirtd.conf is
modified by vdsm, so that I can't run anymore the command

virsh capabilities

My host, after successfully install now gives me:

[root@f18ovn03 ~]# virsh capabilities
Please enter your authentication name:

do I have to pass any particular connection parameters for vdsm to get
the output again? What to use as authentication name and password?

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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Matt .
This is strange than.

When I configure local storage from the hosts tab, I get a new DC and
Cluster added.

When I add the local storage from the storage tab I cannot add it also.

What is the idea about the local storage ? I cannot remeber from 3.1 at the
moment but I thought I always added it as NFS share on the Host itself.


2013/2/3 Gianluca Cecchi 

> On Sun, Feb 3, 2013 at 2:25 PM, Dafna Ron  wrote:
> > nothing changed.
> > you can create local storage from the hosts tab or from the storage tab,
> > but you still need to create the directory in the host and change the
> > permissions to 36:36
> >
> > from the error you are getting there is no directory or permissions are
> > not 36:36
> >
> >
>
> I had the same error a few days ago on 3.2 beta and I confirm that
> after creating the directory and setting permissions I was able to add
> a local_on_host storage domain
> HIH,
> Gianluca
> ___
> 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.2 testday

2013-02-03 Thread Moran Goldboim

removing non-relevant list.

On 02/03/2013 03:37 PM, Moran Goldboim wrote:

Thanks for all the ones participating this day.
we would like to get some feedback from you after testing this beta 
version.

how do you feel with respect to:
-stability - basic flows
-new features
-blocker bugs (should be added to this version tracker [1])

[1] https://bugzilla.redhat.com/show_bug.cgi?id=881006


Thanks,
Moran.
___
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] 3.2 beta: Amd Opteron 6174 wrongly detected as 8 socket

2013-02-03 Thread Yaniv Kaul

On 03/02/13 15:43, Gianluca Cecchi wrote:

On Sun, Feb 3, 2013 at 2:08 PM, Yaniv Kaul  wrote:

It's a libvirt issue.
See http://www.redhat.com/archives/libvir-list/2012-November/msg00365.html
Y.


- Original Message -

Hello,
after deploy of a node that has 4 sockets with 12cores each, it is
wrongly detected in web admin gui.
See:
https://docs.google.com/file/d/0BwoPbcrMv8mvdjdYNjVfT2NWY0U/edit

It says 8 sockets each with 6 cores

Do you know if there is a package for Fedora 18 to test or if I have
to explicitly create a bugzilla for it?
Gianluca


I did not see it in 
http://koji.fedoraproject.org/koji/packageinfo?packageID=91 .

Y.

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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 2:25 PM, Dafna Ron  wrote:
> nothing changed.
> you can create local storage from the hosts tab or from the storage tab,
> but you still need to create the directory in the host and change the
> permissions to 36:36
>
> from the error you are getting there is no directory or permissions are
> not 36:36
>
>

I had the same error a few days ago on 3.2 beta and I confirm that
after creating the directory and setting permissions I was able to add
a local_on_host storage domain
HIH,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta: Amd Opteron 6174 wrongly detected as 8 socket

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 2:08 PM, Yaniv Kaul  wrote:
> It's a libvirt issue.
> See http://www.redhat.com/archives/libvir-list/2012-November/msg00365.html
> Y.
>
>
> - Original Message -
>> Hello,
>> after deploy of a node that has 4 sockets with 12cores each, it is
>> wrongly detected in web admin gui.
>> See:
>> https://docs.google.com/file/d/0BwoPbcrMv8mvdjdYNjVfT2NWY0U/edit
>>
>> It says 8 sockets each with 6 cores

Do you know if there is a package for Fedora 18 to test or if I have
to explicitly create a bugzilla for it?
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Dan Kenigsberg
On Sun, Feb 03, 2013 at 12:57:29PM +0100, Gianluca Cecchi wrote:
> On Sun, Feb 3, 2013 at 11:54 AM, Dan Kenigsberg  wrote:
> > On Thu, Jan 31, 2013 at 12:57:38PM +0100, Gianluca Cecchi wrote:
> >> Output of command
> >> # virsh capabilities
> >> on this host
> >>
> >> https://docs.google.com/file/d/0BwoPbcrMv8mveG5OaVBZN1VENlU/edit
> >
> > I, and list archive viewers, prefer in-lining such output. It seems to be
> > lacking "svm" - could it be that you need to enable it in BIOS?
> >
> >   
> > 44454c4c-5600-1059-8047-cac04f4e344a
> > 
> >   x86_64
> >   Opteron_G3
> >   AMD
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> >   
> > 
> 
> 
> Hi Dan,
> keep in mind that my error was to point in webadmin gui to an ip that
> was not the one of the intended node...
> 
> but this
> virsh capabilities
> command was indeed run on the Opteron node (that I was able to
> activate when using right ip in webadmin...)
> 
> Indeed this thing that connecting to the node and running this command
> I didn't see the "svm" flag was one that contributed in my not being
> aware of my first time error
> But as you saw in another mail of this thread, the host has
> virtualization feature enabled in bios. Screenshots' links of bios
> settings posted here:
> http://lists.ovirt.org/pipermail/users/2013-January/011976.html
> 
> As I wrote in another thread related to the same host, it is indeed
> not well identified:
> http://lists.ovirt.org/pipermail/users/2013-January/011997.html
> 
> it appears as 8-sockets 6-cores while it actually has 4-sockets 12-core each
> screenshot of host in gui already posted is anyway here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvdjdYNjVfT2NWY0U/edit
> 
> I'm available to further debug if requested...

I see that /proc/cpuinfo DOES have svm, but libvirt does not recognize
it. Maybe our friendly libvirt developers (CCed) could help with the
debugging. Which version of libvirt are you using? Could you dump
your /proc/cpuinfo somewhere?

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


[Users] oVirt 3.2 testday

2013-02-03 Thread Moran Goldboim

Thanks for all the ones participating this day.
we would like to get some feedback from you after testing this beta version.
how do you feel with respect to:
-stability - basic flows
-new features
-blocker bugs (should be added to this version tracker [1])

[1] https://bugzilla.redhat.com/show_bug.cgi?id=881006


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


Re: [Users] Cannot add local storage on 3.2

2013-02-03 Thread Dafna Ron
nothing changed.
you can create local storage from the hosts tab or from the storage tab,
but you still need to create the directory in the host and change the
permissions to 36:36

from the error you are getting there is no directory or permissions are
not 36:36




On 02/03/2013 03:16 PM, Matt . wrote:
> Hi All,
>
> I have made a successfull install of 3.2 but there seems to be changed
> a lot about local storage comparing to 3.1
>
> When I want to add storage on a local host there is a Datacenter and
> Cluster created for this Host, named by the name of the host. After
> this, the local storage is not available and I'm not able to add extra
> also.
>
> I have looked at "adding a new storage domains" and when I select my
> host I still need to set my path, but I did this already by
> configuring local storage before.
>
> The message I receive while configuring the local storage is:
>
> error cannot add storage. internal error storage connection doesn't exist
>
> What goes wrong here ? This was much easier on 3.1!
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users


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


[Users] Cannot add local storage on 3.2

2013-02-03 Thread Matt .
Hi All,

I have made a successfull install of 3.2 but there seems to be changed a
lot about local storage comparing to 3.1

When I want to add storage on a local host there is a Datacenter and
Cluster created for this Host, named by the name of the host. After this,
the local storage is not available and I'm not able to add extra also.

I have looked at "adding a new storage domains" and when I select my host I
still need to set my path, but I did this already by configuring local
storage before.

The message I receive while configuring the local storage is:

error cannot add storage. internal error storage connection doesn't exist

What goes wrong here ? This was much easier on 3.1!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.2 beta: Amd Opteron 6174 wrongly detected as 8 socket

2013-02-03 Thread Yaniv Kaul
It's a libvirt issue.
See http://www.redhat.com/archives/libvir-list/2012-November/msg00365.html
Y.


- Original Message -
> Hello,
> after deploy of a node that has 4 sockets with 12cores each, it is
> wrongly detected in web admin gui.
> See:
> https://docs.google.com/file/d/0BwoPbcrMv8mvdjdYNjVfT2NWY0U/edit
> 
> It says 8 sockets each with 6 cores
> 
> Output of
> # virsh capabilities
> 
> here:
> https://docs.google.com/file/d/0BwoPbcrMv8mveG5OaVBZN1VENlU/edit
> 
> output of cpuid here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvUFFRYkZEX0lmRG8/edit
> 
> also run this
> [root@f18ovn03 ~]#  vdsClient -s 0 getVdsCaps
> HBAInventory = {'iSCSI': [{'InitiatorName':
> 'iqn.1994-05.com.redhat:f9baf5a8f6c3'}], 'FC': []}
> ISCSIInitiatorName = iqn.1994-05.com.redhat:f9baf5a8f6c3
> bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
> 'netmask':
> '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr':
> '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr':
> '00:00:00:00:00:00'}}
> bridges = {'ovirtmgmt': {'addr': '192.168.1.102', 'cfg': {'DOMAIN':
> 'localdomain.local', 'UUID': '60d40d4a-d8ab-4f5b-bd48-2e807df36be4',
> 'DNS3': '82.113.193.3', 'IPADDR0': '192.168.1.102', 'DNS1':
> '192.168.1.103', 'PREFIX0': '24', 'DEFROUTE': 'yes',
> 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0', 'NM_CONTROLLED': 'no',
> 'BOOTPROTO': 'none', 'GATEWAY0': '192.168.1.1', 'DNS2': '8.8.8.8',
> 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes', 'IPV6INIT':
> 'no'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off',
> 'ports': ['em1']}}
> clusterLevels = ['3.0', '3.1', '3.2']
> cpuCores = 48
> cpuFlags =
> fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,mmx,fxsr,sse,sse2,ht,syscall,nx,mmxext,fxsr_opt,pdpe1gb,rdtscp,lm,3dnowext,3dnow,constant_tsc,rep_good,nopl,nonstop_tsc,extd_apicid,amd_dcm,pni,monitor,cx16,popcnt,lahf_lm,cmp_legacy,svm,extapic,cr8_legacy,abm,sse4a,misalignsse,3dnowprefetch,osvw,ibs,skinit,wdt,nodeid_msr,hw_pstate,npt,lbrv,svm_lock,nrip_save,pausefilter,model_athlon,model_Opteron_G3,model_Opteron_G1,model_phenom,model_Opteron_G2
> cpuModel = AMD Opteron(tm) Processor 6174
> cpuSockets = 8
> cpuSpeed = 800.000
> cpuThreads = 48
> emulatedMachines = ['pc-1.2', 'none', 'pc', 'pc-1.1', 'pc-1.0',
> 'pc-0.15', 'pc-0.14', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10',
> 'isapc', 'pc-1.2', 'none', 'pc', 'pc-1.1', 'pc-1.0', 'pc-0.15',
> 'pc-0.14', 'pc-0.13', 'pc-0.12', 'pc-0.11', 'pc-0.10', 'isapc']
> guestOverhead = 65
> hooks = {}
> kvmEnabled = true
> lastClient = 192.168.1.111
> lastClientIface = ovirtmgmt
> management_ip =
> memSize = 64418
> netConfigDirty = False
> networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
> '192.168.1.102', 'cfg': {'DOMAIN': 'localdomain.local', 'UUID':
> '60d40d4a-d8ab-4f5b-bd48-2e807df36be4', 'DNS3': '82.113.193.3',
> 'IPADDR0': '192.168.1.102', 'DNS1': '192.168.1.103', 'PREFIX0': '24',
> 'DEFROUTE': 'yes', 'IPV4_FAILURE_FATAL': 'no', 'DELAY': '0',
> 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'none', 'GATEWAY0':
> '192.168.1.1',
> 'DNS2': '8.8.8.8', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT':
> 'yes', 'IPV6INIT': 'no'}, 'mtu': '1500', 'netmask': '255.255.255.0',
> 'stp': 'off', 'bridged': True, 'gateway': '0.0.0.0', 'ports':
> ['em1']}}
> nics = {'em4': {'addr': '', 'cfg': {'PEERROUTES': 'yes', 'UUID':
> 'bed68125-4345-4995-ba49-a6e5580c58dd', 'NAME': 'em4', 'TYPE':
> 'Ethernet', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'PEERDNS':
> 'yes', 'IPV4_FAILURE_FATAL': 'no', 'HWADDR': '00:25:64:F9:76:82',
> 'BOOTPROTO': 'dhcp', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL':
> 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE': 'yes', 'ONBOOT':
> 'yes', 'IPV6INIT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
> '00:25:64:f9:76:82', 'speed': 0}, 'em1': {'addr': '', 'cfg':
> {'BRIDGE': 'ovirtmgmt', 'DOMAIN': 'localdomain.local', 'DEVICE':
> 'em1', 'UUID': '60d40d4a-d8ab-4f5b-bd48-2e807df36be4', 'DNS3':
> '82.113.193.3', 'IPADDR0': '192.168.1.102', 'DNS1': '192.168.1.103',
> 'PREFIX0': '24', 'DEFROUTE': 'yes', 'IPV4_FAILURE_FATAL': 'no',
> 'NM_CONTROLLED': 'no', 'GATEWAY0': '192.168.1.1', 'DNS2': '8.8.8.8',
> 'HWADDR': '00:25:64:f9:76:7c', 'ONBOOT': 'yes', 'IPV6INIT': 'no'},
> 'mtu': '1500', 'netmask': '', 'hwaddr': '00:25:64:f9:76:7c', 'speed':
> 1000}, 'em3': {'addr': '', 'cfg': {'PEERROUTES': 'yes', 'UUID':
> '2984885c-fbd8-4ad1-a393-00f0a205ae79', 'NAME': 'em3', 'TYPE':
> 'Ethernet', 'IPV6_PEERDNS': 'yes', 'DEFROUTE': 'yes', 'PEERDNS':
> 'yes', 'IPV4_FAILURE_FATAL': 'no', 'HWADDR': '00:25:64:F9:76:80',
> 'BOOTPROTO': 'dhcp', 'IPV6_AUTOCONF': 'yes', 'IPV6_FAILURE_FATAL':
> 'no', 'IPV6_PEERROUTES': 'yes', 'IPV6_DEFROUTE': 'yes', 'ONBOOT':
> 'yes', 'IPV6INIT': 'yes'}, 'mtu': '1500', 'netmask': '', 'hwaddr':
> '00:25:64:f9:76:80', 'speed': 0}, 'em2': {'addr': '', 'cfg':
> {'PEERROUTES': 'yes', 'UUID': 'ebd889bc-57ae-4ee9-8db2-4595309ee81c',
> 'NAME': 'em2', 'TYPE': 'Ethernet', 'IPV6_PEERDNS': 'yes', 'DEFROUTE':

Re: [Users] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Gianluca Cecchi
On Sun, Feb 3, 2013 at 11:54 AM, Dan Kenigsberg  wrote:
> On Thu, Jan 31, 2013 at 12:57:38PM +0100, Gianluca Cecchi wrote:
>> Output of command
>> # virsh capabilities
>> on this host
>>
>> https://docs.google.com/file/d/0BwoPbcrMv8mveG5OaVBZN1VENlU/edit
>
> I, and list archive viewers, prefer in-lining such output. It seems to be
> lacking "svm" - could it be that you need to enable it in BIOS?
>
>   
> 44454c4c-5600-1059-8047-cac04f4e344a
> 
>   x86_64
>   Opteron_G3
>   AMD
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
>   
> 


Hi Dan,
keep in mind that my error was to point in webadmin gui to an ip that
was not the one of the intended node...

but this
virsh capabilities
command was indeed run on the Opteron node (that I was able to
activate when using right ip in webadmin...)

Indeed this thing that connecting to the node and running this command
I didn't see the "svm" flag was one that contributed in my not being
aware of my first time error
But as you saw in another mail of this thread, the host has
virtualization feature enabled in bios. Screenshots' links of bios
settings posted here:
http://lists.ovirt.org/pipermail/users/2013-January/011976.html

As I wrote in another thread related to the same host, it is indeed
not well identified:
http://lists.ovirt.org/pipermail/users/2013-January/011997.html

it appears as 8-sockets 6-cores while it actually has 4-sockets 12-core each
screenshot of host in gui already posted is anyway here:
https://docs.google.com/file/d/0BwoPbcrMv8mvdjdYNjVfT2NWY0U/edit

I'm available to further debug if requested...

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


Re: [Users] Problems with upgrade to 3.3 nightly

2013-02-03 Thread Eli Mesika


- Original Message -
> From: "Gianluca Cecchi" 
> To: "users" 
> Sent: Saturday, February 2, 2013 3:02:10 PM
> Subject: [Users] Problems with upgrade to 3.3 nightly
> 
> Hello,
> passing from an all-in-one setup based on F18 and nightly:
> ovirt-engine-setup-plugin-allinone-3.2.0-1.20130125.git032a91f.fc18.noarch
> 
> to the proposed new nightly I get these errors:
> 
> [root@tekkaman ~]# engine-upgrade
> 
> Checking for updates... (This may take several minutes)...[ DONE ]
> 9 Updates available:
>  *
>  ovirt-engine-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  ovirt-engine-backend-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  ovirt-engine-config-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  
> ovirt-engine-dbscripts-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  
> ovirt-engine-notification-service-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  ovirt-engine-restapi-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  
> ovirt-engine-tools-common-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  
> ovirt-engine-userportal-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
>  *
>  
> ovirt-engine-webadmin-portal-3.3.0-0.1.20130201070537.20130201.git357cdaa.fc18.noarch
> 
> During the upgrade process, oVirt Engine  will not be accessible.
> All existing running virtual machines will continue but you will not
> be able to
> start or stop any new virtual machines during the process.
> 
> Would you like to proceed? (yes|no): yes
> Stopping ovirt-engine service...[ DONE ]
> Stopping DB related services... [ DONE ]
> Starting DB related services... [ DONE ]
> Starting ovirt-engine service...[ DONE ]
> [Errno 8] Exec format error
> Error: Upgrade failed.
> please check log at
> /var/log/ovirt-engine/ovirt-engine-upgrade_2013_02_02_13_05_15.log
> 
> Is this expected and I have to start from clean environment or should
> the upgrade go ok?

CC Alex L
Alex, it fails in the zombieTasksFound() in engine-upgrade, please take a look


> 
> engine-upgrade log here:
> https://docs.google.com/file/d/0BwoPbcrMv8mvU2ZYX3lOV2V3Tkk/edit?usp=sharing
> 
> Gianluca
> ___
> 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] 3.2 beta and f18 host on dell R815 problem

2013-02-03 Thread Dan Kenigsberg
On Thu, Jan 31, 2013 at 12:57:38PM +0100, Gianluca Cecchi wrote:
> Output of command
> # virsh capabilities
> on this host
> 
> https://docs.google.com/file/d/0BwoPbcrMv8mveG5OaVBZN1VENlU/edit

I, and list archive viewers, prefer in-lining such output. It seems to be
lacking "svm" - could it be that you need to enable it in BIOS?

  
44454c4c-5600-1059-8047-cac04f4e344a

  x86_64
  Opteron_G3
  AMD
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  
  

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