Re: [Users] disable ballooning mode

2012-03-22 Thread Michal Kopacki
On Wed, 21 Mar 2012 10:52:08 -0400
Omer Frenkel ofren...@redhat.com wrote:

 
 
 - Original Message -
  From: Andrew Cathrow acath...@redhat.com
  To: Michal Kopacki mkopa...@gmail.com
  Cc: users@ovirt.org
  Sent: Wednesday, March 21, 2012 3:08:35 PM
  Subject: Re: [Users] disable ballooning mode
  
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: Andrew Cathrow acath...@redhat.com
   Cc: users@ovirt.org
   Sent: Wednesday, March 21, 2012 9:05:33 AM
   Subject: Re: [Users] disable ballooning mode
   
   On Wed, 21 Mar 2012 08:12:45 -0400
   Andrew Cathrow acath...@redhat.com wrote:
   


- Original Message -
 From: Michal Kopacki mkopa...@gmail.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 21, 2012 8:08:53 AM
 Subject: Re: [Users] disable ballooning mode
 
 On Wed, 21 Mar 2012 07:51:45 -0400
 Andrew Cathrow acath...@redhat.com wrote:
 
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, March 21, 2012 3:59:00 AM
   Subject: [Users] disable ballooning mode
   
   I'm trying to get virtual windows and specific software on
   it
   working.
   Windows is working fine but i'm getting blue screen when
   trying
   to
   start this particular application (which works fine in
   vmware).
   I figureout that there could be some kind of problem with
   memory.
  
  what makes you think it's memory?
 
 
   a hunch ?

It's not ballooning - it's not configured. It's unlikely to be
memory
related. What's the application?
   
   
  Yes, I just realized that ballooning is not configured (during
  windows ballooning driver installation).
   
  Mentioned application is a software for switching voip calls.
  There
  is a bunch of helper appliactions (which are working fine),
  problem
  is with main application server/deamon. It is develop internaly
  by
  company I work for.
   
  We use this applications on many physical and wirtual servers
  (including kvm and xen on different hosting providers) and
   never see
  such behave as on ovirt.
  
  oVirt is using KVM under the covers.
  What version of KVM have you tried it on and how is it configured
  (eg. libvirt xml or qemu command line)
  
 
 just guessing here,
 maybe related to the type of the vm' nic?


   It also crossed my mind, but no. I did try virtio/ide and virtio/rtl
   - same result

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


Re: [Users] CLI: can't attach storagedomain

2012-03-22 Thread Omer Frenkel


- Original Message -
 From: David Li david...@sbcglobal.net
 To: Omer Frenkel ofren...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 21, 2012 6:39:23 PM
 Subject: Re: [Users] CLI: can't attach storagedomain
 
 yeah, I am a little confused by the CLI syntax. maybe that's the
 problem. so i
 tried to create a new data domain like the followings:
 
 [oVirt shell (connected)]# create storagedomain --name
 fc16-lid-engine_data-domain --host-id
 bcb946e8-72b9-11e1-8c2b-000c29bf47ca
 --type data --storage-type nfs --storage-address 10.10.2.187
 --storage-path /home/lid2/workspace/ovirt/storagedomain/data-domain
 unknown error:
 status: 400
 reason: Bad Request
 detail: [Cannot connect server to Storage.  ]
 
 No luck here either.
 

