Re: [Users] can not use a standard data domain

2012-03-13 Thread Moran Goldboim


On 03/12/2012 07:47 PM, Dominic Kaiser wrote:
I noticed permisions on files in the that folder are saying group # 96 
what is the 96 group and should it be kvm?  On the /mnt folder should 
the files read owner:vdsm group:kvm on all files?




Yes, user and group should be vdsm:kvm (36:36) on all /rhev tree.
Moran.


Dominic

On Mon, Mar 12, 2012 at 10:49 AM, Dominic Kaiser 
domi...@bostonvineyard.org mailto:domi...@bostonvineyard.org wrote:


Hello Moran,

Thanks for responding.

Here is output you asked for and I have selinux disabled on this host:

ls -lZh c10c25e0-526a-11e1-a5e4-87fa674ffb5d/
lrwxrwxrwx vdsm kvm ?  
 095fcd9d-6203-496f-b254-7a9eafaa8ac2 -


/rhev/data-center/mnt/10.3.0.248:_mnt_mainstorage_mainstorage_MainStorage_ISO/095fcd9d-6203-496f-b254-7a9eafaa8ac2
lrwxrwxrwx vdsm kvm ?  
 14308dd8-1fd1-452c-a288-2f975ef31de1 -


/rhev/data-center/mnt/_var_lib_vdsm_storage/14308dd8-1fd1-452c-a288-2f975ef31de1
lrwxrwxrwx vdsm kvm ?  
 340dad49-2ec7-475e-b6c6-668504bdb5b1 -


/rhev/data-center/mnt/10.3.0.248:_mnt_mainstorage_mainstorage_MainStorage_MS/340dad49-2ec7-475e-b6c6-668504bdb5b1
lrwxrwxrwx vdsm kvm ?  
 651cb693-3ffa-43b6-ab49-43cfb03d179b -


/rhev/data-center/mnt/ruth.bostonvineyard.org:_mnt_ruthstorage1_mainstorage_data/651cb693-3ffa-43b6-ab49-43cfb03d179b
lrwxrwxrwx vdsm kvm ?  
 bcc2d564-2daa-45ae-990b-0d27a17e47e0 -


/rhev/data-center/mnt/10.3.0.248:_mnt_mainstorage_mainstorage_MainStorage_Export/bcc2d564-2daa-45ae-990b-0d27a17e47e0
lrwxrwxrwx vdsm kvm ?mastersd -

/rhev/data-center/mnt/10.3.0.248:_mnt_mainstorage_mainstorage_MainStorage_MS/340dad49-2ec7-475e-b6c6-668504bdb5b1

The one I am having the problem with is the one in red.  It is an
openfiler server called ruth.  I can add it just fine create disks
but cannot start a VM.  It is weird.  Again it is a NFS datacenter
this is a data domain not master data domain.

Thanks,

Dominic


On Sun, Mar 11, 2012 at 4:20 AM, Moran Goldboim
mgold...@redhat.com mailto:mgold...@redhat.com wrote:

On 03/10/2012 01:26 AM, Dominic Kaiser wrote:

Here is the error I am getting:

VM fs1 is down. Exit message internal error process exited
while connecting to monitor: qemu-kvm: -drive

file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09,if=none,id=drive-virtio-disk0,format=raw,serial=81-9f1f-f78c88b2f96e,cache=none,werror=stop,rerror=stop,aio=threads:
could not open disk image

/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09:
Permission denied .

I can add the domain fine.  it is not the master domain and
it is another node. I can create virtual disks but cannot
start vm's.  I saw a post on google that mentions nfs=0 not
nfs=1 i think it was in /usr/sbin/senforce maybe?  Does
anyone recollect this problem and can help me?  Again this is
on a separate node and is a standard data domain  not master.

Thanks,

-- 
Dominic Kaiser

Greater Boston Vineyard
Director of Operations

cell: 617-230-1412 tel:617-230-1412
fax: 617-252-0238 tel:617-252-0238
email: domi...@bostonvineyard.org
mailto:domi...@bostonvineyard.org



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

Dominic, sounds like you have some permission problem with the
image, can you try with selinux in permissive mode -
/usr/sbin/setenforce 0
can you please add the output of ls -lZh

/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09

Moran.




-- 
Dominic Kaiser

Greater Boston Vineyard
Director of Operations

cell: 617-230-1412 tel:617-230-1412
fax: 617-252-0238 tel:617-252-0238
email: domi...@bostonvineyard.org mailto:domi...@bostonvineyard.org





--
Dominic Kaiser
Greater Boston Vineyard
Director of Operations

cell: 617-230-1412
fax: 617-252-0238
email: domi...@bostonvineyard.org mailto:domi...@bostonvineyard.org




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


Re: [Users] engine-setup fails in database creation

2012-03-13 Thread Elias Abacioglu
Ok, it worked better. Except now in the ovirt-engine web portal, when
trying to add a host. It does not allow me to use CentOS as host.
Failed to install Host virtual.unixwarez.net. Step: INSTALLER; Details:
Unsupported platform: CentOS.

It's almost like someone doesn't want this to work on anything other than
Fedora :(

2012/3/12 Elias Abacioglu elias.r...@gmail.com

 Sure I can try to do that..


 2012/3/12 Ofer Schreiber oschr...@redhat.com

 It's probably a bug in the EL support (systemd vs. sysV init scripts).
 iirc, this was already fixed in master.

 What about trying to build rpms from git (master branch)?

 --

 1. yes.
 2. CentOS 6.2.
 3. 3.0.0_0001. Basically I took the
 ovirt-engine-3.0.0_0001-1.6.fc16.src.rpm and rebuilt it for CentOS 6.2.

 If this don't work I'm going to try the RPMS at
 http://www.dreyou.org/ovirt/ which is also built for EL6.
 But it feels kind of strange that it can't create the DB.


 2012/3/12 Ofer Schreiber oschr...@redhat.com

 few questions:
 1. Does /sbin/service postgresql works for you?
 2. Which OS are you using?
 3. Which version of ovirt-engine?

 Thanks,
 Ofer.

 --

 Yes I tried to install that date. And that is from the beginning of the
 file.

 I have a log from Friday as well.

 # cat postgresql-Fri.log
 LOG:  database system was shut down at 2012-03-09 15:43:14 CET
 LOG:  database system is ready to accept connections
 LOG:  autovacuum launcher started
 ERROR:  database engine does not exist
 STATEMENT:  DROP DATABASE engine;

 WARNING:  nonstandard use of escape in a string literal at character 46
 HINT:  Use the escape string syntax for escapes, e.g., E'\r\n'.
 WARNING:  column status has type unknown
 DETAIL:  Proceeding with relation creation anyway.
 WARNING:  column owner has type unknown
 DETAIL:  Proceeding with relation creation anyway.
 WARNING:  column storage_pool_id has type unknown
 DETAIL:  Proceeding with relation creation anyway.
 WARNING:  column storage_pool_name has type unknown
 DETAIL:  Proceeding with relation creation anyway.


 Also I just ran a engine-cleanup and check what was added to todays log.
 Then I did a engine-setup. All it did was that it added one line
 FATAL:  database engine does not exist to the log.

 /Raboo

 2012/3/11 Yair Zaslavsky yzasl...@redhat.com

 On 03/11/2012 09:32 PM, Elias Abacioglu wrote:
 
  2012/3/11 Yair Zaslavsky yzasl...@redhat.com mailto:
 yzasl...@redhat.com
 
  On 03/11/2012 05:48 PM, Elias Abacioglu wrote:
   Den den 11 mars 2012 16:40:06 skrev Yair Zaslavsky:
   On 03/11/2012 05:24 PM, Elias Abacioglu wrote:
   Hi,
  
   I can postgresql is running and I can access it using psql -U
  postgres
  
   What happens when you type psql engine postgres ?
   psql: FATAL:  database engine does not exist
  Ok, postgres service is up, but something went wrong in the
 creation.
 
  Can you please provide the postgres log?
  It should be located at
 
  /var/lib/pgsql/data/pg_log/postgresql-Sun.log (if you tried
 installing
  it today).
 
  Please notice that on my environment this directory is accessible
 from
  root (and not my regular user).
 
 
  Here is the log from yesterday.
 
  LOG:  received fast shutdown request
  LOG:  aborting any active transactions
  LOG:  autovacuum launcher shutting down
  LOG:  shutting down
  LOG:  database system is shut down
  LOG:  database system was shut down at 2012-03-10 12:44:46 CET
  LOG:  autovacuum launcher started
  LOG:  database system is ready to accept connections
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  LOG:  received fast shutdown request
  LOG:  aborting any active transactions
  LOG:  autovacuum launcher shutting down
  LOG:  shutting down
  LOG:  database system is shut down
  LOG:  database system was shut down at 2012-03-10 14:29:30 CET
  LOG:  autovacuum launcher started
  LOG:  database system is ready to accept connections
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
  FATAL:  database engine does not exist
 
 
  Also it contains many more 'FATAL:  database engine does not exist'.
  Almost 70.000.

 Thanks for the log,
 Is this the date when you installed? Are these the first entries you
 have in the log?




 ___
 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] Fwd: Re: installing ovirt engine on CentOS