can you paste the relevant lines from engine.log?
my guess is problem with the permissions on this directory (should be for 
vdsm:kvm), but not sure.

 
 
 
 
 - Original Message 
 From: Omer Frenkel ofren...@redhat.com
 To: David Li david...@sbcglobal.net
 Cc: users@ovirt.org
 Sent: Wed, March 21, 2012 8:22:59 AM
 Subject: Re: [Users] CLI: can't attach storagedomain
 
 
 
 - Original Message -
  From: David Li david...@sbcglobal.net
  To: Omer Frenkel ofren...@redhat.com
  Cc: users@ovirt.org
  Sent: Wednesday, March 21, 2012 5:10:26 PM
  Subject: Re: [Users] CLI: can't attach storagedomain
  
  Omer,
  
  Here is my storagedomain and datacenter info.
  
  [oVirt shell (connected)]# list datacenters --show-all
  
  id  :
  ac2690e4-72b2-11e1-882d-000c29bf47ca
  name: Default
  description : The default Data Center
  status-state: uninitialized
 
 the DC is in 'uninitialized' status, means no domains are attached to
 it.
 you first need to attach a Data storage domain, only then you can
 attach
 non-data domains (ISO, export)
 
  storage_type: nfs
  supported_versions-version-major: 3
  supported_versions-version-minor: 0
  version-major   : 3
  version-minor   : 0
  
  
  [oVirt shell (connected)]# list storagedomains
  datacenter  kwargs  show-all
  [oVirt shell (connected)]# list storagedomains --show-all
  
  id : 27dfd13e-aec4-4708-b0e3-a7f4143a118b
  name   : fc16-lid-engine_iso-domain
  available  : 0
  committed  : 0
  master : False
  status-state   : unattached
  storage-address: fc16-lid-engine.srv.cloudshield.com
  storage-path   :
  /home/lid2/workspace/ovirt/storagedomain/iso-domain
  storage-type   : nfs
  storage_format : v1
  type   : iso
  used   : 0
  
  
  
  
  
  
  - Original Message 
  From: Omer Frenkel ofren...@redhat.com
  To: David Li david...@sbcglobal.net
  Cc: users@ovirt.org
  Sent: Wed, March 21, 2012 7:44:28 AM
  Subject: Re: [Users] CLI: can't attach storagedomain
  
  
  
  - Original Message -
   From: David Li david...@sbcglobal.net
   To: users@ovirt.org
   Sent: Wednesday, March 21, 2012 4:14:11 PM
   Subject: [Users] CLI: can't attach storagedomain
   
   Hi,
   I have an iso domain created during engine setup. But I can't
   attach
   it to the
   datacenter in cli.
   
   oVirt shell (connected)]# create storagedomain --name
   fc16-lid-engine_iso-domain --datacenter-identifier
   ac2690e4-72b2-11e1-882d-000c29bf47ca
   unknown error:
   status: 400
   reason: Bad Request
   detail: [Cannot attach Storage Domain.]
   
   
   Any ideas?
  
  what is the status of the DC you are trying to attach this domain?
  first domain attached to a DC should be data domain, to function as
  master
  storage domain.
  
   ___
   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] disable ballooning mode

2012-03-22 Thread Andrew Cathrow


- Original Message -
 From: Michal Kopacki mkopa...@gmail.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, March 22, 2012 4:26:10 AM
 Subject: Re: [Users] disable ballooning mode
 
 On Wed, 21 Mar 2012 09:08:35 -0400
 Andrew Cathrow acath...@redhat.com wrote:
 
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: Andrew Cathrow acath...@redhat.com
   Cc: users@ovirt.org
   Sent: Wednesday, March 21, 2012 9:05:33 AM
   Subject: Re: [Users] disable ballooning mode
   
   On Wed, 21 Mar 2012 08:12:45 -0400
   Andrew Cathrow acath...@redhat.com wrote:
   


- Original Message -
 From: Michal Kopacki mkopa...@gmail.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Wednesday, March 21, 2012 8:08:53 AM
 Subject: Re: [Users] disable ballooning mode
 
 On Wed, 21 Mar 2012 07:51:45 -0400
 Andrew Cathrow acath...@redhat.com wrote:
 
  
  
  - Original Message -
   From: Michal Kopacki mkopa...@gmail.com
   To: users@ovirt.org
   Sent: Wednesday, March 21, 2012 3:59:00 AM
   Subject: [Users] disable ballooning mode
   
   I'm trying to get virtual windows and specific software
   on
   it working.
   Windows is working fine but i'm getting blue screen when
   trying
   to
   start this particular application (which works fine in
   vmware).
   I figureout that there could be some kind of problem with
   memory.
  
  what makes you think it's memory?
 
 
   a hunch ?