2012-03-13 Thread Elias Abacioglu
I was able to get a successful installation of ovirt-engine on CentOS 6.2
with the latest git master of ovirt-engine.
But problem is, when i try to add same server as vdsm node(host).
it does a bunch of installation stuff, then it reboots.

After reboot i get a lot of these in /var/log/messages:

Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning
Mar 13 11:05:56 virtual init: libvirtd main process (13353) terminated with
status 1
Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning
Mar 13 11:05:56 virtual init: libvirtd main process (13360) terminated with
status 1
Mar 13 11:05:56 virtual init: libvirtd respawning too fast, stopped
Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too
quickly, respawning slave
Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too
quickly, respawning slave

After that ovirt portal doesn't work.

2012/3/12 Randy Evans randy.ev...@consumertesting.com

 **
 Thank you very much!

 Randy

  --
 *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
 Behalf Of *Elias Abacioglu
 *Sent:* Sunday, March 11, 2012 1:44 PM
 *To:* users
 *Subject:* [Users] Fwd: Re: installing ovirt engine on CentOS

 FYI, there is a repo for CentOS 6.
 http://www.dreyou.org/ovirt/



  Ursprungligt meddelande   Ämne: Re: [Users] installing
 ovirt engine on CentOS Datum: Sat, 10 Mar 2012 19:28:46 +0530 Från: kumar
 shantanu k.shantanu2...@gmail.com k.shantanu2...@gmail.com Till: Elias
 Abacioglu elias.r...@gmail.com elias.r...@gmail.com

 Just wanted to share this.
 All who want ovirt to be install centos6, here is good link,
 http://www.dreyou.org/ovirt/

 Thank you.

 On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu elias.r...@gmail.comwrote:

 I was able solve it.

 I will share the rpms as soon as i get the installation working.



 Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:

 I have gotten to this point during the RPM build process:

 [INFO]
 
 [ERROR] FATAL ERROR
 [INFO]
 
 [INFO] org.apache.maven.shared.io
 .location.ArtifactLocatorStrategy.init(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
 [INFO]
 
 [INFO] Trace
 java.lang.NoSuchMethodError: org.apache.maven.shared.io
 .location.ArtifactLocatorStrategy.init(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
at org.apache.maven.plugin.assembly.io
 .DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102)
at
 org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296)
at
 org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at
 org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at
 org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at
 org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
 [INFO]
 
 [INFO] Total time: 1 minute 47 seconds
 [INFO] Finished at: Fri Mar 09 12:50:16 CET 2012
 [INFO] Final Memory: 237M/834M
 [INFO]
 

Re: [Users] Fwd: Re: installing ovirt engine on CentOS

2012-03-13 Thread Itamar Heim

On 03/13/2012 12:13 PM, Elias Abacioglu wrote:

I was able to get a successful installation of ovirt-engine on CentOS
6.2 with the latest git master of ovirt-engine.
But problem is, when i try to add same server as vdsm node(host).


there is still some work needed to allow using same host for both.
please use different hosts for now.


it does a bunch of installation stuff, then it reboots.