It's not ballooning - it's not configured. It's unlikely to be
memory
related. What's the application?
   
   
  Yes, I just realized that ballooning is not configured (during
  windows ballooning driver installation).
   
  Mentioned application is a software for switching voip calls.
  There
  is a bunch of helper appliactions (which are working fine),
  problem
  is with main application server/deamon. It is develop
  internaly
   by company I work for.
   
  We use this applications on many physical and wirtual servers
  (including kvm and xen on different hosting providers) and
  never
  see
  such behave as on ovirt.
  
  oVirt is using KVM under the covers.
 
 Yes, I'm aware of that. It's the reason I choose ovirt.
 
  What version of KVM have you tried it on and how is it configured
  (eg. libvirt xml or qemu command line)
 
I can't say. We use hosted environment with web panel
only (elastichosts.com)
 
I will try to start the same machine on different host with
clean
libvirt.

I'd try combinations of virtio-net -vs- emulated rtl driver and virtio-blk -vs- 
ide

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


Re: [Users] Passing a hint/message to a VM when it boots

2012-03-22 Thread Kyrre Begnum

Hi,
yes, using a kernel boot option would be nice, and there is an option 
for it in Ovirt, but I am not getting it to work. When i want to 
specify  a boot parameter, I also have to specify a kernel path. When i 
specify the internal kernel, the VM fails to boot. Is this supposed to 
be an external kernel ( like paravirtualized Xen? )


On 03/16/2012 11:11 PM, Itamar Heim wrote:

On 03/16/2012 03:05 PM, Kyrre Begnum wrote:

Hello,

when creating a new VM from a template, i'd like to pass a hint of some
sort ( perhaps a hostname ) to it so that the internal config managment
system can do the rest of the setup. This should also be programmable
via the REST API, as I want to use it for automated deployments.

Has anyone had success doing this with Ovirt? i can only see two
approaches:

- Put the hint in a floppy / iso and mount it on the VM.
- Hardcode a MAC address and let a DHCP server provide the hostname


did you try the kernel boot options?



Both of these do not seem very optimal to me. I'd appreciate some
thoughts from the community on how to proceed.

Thanks in advance,
k
___
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] Question on configuring local storage on oVirt Node

2012-03-22 Thread Hans Lellelid
Hi folks -

I hope this is the right place for this question; I have tried to Google
this but in general haven't been able to find much in the way of docs
outside of the main installation guide.

In aforementioned guide there are instructions for configuring local-only
storage on oVirt Node machines:

On a oVirt Node host, set up the path for the local storage as
/data/images. This is the only path
permitted for a oVirt Node. On a Red Hat Enterprise Linux host other paths
are supported but the
directories to support it must be manually created first.

I'm probably missing something, but it's unclear to me how to create this
local storage mountpoint on that host.  (I don't see anything in the Node
TUI.)  I tried simply specifying /data/images in the hopes that it was
automatically created, but the Admin console just spun indefinitely
(eventually refreshing the page revealed that the store was note created).

I'm currently rebuilding that Node as a F16+VDSM box instead -- so I can
get in there and set this up manually (is there a way to get into schell on
oVirt Nodes and mess with the [F16-based?] OS?)

Any guidance greatly appreciated.

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


[Users] rename the storage by error

2012-03-22 Thread Franck Meignen

Hi everyone,

I got an issue with the storage on my Ovirt lab.
I have a Ovirt manager (fedora16) and a host (ovirt node 2.2.3) on a HP 
server, my storage called vmstore was created with good rights 
vsdm:kvm on my ovirt manager's local drive.
But i made an error, ovirt was running and i've rename with mv command 
the uid folder inside vmstore folder to an other folder called temp, 
i've delete the vmstore folder, re create it, and move the uid folder 
to the vmstore folder re created with good rights.
Now i've got a inactive storage, impossible to change anything, i can 
create new storage but i can't activate it.