After reboot i get a lot of these in /var/log/messages:

Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning
Mar 13 11:05:56 virtual init: libvirtd main process (13353) terminated
with status 1
Mar 13 11:05:56 virtual init: libvirtd main process ended, respawning
Mar 13 11:05:56 virtual init: libvirtd main process (13360) terminated
with status 1
Mar 13 11:05:56 virtual init: libvirtd respawning too fast, stopped
Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too
quickly, respawning slave
Mar 13 11:05:57 virtual respawn: slave '/usr/share/vdsm/vdsm' died too
quickly, respawning slave

After that ovirt portal doesn't work.

2012/3/12 Randy Evans randy.ev...@consumertesting.com
mailto:randy.ev...@consumertesting.com

__
Thank you very much!
Randy


*From:* users-boun...@ovirt.org mailto:users-boun...@ovirt.org
[mailto:users-boun...@ovirt.org mailto:users-boun...@ovirt.org]
*On Behalf Of *Elias Abacioglu
*Sent:* Sunday, March 11, 2012 1:44 PM
*To:* users
*Subject:* [Users] Fwd: Re: installing ovirt engine on CentOS

FYI, there is a repo for CentOS 6.
http://www.dreyou.org/ovirt/



 Ursprungligt meddelande 
Ämne:   Re: [Users] installing ovirt engine on CentOS
Datum:  Sat, 10 Mar 2012 19:28:46 +0530
Från:   kumar shantanu k.shantanu2...@gmail.com
mailto:k.shantanu2...@gmail.com
Till:   Elias Abacioglu elias.r...@gmail.com
mailto:elias.r...@gmail.com



Just wanted to share this.
All who want ovirt to be install centos6, here is good link,
http://www.dreyou.org/ovirt/

Thank you.

On Sat, Mar 10, 2012 at 6:52 PM, Elias Abacioglu
elias.r...@gmail.com mailto:elias.r...@gmail.com wrote:

I was able solve it.

I will share the rpms as soon as i get the installation working.



Den den 9 mars 2012 13:56:48 skrev Elias Abacioglu:

I have gotten to this point during the RPM build process:

[INFO]


[ERROR] FATAL ERROR
[INFO]


[INFO] org.apache.maven.shared.io

http://org.apache.maven.shared.io.location.ArtifactLocatorStrategy.init(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
[INFO]


[INFO] Trace
java.lang.NoSuchMethodError: org.apache.maven.shared.io

http://org.apache.maven.shared.io.location.ArtifactLocatorStrategy.init(Lorg/apache/maven/artifact/factory/ArtifactFactory;Lorg/apache/maven/artifact/resolver/ArtifactResolver;Lorg/apache/maven/artifact/repository/ArtifactRepository;Ljava/util/List;Ljava/lang/String;Ljava/lang/String;)V
at org.apache.maven.plugin.assembly.io

http://assembly.io.DefaultAssemblyReader.readAssemblies(DefaultAssemblyReader.java:102)
at

org.apache.maven.plugin.assembly.mojos.AbstractAssemblyMojo.execute(AbstractAssemblyMojo.java:296)
at

org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
at

org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
at
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)

Re: [Users] Unable to import template across DC

2012-03-13 Thread Itamar Heim

On 03/12/2012 11:05 AM, Deepak C Shetty wrote:

Hi,
I have 2 DC's, nfs based and localfs based.

On the nfs dc:
1) I created a nfs export domain, and exported the VM template (
precreated) to my nfs export domain

2) I detached the export domain from nfs dc

On the localfs dc:
1) I attached the export domain to the localfs dc

2) When i select export-domain on the Storage tab, under Details -
template-import, i see the
template, but i don't see any option of import there. Basically cannot
import the template.

3) When i go to Template tab, the template is seen, but under Cluster
column, it still shows
the nfs-cluster to which it belongs, not to the localfs cluster. When i
try to edit the template,
it does not allow me to select the DC, its disabled/greyed and stays as
nfs-dc. So even if the template
is seen under localfs dc, i cannot use it to create a VM

4) When i try to create a new server / desktop VM, only when i select
nfsdc, i get the option of selecting my template, if i select localfs
dc, my template is not seen in the drop down box