Is anyone got an idea? i can do anything esle on my ovirt lab.

This is my log file content :

14:47:06,206 INFO  
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-80) hostFromVds::selectedVds - 
ovirt01.test.xxx.org, spmStatus Unknown_Pool, storage pool Default
14:47:06,210 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(QuartzScheduler_Worker-80) START, ConnectStoragePoolVDSCommand(vdsId = 
efc4ae4c-5ca2-11e1-83fd-525400e94a18, storagePoolId = 
508bacfc-5c9f-11e1-b1c0-525400e94a18, vds_spm_id = 1, masterDomainId = 
e1b14c8a-30ed-41b7-a00c-93fb33eede67, masterVersion = 1), log id: 54faf3ac
14:47:06,254 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand] 
(QuartzScheduler_Worker-80) FINISH, ConnectStoragePoolVDSCommand, log 
id: 54faf3ac
14:47:06,255 INFO  
[org.ovirt.engine.core.utils.transaction.TransactionSupport] 
(QuartzScheduler_Worker-80) transaction rolled back
14:47:06,256 ERROR 
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] 
(QuartzScheduler_Worker-80) IrsBroker::Failed::GetStoragePoolInfoVDS due 
to: IRSNonOperationalException: IRSGenericException: IRSErrorException: 
IRSNonOperationalException: Could not connect host to Data 
Center(Storage issue)


Best regards.

Franck

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