So unable to use the template to create a new VM in the destination dc.


you can't import the template to same engine more today. you need this 
implemented first to support re-importing same tempalte and creating new 
identifiers for the entities.

http://www.ovirt.org/wiki/Features/ImportMoreThanOnce

workarounds until then (involve more IO):
the image-uploader has logic to do this as well, may worth looking at
you can also create a VM from the template, create a new template from 
it, then export, delete, import.


yes, ugly, hence the feature page above to fix it.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Help on oVirt basic question

2012-03-13 Thread Itamar Heim

On 03/09/2012 07:35 AM, aru mon wrote:

Hi Team,

As per the discussion, I have tried to install ovirt on the below
specification but still failing.

OS= RHEL6.1
JDK= 1.6
Maven = 2.2

When i am trying to build ovirt engine every time it is failing on the
below error. It is also showing md5 mismatch as well.

[DEBUG] Source roots:
[DEBUG]
/apps/ovirt-engine/frontend/webadmin/modules/gwt-extension/src/main/java
[INFO] Compiling 7 source files to
/apps/ovirt-engine/frontend/webadmin/modules/gwt-extension/target/classes
[INFO]

[ERROR] BUILD FAILURE
[INFO]

[INFO] Compilation failure
*error: error reading
/home/ovirt/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar;
error in opening zip file*

[INFO]

[DEBUG] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading
/home/ovirt/.m2/repository/com/google/gwt/gwt-dev/2.3.0/gwt-dev-2.3.0.jar;
error in opening zip file


something bad in the download? delete it so maven will re-fetch?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to import template across DC

2012-03-13 Thread Keith Robertson

On 03/13/2012 06:53 AM, Itamar Heim wrote:

On 03/12/2012 11:05 AM, Deepak C Shetty wrote:

Hi,
I have 2 DC's, nfs based and localfs based.

On the nfs dc:
1) I created a nfs export domain, and exported the VM template (
precreated) to my nfs export domain

2) I detached the export domain from nfs dc

On the localfs dc:
1) I attached the export domain to the localfs dc

2) When i select export-domain on the Storage tab, under Details -
template-import, i see the
template, but i don't see any option of import there. Basically cannot
import the template.

3) When i go to Template tab, the template is seen, but under Cluster
column, it still shows
the nfs-cluster to which it belongs, not to the localfs cluster. When i
try to edit the template,
it does not allow me to select the DC, its disabled/greyed and stays as
nfs-dc. So even if the template
is seen under localfs dc, i cannot use it to create a VM

4) When i try to create a new server / desktop VM, only when i select
nfsdc, i get the option of selecting my template, if i select localfs
dc, my template is not seen in the drop down box

So unable to use the template to create a new VM in the destination dc.


you can't import the template to same engine more today. you need this 
implemented first to support re-importing same tempalte and creating 
new identifiers for the entities.

http://www.ovirt.org/wiki/Features/ImportMoreThanOnce

workarounds until then (involve more IO):
the image-uploader has logic to do this as well, may worth looking at
you can also create a VM from the template, create a new template from 
it, then export, delete, import.
Yes, the image uploader can do this.  If you're interested please try 
the new GIT repo [1].


Also, the manpage has some instructions for creating an OVF image from 
an exported template.


[1] If you want to use the *new* stuff do this...
1. git clone http://gerrit.ovirt.org/p/ovirt-image-uploader
2. git fetch http://gerrit.ovirt.org/p/ovirt-image-uploader 
refs/changes/55/2755/1  git cherry-pick FETCH_HEAD

3. cd ovirt-image-uploader
4. export APP_VERSION=1.0.0; export APP_RELEASE=1
5. make
6. you're done




yes, ugly, hence the feature page above to fix it.
___
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] ovirt-engine-sdk-1.6.1-1 released

2012-03-13 Thread Michael Pasternak

tarballs available at: http://www.ovirt.org/releases/nightly/src/
rpms available at: http://www.ovirt.org/releases/nightly/fedora/16/

change log:
==

- rebase to latest api
  - refactored storage.create() parameters sets
  - added documentation for UPDATE methods arguments
  - added vm.delete(Action) signature, to force vm removal
  - implemented support for collection based actions
  - added setupnetworks action on collection of HostNics
  - added prestarted_vms property to vmpool
  - added 'reboot' property in host (used to disable reboot after installation)
  - added 'plugged' property in vm disk (to plug/unplug the disk)
- implement support for documentation of nested collection based args
- refactor documentation for collection based arguments
- implement support for collection based parameters
- implement url matrix parameters support
- Cluster with NULL DC cannot be attached to DC #782828
- use secured connection if no protocol specified
- add documentation for api proxy arguments
- add debugging capabilities



-- 

Michael Pasternak
RedHat, ENG-Virtualization RD
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Messaoud Benantar
Hi everyone,
   i am using the vmanager's 3.0 Rest API.
 have created a VM from an existing template (using http POST) and been 
trying to find a way to set the VMs ip address
with no success. I tried supplying the ip address in the guest_info 
element during VM creation as in:
  guest_info
ips
ip address=x.x.x.x/
/ips
/guest_info

But the created VM ends up with the same ip address as that in the 
template. 

Anyone attempted to do something similar ? Is there another way of doing 
it. I tried the nics API but there seem to be no interface
to modify a nic's ip address.

Thank you.


Regards,
Messaoud Benantar
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Andrew Cathrow


- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: users@ovirt.org
 Sent: Tuesday, March 13, 2012 12:13:25 PM
 Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 Hi everyone,
 i am using the vmanager's 3.0 Rest API.
 have created a VM from an existing template (using http POST) and
 been trying to find a way to set the VMs ip address
 with no success. I tried supplying the ip address in the guest_info
 element during VM creation as in:
 guest_info
 ips
 ip address=x.x.x.x/
 /ips
 /guest_info

That's a read only property that shows the IP address of the virtual machine 
reported by the in-guest agent.

There's discussion going on about how we pass a payload to a VM that can handle 
things like in-guest configuration

http://www.ovirt.org/wiki/Features/VMPayload

 
 But the created VM ends up with the same ip address as that in the
 template.
 
 Anyone attempted to do something similar ? Is there another way of
 doing it. I tried the nics API but there seem to be no interface
 to modify a nic's ip address.
 
 Thank you.
 
 
 Regards,
 Messaoud Benantar
 
 ___
 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 not use a standard data domain

2012-03-13 Thread Dominic Kaiser
Just so you know I have solved the issue.  So it is file permissions on the
openfiler server.  This is openfiler 2.3.  For some reason on the openfiler
server node  the file permissions where still ofguest:ofguest.  When
ovirt connects to a data node that is NFS is it suppose to change the
permissions on that server automatically?  If it is it might be a bug.
 This again is a NFS Domain datacenter.  Using hardware based Openfiler
nodes.  I will try adding another openfiler node to see if the same thing
happens.  Also has anyone else experienced this also?

Let me know if you have any thoughts,

Dominic