[Users] Virtual Disk creation - really slow (config issue?) e.g 20GB disk created in 23 mins - NFS server/Gigabit switch - can anyone suggest why speed is so slow ? (at this rate it would take 1hr 40

2012-03-22 Thread Morgan Cox
Hi.

After my many issues with spice I have finally sorted them out.

Now I am having an issue with the speed of virtual disk creation - when I
go to create a virtual disk it takes a long time (far to long to be usable)

My setup is as following

3 servers:-

1 Frontend (ovirt engine) - Fedora 16- external + local IP
(91.215.xxx.xx + 10.0.0.10)
1 Ovirt node (using the node .iso)   - external + local IP (ovirtmgmt
(eth0) - 91.215.xxx.xxx  and LAN (eth1) - 10.0.0.101)
1 NFS storage - external + local IP - I attached the storage using the
Local IP (10.0.0.190)

All servers are connected via a Gigabit switch (so speed should be better)

I can scp between servers far faster - I'm almost sure its due to the
node ovirtmgmt
address being an external (internet ip) and not LAN ip. - therefore the
traffic is not just going over the gigabit switch but via the core router
in the DC...

Can anyone suggest how I can 'debug' where the slowness is coming from

On my NFS server I have it setup like (in /etc/exports)

/storage1   *(rw,sync,no_subtree_check)

I had previous tried setting up the node on a LAN IP previously and it
caused spice to not work - as the node had no internet access / DNS - I
also tried making the frontend server a gateway (and using -  iptables -t
nat -A POSTROUTING -j MASQUERADE ) - this also cause spice to not work (as
it always tried to connect to the 10.0.0.x address from my desktop - and
fail..)

Any hints/help will be welcomed

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


Re: [Users] Question on configuring local storage on oVirt Node

2012-03-22 Thread Hans Lellelid

  I'm probably missing something, but it's unclear to me how to create
  this local storage mountpoint on that host.  (I don't see anything in
  the Node TUI.)  I tried simply specifying /data/images in the hopes
  that it was automatically created, but the Admin console just spun
  indefinitely (eventually refreshing the page revealed that the store
  was note created).
 
 
  I'm currently rebuilding that Node as a F16+VDSM box instead -- so I
  can get in there and set this up manually (is there a way to get into
  schell on oVirt Nodes and mess with the [F16-based?] OS?)

 You can drop to the shell using F2 and create the directory that way.


Thanks, that's really helpful.  I'm sure it was mentioned somewhere, but I
was trying different consoles with root etc. and unsure on how to get to
the terminal.


 IMO, since we restrict the location you can create a local data store,
 we should automatically create that when configuring the local
 datastore.

 We can't actually pre-create the directory since it's a mounted
 filesystem, but it might be possible to do it at installation or boot
 time.  The right place is in vdsm when it's trying to create the local
 data store.


So, after initially attempting to just create the directory and being
told it was a read-only filesystem, I did a little more investigation and
realized that the Data volume (in /dev/HostVG) was simply not mounted.  I
mounted this with the command:

mount /dev/HostVG/Data /data

And now I have a /data/images directory (as well as /data/core).  I'm not
entirely sure why this wasn't mounted since I see it in /etc/fstab.  In
fact, when I discovered it was in /etc/fstab, I tried just

mount /data

And that also worked just fine.  So puzzled that thsi was not mounted when
the system booted up.  Maybe I missed an error message, but dmesg isn't
saying anything obvious (not sure if that's where I'd see mount errors or
not).  Maybe this is a known issue.

Thanks again for the help -- this definitely got me moving in the right
direction.  Hopefully I'm moments away from being able to get that first VM
running.

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


Re: [Users] Question on configuring local storage on oVirt Node

2012-03-22 Thread Mike Burns
On Thu, 2012-03-22 at 15:43 -0400, Hans Lellelid wrote:
  I'm probably missing something, but it's unclear to me how
 to create
  this local storage mountpoint on that host.  (I don't see
 anything in
  the Node TUI.)  I tried simply specifying /data/images in
 the hopes
  that it was automatically created, but the Admin console
 just spun
  indefinitely (eventually refreshing the page revealed that
 the store
  was note created).
 
 
  I'm currently rebuilding that Node as a F16+VDSM box instead
 -- so I
  can get in there and set this up manually (is there a way to
 get into
  schell on oVirt Nodes and mess with the [F16-based?] OS?)
 
 
 You can drop to the shell using F2 and create the directory
 that way.
 
 
 
 Thanks, that's really helpful.  I'm sure it was mentioned somewhere,
 but I was trying different consoles with root etc. and unsure on how
 to get to the terminal.
  
 IMO, since we restrict the location you can create a local
 data store,
 we should automatically create that when configuring the local
 datastore.
 
 We can't actually pre-create the directory since it's a
 mounted
 filesystem, but it might be possible to do it at installation
 or boot
 time.  The right place is in vdsm when it's trying to create
 the local
 data store.
 
 
 
 So, after initially attempting to just create the directory and
 being told it was a read-only filesystem, I did a little more
 investigation and realized that the Data volume (in /dev/HostVG) was
 simply not mounted.  I mounted this with the command:
 
 
 mount /dev/HostVG/Data /data
 
 
 And now I have a /data/images directory (as well as /data/core).  I'm
 not entirely sure why this wasn't mounted since I see it
 in /etc/fstab.  In fact, when I discovered it was in /etc/fstab, I
 tried just
 
 
 mount /data
 
 
 And that also worked just fine.  So puzzled that thsi was not mounted
 when the system booted up.  Maybe I missed an error message, but dmesg
 isn't saying anything obvious (not sure if that's where I'd see mount
 errors or not).  Maybe this is a known issue.

I had heard this from a couple people previously, but it always seemed
to present as a one off problem.  We've managed to reproduce it
consistently, so it seems that it's a legitimate problem that we need to
fix.

Thanks

Mike
 
 
 Thanks again for the help -- this definitely got me moving in the
 right direction.  Hopefully I'm moments away from being able to get
 that first VM running.
 
 
 Thanks,
 Hans


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