On Tue, Mar 13, 2012 at 5:35 AM, Moran Goldboim mgold...@redhat.com wrote:

 **

 On 03/12/2012 07:47 PM, Dominic Kaiser wrote:

 I noticed permisions on files in the that folder are saying group # 96
 what is the 96 group and should it be kvm?  On the /mnt folder should the
 files read owner:vdsm group:kvm on all files?


 Yes, user and group should be vdsm:kvm (36:36) on all /rhev tree.
 Moran.


  Dominic

 On Mon, Mar 12, 2012 at 10:49 AM, Dominic Kaiser 
 domi...@bostonvineyard.org wrote:

 Hello Moran,

  Thanks for responding.

  Here is output you asked for and I have selinux disabled on this host:

  ls -lZh c10c25e0-526a-11e1-a5e4-87fa674ffb5d/
 lrwxrwxrwx vdsm kvm ?
  095fcd9d-6203-496f-b254-7a9eafaa8ac2 - /rhev/data-center/mnt/10.3.0.248:
 _mnt_mainstorage_mainstorage_MainStorage_ISO/095fcd9d-6203-496f-b254-7a9eafaa8ac2
 lrwxrwxrwx vdsm kvm ?
  14308dd8-1fd1-452c-a288-2f975ef31de1 -
 /rhev/data-center/mnt/_var_lib_vdsm_storage/14308dd8-1fd1-452c-a288-2f975ef31de1
 lrwxrwxrwx vdsm kvm ?
  340dad49-2ec7-475e-b6c6-668504bdb5b1 - /rhev/data-center/mnt/10.3.0.248:
 _mnt_mainstorage_mainstorage_MainStorage_MS/340dad49-2ec7-475e-b6c6-668504bdb5b1
 lrwxrwxrwx vdsm kvm ?
  651cb693-3ffa-43b6-ab49-43cfb03d179b -
 /rhev/data-center/mnt/ruth.bostonvineyard.org:
 _mnt_ruthstorage1_mainstorage_data/651cb693-3ffa-43b6-ab49-43cfb03d179b
 lrwxrwxrwx vdsm kvm ?
  bcc2d564-2daa-45ae-990b-0d27a17e47e0 - /rhev/data-center/mnt/10.3.0.248:
 _mnt_mainstorage_mainstorage_MainStorage_Export/bcc2d564-2daa-45ae-990b-0d27a17e47e0
 lrwxrwxrwx vdsm kvm ?mastersd -
 /rhev/data-center/mnt/10.3.0.248:
 _mnt_mainstorage_mainstorage_MainStorage_MS/340dad49-2ec7-475e-b6c6-668504bdb5b1

  The one I am having the problem with is the one in red.  It is an
 openfiler server called ruth.  I can add it just fine create disks but
 cannot start a VM.  It is weird.  Again it is a NFS datacenter this is a
 data domain not master data domain.

  Thanks,

  Dominic


 On Sun, Mar 11, 2012 at 4:20 AM, Moran Goldboim mgold...@redhat.comwrote:

   On 03/10/2012 01:26 AM, Dominic Kaiser wrote:

  Here is the error I am getting:

  VM fs1 is down. Exit message internal error process exited while
 connecting to monitor: qemu-kvm: -drive
 file=/rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09,if=none,id=drive-virtio-disk0,format=raw,serial=81-9f1f-f78c88b2f96e,cache=none,werror=stop,rerror=stop,aio=threads:
 could not open disk image
 /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09:
 Permission denied .

 I can add the domain fine.  it is not the master domain and it is
 another node. I can create virtual disks but cannot start vm's.  I saw a
 post on google that mentions nfs=0 not nfs=1 i think it was in
 /usr/sbin/senforce maybe?  Does anyone recollect this problem and can help
 me?  Again this is on a separate node and is a standard data domain  not
 master.

 Thanks,

 --
 Dominic Kaiser
 Greater Boston Vineyard
 Director of Operations

 cell: 617-230-1412
 fax: 617-252-0238
 email: domi...@bostonvineyard.org



 ___
 Users mailing 
 listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users

  Dominic, sounds like you have some permission problem with the image,
 can you try with selinux in permissive mode - /usr/sbin/setenforce 0
 can you please add the output of ls -lZh
 /rhev/data-center/c10c25e0-526a-11e1-a5e4-87fa674ffb5d/651cb693-3ffa-43b6-ab49-43cfb03d179b/images/7fa8a2e7-214e-4081-9f1f-f78c88b2f96e/49c199b6-cbda-4aa0-9b50-e3dc28341e09

 Moran.




  --
 Dominic Kaiser
 Greater Boston Vineyard
 Director of Operations

 cell: 617-230-1412
 fax: 617-252-0238
 email: domi...@bostonvineyard.org





  --
 Dominic Kaiser
 Greater Boston Vineyard
 Director of Operations

 cell: 617-230-1412
 fax: 617-252-0238
 email: domi...@bostonvineyard.org






-- 
Dominic Kaiser
Greater Boston Vineyard
Director of Operations

cell: 617-230-1412
fax: 617-252-0238
email: domi...@bostonvineyard.org
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Andrew Cathrow
Not today, the guest would usually just pickup from DHCP
But that's the purpose of the VMPayload feature that's being discussed - a way 
to pass arbitrary data/config to the VM

- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 4:02:46 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 Andrew -- thanks for the reply.
 Since guest_info of a vm is not modifiable, is there a way to set
 a VM's IP address.
 This seems like a really needed functionality when provisioning VMs
 through the Rest API.
 
 Regards,
 Messaoud Benantar
 
 
 
 
 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 01:30 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 
 
 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: users@ovirt.org
  Sent: Tuesday, March 13, 2012 12:13:25 PM
  Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
  Hi everyone,
  i am using the vmanager's 3.0 Rest API.
  have created a VM from an existing template (using http POST) and
  been trying to find a way to set the VMs ip address
  with no success. I tried supplying the ip address in the
  guest_info
  element during VM creation as in:
  guest_info
  ips
  ip address=x.x.x.x/
  /ips
  /guest_info
 
 That's a read only property that shows the IP address of the virtual
 machine reported by the in-guest agent.
 
 There's discussion going on about how we pass a payload to a VM that
 can handle things like in-guest configuration
 
 http://www.ovirt.org/wiki/Features/VMPayload
 
  
  But the created VM ends up with the same ip address as that in the
  template.
  
  Anyone attempted to do something similar ? Is there another way of
  doing it. I tried the nics API but there seem to be no interface
  to modify a nic's ip address.
  
  Thank you.
  
  
  Regards,
  Messaoud Benantar
  
  ___
  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] Rest API for vmanager 3.0 (set VM ip address)

2012-03-13 Thread Messaoud Benantar
Andrew -
  Unfortunately in our case we assign ip-addresses from a static 
pool.
So i understand the VMPayload feature will include setting up gues_info 
ip-address, right?
Sorry that i have not read any info regarding this functionality -- when 
will it be available? Thanks.


Regards,
Messaoud Benantar




From:   Andrew Cathrow acath...@redhat.com
To: Messaoud Benantar/Austin/IBM@IBMUS
Cc: users@ovirt.org
Date:   03/13/2012 03:12 PM
Subject:Re: [Users] Rest API for vmanager 3.0 (set VM ip address)



Not today, the guest would usually just pickup from DHCP
But that's the purpose of the VMPayload feature that's being discussed - a 
way to pass arbitrary data/config to the VM

- Original Message -
 From: Messaoud Benantar mbena...@us.ibm.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, March 13, 2012 4:02:46 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 Andrew -- thanks for the reply.
 Since guest_info of a vm is not modifiable, is there a way to set
 a VM's IP address.
 This seems like a really needed functionality when provisioning VMs
 through the Rest API.
 
 Regards,
 Messaoud Benantar
 
 
 
 
 From: Andrew Cathrow acath...@redhat.com
 To: Messaoud Benantar/Austin/IBM@IBMUS
 Cc: users@ovirt.org
 Date: 03/13/2012 01:30 PM
 Subject: Re: [Users] Rest API for vmanager 3.0 (set VM ip address)
 
 
 
 
 
 
 - Original Message -
  From: Messaoud Benantar mbena...@us.ibm.com
  To: users@ovirt.org
  Sent: Tuesday, March 13, 2012 12:13:25 PM
  Subject: [Users] Rest API for vmanager 3.0 (set VM ip address)
  
  
  Hi everyone,
  i am using the vmanager's 3.0 Rest API.
  have created a VM from an existing template (using http POST) and
  been trying to find a way to set the VMs ip address
  with no success. I tried supplying the ip address in the
  guest_info
  element during VM creation as in:
  guest_info
  ips
  ip address=x.x.x.x/
  /ips
  /guest_info
 
 That's a read only property that shows the IP address of the virtual
 machine reported by the in-guest agent.
 
 There's discussion going on about how we pass a payload to a VM that
 can handle things like in-guest configuration
 
 http://www.ovirt.org/wiki/Features/VMPayload
 
  
  But the created VM ends up with the same ip address as that in the
  template.
  
  Anyone attempted to do something similar ? Is there another way of
  doing it. I tried the nics API but there seem to be no interface
  to modify a nic's ip address.
  
  Thank you.
  
  
  Regards,
  Messaoud Benantar
  
  ___
  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