Re: [Users] cant add storage connection via api

2013-09-23 Thread Yuriy Demchenko

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - 
gets http 500 error with java.lang.NullPointerException

java.lang.NullPointerException
 
org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
 
org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:606)
 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
 org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
 org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
 org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
 
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
 
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
 
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
 
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
javax.servlet.http.HttpServlet.service(HttpServlet.java:847)


api page (without ?rsdl) opens just fine.

Feature manage storage connections was mentioned in oVirt-3.3 release 
notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage 
section.


Yuriy Demchenko

On 09/22/2013 11:00 AM, Michael Pasternak wrote:

Hi Yuriy,

please see the correct way of adding new storageconnection at [1], under
link href=/api/storageconnections rel=add section,

also please let us know if you find any inconsistency between the wiki
and rsdl,

regarding the UnmarshalException, i'm not sure this feature got in to the
version you're using,

Ofer, in what release mentioned feature is available?

thanks.

[1] https://ovirt.spb.stone.local/api?rsdl

On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:

Hi,

I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add 
additional target for iscsi domain.
As described here - http://www.ovirt.org/Features/Manage_Storage_Connections , I'm 
trying first to add new connection via restapi, but operation fails with error 
HTTP
Status 400 - javax.xml.bind.UnmarshalException: unexpected element (uri:, 
local:storage_connection)
I'm not very familiar with restapi and maybe doing something wrong, so please 
help me to figure it out.

here's what i put and reply from server:

curl -k -v -u admin@internal:pass -H Content-type: application/xml -d 
'storage_connection
typeiscsi/type
address192.168.221.5/address
port3260/port
targetiqn.2013-09.local.stone.spb:target3.disk/target
/storage_connection' 'https://ovirt.spb.stone.local/api/storageconnections'
* About to connect() to ovirt.spb.stone.local port 443 (#0)
*   Trying 192.168.220.13...
* connected
* Connected to ovirt.spb.stone.local (192.168.220.13) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* warning: ignoring value of ssl.verifyhost
* skipping SSL peer certificate verification
* SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
* Server certificate:
* subject: CN=ovirt.spb.stone.local,O=spb.stone.local,C=US
* start date: Aug 28 09:28:45 2013 GMT
* expire date: Aug 03 09:28:47 2018 GMT
* common name: ovirt.spb.stone.local
* issuer: CN=CA-ovirt.spb.stone.local.95565,O=spb.stone.local,C=US
* Server auth using Basic with user 'admin@internal'

POST /api/storageconnections HTTP/1.1
Authorization: Basic YWRtaW5AaW50ZXJuYWw6bXAyMjFjMg==
User-Agent: curl/7.24.0 (x86_64-redhat-linux-gnu) libcurl/7.24.0 NSS/3.14.3.0 
zlib/1.2.5 libidn/1.24 libssh2/1.4.1
Host: ovirt.spb.stone.local
Accept: */*
Content-type: application/xml
Content-Length: 170


* upload completely sent off: 170 out of 170 bytes
 HTTP/1.1 400 Bad Request
 Date: Wed, 18 Sep 2013 12:05:51 GMT
 Content-Type: text/html;charset=utf-8
 Vary: Accept-Encoding
 Connection: close
 Transfer-Encoding: chunked

htmlheadtitleJBoss Web/7.0.13.Final - Error report/titlestyle!--H1 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2 
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
 H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
 BODY {font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;}
B {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;} P 
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
 {color
: black;}A.name 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Michael Pasternak
On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
 Hi,
 
 url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets 
 http 500 error with java.lang.NullPointerException
 java.lang.NullPointerException
  
 org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
  
 org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:606)
  
 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
  
 org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
  
 org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
  
 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
  
 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  
 org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
  
 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  
 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 
 api page (without ?rsdl) opens just fine.

this is known issue caused by branding infra, i believe it was fixed in the
following release (Alon correct me if i'm wrong)

 
 Feature manage storage connections was mentioned in oVirt-3.3 release notes 
 (http://www.ovirt.org/OVirt_3.3_release_notes), under storage section.

alissa?

 
 Yuriy Demchenko
 
 On 09/22/2013 11:00 AM, Michael Pasternak wrote:
 Hi Yuriy,

 please see the correct way of adding new storageconnection at [1], under
 link href=/api/storageconnections rel=add section,

 also please let us know if you find any inconsistency between the wiki
 and rsdl,

 regarding the UnmarshalException, i'm not sure this feature got in to the
 version you're using,

 Ofer, in what release mentioned feature is available?

 thanks.

 [1] https://ovirt.spb.stone.local/api?rsdl

 On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:
 Hi,

 I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add 
 additional target for iscsi domain.
 As described here - 
 http://www.ovirt.org/Features/Manage_Storage_Connections , I'm trying first 
 to add new connection via restapi, but operation fails with error HTTP
 Status 400 - javax.xml.bind.UnmarshalException: unexpected element (uri:, 
 local:storage_connection)
 I'm not very familiar with restapi and maybe doing something wrong, so 
 please help me to figure it out.

 here's what i put and reply from server:
 curl -k -v -u admin@internal:pass -H Content-type: application/xml -d 
 'storage_connection
 typeiscsi/type
 address192.168.221.5/address
 port3260/port
 targetiqn.2013-09.local.stone.spb:target3.disk/target
 /storage_connection' 
 'https://ovirt.spb.stone.local/api/storageconnections'
 * About to connect() to ovirt.spb.stone.local port 443 (#0)
 *   Trying 192.168.220.13...
 * connected
 * Connected to ovirt.spb.stone.local (192.168.220.13) port 443 (#0)
 * Initializing NSS with certpath: sql:/etc/pki/nssdb
 * warning: ignoring value of ssl.verifyhost
 * skipping SSL peer certificate verification
 * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
 * Server certificate:
 * subject: CN=ovirt.spb.stone.local,O=spb.stone.local,C=US
 * start date: Aug 28 09:28:45 2013 GMT
 * expire date: Aug 03 09:28:47 2018 GMT
 * common name: ovirt.spb.stone.local
 * issuer: CN=CA-ovirt.spb.stone.local.95565,O=spb.stone.local,C=US
 * Server auth using Basic with user 'admin@internal'
 POST /api/storageconnections HTTP/1.1
 Authorization: Basic YWRtaW5AaW50ZXJuYWw6bXAyMjFjMg==
 User-Agent: curl/7.24.0 (x86_64-redhat-linux-gnu) libcurl/7.24.0 
 NSS/3.14.3.0 zlib/1.2.5 libidn/1.24 libssh2/1.4.1
 Host: ovirt.spb.stone.local
 Accept: */*
 Content-type: application/xml
 Content-Length: 170

 * upload completely sent off: 170 out of 170 bytes
  HTTP/1.1 400 Bad Request
  Date: Wed, 18 Sep 2013 12:05:51 GMT
  Content-Type: text/html;charset=utf-8
  Vary: Accept-Encoding
  Connection: close
  Transfer-Encoding: chunked
 
 htmlheadtitleJBoss Web/7.0.13.Final - Error 
 report/titlestyle!--H1 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
 H2 
 {font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
  H3
 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Alissa Bonas


- Original Message -
 From: Michael Pasternak mpast...@redhat.com
 To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas 
 abo...@redhat.com, Alon Bar-Lev
 alo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
 Sent: Monday, September 23, 2013 10:22:49 AM
 Subject: Re: [Users] cant add storage connection via api
 
 On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
  Hi,
  
  url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets
  http 500 error with java.lang.NullPointerException
  java.lang.NullPointerException
   
  org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
   
  org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:606)
   
  org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
   
  org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
   
  org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
   
  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
   
  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
   
  org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
   
  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
   
  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  
  api page (without ?rsdl) opens just fine.
 
 this is known issue caused by branding infra, i believe it was fixed in the
 following release (Alon correct me if i'm wrong)
 
  
  Feature manage storage connections was mentioned in oVirt-3.3 release
  notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
  section.
 
 alissa?

Storage connections management should be part of 3.3.
Yuriy, when did you install the 3.3 and which exact build did you take?
Also, can you access the following url (just a regular GET request) ?
https://ovirt.spb.stone.local/api/storageconnections

  
  Yuriy Demchenko
  
  On 09/22/2013 11:00 AM, Michael Pasternak wrote:
  Hi Yuriy,
 
  please see the correct way of adding new storageconnection at [1], under
  link href=/api/storageconnections rel=add section,
 
  also please let us know if you find any inconsistency between the wiki
  and rsdl,
 
  regarding the UnmarshalException, i'm not sure this feature got in to the
  version you're using,
 
  Ofer, in what release mentioned feature is available?
 
  thanks.
 
  [1] https://ovirt.spb.stone.local/api?rsdl
 
  On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:
  Hi,
 
  I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add
  additional target for iscsi domain.
  As described here -
  http://www.ovirt.org/Features/Manage_Storage_Connections , I'm trying
  first to add new connection via restapi, but operation fails with error
  HTTP
  Status 400 - javax.xml.bind.UnmarshalException: unexpected element
  (uri:, local:storage_connection)
  I'm not very familiar with restapi and maybe doing something wrong, so
  please help me to figure it out.
 
  here's what i put and reply from server:
  curl -k -v -u admin@internal:pass -H Content-type: application/xml
  -d 'storage_connection
  typeiscsi/type
  address192.168.221.5/address
  port3260/port
  targetiqn.2013-09.local.stone.spb:target3.disk/target
  /storage_connection'
  'https://ovirt.spb.stone.local/api/storageconnections'
  * About to connect() to ovirt.spb.stone.local port 443 (#0)
  *   Trying 192.168.220.13...
  * connected
  * Connected to ovirt.spb.stone.local (192.168.220.13) port 443 (#0)
  * Initializing NSS with certpath: sql:/etc/pki/nssdb
  * warning: ignoring value of ssl.verifyhost
  * skipping SSL peer certificate verification
  * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
  * Server certificate:
  * subject: CN=ovirt.spb.stone.local,O=spb.stone.local,C=US
  * start date: Aug 28 09:28:45 2013 GMT
  * expire date: Aug 03 09:28:47 2018 GMT
  * common name: ovirt.spb.stone.local
  * issuer: CN=CA-ovirt.spb.stone.local.95565,O=spb.stone.local,C=US
  * Server auth using Basic with user 'admin@internal'
  POST /api/storageconnections HTTP/1.1
  Authorization: Basic YWRtaW5AaW50ZXJuYWw6bXAyMjFjMg==
  User-Agent: curl/7.24.0 (x86_64-redhat-linux-gnu) libcurl/7.24.0
  

Re: [Users] All VMs disappeared

2013-09-23 Thread Yair Zaslavsky


- Original Message -
 From: Frank Wall f...@moov.de
 To: Yair Zaslavsky yzasl...@redhat.com
 Cc: users@ovirt.org
 Sent: Sunday, September 22, 2013 10:32:42 PM
 Subject: Re: [Users] All VMs disappeared
 
 Hi Yair,
 
 On 15.09.2013 21:19, Yair Zaslavsky wrote:
  I verified that commit c54353b11fb9ac2cb59cbc3e04b58e9114cbecba solved
  this issue as well.
 
 I can confirm that the issue is solved. Thank you!
 
 ovirt-engine-3.3.0-4.fc19.noarch
 ovirt-engine-backend-3.3.0-4.fc19.noarch
 ovirt-engine-cli-3.3.0.4-1.20130829.git5ae0f2c.fc19.noarch
 ovirt-engine-dbscripts-3.3.0-4.fc19.noarch
 ovirt-engine-lib-3.3.0-4.fc19.noarch
 ovirt-engine-restapi-3.3.0-4.fc19.noarch
 ovirt-engine-sdk-python-3.3.0.6-1.fc19.noarch
 ovirt-engine-setup-3.3.0-4.fc19.noarch
 ovirt-engine-setup-plugin-allinone-3.3.0-4.fc19.noarch
 ovirt-engine-tools-3.3.0-4.fc19.noarch
 ovirt-engine-userportal-3.3.0-4.fc19.noarch
 ovirt-engine-webadmin-portal-3.3.0-4.fc19.noarch
 ovirt-host-deploy-1.1.1-1.fc19.noarch
 ovirt-host-deploy-java-1.1.1-1.fc19.noarch
 ovirt-host-deploy-offline-1.1.1-1.fc19.noarch
 ovirt-image-uploader-3.3.0-1.fc19.noarch
 ovirt-iso-uploader-3.3.0-1.fc19.noarch
 ovirt-log-collector-3.3.0-1.fc19.noarch
 
 
 Thanks
 - Frank

Thank you frank for your assistance on this issue and providing us clear 
reproducer.
With you help we were able to track down this issue more efficiently.

Cheers,
Yair

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


Re: [Users] Update from 3.2 to 3.3 (CentOS 6.4)

2013-09-23 Thread Sandro Bonazzola
Il 17/09/2013 00:48, Mike Burns ha scritto:
 On 09/16/2013 06:41 PM, H. Haven Liu wrote:
 Thanks for the discussion. But for those of us that are not using
 gluster, but just good ol' NFS, is updating simply yum update
 ovirt-*?

 
 No, yum update won't upgrade ovirt packages.
 
 If you're running on Fedora, you need to update Fedora first, then run 
 engine-upgrade.  If you're on EL6, a simple engine-upgrade should work.
 
 Ofer,  any other gotchas?  Can you have someone create a 3.2 to 3.3 upgrade 
 page on the wiki?

Here you can find the test results of upgrading from Fedora 18 / oVirt 3.2 to 
Fedora 19 oVirt 3.3:
https://bugzilla.redhat.com/show_bug.cgi?id=1005950

I'm a bit short on time, but I can try to find some for creating that page. Any 
preference on the URL / page name?



 
 Thanks
 
 Mike
 
 On Sep 16, 2013, at 2:54 PM, Mike Burns mbu...@redhat.com wrote:

 On 09/16/2013 05:26 PM, Joop wrote:
 Mike Burns wrote:
 On 09/16/2013 04:30 PM, Joop wrote:
 H. Haven Liu wrote:
 Hello,

 Is there any recommended procedure for updating from 3.2 to
 3.3 (namely on a CentOS 6.4 system), or anything one should
 be careful when doing such update?
 Be careful when you use glusterfs, not nfs over glusterfs,
 but read the release-notes. It should have something to say
 about glusterfs domain not (yet) working on el6. Saw a small
 discussion on irc just yet and my two cents are that you
 can't add el6 support to ovirt in release 3.2 and then
 withdraw it with 3.3 and say well just wait for
 Centos/Rhel-6.5.

 We haven't removed any functionality in 3.3.  In 3.2, we added
 support for gluster domains through a POSIXFS interface.  In
 3.3, we're adding a feature where we support gluster natively.
 This works in Fedora, but is not available on EL6.  The POSIXFS
 option still exists
 You're right but what about users who want to use the (much)
 improved speed of the gluster domain over the POSIXFS interface?
 They are left out or they should move to Fed19 which I would do
 but I need to convince a couple of other people as well and they
 aren't going to agree.

 I understand the complaint, honestly.  And we're working on a
 solution so that it will work for people on EL6.

 From the perspective of whether we should release with this
 limitation or not, I'd point out that by not releasing, we'd be
 preventing everyone from using any of the new features until we get
 a solution for this. I'd rather release and make it available for
 everyone now and say that the Gluster domain for EL6 will come as
 soon as we can work out the dependency issues.



 The kernel can come from elrepo so that is not a burden for
 the ovirt team, qemu/libvirt should be build by the ovirt
 team and be available from the ovirt repo. At the moment I
 also see/saw Jboss-7.1.1 qemu/libvirt wouldn't be the first
 packages to be in the ovirt-repo which are also in the main
 distributions repos.

 We're trying to work out a way to do this in a consistent
 manner going forward.  We should have a solution soon, but in
 the meantime, the other functionality and features should work
 on both Fedora and EL6.
 Thanks for the clarification and I'm waiting eagerly for
 what/when the solution comes out.

 There have been a few considerations for solving this including
 rebuilding pure upstream or fedora packages for EL6.  That is a
 risky solution in my mind since there are rather large deltas
 between Fedora and EL6.  We're looking at whether we can have a
 virt-preview type of repo for EL6 similar to what exists today
 for Fedora[1].


 Thanks

 Mike

 [1]
 http://fedoraproject.org/wiki/Virtualization_Preview_Repository

 Joop

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

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

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

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


-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] cant add storage connection via api

2013-09-23 Thread Michael Pasternak
On 09/23/2013 10:43 AM, Alissa Bonas wrote:
 
 
 - Original Message -
 From: Michael Pasternak mpast...@redhat.com
 To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas 
 abo...@redhat.com, Alon Bar-Lev
 alo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
 Sent: Monday, September 23, 2013 10:22:49 AM
 Subject: Re: [Users] cant add storage connection via api

 On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
 Hi,

 url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets
 http 500 error with java.lang.NullPointerException
 java.lang.NullPointerException
  
 org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
  
 org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:606)
  
 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
  
 org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
  
 org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
  
 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
  
 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  
 org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
  
 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  
 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

 api page (without ?rsdl) opens just fine.

 this is known issue caused by branding infra, i believe it was fixed in the
 following release (Alon correct me if i'm wrong)


 Feature manage storage connections was mentioned in oVirt-3.3 release
 notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
 section.

 alissa?
 
 Storage connections management should be part of 3.3.
 Yuriy, when did you install the 3.3 and which exact build did you take?
 Also, can you access the following url (just a regular GET request) ?
 https://ovirt.spb.stone.local/api/storageconnections

according to the original api exception trace, api has storage_connections,
but not storage_connection, so i guess it's some nightly build of 3.3 ...

 

 Yuriy Demchenko

 On 09/22/2013 11:00 AM, Michael Pasternak wrote:
 Hi Yuriy,

 please see the correct way of adding new storageconnection at [1], under
 link href=/api/storageconnections rel=add section,

 also please let us know if you find any inconsistency between the wiki
 and rsdl,

 regarding the UnmarshalException, i'm not sure this feature got in to the
 version you're using,

 Ofer, in what release mentioned feature is available?

 thanks.

 [1] https://ovirt.spb.stone.local/api?rsdl

 On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:
 Hi,

 I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add
 additional target for iscsi domain.
 As described here -
 http://www.ovirt.org/Features/Manage_Storage_Connections , I'm trying
 first to add new connection via restapi, but operation fails with error
 HTTP
 Status 400 - javax.xml.bind.UnmarshalException: unexpected element
 (uri:, local:storage_connection)
 I'm not very familiar with restapi and maybe doing something wrong, so
 please help me to figure it out.

 here's what i put and reply from server:
 curl -k -v -u admin@internal:pass -H Content-type: application/xml
 -d 'storage_connection
 typeiscsi/type
 address192.168.221.5/address
 port3260/port
 targetiqn.2013-09.local.stone.spb:target3.disk/target
 /storage_connection'
 'https://ovirt.spb.stone.local/api/storageconnections'
 * About to connect() to ovirt.spb.stone.local port 443 (#0)
 *   Trying 192.168.220.13...
 * connected
 * Connected to ovirt.spb.stone.local (192.168.220.13) port 443 (#0)
 * Initializing NSS with certpath: sql:/etc/pki/nssdb
 * warning: ignoring value of ssl.verifyhost
 * skipping SSL peer certificate verification
 * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
 * Server certificate:
 * subject: CN=ovirt.spb.stone.local,O=spb.stone.local,C=US
 * start date: Aug 28 09:28:45 2013 GMT
 * expire date: Aug 03 09:28:47 2018 GMT
 * common name: ovirt.spb.stone.local
 * issuer: CN=CA-ovirt.spb.stone.local.95565,O=spb.stone.local,C=US
 * Server auth using Basic with user 'admin@internal'
 POST /api/storageconnections HTTP/1.1
 Authorization: Basic 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Yuriy Demchenko

On 09/23/2013 11:43 AM, Alissa Bonas wrote:


- Original Message -

From: Michael Pasternak mpast...@redhat.com
To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas abo...@redhat.com, 
Alon Bar-Lev
alo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
Sent: Monday, September 23, 2013 10:22:49 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets
http 500 error with java.lang.NullPointerException

java.lang.NullPointerException
  
org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
  
org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:606)
  org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
  org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
  
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
  
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
  
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
  
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

api page (without ?rsdl) opens just fine.

this is known issue caused by branding infra, i believe it was fixed in the
following release (Alon correct me if i'm wrong)


Feature manage storage connections was mentioned in oVirt-3.3 release
notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
section.

alissa?

Storage connections management should be part of 3.3.
Yuriy, when did you install the 3.3 and which exact build did you take?
That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3 
release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)


ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01 
PM MUT
ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14 
PM MUT

ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT

Also, can you access the following url (just a regular GET request) ?
https://ovirt.spb.stone.local/api/storageconnections

Yes I can. And I get list of all current connections there.

Yuriy Demchenko

On 09/22/2013 11:00 AM, Michael Pasternak wrote:

Hi Yuriy,

please see the correct way of adding new storageconnection at [1], under
link href=/api/storageconnections rel=add section,

also please let us know if you find any inconsistency between the wiki
and rsdl,

regarding the UnmarshalException, i'm not sure this feature got in to the
version you're using,

Ofer, in what release mentioned feature is available?

thanks.

[1] https://ovirt.spb.stone.local/api?rsdl

On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:

Hi,

I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add
additional target for iscsi domain.
As described here -
http://www.ovirt.org/Features/Manage_Storage_Connections , I'm trying
first to add new connection via restapi, but operation fails with error
HTTP
Status 400 - javax.xml.bind.UnmarshalException: unexpected element
(uri:, local:storage_connection)
I'm not very familiar with restapi 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Alon Bar-Lev


- Original Message -
 From: Michael Pasternak mpast...@redhat.com
 To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas 
 abo...@redhat.com, Alon Bar-Lev
 alo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
 Sent: Monday, September 23, 2013 10:22:49 AM
 Subject: Re: [Users] cant add storage connection via api
 
 On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
  Hi,
  
  url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets
  http 500 error with java.lang.NullPointerException
  java.lang.NullPointerException
   
  org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
   
  org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:606)
   
  org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
   
  org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
   
  org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
   
  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
   
  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
   
  org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
   
  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
   
  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  
  api page (without ?rsdl) opens just fine.
 
 this is known issue caused by branding infra, i believe it was fixed in the
 following release (Alon correct me if i'm wrong)

Hi,

I don't see branding in trace...

Also not in code...

private RSDL addSystemVersion(RSDL rsdl) {

rsdl.setVersion(VersionHelper.parseVersion(getConfigurationValueDefault(String.class,
 ConfigurationValues.VdcVersion)));
return rsdl;
}

As I do not know this code well, can you please explain some more why it is 
relates to branding so I can solve?

Working for me as far as I can see... (master).

Thanks!


 
  
  Feature manage storage connections was mentioned in oVirt-3.3 release
  notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
  section.
 
 alissa?
 
  
  Yuriy Demchenko
  
  On 09/22/2013 11:00 AM, Michael Pasternak wrote:
  Hi Yuriy,
 
  please see the correct way of adding new storageconnection at [1], under
  link href=/api/storageconnections rel=add section,
 
  also please let us know if you find any inconsistency between the wiki
  and rsdl,
 
  regarding the UnmarshalException, i'm not sure this feature got in to the
  version you're using,
 
  Ofer, in what release mentioned feature is available?
 
  thanks.
 
  [1] https://ovirt.spb.stone.local/api?rsdl
 
  On 09/18/2013 03:21 PM, Yuriy Demchenko wrote:
  Hi,
 
  I've recently upgraded my test lab to ovirt-3.3 (el6) and trying to add
  additional target for iscsi domain.
  As described here -
  http://www.ovirt.org/Features/Manage_Storage_Connections , I'm trying
  first to add new connection via restapi, but operation fails with error
  HTTP
  Status 400 - javax.xml.bind.UnmarshalException: unexpected element
  (uri:, local:storage_connection)
  I'm not very familiar with restapi and maybe doing something wrong, so
  please help me to figure it out.
 
  here's what i put and reply from server:
  curl -k -v -u admin@internal:pass -H Content-type: application/xml
  -d 'storage_connection
  typeiscsi/type
  address192.168.221.5/address
  port3260/port
  targetiqn.2013-09.local.stone.spb:target3.disk/target
  /storage_connection'
  'https://ovirt.spb.stone.local/api/storageconnections'
  * About to connect() to ovirt.spb.stone.local port 443 (#0)
  *   Trying 192.168.220.13...
  * connected
  * Connected to ovirt.spb.stone.local (192.168.220.13) port 443 (#0)
  * Initializing NSS with certpath: sql:/etc/pki/nssdb
  * warning: ignoring value of ssl.verifyhost
  * skipping SSL peer certificate verification
  * SSL connection using TLS_DHE_RSA_WITH_AES_256_CBC_SHA
  * Server certificate:
  * subject: CN=ovirt.spb.stone.local,O=spb.stone.local,C=US
  * start date: Aug 28 09:28:45 2013 GMT
  * expire date: Aug 03 09:28:47 2018 GMT
  * common name: ovirt.spb.stone.local
  * issuer: CN=CA-ovirt.spb.stone.local.95565,O=spb.stone.local,C=US
  * Server auth using Basic 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Michael Pasternak
On 09/23/2013 10:58 AM, Alon Bar-Lev wrote:
 
 - Original Message -
  From: Michael Pasternak mpast...@redhat.com
  To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas 
  abo...@redhat.com, Alon Bar-Lev
  alo...@redhat.com
  Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
  Sent: Monday, September 23, 2013 10:22:49 AM
  Subject: Re: [Users] cant add storage connection via api
  
  On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
   Hi,
   
   url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - 
   gets
   http 500 error with java.lang.NullPointerException
   java.lang.NullPointerException

   org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

   org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

   org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

   org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

   org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

   org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

   org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

   org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

   org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

   org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   
   api page (without ?rsdl) opens just fine.
  
  this is known issue caused by branding infra, i believe it was fixed in the
  following release (Alon correct me if i'm wrong)
 Hi,
 
 I don't see branding in trace...
 
 Also not in code...
 
 private RSDL addSystemVersion(RSDL rsdl) {
 
 rsdl.setVersion(VersionHelper.parseVersion(getConfigurationValueDefault(String.class,
  ConfigurationValues.VdcVersion)));
 return rsdl;
 }
 
 As I do not know this code well, can you please explain some more why it is 
 relates to branding so I can solve?
 
 Working for me as far as I can see... (master).
 
 Thanks!
 
 

damn, my bad, confused with another issue with same symptom, please ignore me.

thanks.

-- 

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


Re: [Users] cant add storage connection via api

2013-09-23 Thread Michael Pasternak
On 09/23/2013 10:58 AM, Alon Bar-Lev wrote:
 
 - Original Message -
  From: Michael Pasternak mpast...@redhat.com
  To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas 
  abo...@redhat.com, Alon Bar-Lev
  alo...@redhat.com
  Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
  Sent: Monday, September 23, 2013 10:22:49 AM
  Subject: Re: [Users] cant add storage connection via api
  
  On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
   Hi,
   
   url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - 
   gets
   http 500 error with java.lang.NullPointerException
   java.lang.NullPointerException

   org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

   org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

   sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

   org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

   org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

   org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

   org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

   org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

   org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

   org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

   org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   
   api page (without ?rsdl) opens just fine.

Yuriy,


does your database upgrade succeeded? did you say any errors?
-- 

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


Re: [Users] cant add storage connection via api

2013-09-23 Thread Yuriy Demchenko

On 09/23/2013 12:06 PM, Michael Pasternak wrote:

On 09/23/2013 10:58 AM, Alon Bar-Lev wrote:

- Original Message -

From: Michael Pasternak mpast...@redhat.com
To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas abo...@redhat.com, 
Alon Bar-Lev
alo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
Sent: Monday, September 23, 2013 10:22:49 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me - gets
http 500 error with java.lang.NullPointerException

java.lang.NullPointerException
  
org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
  
org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 java.lang.reflect.Method.invoke(Method.java:606)
  org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
  org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
  org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
  
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
  
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
  
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
  
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
  
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
  
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

api page (without ?rsdl) opens just fine.

Yuriy,


does your database upgrade succeeded? did you say any errors?

Yea, upgrade succeded without any errors
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] cant add storage connection via api

2013-09-23 Thread Alissa Bonas


- Original Message -
 From: Yuriy Demchenko demchenko...@gmail.com
 To: Alissa Bonas abo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Michael 
 Pasternak mpast...@redhat.com, Allon
 Mureinik amure...@redhat.com
 Sent: Monday, September 23, 2013 10:57:12 AM
 Subject: Re: [Users] cant add storage connection via api
 
 On 09/23/2013 11:43 AM, Alissa Bonas wrote:
 
  - Original Message -
  From: Michael Pasternak mpast...@redhat.com
  To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas
  abo...@redhat.com, Alon Bar-Lev
  alo...@redhat.com
  Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
  Sent: Monday, September 23, 2013 10:22:49 AM
  Subject: Re: [Users] cant add storage connection via api
 
  On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
  Hi,
 
  url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me -
  gets
  http 500 error with java.lang.NullPointerException
  java.lang.NullPointerException

  org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

  org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

  sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

  org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

  org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

  org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

  org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

  org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

  org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
  api page (without ?rsdl) opens just fine.
  this is known issue caused by branding infra, i believe it was fixed in
  the
  following release (Alon correct me if i'm wrong)
 
  Feature manage storage connections was mentioned in oVirt-3.3 release
  notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
  section.
  alissa?
  Storage connections management should be part of 3.3.
  Yuriy, when did you install the 3.3 and which exact build did you take?
 That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3
 release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)
 
 ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
 ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
 ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
 ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
 ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
 ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
 ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
 ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
 ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
 ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
 ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01
 PM MUT
 ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14
 PM MUT
 ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
 ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
 ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
 ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
 ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT
  Also, can you access the following url (just a regular GET request) ?
  https://ovirt.spb.stone.local/api/storageconnections
 Yes I can. And I get list of all current connections there.

OK, thank you.
Please let me know 2 more things:
1. Is the connections subresource for a storage domain available?
It is accessed in the link below with a GET request (please replace domainId 
placeholder with an id of one of your storage domains, doesn't matter which)
https://ovirt.spb.stone.local/api/storagedomains/domainId/storageconnections
2. In the main storage connections resource which you accessed via the below 
url - is a single connection's element named 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Yuriy Demchenko

On 09/23/2013 12:13 PM, Alissa Bonas wrote:


- Original Message -

From: Yuriy Demchenko demchenko...@gmail.com
To: Alissa Bonas abo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Michael Pasternak 
mpast...@redhat.com, Allon
Mureinik amure...@redhat.com
Sent: Monday, September 23, 2013 10:57:12 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 11:43 AM, Alissa Bonas wrote:

- Original Message -

From: Michael Pasternak mpast...@redhat.com
To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas
abo...@redhat.com, Alon Bar-Lev
alo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
Sent: Monday, September 23, 2013 10:22:49 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me -
gets
http 500 error with java.lang.NullPointerException

java.lang.NullPointerException
   
org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)
   
org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
  sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  java.lang.reflect.Method.invoke(Method.java:606)
   
org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)
   
org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
   org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)
   
org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)
   
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)
   
org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)
   
org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
   
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
   
org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
  javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

api page (without ?rsdl) opens just fine.

this is known issue caused by branding infra, i believe it was fixed in
the
following release (Alon correct me if i'm wrong)


Feature manage storage connections was mentioned in oVirt-3.3 release
notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
section.

alissa?

Storage connections management should be part of 3.3.
Yuriy, when did you install the 3.3 and which exact build did you take?

That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3
release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)

ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01
PM MUT
ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14
PM MUT
ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT

Also, can you access the following url (just a regular GET request) ?
https://ovirt.spb.stone.local/api/storageconnections

Yes I can. And I get list of all current connections there.

OK, thank you.
Please let me know 2 more things:
1. Is the connections subresource for a storage domain available?
It is accessed in the link below with a GET request (please replace domainId 
placeholder with an id of one of your storage domains, doesn't matter which)
https://ovirt.spb.stone.local/api/storagedomains/domainId/storageconnections
nope, no storageconnections under storagedomains/id/, only storage, 
link, type, master, description and name

2. In the main storage connections resource which you accessed via the below 
url - is a 

Re: [Users] cant add storage connection via api

2013-09-23 Thread Michael Pasternak
On 09/23/2013 11:22 AM, Yuriy Demchenko wrote:
 On 09/23/2013 12:13 PM, Alissa Bonas wrote:

 - Original Message -
 From: Yuriy Demchenko demchenko...@gmail.com
 To: Alissa Bonas abo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Michael 
 Pasternak mpast...@redhat.com, Allon
 Mureinik amure...@redhat.com
 Sent: Monday, September 23, 2013 10:57:12 AM
 Subject: Re: [Users] cant add storage connection via api

 On 09/23/2013 11:43 AM, Alissa Bonas wrote:
 - Original Message -
 From: Michael Pasternak mpast...@redhat.com
 To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas
 abo...@redhat.com, Alon Bar-Lev
 alo...@redhat.com
 Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
 Sent: Monday, September 23, 2013 10:22:49 AM
 Subject: Re: [Users] cant add storage connection via api

 On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:
 Hi,

 url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me -
 gets
 http 500 error with java.lang.NullPointerException
 java.lang.NullPointerException

 org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

 org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

 org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

 org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)

 org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)

 org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

 org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

 org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

 org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

 org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
 api page (without ?rsdl) opens just fine.
 this is known issue caused by branding infra, i believe it was fixed in
 the
 following release (Alon correct me if i'm wrong)

 Feature manage storage connections was mentioned in oVirt-3.3 release
 notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
 section.
 alissa?
 Storage connections management should be part of 3.3.
 Yuriy, when did you install the 3.3 and which exact build did you take?
 That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3
 release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)

 ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
 ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
 ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
 ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
 ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
 ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
 ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
 ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
 ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
 ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
 ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01
 PM MUT
 ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14
 PM MUT
 ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
 ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
 ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
 ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
 ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT
 Also, can you access the following url (just a regular GET request) ?
 https://ovirt.spb.stone.local/api/storageconnections
 Yes I can. And I get list of all current connections there.
 OK, thank you.
 Please let me know 2 more things:
 1. Is the connections subresource for a storage domain available?
 It is accessed in the link below with a GET request (please replace domainId 
 placeholder with an id of one of your storage domains, doesn't matter which)
 https://ovirt.spb.stone.local/api/storagedomains/domainId/storageconnections
 nope, no storageconnections under storagedomains/id/, only storage, 

Re: [Users] oVirt 3.3/F19 - Windows guest unable to access network

2013-09-23 Thread Dan Kenigsberg
On Fri, Sep 20, 2013 at 10:50:20AM +, SULLIVAN, Chris (WGK) wrote:
 Hi,
 
 Just following up on this issue. Turns out the network problems were being 
 caused by the bond0 interface.
 
 The initial configuration was two NICs teamed as bond0, which was then 
 bridged to the ovirtmgmt interface. With this configuration, RHEL guests 
 could access the network normally but Windows guests (XP, 7, 2008 R2) could 
 not. After deactivating the bond0 interface and bridging one of the NICs 
 directly to the ovirtmgmt interface, both RHEL and Windows guests have fully 
 functioning networks.
 
 I am not sure why exactly the bond0 interface was not working as intended. 
 The initial configuration had the mode as balance-rr, is this known to cause 
 problems? My intention was to have the mode as balance-alb however the 
 bonding driver in F19 seems to completely ignore any BONDING_OPTS settings in 
 the ifcfg-bond0 file. Attempts to change the bonding mode directly via 
 /sys/class/net/bond0/bonding/mode repeatedly failed due to 'the bond having 
 slaves', even after the bond had been taken down via ifconfig. I was not able 
 to remove the bond0 definition either, even after removing the ifcfg-bond0 
 file and the modprobe.d alias.
 
 Is there a recommended/tested bonding configuration HOWTO for oVirt on F19?
 
 Joop: Responses as follows:
  - Windows firewall was disabled in each Windows VM
  - Changing the CPU setting and starting the VM directly on the host via QEMU 
 (i.e. not through oVirt) did not seem to affect the behavior
 
 Thanks,
 
 Chris
 
 
 
 PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY 
 NEED TO.
 
 This email and its attachments may contain information which is confidential 
 and/or legally privileged. If you are not the intended recipient of this 
 e-mail please notify the sender immediately by e-mail and delete this e-mail 
 and its attachments from your computer and IT systems. You must not copy, 
 re-transmit, use or disclose (other than to the sender) the existence or 
 contents of this email or its attachments or permit anyone else to do so.
 
 -
 
 -Original Message-
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
 users-requ...@ovirt.org
 Sent: Thursday, September 19, 2013 3:31 PM
 To: users@ovirt.org
 Subject: Users Digest, Vol 24, Issue 93
 
 --
 
 Message: 3
 Date: Thu, 19 Sep 2013 09:13:43 +0200
 From: noc n...@nieuwland.nl
 Cc: users@ovirt.org users@ovirt.org
 Subject: Re: [Users] oVirt 3.3/F19 - Windows guest unable to access
 network
 Message-ID: 523aa427.2060...@nieuwland.nl
 Content-Type: text/plain; charset=iso-8859-1; Format=flowed
 
 On 18-9-2013 23:08, SULLIVAN, Chris (WGK) wrote:
 
  Hi,
 
  I'm having network issues with a Windows Server 2008 R2 guest running
  on an F19 host. The guest has a static configuration and is able to
  ping itself and the host it is running on, however cannot ping the
  gateway, any other hosts on the local network, or external hosts. A
  RHEL 6.4 guest on the same host with a similar static configuration
  works normally.
 
  Iptables/firewalld on the host are switched off and the network
  definitions in the XML for each VM (Windows/RHEL) are the same. The
  virtio network drivers are installed in the guest. The guest was
  created from a Win 2008 R2 template, which was created from a VM
  imported from oVirt 3.2. Software versions below.
 
 Just to be sure, iptables/firewalld!=Windows Firewall. Is there a rule
 in the windows firewall to allow ping or is it disabled?
 
  Are there any manual configuration steps required on the host to
  support Windows guests? Are there any particular diagnostic steps I
  could take to try and narrow down the cause?
 
 Don't think so, just converted a Windows2008R2 datacenter guest from
 Vmware to oVirt and it ran, after adding virtio drivers or using e1000
 and/or ide disks.
 
  Versions:
 
  -oVirt 3.3.0-4
 
  -F19 3.10.11-200
 
  -QEMU 1.4.2-9
 
  -Libvirt 1.1.2-1
 
  -VDSM 4.12.1-2
 
  -virtio-win 0.1-52
 
 
 Your problem looks like the problem Ren? had with his Solaris guest, its
 a recent thread. Turned out that setting -cpu Nehalem by ovirt caused
 networking in the Solaris guest to fail.
 Don't think this is your problem though since lots of people run Windows
 guest without problems.


I do not know what could block Windows guests' access to your bond0.
Maybe you can help debug the issue by sniffing the bond0 device for
packages, and comparing Linux guests to Windows ones?

Do you have NetworkManager running on your host? It is known to not play
well with Vdsm network configuration. If you do, please turn it off,
do a `ifdown bond0`, edit the ifcfg-bond0 file, and take it up again.
This should enable you to change bonding mode.

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


[Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
Hi, 

I want to use two network interfaces connected to different networks in Engine 
(3.3), where one is for ovirtmgmt and one is for a separate storage network. 
It works fine for a minute or so after rebooting Engine, but then the 
configuration is changed by Engine, connecting both interfaces to bond0 and 
losing connectivity (as obviously you can't bond those two interfaces when they 
are connected to separate physical networks..). 
What is the mechanism doing this, and it is possible to disable this automatic 
network bonding on the engine so that we can use separate networks on the 
network interfaces..? 

Rickard 


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


Re: [Users] cant add storage connection via api

2013-09-23 Thread Itamar Heim

On 09/23/2013 11:34 AM, Michael Pasternak wrote:

On 09/23/2013 11:22 AM, Yuriy Demchenko wrote:

On 09/23/2013 12:13 PM, Alissa Bonas wrote:


- Original Message -

From: Yuriy Demchenko demchenko...@gmail.com
To: Alissa Bonas abo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Michael Pasternak 
mpast...@redhat.com, Allon
Mureinik amure...@redhat.com
Sent: Monday, September 23, 2013 10:57:12 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 11:43 AM, Alissa Bonas wrote:

- Original Message -

From: Michael Pasternak mpast...@redhat.com
To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas
abo...@redhat.com, Alon Bar-Lev
alo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
Sent: Monday, September 23, 2013 10:22:49 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me -
gets
http 500 error with java.lang.NullPointerException

java.lang.NullPointerException

org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

api page (without ?rsdl) opens just fine.

this is known issue caused by branding infra, i believe it was fixed in
the
following release (Alon correct me if i'm wrong)


Feature manage storage connections was mentioned in oVirt-3.3 release
notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
section.

alissa?

Storage connections management should be part of 3.3.
Yuriy, when did you install the 3.3 and which exact build did you take?

That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3
release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)

ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01
PM MUT
ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14
PM MUT
ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT

Also, can you access the following url (just a regular GET request) ?
https://ovirt.spb.stone.local/api/storageconnections

Yes I can. And I get list of all current connections there.

OK, thank you.
Please let me know 2 more things:
1. Is the connections subresource for a storage domain available?
It is accessed in the link below with a GET request (please replace domainId 
placeholder with an id of one of your storage domains, doesn't matter which)
https://ovirt.spb.stone.local/api/storagedomains/domainId/storageconnections

nope, no storageconnections under storagedomains/id/, only storage, link, 
type, 

Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
 Hi,
 
 I want to use two network interfaces connected to different networks in 
 Engine (3.3), where one is for ovirtmgmt and one is for a separate storage 
 network.
 It works fine for a minute or so after rebooting Engine, but then the 
 configuration is changed by Engine, connecting both interfaces to bond0 and 
 losing connectivity (as
 obviously you can't bond those two interfaces when they are connected to 
 separate physical networks..).
 What is the mechanism doing this, 

please see this [1].

[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks

 and it is possible to disable this automatic network bonding on the engine so 
 that we can use separate networks on the network interfaces..?

attaching logs would help, but i guess it happen cause you did not saved
your host network config, i.e when host got rebooted, it performs roll-back
to old config, this is actually disaster recovery mechanism.

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


-- 

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


Re: [Users] cant add storage connection via api

2013-09-23 Thread Yuriy Demchenko

Oh, I see. Will wait till next release than.
Thanks for help!

Yuriy Demchenko

On 09/23/2013 12:34 PM, Michael Pasternak wrote:

On 09/23/2013 11:22 AM, Yuriy Demchenko wrote:

On 09/23/2013 12:13 PM, Alissa Bonas wrote:

- Original Message -

From: Yuriy Demchenko demchenko...@gmail.com
To: Alissa Bonas abo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org, Michael Pasternak 
mpast...@redhat.com, Allon
Mureinik amure...@redhat.com
Sent: Monday, September 23, 2013 10:57:12 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 11:43 AM, Alissa Bonas wrote:

- Original Message -

From: Michael Pasternak mpast...@redhat.com
To: Yuriy Demchenko demchenko...@gmail.com, Alissa Bonas
abo...@redhat.com, Alon Bar-Lev
alo...@redhat.com
Cc: Ofer Schreiber oschr...@redhat.com, users@ovirt.org
Sent: Monday, September 23, 2013 10:22:49 AM
Subject: Re: [Users] cant add storage connection via api

On 09/23/2013 10:05 AM, Yuriy Demchenko wrote:

Hi,

url [1] (https://ovirt.spb.stone.local/api?rsdl) not working for me -
gets
http 500 error with java.lang.NullPointerException

java.lang.NullPointerException

org.ovirt.engine.api.restapi.resource.BackendApiResource.addSystemVersion(BackendApiResource.java:358)

org.ovirt.engine.api.restapi.resource.BackendApiResource.get(BackendApiResource.java:316)
   sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   java.lang.reflect.Method.invoke(Method.java:606)

org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:155)

org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:257)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:222)
org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:211)

org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:525)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:502)

org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:119)

org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)

org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
   javax.servlet.http.HttpServlet.service(HttpServlet.java:847)

api page (without ?rsdl) opens just fine.

this is known issue caused by branding infra, i believe it was fixed in
the
following release (Alon correct me if i'm wrong)


Feature manage storage connections was mentioned in oVirt-3.3 release
notes (http://www.ovirt.org/OVirt_3.3_release_notes), under storage
section.

alissa?

Storage connections management should be part of 3.3.
Yuriy, when did you install the 3.3 and which exact build did you take?

That was upgrade from 3.2.2 to 3.3, did that on Tuesday 17, from 3.3
release repo (http://resources.ovirt.org/releases/3.3/rpm/EL/6/)

ovirt-engine-3.3.0-4.el6 noarch 9/17/13 3:05:40 PM MUT
ovirt-engine-backend-3.3.0-4.el6 noarch 9/17/13 3:05:34 PM MUT
ovirt-engine-cli-3.2.0.12-1.el6 noarch 6/17/13 11:24:48 AM MUT
ovirt-engine-dbscripts-3.3.0-4.el6 noarch 9/17/13 3:05:39 PM MUT
ovirt-engine-lib-3.3.0-4.el6 noarch 9/17/13 2:57:00 PM MUT
ovirt-engine-restapi-3.3.0-4.el6 noarch 9/17/13 3:05:30 PM MUT
ovirt-engine-sdk-3.2.0.11-1.el6 noarch 6/17/13 11:24:33 AM MUT
ovirt-engine-setup-3.3.0-4.el6 noarch 9/17/13 2:57:03 PM MUT
ovirt-engine-tools-3.3.0-4.el6 noarch 9/17/13 3:05:35 PM MUT
ovirt-engine-userportal-3.3.0-4.el6 noarch 9/17/13 3:05:29 PM MUT
ovirt-engine-webadmin-portal-3.3.0-4.el6 noarch 9/17/13 3:06:01
PM MUT
ovirt-engine-websocket-proxy-3.3.0-4.el6 noarch 9/17/13 3:21:14
PM MUT
ovirt-host-deploy-1.1.1-1.el6 noarch 9/17/13 3:05:15 PM MUT
ovirt-host-deploy-java-1.1.1-1.el6 noarch 9/17/13 3:05:16 PM MUT
ovirt-image-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:14 PM MUT
ovirt-iso-uploader-3.3.0-1.el6 noarch 9/17/13 3:05:17 PM MUT
ovirt-log-collector-3.3.0-1.el6 noarch 9/17/13 3:05:18 PM MUT

Also, can you access the following url (just a regular GET request) ?
https://ovirt.spb.stone.local/api/storageconnections

Yes I can. And I get list of all current connections there.

OK, thank you.
Please let me know 2 more things:
1. Is the connections subresource for a storage domain available?
It is accessed in the link below with a GET request (please replace domainId 
placeholder with an id of one of your storage domains, doesn't matter which)
https://ovirt.spb.stone.local/api/storagedomains/domainId/storageconnections

nope, 

Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
Thanks Michael, 

I'm still trying to get my head around this, but I can't see how I configure 
the networks on the engine? 
For nodes and AOI it's OK, but in my case I am running the engine as a separate 
server which is not a node and does not show up as a Host in the GUI. 
Or do I need to add the engine as a host in the GUI as well, to be able to 
configure it? 


- Ursprungligt meddelande -

Från: Michael Pasternak mpast...@redhat.com 
Till: Rickard Kristiansson rick...@sanuksystems.com 
Kopia: users@ovirt.org 
Skickat: måndag, 23 sep 2013 12:21:40 
Ämne: Re: [Users] Multiple network interfaces on engine? 

On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: 
 Hi, 
 
 I want to use two network interfaces connected to different networks in 
 Engine (3.3), where one is for ovirtmgmt and one is for a separate storage 
 network. 
 It works fine for a minute or so after rebooting Engine, but then the 
 configuration is changed by Engine, connecting both interfaces to bond0 and 
 losing connectivity (as 
 obviously you can't bond those two interfaces when they are connected to 
 separate physical networks..). 
 What is the mechanism doing this, 

please see this [1]. 

[1] http://www.ovirt.org/Features/Design/Network/SetupNetworks 

 and it is possible to disable this automatic network bonding on the engine so 
 that we can use separate networks on the network interfaces..? 

attaching logs would help, but i guess it happen cause you did not saved 
your host network config, i.e when host got rebooted, it performs roll-back 
to old config, this is actually disaster recovery mechanism. 

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


-- 

Michael Pasternak 
RedHat, ENG-Virtualization RD 

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
 Thanks Michael,
 
 
 
 I'm still trying to get my head around this, but I can't see how I
 configure the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a
 separate server which is not a node and does not show up as a Host in
 the GUI.


Does your engine really need access to the storage?
ovirtmgmt network should be sufficient in most cases.

You can configure the network of engine using your favorite editor and
edit/create /etc/sysconfig/network-scripts/ifcfg-* files...


Regards,
René

 
 Or do I need to add the engine as a host in the GUI as well, to be
 able to configure it?
 
 
 
 
 
 
 __
 Från: Michael Pasternak mpast...@redhat.com
 Till: Rickard Kristiansson rick...@sanuksystems.com
 Kopia: users@ovirt.org
 Skickat: måndag, 23 sep 2013 12:21:40
 Ämne: Re: [Users] Multiple network interfaces on engine?
 
 
 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
  
  I want to use two network interfaces connected to different networks
 in Engine (3.3), where one is for ovirtmgmt and one is for a separate
 storage network.
  It works fine for a minute or so after rebooting Engine, but then
 the configuration is changed by Engine, connecting both interfaces to
 bond0 and losing connectivity (as
  obviously you can't bond those two interfaces when they are
 connected to separate physical networks..).
  What is the mechanism doing this, 
 
 
 please see this [1].
 
 
 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
 
  and it is possible to disable this automatic network bonding on the
 engine so that we can use separate networks on the network
 interfaces..?
 
 
 attaching logs would help, but i guess it happen cause you did not
 saved
 your host network config, i.e when host got rebooted, it performs
 roll-back
 to old config, this is actually disaster recovery mechanism.
 
 
  
  Rickard
  
  **
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
 -- 
 
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 
 
 
 ___
 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] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
 
 On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
 Thanks Michael,



 I'm still trying to get my head around this, but I can't see how I
 configure the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a
 separate server which is not a node and does not show up as a Host in
 the GUI.
 
 
 Does your engine really need access to the storage?
 ovirtmgmt network should be sufficient in most cases.
 
 You can configure the network of engine using your favorite editor and
 edit/create /etc/sysconfig/network-scripts/ifcfg-* files...

I'd avoid doing this, changing network config behind the engine's back is
not supported and may cause re-config on reboot on which Rickard
originally complained.

 
 
 Regards,
 René
 

 Or do I need to add the engine as a host in the GUI as well, to be
 able to configure it?






 __
 Från: Michael Pasternak mpast...@redhat.com
 Till: Rickard Kristiansson rick...@sanuksystems.com
 Kopia: users@ovirt.org
 Skickat: måndag, 23 sep 2013 12:21:40
 Ämne: Re: [Users] Multiple network interfaces on engine?


 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
 Hi,

 I want to use two network interfaces connected to different networks
 in Engine (3.3), where one is for ovirtmgmt and one is for a separate
 storage network.
 It works fine for a minute or so after rebooting Engine, but then
 the configuration is changed by Engine, connecting both interfaces to
 bond0 and losing connectivity (as
 obviously you can't bond those two interfaces when they are
 connected to separate physical networks..).
 What is the mechanism doing this, 


 please see this [1].


 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks


 and it is possible to disable this automatic network bonding on the
 engine so that we can use separate networks on the network
 interfaces..?


 attaching logs would help, but i guess it happen cause you did not
 saved
 your host network config, i.e when host got rebooted, it performs
 roll-back
 to old config, this is actually disaster recovery mechanism.



 Rickard

 **


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




 -- 


 Michael Pasternak
 RedHat, ENG-Virtualization RD



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


-- 

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
 Thanks Michael,
 
 I'm still trying to get my head around this, but I can't see how I configure 
 the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a 
 separate server which is not a node and does not show up as a Host in the GUI.
 Or do I need to add the engine as a host in the GUI as well, to be able to 
 configure it?

IIUC your question, you have various options:

1. GUI
2. SDKs
3. CLI

you need to create network in DC, attach it to cluster, attach to host NIC/s 
(if you want it to be
atomic operation, i.e you expect connectivity loss during the operation/s, 
setupnetworks should be used,
otherwise you can use attach-network dialogues in UI)

 
 
 
 *Från: *Michael Pasternak mpast...@redhat.com
 *Till: *Rickard Kristiansson rick...@sanuksystems.com
 *Kopia: *users@ovirt.org
 *Skickat: *måndag, 23 sep 2013 12:21:40
 *Ämne: *Re: [Users] Multiple network interfaces on engine?
 
 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
 Hi,

 I want to use two network interfaces connected to different networks in 
 Engine (3.3), where one is for ovirtmgmt and one is for a separate storage 
 network.
 It works fine for a minute or so after rebooting Engine, but then the 
 configuration is changed by Engine, connecting both interfaces to bond0 and 
 losing connectivity (as
 obviously you can't bond those two interfaces when they are connected to 
 separate physical networks..).
 What is the mechanism doing this,
 
 please see this [1].
 
 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
 and it is possible to disable this automatic network bonding on the engine 
 so that we can use separate networks on the network interfaces..?
 
 attaching logs would help, but i guess it happen cause you did not saved
 your host network config, i.e when host got rebooted, it performs roll-back
 to old config, this is actually disaster recovery mechanism.
 

 Rickard

 **


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

 
 
 -- 
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 


-- 

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Koch (ovido)

On Mon, 2013-09-23 at 14:14 +0300, Michael Pasternak wrote:
 On 09/23/2013 01:53 PM, René Koch (ovido) wrote:
  
  On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
  Thanks Michael,
 
 
 
  I'm still trying to get my head around this, but I can't see how I
  configure the networks on the engine?
  For nodes and AOI it's OK, but in my case I am running the engine as a
  separate server which is not a node and does not show up as a Host in
  the GUI.
  
  
  Does your engine really need access to the storage?
  ovirtmgmt network should be sufficient in most cases.
  
  You can configure the network of engine using your favorite editor and
  edit/create /etc/sysconfig/network-scripts/ifcfg-* files...
 
 I'd avoid doing this, changing network config behind the engine's back is
 not supported and may cause re-config on reboot on which Rickard
 originally complained.

I totally agree that configuring the network directly on the hosts
should be avoided.

I think I misunderstood the issue of Rickard - I thought he has issues
configuring network for the engine itself. 
But (after reading your last email with your suggestions) the question
is how to define logical networks in engine and deploy config on hosts
(if this is the case please don't do any configuration manually with an
editor.)


 
  
  
  Regards,
  René
  
 
  Or do I need to add the engine as a host in the GUI as well, to be
  able to configure it?
 
 
 
 
 
 
  __
  Från: Michael Pasternak mpast...@redhat.com
  Till: Rickard Kristiansson rick...@sanuksystems.com
  Kopia: users@ovirt.org
  Skickat: måndag, 23 sep 2013 12:21:40
  Ämne: Re: [Users] Multiple network interfaces on engine?
 
 
  On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
 
  I want to use two network interfaces connected to different networks
  in Engine (3.3), where one is for ovirtmgmt and one is for a separate
  storage network.
  It works fine for a minute or so after rebooting Engine, but then
  the configuration is changed by Engine, connecting both interfaces to
  bond0 and losing connectivity (as
  obviously you can't bond those two interfaces when they are
  connected to separate physical networks..).
  What is the mechanism doing this, 
 
 
  please see this [1].
 
 
  [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
 
  and it is possible to disable this automatic network bonding on the
  engine so that we can use separate networks on the network
  interfaces..?
 
 
  attaching logs would help, but i guess it happen cause you did not
  saved
  your host network config, i.e when host got rebooted, it performs
  roll-back
  to old config, this is actually disaster recovery mechanism.
 
 
 
  Rickard
 
  **
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
  -- 
 
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 
 
 
  ___
  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] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
 Hmm.. yes, I do have the storage network configured in DC and Cluster, and 
 also attached to all my hypervisors.
 The question is just how I also attach it to the Engine server, as this isn't 
 visible as a node in the GUI?

i think this could be done with puppet, afaik some work for integrating it to
oVirt been done lately, though not sure if it's already available,

oved?

 
 
 
 *Från: *Michael Pasternak mpast...@redhat.com
 *Till: *Rickard Kristiansson rick...@sanuksystems.com
 *Kopia: *users@ovirt.org, \René \Koch (ovido)\\ r.k...@ovido.at
 *Skickat: *måndag, 23 sep 2013 13:20:06
 *Ämne: *Re: [Users] Multiple network interfaces on engine?
 
 On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
 Thanks Michael,

 I'm still trying to get my head around this, but I can't see how I configure 
 the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a 
 separate server which is not a node and does not show up as a Host in the 
 GUI.
 Or do I need to add the engine as a host in the GUI as well, to be able to 
 configure it?
 
 IIUC your question, you have various options:
 
 1. GUI
 2. SDKs
 3. CLI
 
 you need to create network in DC, attach it to cluster, attach to host NIC/s 
 (if you want it to be
 atomic operation, i.e you expect connectivity loss during the operation/s, 
 setupnetworks should be used,
 otherwise you can use attach-network dialogues in UI)
 


 
 *Från: *Michael Pasternak mpast...@redhat.com
 *Till: *Rickard Kristiansson rick...@sanuksystems.com
 *Kopia: *users@ovirt.org
 *Skickat: *måndag, 23 sep 2013 12:21:40
 *Ämne: *Re: [Users] Multiple network interfaces on engine?

 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
 Hi,

 I want to use two network interfaces connected to different networks in 
 Engine (3.3), where one is for ovirtmgmt and one is for a separate storage 
 network.
 It works fine for a minute or so after rebooting Engine, but then the 
 configuration is changed by Engine, connecting both interfaces to bond0 and 
 losing connectivity (as
 obviously you can't bond those two interfaces when they are connected to 
 separate physical networks..).
 What is the mechanism doing this,

 please see this [1].

 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks

 and it is possible to disable this automatic network bonding on the engine 
 so that we can use separate networks on the network interfaces..?

 attaching logs would help, but i guess it happen cause you did not saved
 your host network config, i.e when host got rebooted, it performs roll-back
 to old config, this is actually disaster recovery mechanism.


 Rickard

 **


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



 --

 Michael Pasternak
 RedHat, ENG-Virtualization RD

 
 
 -- 
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 


-- 

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak
On 09/23/2013 02:24 PM, René Koch (ovido) wrote:
 
 On Mon, 2013-09-23 at 14:14 +0300, Michael Pasternak wrote:
 On 09/23/2013 01:53 PM, René Koch (ovido) wrote:

 On Mon, 2013-09-23 at 12:50 +0200, Rickard Kristiansson wrote:
 Thanks Michael,



 I'm still trying to get my head around this, but I can't see how I
 configure the networks on the engine?
 For nodes and AOI it's OK, but in my case I am running the engine as a
 separate server which is not a node and does not show up as a Host in
 the GUI.


 Does your engine really need access to the storage?
 ovirtmgmt network should be sufficient in most cases.

 You can configure the network of engine using your favorite editor and
 edit/create /etc/sysconfig/network-scripts/ifcfg-* files...

 I'd avoid doing this, changing network config behind the engine's back is
 not supported and may cause re-config on reboot on which Rickard
 originally complained.
 
 I totally agree that configuring the network directly on the hosts
 should be avoided.
 
 I think I misunderstood the issue of Rickard - I thought he has issues
 configuring network for the engine itself. 

i'm afraid that i'm the one who misunderstood his question :)

 But (after reading your last email with your suggestions) the question
 is how to define logical networks in engine and deploy config on hosts
 (if this is the case please don't do any configuration manually with an
 editor.)
 
 



 Regards,
 René


 Or do I need to add the engine as a host in the GUI as well, to be
 able to configure it?






 __
 Från: Michael Pasternak mpast...@redhat.com
 Till: Rickard Kristiansson rick...@sanuksystems.com
 Kopia: users@ovirt.org
 Skickat: måndag, 23 sep 2013 12:21:40
 Ämne: Re: [Users] Multiple network interfaces on engine?


 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
 Hi,

 I want to use two network interfaces connected to different networks
 in Engine (3.3), where one is for ovirtmgmt and one is for a separate
 storage network.
 It works fine for a minute or so after rebooting Engine, but then
 the configuration is changed by Engine, connecting both interfaces to
 bond0 and losing connectivity (as
 obviously you can't bond those two interfaces when they are
 connected to separate physical networks..).
 What is the mechanism doing this, 


 please see this [1].


 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks


 and it is possible to disable this automatic network bonding on the
 engine so that we can use separate networks on the network
 interfaces..?


 attaching logs would help, but i guess it happen cause you did not
 saved
 your host network config, i.e when host got rebooted, it performs
 roll-back
 to old config, this is actually disaster recovery mechanism.



 Rickard

 **


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




 -- 


 Michael Pasternak
 RedHat, ENG-Virtualization RD



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



 


-- 

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
OK. Maybe I'm asking for something irrelevant, but to answer René's question; 
The use case is that there are two separate physical networks for general IP 
and storage IP, and Engine seems to require to be able to reach the NFS server 
to validate the connection when configuring mapping. So to be able to configure 
a NFS server, the Engine needs to be connected also to the storage network. 
It worked fine after manually tweaking the sysconfig/network-scripts, but this 
config was then shortly overridden by Engine discovering and trying to use the 
second NIC for bonding with ovirtmgmt. 

- Ursprungligt meddelande -

Från: Michael Pasternak mpast...@redhat.com 
Till: Rickard Kristiansson rick...@sanuksystems.com, users@ovirt.org, Oved 
Ourfalli ov...@redhat.com 
Kopia: Ohad Levy ol...@redhat.com 
Skickat: måndag, 23 sep 2013 13:35:40 
Ämne: Re: [Users] Multiple network interfaces on engine? 

On 09/23/2013 02:23 PM, Rickard Kristiansson wrote: 
 Hmm.. yes, I do have the storage network configured in DC and Cluster, and 
 also attached to all my hypervisors. 
 The question is just how I also attach it to the Engine server, as this isn't 
 visible as a node in the GUI? 

i think this could be done with puppet, afaik some work for integrating it to 
oVirt been done lately, though not sure if it's already available, 

oved? 

 
 
 
  
 *Från: *Michael Pasternak mpast...@redhat.com 
 *Till: *Rickard Kristiansson rick...@sanuksystems.com 
 *Kopia: *users@ovirt.org, \René \Koch (ovido)\\ r.k...@ovido.at 
 *Skickat: *måndag, 23 sep 2013 13:20:06 
 *Ämne: *Re: [Users] Multiple network interfaces on engine? 
 
 On 09/23/2013 01:50 PM, Rickard Kristiansson wrote: 
 Thanks Michael, 
 
 I'm still trying to get my head around this, but I can't see how I configure 
 the networks on the engine? 
 For nodes and AOI it's OK, but in my case I am running the engine as a 
 separate server which is not a node and does not show up as a Host in the 
 GUI. 
 Or do I need to add the engine as a host in the GUI as well, to be able to 
 configure it? 
 
 IIUC your question, you have various options: 
 
 1. GUI 
 2. SDKs 
 3. CLI 
 
 you need to create network in DC, attach it to cluster, attach to host NIC/s 
 (if you want it to be 
 atomic operation, i.e you expect connectivity loss during the operation/s, 
 setupnetworks should be used, 
 otherwise you can use attach-network dialogues in UI) 
 
 
 
 
  
 *Från: *Michael Pasternak mpast...@redhat.com 
 *Till: *Rickard Kristiansson rick...@sanuksystems.com 
 *Kopia: *users@ovirt.org 
 *Skickat: *måndag, 23 sep 2013 12:21:40 
 *Ämne: *Re: [Users] Multiple network interfaces on engine? 
 
 On 09/23/2013 12:54 PM, Rickard Kristiansson wrote: 
 Hi, 
 
 I want to use two network interfaces connected to different networks in 
 Engine (3.3), where one is for ovirtmgmt and one is for a separate storage 
 network. 
 It works fine for a minute or so after rebooting Engine, but then the 
 configuration is changed by Engine, connecting both interfaces to bond0 and 
 losing connectivity (as 
 obviously you can't bond those two interfaces when they are connected to 
 separate physical networks..). 
 What is the mechanism doing this, 
 
 please see this [1]. 
 
 [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks 
 
 and it is possible to disable this automatic network bonding on the engine 
 so that we can use separate networks on the network interfaces..? 
 
 attaching logs would help, but i guess it happen cause you did not saved 
 your host network config, i.e when host got rebooted, it performs roll-back 
 to old config, this is actually disaster recovery mechanism. 
 
 
 Rickard 
 
 ** 
 
 
 ___ 
 Users mailing list 
 Users@ovirt.org 
 http://lists.ovirt.org/mailman/listinfo/users 
 
 
 
 -- 
 
 Michael Pasternak 
 RedHat, ENG-Virtualization RD 
 
 
 
 -- 
 
 Michael Pasternak 
 RedHat, ENG-Virtualization RD 
 


-- 

Michael Pasternak 
RedHat, ENG-Virtualization RD 

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


Re: [Users] Update from 3.2 to 3.3 (CentOS 6.4)

2013-09-23 Thread Mike Burns

On 09/23/2013 03:51 AM, Sandro Bonazzola wrote:

Il 17/09/2013 00:48, Mike Burns ha scritto:

On 09/16/2013 06:41 PM, H. Haven Liu wrote:

Thanks for the discussion. But for those of us that are not using
gluster, but just good ol' NFS, is updating simply yum update
ovirt-*?



No, yum update won't upgrade ovirt packages.

If you're running on Fedora, you need to update Fedora first, then run 
engine-upgrade.  If you're on EL6, a simple engine-upgrade should work.

Ofer,  any other gotchas?  Can you have someone create a 3.2 to 3.3 upgrade 
page on the wiki?


Here you can find the test results of upgrading from Fedora 18 / oVirt 3.2 to 
Fedora 19 oVirt 3.3:
https://bugzilla.redhat.com/show_bug.cgi?id=1005950

I'm a bit short on time, but I can try to find some for creating that page. Any 
preference on the URL / page name?


Previous ones exist like this:

http://www.ovirt.org/OVirt_3.0_to_3.1_upgrade
http://www.ovirt.org/OVirt_3.1_to_3.2_upgrade

so this would make sense:

http://www.ovirt.org/OVirt_3.2_to_3.2_upgrade






Thanks

Mike


On Sep 16, 2013, at 2:54 PM, Mike Burns mbu...@redhat.com wrote:


On 09/16/2013 05:26 PM, Joop wrote:

Mike Burns wrote:

On 09/16/2013 04:30 PM, Joop wrote:

H. Haven Liu wrote:

Hello,

Is there any recommended procedure for updating from 3.2 to
3.3 (namely on a CentOS 6.4 system), or anything one should
be careful when doing such update?

Be careful when you use glusterfs, not nfs over glusterfs,
but read the release-notes. It should have something to say
about glusterfs domain not (yet) working on el6. Saw a small
discussion on irc just yet and my two cents are that you
can't add el6 support to ovirt in release 3.2 and then
withdraw it with 3.3 and say well just wait for
Centos/Rhel-6.5.


We haven't removed any functionality in 3.3.  In 3.2, we added
support for gluster domains through a POSIXFS interface.  In
3.3, we're adding a feature where we support gluster natively.
This works in Fedora, but is not available on EL6.  The POSIXFS
option still exists

You're right but what about users who want to use the (much)
improved speed of the gluster domain over the POSIXFS interface?
They are left out or they should move to Fed19 which I would do
but I need to convince a couple of other people as well and they
aren't going to agree.


I understand the complaint, honestly.  And we're working on a
solution so that it will work for people on EL6.

 From the perspective of whether we should release with this
limitation or not, I'd point out that by not releasing, we'd be
preventing everyone from using any of the new features until we get
a solution for this. I'd rather release and make it available for
everyone now and say that the Gluster domain for EL6 will come as
soon as we can work out the dependency issues.






The kernel can come from elrepo so that is not a burden for
the ovirt team, qemu/libvirt should be build by the ovirt
team and be available from the ovirt repo. At the moment I
also see/saw Jboss-7.1.1 qemu/libvirt wouldn't be the first
packages to be in the ovirt-repo which are also in the main
distributions repos.


We're trying to work out a way to do this in a consistent
manner going forward.  We should have a solution soon, but in
the meantime, the other functionality and features should work
on both Fedora and EL6.

Thanks for the clarification and I'm waiting eagerly for
what/when the solution comes out.


There have been a few considerations for solving this including
rebuilding pure upstream or fedora packages for EL6.  That is a
risky solution in my mind since there are rather large deltas
between Fedora and EL6.  We're looking at whether we can have a
virt-preview type of repo for EL6 similar to what exists today
for Fedora[1].


Thanks

Mike

[1]
http://fedoraproject.org/wiki/Virtualization_Preview_Repository


Joop

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


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


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



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





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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Oved Ourfalli


- Original Message -
 From: Michael Pasternak mpast...@redhat.com
 To: Rickard Kristiansson rick...@sanuksystems.com, users@ovirt.org, Oved 
 Ourfalli ov...@redhat.com
 Cc: Ohad Levy ol...@redhat.com
 Sent: Monday, September 23, 2013 2:35:40 PM
 Subject: Re: [Users] Multiple network interfaces on engine?
 
 On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
  Hmm.. yes, I do have the storage network configured in DC and Cluster, and
  also attached to all my hypervisors.
  The question is just how I also attach it to the Engine server, as this
  isn't visible as a node in the GUI?
 
 i think this could be done with puppet, afaik some work for integrating it to
 oVirt been done lately, though not sure if it's already available,
 
 oved?
 

Not sure I understand the use-case, but currently the integration doesn't allow 
provisioning of any kind on hosts.

Oved

  
  
  
  *Från: *Michael Pasternak mpast...@redhat.com
  *Till: *Rickard Kristiansson rick...@sanuksystems.com
  *Kopia: *users@ovirt.org, \René \Koch (ovido)\\ r.k...@ovido.at
  *Skickat: *måndag, 23 sep 2013 13:20:06
  *Ämne: *Re: [Users] Multiple network interfaces on engine?
  
  On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
  Thanks Michael,
 
  I'm still trying to get my head around this, but I can't see how I
  configure the networks on the engine?
  For nodes and AOI it's OK, but in my case I am running the engine as a
  separate server which is not a node and does not show up as a Host in the
  GUI.
  Or do I need to add the engine as a host in the GUI as well, to be able to
  configure it?
  
  IIUC your question, you have various options:
  
  1. GUI
  2. SDKs
  3. CLI
  
  you need to create network in DC, attach it to cluster, attach to host
  NIC/s (if you want it to be
  atomic operation, i.e you expect connectivity loss during the operation/s,
  setupnetworks should be used,
  otherwise you can use attach-network dialogues in UI)
  
 
 
  
  *Från: *Michael Pasternak mpast...@redhat.com
  *Till: *Rickard Kristiansson rick...@sanuksystems.com
  *Kopia: *users@ovirt.org
  *Skickat: *måndag, 23 sep 2013 12:21:40
  *Ämne: *Re: [Users] Multiple network interfaces on engine?
 
  On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
 
  I want to use two network interfaces connected to different networks in
  Engine (3.3), where one is for ovirtmgmt and one is for a separate
  storage network.
  It works fine for a minute or so after rebooting Engine, but then the
  configuration is changed by Engine, connecting both interfaces to bond0
  and losing connectivity (as
  obviously you can't bond those two interfaces when they are connected to
  separate physical networks..).
  What is the mechanism doing this,
 
  please see this [1].
 
  [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
  and it is possible to disable this automatic network bonding on the
  engine so that we can use separate networks on the network interfaces..?
 
  attaching logs would help, but i guess it happen cause you did not saved
  your host network config, i.e when host got rebooted, it performs
  roll-back
  to old config, this is actually disaster recovery mechanism.
 
 
  Rickard
 
  **
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
  --
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 
  
  
  --
  
  Michael Pasternak
  RedHat, ENG-Virtualization RD
  
 
 
 --
 
 Michael Pasternak
 RedHat, ENG-Virtualization RD
 ___
 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] Multiple network interfaces on engine?

2013-09-23 Thread Itamar Heim

On 09/23/2013 02:41 PM, Rickard Kristiansson wrote:

OK. Maybe I'm asking for something irrelevant, but to answer René's
question; The use case is that there are two separate physical networks
for general IP and storage IP, and Engine seems to require to be able to
reach the NFS server to validate the connection when configuring
mapping. So to be able to configure a NFS server, the Engine needs to be
connected also to the storage network.


engine does not need to be connected to storage network. it does all 
storage access via the hosts.



It worked fine after manually tweaking the sysconfig/network-scripts,
but this config was then shortly overridden by Engine discovering and
trying to use the second NIC for bonding with ovirtmgmt.


the engine isn't trying to bond by itself. have you bonded the 
interfaces on the host setup-network dialog?





*Från: *Michael Pasternak mpast...@redhat.com
*Till: *Rickard Kristiansson rick...@sanuksystems.com,
users@ovirt.org, Oved Ourfalli ov...@redhat.com
*Kopia: *Ohad Levy ol...@redhat.com
*Skickat: *måndag, 23 sep 2013 13:35:40
*Ämne: *Re: [Users] Multiple network interfaces on engine?

On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
  Hmm.. yes, I do have the storage network configured in DC and
Cluster, and also attached to all my hypervisors.
  The question is just how I also attach it to the Engine server, as
this isn't visible as a node in the GUI?

i think this could be done with puppet, afaik some work for integrating
it to
oVirt been done lately, though not sure if it's already available,

oved?

 
 
 

  *Från: *Michael Pasternak mpast...@redhat.com
  *Till: *Rickard Kristiansson rick...@sanuksystems.com
  *Kopia: *users@ovirt.org, \René \Koch (ovido)\\ r.k...@ovido.at
  *Skickat: *måndag, 23 sep 2013 13:20:06
  *Ämne: *Re: [Users] Multiple network interfaces on engine?
 
  On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
  Thanks Michael,
 
  I'm still trying to get my head around this, but I can't see how I
configure the networks on the engine?
  For nodes and AOI it's OK, but in my case I am running the engine as
a separate server which is not a node and does not show up as a Host in
the GUI.
  Or do I need to add the engine as a host in the GUI as well, to be
able to configure it?
 
  IIUC your question, you have various options:
 
  1. GUI
  2. SDKs
  3. CLI
 
  you need to create network in DC, attach it to cluster, attach to
host NIC/s (if you want it to be
  atomic operation, i.e you expect connectivity loss during the
operation/s, setupnetworks should be used,
  otherwise you can use attach-network dialogues in UI)
 
 
 
 

  *Från: *Michael Pasternak mpast...@redhat.com
  *Till: *Rickard Kristiansson rick...@sanuksystems.com
  *Kopia: *users@ovirt.org
  *Skickat: *måndag, 23 sep 2013 12:21:40
  *Ämne: *Re: [Users] Multiple network interfaces on engine?
 
  On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
  Hi,
 
  I want to use two network interfaces connected to different
networks in Engine (3.3), where one is for ovirtmgmt and one is for a
separate storage network.
  It works fine for a minute or so after rebooting Engine, but then
the configuration is changed by Engine, connecting both interfaces to
bond0 and losing connectivity (as
  obviously you can't bond those two interfaces when they are
connected to separate physical networks..).
  What is the mechanism doing this,
 
  please see this [1].
 
  [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
 
  and it is possible to disable this automatic network bonding on the
engine so that we can use separate networks on the network interfaces..?
 
  attaching logs would help, but i guess it happen cause you did not saved
  your host network config, i.e when host got rebooted, it performs
roll-back
  to old config, this is actually disaster recovery mechanism.
 
 
  Rickard
 
  **
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
  --
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 
 
 
  --
 
  Michael Pasternak
  RedHat, ENG-Virtualization RD
 


--

Michael Pasternak
RedHat, ENG-Virtualization RD



___
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] Multiple network interfaces on engine?

2013-09-23 Thread Joop

Rickard Kristiansson wrote:
OK. Maybe I'm asking for something irrelevant, but to answer René's 
question; The use case is that there are two separate physical 
networks for general IP and storage IP, and Engine seems to require to 
be able to reach the NFS server to validate the connection when 
configuring mapping. So to be able to configure a NFS server, the 
Engine needs to be connected also to the storage network.
It worked fine after manually tweaking the sysconfig/network-scripts, 
but this config was then shortly overridden by Engine discovering and 
trying to use the second NIC for bonding with ovirtmgmt.
I have also more than one interface in my Engine but never had this 
problem, I don't have a ovirtmgmt network on my Engine hosts thats not 
needed. I can understand the need for the engine server to have a nic/ip 
in the managment network AND a nic/ip in the storage network. I also 
have a separate access/public network and ilo network.
It looks like you have a bond defined somewhere and it looks like you 
have vdsm running on your engine server.


Just looking at my two engine servers and none has more than one ip. The 
one in the test setup doesn't even have storage assigned and doesn't 
need it. It sends mount commands to the hosts which DO have a separate 
storage network. My engine hosts don't host the iso/export domains so 
don't need to be in the storage network.


If you have the possibility, go back to a bare machine with 
NetworkManager turned off and network turned on. Make sure networking is 
working as expected, eth0=ip in managment, eth1= ip in storage. 
Install/setup ovirt-engine-setup, don't install vdsm (gets installed if 
you do allinone!) and things should 'just' work.


Regards,

Joop

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


Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Michael Pasternak

is it possible that you have all-in-one installed and have both the engine
and host on a same machine?

On 09/23/2013 04:05 PM, Itamar Heim wrote:
 On 09/23/2013 02:41 PM, Rickard Kristiansson wrote:
 OK. Maybe I'm asking for something irrelevant, but to answer René's
 question; The use case is that there are two separate physical networks
 for general IP and storage IP, and Engine seems to require to be able to
 reach the NFS server to validate the connection when configuring
 mapping. So to be able to configure a NFS server, the Engine needs to be
 connected also to the storage network.
 
 engine does not need to be connected to storage network. it does all storage 
 access via the hosts.
 
 It worked fine after manually tweaking the sysconfig/network-scripts,
 but this config was then shortly overridden by Engine discovering and
 trying to use the second NIC for bonding with ovirtmgmt.
 
 the engine isn't trying to bond by itself. have you bonded the interfaces on 
 the host setup-network dialog?
 

 
 *Från: *Michael Pasternak mpast...@redhat.com
 *Till: *Rickard Kristiansson rick...@sanuksystems.com,
 users@ovirt.org, Oved Ourfalli ov...@redhat.com
 *Kopia: *Ohad Levy ol...@redhat.com
 *Skickat: *måndag, 23 sep 2013 13:35:40
 *Ämne: *Re: [Users] Multiple network interfaces on engine?

 On 09/23/2013 02:23 PM, Rickard Kristiansson wrote:
   Hmm.. yes, I do have the storage network configured in DC and
 Cluster, and also attached to all my hypervisors.
   The question is just how I also attach it to the Engine server, as
 this isn't visible as a node in the GUI?

 i think this could be done with puppet, afaik some work for integrating
 it to
 oVirt been done lately, though not sure if it's already available,

 oved?

  
  
  
 
   *Från: *Michael Pasternak mpast...@redhat.com
   *Till: *Rickard Kristiansson rick...@sanuksystems.com
   *Kopia: *users@ovirt.org, \René \Koch (ovido)\\ r.k...@ovido.at
   *Skickat: *måndag, 23 sep 2013 13:20:06
   *Ämne: *Re: [Users] Multiple network interfaces on engine?
  
   On 09/23/2013 01:50 PM, Rickard Kristiansson wrote:
   Thanks Michael,
  
   I'm still trying to get my head around this, but I can't see how I
 configure the networks on the engine?
   For nodes and AOI it's OK, but in my case I am running the engine as
 a separate server which is not a node and does not show up as a Host in
 the GUI.
   Or do I need to add the engine as a host in the GUI as well, to be
 able to configure it?
  
   IIUC your question, you have various options:
  
   1. GUI
   2. SDKs
   3. CLI
  
   you need to create network in DC, attach it to cluster, attach to
 host NIC/s (if you want it to be
   atomic operation, i.e you expect connectivity loss during the
 operation/s, setupnetworks should be used,
   otherwise you can use attach-network dialogues in UI)
  
  
  
  
 
   *Från: *Michael Pasternak mpast...@redhat.com
   *Till: *Rickard Kristiansson rick...@sanuksystems.com
   *Kopia: *users@ovirt.org
   *Skickat: *måndag, 23 sep 2013 12:21:40
   *Ämne: *Re: [Users] Multiple network interfaces on engine?
  
   On 09/23/2013 12:54 PM, Rickard Kristiansson wrote:
   Hi,
  
   I want to use two network interfaces connected to different
 networks in Engine (3.3), where one is for ovirtmgmt and one is for a
 separate storage network.
   It works fine for a minute or so after rebooting Engine, but then
 the configuration is changed by Engine, connecting both interfaces to
 bond0 and losing connectivity (as
   obviously you can't bond those two interfaces when they are
 connected to separate physical networks..).
   What is the mechanism doing this,
  
   please see this [1].
  
   [1] http://www.ovirt.org/Features/Design/Network/SetupNetworks
  
   and it is possible to disable this automatic network bonding on the
 engine so that we can use separate networks on the network interfaces..?
  
   attaching logs would help, but i guess it happen cause you did not saved
   your host network config, i.e when host got rebooted, it performs
 roll-back
   to old config, this is actually disaster recovery mechanism.
  
  
   Rickard
  
   **
  
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
  
  
   --
  
   Michael Pasternak
   RedHat, ENG-Virtualization RD
  
  
  
   --
  
   Michael Pasternak
   RedHat, ENG-Virtualization RD
  


 -- 

 Michael Pasternak
 RedHat, ENG-Virtualization RD



 ___
 Users mailing list
 Users@ovirt.org
 

Re: [Users] Multiple network interfaces on engine?

2013-09-23 Thread Rickard Kristiansson
OK, thanks. Then I'm happy with the explanations that it is supposed to work 
the way I initially expected.. 
That all operations are actually carried out on the nodes is good news, and 
should solve all worries. 

I'll go back and see what is actually going wrong on the engine and try to fix 
it. 
I'd love to reinstall the engine, but as I can't find any documentation on how 
to reliably move configs from one engine to another, and I was brave enough to 
already put ovirt into production with a number of hypervisors, I'm somewhat 
limited to what I can/dare to do. 


- Ursprungligt meddelande -



I have also more than one interface in my Engine but never had this problem, I 
don't have a ovirtmgmt network on my Engine hosts thats not needed. I can 
understand the need for the engine server to have a nic/ip in the managment 
network AND a nic/ip in the storage network. I also have a separate 
access/public network and ilo network. 
It looks like you have a bond defined somewhere and it looks like you have vdsm 
running on your engine server. 

Just looking at my two engine servers and none has more than one ip. The one in 
the test setup doesn't even have storage assigned and doesn't need it. It sends 
mount commands to the hosts which DO have a separate storage network. My engine 
hosts don't host the iso/export domains so don't need to be in the storage 
network. 

If you have the possibility, go back to a bare machine with NetworkManager 
turned off and network turned on. Make sure networking is working as expected, 
eth0=ip in managment, eth1= ip in storage. Install/setup ovirt-engine-setup, 
don't install vdsm (gets installed if you do allinone!) and things should 
'just' work. 

Regards, 

Joop 


___ 
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] Cannot start VMs or delete disks from gluster storage

2013-09-23 Thread David Riedl

Hello everyone,
I recently created my first ovirt/vdms/gluster cluster. I did everything 
as it is described in the ovirt and glusterfs quick start.
The glusterfs Domain is recognized in the UI and is also mounted in the 
system. Everything looks fine to me. I can even create VMs.
But when I try to start them, the VM is stuck and doesn't start up and I 
don't get any error message (in the WebUI) either.

I can delete the VM, but not the disk.

OS Version:
RHEL - 6 - 4.el6.centos.10
Kernel Version:
2.6.32 - 358.18.1.el6.x86_64
KVM Version:
0.12.1.2 - 2.355.0.1.el6.centos.7
LIBVIRT Version:
libvirt-0.10.2-18.el6_4.14
VDSM Version:
vdsm-4.12.1-2.el6
SPICE Version:
0.12.0 - 12.el6_4.3

Oh and which log files do you need?

Regards

David

PS: Sorry if this is the wrong place to ask such things/problems. I'm 
pretty new to oVirt. :)
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Alon Bar-Lev


- Original Message -
 From: Nicholas Kesick cybertimber2...@hotmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Monday, September 23, 2013 5:52:17 PM
 Subject: [Users] Unable to finish AIO 3.3.0 - VDSM
 
 I'm having trouble with the AIO 3.3.0 install on Fedora 19 using jbrooks
 directions - I have DHCP, so I omitted the NM portion.
 The good news is that the engine-setup completes just fine, but the VDSM
 portion fails. I thought it had to do with a missing dependency but so far
 that hasn't helped either. Does anyone have any suggestions?
 
 The install is a Fedora 19 minimal install with the standard package of
 add-ons. I've tried with and without SELINUX in permissive. The only thing I
 have noticed is that the ovirtmgmt network is missing. When I try to
 activate the host using the web interface ovirtmgmt appears, but without an
 IP address, so the entire system loses connectivity.
 
 ovirt-engine-setup and vdsm log are attached and compressed.

Please attach any log you may have at /var/log/ovirt-engine/engine.log 
/var/log/ovirt-engine/host-deploy/*.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


[Users] How can I make a VM immortal?

2013-09-23 Thread lofyer
Besides assigning a watchdog device to it, are there any other ways to 
make the VM autostart even if an user shutdown it manually?

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


Re: [Users] Cannot start VMs or delete disks from gluster storage

2013-09-23 Thread Vijay Bellur

On 09/23/2013 08:08 PM, David Riedl wrote:

Hello everyone,
I recently created my first ovirt/vdms/gluster cluster. I did everything
as it is described in the ovirt and glusterfs quick start.
The glusterfs Domain is recognized in the UI and is also mounted in the
system. Everything looks fine to me. I can even create VMs.
But when I try to start them, the VM is stuck and doesn't start up and I
don't get any error message (in the WebUI) either.
I can delete the VM, but not the disk.

OS Version:
RHEL - 6 - 4.el6.centos.10
Kernel Version:
2.6.32 - 358.18.1.el6.x86_64
KVM Version:
0.12.1.2 - 2.355.0.1.el6.centos.7
LIBVIRT Version:
libvirt-0.10.2-18.el6_4.14
VDSM Version:
vdsm-4.12.1-2.el6
SPICE Version:
0.12.0 - 12.el6_4.3



What versions of qemu and glusterfs are you using?



Oh and which log files do you need?

Regards

David

PS: Sorry if this is the wrong place to ask such things/problems. I'm
pretty new to oVirt. :)


This certainly is the right place to ask for all queries related to oVirt :)



___
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 add host to ovirt-engine

2013-09-23 Thread kumar shantanu
Thanks all of your, I have ovirt up and running now. Will keep posting as i
face new problems.

Thanks
Shantanu


On Fri, Sep 20, 2013 at 10:36 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Itamar Heim ih...@redhat.com
  To: kumar shantanu k.shantanu2...@gmail.com
  Cc: users users@ovirt.org
  Sent: Friday, September 20, 2013 7:55:30 PM
  Subject: Re: [Users] Can not add host to ovirt-engine
 
  On 09/20/2013 04:41 PM, kumar shantanu wrote:
   Ah okay, I see. So I just need to install bridgeutils and don't need to
   created any bridge ?
 
  if bridgeutils is needed, i'd expect vdsm to require it?

 it is.

 
   There is no vms running, it's a fresh installation.
  
   Thanks
   Shantanu
  
  
  
   On Fri, Sep 20, 2013 at 6:25 PM, Kanagaraj kmayi...@redhat.com
   mailto:kmayi...@redhat.com wrote:
  
   'ovirtmgmt' will be created by engine, you dont need to create one,
   you can check this exists in your host.
   from vdsm.log, vdsmd taking time to  complete the initialization.
   Are there any vms running in this host?
  
   Thanks,
   Kanagaraj
  
  
   On 09/20/2013 05:00 PM, kumar shantanu wrote:
   Hello Kangaraj,
  
   I created bridge br0 manually before adding host.
   (br0   Link encap:Ethernet  HWaddr 78:45:C4:14:39:21  ),
   Do I need to create a bridge named ovirtmgmt ??
  
   Is the there anything in /var/log/vdsm/vdsm.log ?
   I am attaching piece of logs from vdsm.log for you.
  
   Thanks for your help
   Shantanu
  
  
  
  
   On Fri, Sep 20, 2013 at 4:41 PM, Kanagaraj kmayi...@redhat.com
   mailto:kmayi...@redhat.com wrote:
  
  
   'ovirtmgmt' bridge gets created in the host during the
   'Initializing' phase, may be you can check the existence of
   this bridge in the host. By looking at the log, engine is not
   able to communicate with the vdsm in the host.
  
   Is the there anything in /var/log/vdsm/vdsm.log ?
  
   Thanks,
   Kanagaraj
  
  
   On 09/20/2013 04:35 PM, kumar shantanu wrote:
   Hello guys,
  
   I am trying to setup ovirt now and it's installed and setup
   as per http://www.ovirt.org/Download.
  
   However when I am doing the first step which is adding host
   this is what I am getting in the logs and it's stuck at
   initializing hosts
  
   , Custom Event ID: -1, Message: Host Local is initializing.
   Message: Recovering from crash or Initializing
   2013-09-20 12:00:01,766 WARN
   [org.ovirt.engine.core.vdsbroker.VdsManager]
   (DefaultQuartzScheduler_Worker-98) Failed to refresh VDS ,
   vds = f70911ce-457d-4ef7-9a01-d66bfd25b910 : Local, error =
   Recovering from crash or Initializing, continuing.
   2013-09-20 12:00:04,772 INFO
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-99) Command
  
 org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
   return value
  
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@23c03b6d
   2013-09-20 12:00:04,773 INFO
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-99) HostName = Local
   2013-09-20 12:00:04,774 ERROR
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-99) Command GetCapabilitiesVDS
   execution failed. Exception: VDSRecoveringException:
   Recovering from crash or Initializing
   2013-09-20 12:00:07,781 INFO
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-100) Command
  
 org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
   return value
  
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSInfoReturnForXmlRpc@3aad8c77
   2013-09-20 12:00:07,782 INFO
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-100) HostName = Local
   2013-09-20 12:00:07,782 ERROR
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-100) Command
   GetCapabilitiesVDS execution failed. Exception:
   VDSRecoveringException: Recovering from crash or Initializing
   2013-09-20 12:00:10,796 INFO
  
 [org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand]
   (DefaultQuartzScheduler_Worker-9) Command
  
 org.ovirt.engine.core.vdsbroker.vdsbroker.GetCapabilitiesVDSCommand
   return value
  
  
   Any idea please
  
   Thanks
   Shantanu
  
  
   ___
   Users mailing list
   Users@ovirt.org  

Re: [Users] Cannot start VMs or delete disks from gluster storage

2013-09-23 Thread David Riedl

 What versions of qemu and glusterfs are you using?

yum info qemu-kvm.x86_64
Name: qemu-kvm
Arch: x86_64
Epoch   : 2
Version : 0.12.1.2
Release : 2.355.0.1.el6.centos.7

yum info glusterfs
Name: qemu-kvm
Arch: x86_64
Epoch   : 2
Version : 0.12.1.2
Release : 2.355.0.1.el6.centos.7

I'm screwing the format of this mail up... Did I mention that I'm also 
new to mailing lists? :



And oh. I think I did ignore this:

 Warning: Native GlusterFS support will not work with Red Hat 
Enterprise Linux 6.4 at this time



Anyway, before we venture any further, here is a quick explanation what 
I did on 2 servers who have the same configuration:


creating software raid on 2x160GB SATA HDDs
one 10GB LV
one 134GB LV (formatted in xfs)
used both 134GB LVs for glusterfs replication

Is there anything fundamentally wrong with this configuration? I know 
it's not ideal and not good for performance, but in the end it only 
serve for a small SIP gate and some firewall.


Regards

David



On 23.09.2013 17:28, Vijay Bellur wrote:

On 09/23/2013 08:08 PM, David Riedl wrote:

Hello everyone,
I recently created my first ovirt/vdms/gluster cluster. I did everything
as it is described in the ovirt and glusterfs quick start.
The glusterfs Domain is recognized in the UI and is also mounted in the
system. Everything looks fine to me. I can even create VMs.
But when I try to start them, the VM is stuck and doesn't start up and I
don't get any error message (in the WebUI) either.
I can delete the VM, but not the disk.

OS Version:
RHEL - 6 - 4.el6.centos.10
Kernel Version:
2.6.32 - 358.18.1.el6.x86_64
KVM Version:
0.12.1.2 - 2.355.0.1.el6.centos.7
LIBVIRT Version:
libvirt-0.10.2-18.el6_4.14
VDSM Version:
vdsm-4.12.1-2.el6
SPICE Version:
0.12.0 - 12.el6_4.3



What versions of qemu and glusterfs are you using?





Oh and which log files do you need?

Regards

David

PS: Sorry if this is the wrong place to ask such things/problems. I'm
pretty new to oVirt. :)


This certainly is the right place to ask for all queries related to 
oVirt :)




___
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] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Alon Bar-Lev

Moti,

Any hint?

Thanks,
Alon

---
2013-09-23 07:09:26,813 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-6-thread-3) 
Command PollVDS execution failed. Exception: RuntimeException: 
java.util.concurrent.ExecutionException: 
java.lang.reflect.InvocationTargetException
2013-09-23 07:09:27,314 WARN  
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(pool-6-thread-3) Unexpected return value: StatusForXmlRpc [mCode=29, mMessage=]
2013-09-23 07:09:27,314 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(pool-6-thread-3) Failed in SetupNetworksVDS method
2013-09-23 07:09:27,314 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(pool-6-thread-3) Error code unexpected and error message VDSGenericException: 
VDSErrorException: Failed to SetupNetworksVDS, error = 
2013-09-23 07:09:27,315 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(pool-6-thread-3) org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error = 
2013-09-23 07:09:27,315 ERROR 
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] 
(pool-6-thread-3) Command SetupNetworksVDS execution failed. Exception: 
VDSErrorException: VDSGenericException: VDSErrorException: Failed to 
SetupNetworksVDS, error = 
2013-09-23 07:09:27,315 ERROR 
[org.ovirt.engine.core.bll.network.host.SetupNetworksCommand] (pool-6-thread-3) 
Command org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc 
Bll exception. With error message VdcBLLException: 
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: 
VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =  
(Failed with VDSM error unexpected and code 16)
2013-09-23 07:09:27,340 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(pool-6-thread-3) Failed to configure management network: Failed to configure 
management network on host local_host due to setup networks failure.
2013-09-23 07:09:27,340 ERROR [org.ovirt.engine.core.bll.InstallVdsCommand] 
(pool-6-thread-3) Host installation failed for host 
5e3da5d9-7133-4119-86c0-f655d3e37b38, local_host.: 
org.ovirt.engine.core.bll.InstallVdsCommand$VdsInstallException: Failed to 
configure management network on the host
at 
org.ovirt.engine.core.bll.InstallVdsCommand.configureManagementNetwork(InstallVdsCommand.java:306)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.installHost(InstallVdsCommand.java:205)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:105)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1128)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1213)
 [bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1871) 
[bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:174)
 [utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:116)
 [utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1231) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:365) 
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:408) 
[bll.jar:]
at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:387) 
[bll.jar:]
at 
org.ovirt.engine.core.bll.Backend.runInternalAction(Backend.java:627) [bll.jar:]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
[rt.jar:1.7.0_40]
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
[rt.jar:1.7.0_40]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [rt.jar:1.7.0_40]
at java.lang.reflect.Method.invoke(Method.java:606) [rt.jar:1.7.0_40]
at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedReferenceMethodInterceptor.processInvocation(ManagedReferenceMethodInterceptorFactory.java:72)
 [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation.jar:1.1.1.Final]
at 
org.jboss.invocation.WeavedInterceptor.processInvocation(WeavedInterceptor.java:53)
 [jboss-invocation.jar:1.1.1.Final]
at 
org.jboss.as.ee.component.interceptors.UserInterceptorFactory$1.processInvocation(UserInterceptorFactory.java:36)
 [jboss-as-ee-7.1.1.Final.jar:7.1.1.Final]
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288) 
[jboss-invocation.jar:1.1.1.Final]
at 

Re: [Users] Update from 3.2 to 3.3 (CentOS 6.4)

2013-09-23 Thread H. Haven Liu
Apparently that's not it. I reinstalled the hosts and managed to get the DC to 
v3.3, and the VMs are showing up as Cluster Compatibility Version: 3.3, but 
resize Disk is still no-go.

On Sep 23, 2013, at 9:13 AM, Mike Burns mbu...@redhat.com wrote:

 On 09/23/2013 12:11 PM, H. Haven Liu wrote:
 I was able to upgrade with engine-setup after running yum update
 ovirt-engine-setup as requested. The upgrade processes completed
 successfully (at least according to [ INFO  ] Execution of upgrade
 completed successfully)
 
 However, it appears I'm unable to gain the benefits of 3.3, such as
 Online Virtual Drive Resize[1], which I'm guessing has something to do
 with that my VMs still report that the Cluster Compatibility Version
 as 3.2. Is there any way to update the VMs or otherwise enable that
 feature?
 
 
 [1]http://www.ovirt.org/Features/Online_Virtual_Drive_Resize
 On Sep 23, 2013, at 5:11 AM, Mike Burns mbu...@redhat.com
 mailto:mbu...@redhat.com wrote:
 
 On 09/23/2013 03:51 AM, Sandro Bonazzola wrote:
 Il 17/09/2013 00:48, Mike Burns ha scritto:
 On 09/16/2013 06:41 PM, H. Haven Liu wrote:
 Thanks for the discussion. But for those of us that are not using
 gluster, but just good ol' NFS, is updating simply yum update
 ovirt-*?
 
 
 No, yum update won't upgrade ovirt packages.
 
 If you're running on Fedora, you need to update Fedora first, then
 run engine-upgrade.  If you're on EL6, a simple engine-upgrade
 should work.
 
 Ofer,  any other gotchas?  Can you have someone create a 3.2 to 3.3
 upgrade page on the wiki?
 
 Here you can find the test results of upgrading from Fedora 18 /
 oVirt 3.2 to Fedora 19 oVirt 3.3:
 https://bugzilla.redhat.com/show_bug.cgi?id=1005950
 
 I'm a bit short on time, but I can try to find some for creating that
 page. Any preference on the URL / page name?
 
 Previous ones exist like this:
 
 http://www.ovirt.org/OVirt_3.0_to_3.1_upgrade
 http://www.ovirt.org/OVirt_3.1_to_3.2_upgrade
 
 so this would make sense:
 
 http://www.ovirt.org/OVirt_3.2_to_3.2_upgrade
 
 
 
 
 Thanks
 
 Mike
 
 On Sep 16, 2013, at 2:54 PM, Mike Burns mbu...@redhat.com wrote:
 
 On 09/16/2013 05:26 PM, Joop wrote:
 Mike Burns wrote:
 On 09/16/2013 04:30 PM, Joop wrote:
 H. Haven Liu wrote:
 Hello,
 
 Is there any recommended procedure for updating from 3.2 to
 3.3 (namely on a CentOS 6.4 system), or anything one should
 be careful when doing such update?
 Be careful when you use glusterfs, not nfs over glusterfs,
 but read the release-notes. It should have something to say
 about glusterfs domain not (yet) working on el6. Saw a small
 discussion on irc just yet and my two cents are that you
 can't add el6 support to ovirt in release 3.2 and then
 withdraw it with 3.3 and say well just wait for
 Centos/Rhel-6.5.
 
 We haven't removed any functionality in 3.3.  In 3.2, we added
 support for gluster domains through a POSIXFS interface.  In
 3.3, we're adding a feature where we support gluster natively.
 This works in Fedora, but is not available on EL6.  The POSIXFS
 option still exists
 You're right but what about users who want to use the (much)
 improved speed of the gluster domain over the POSIXFS interface?
 They are left out or they should move to Fed19 which I would do
 but I need to convince a couple of other people as well and they
 aren't going to agree.
 
 I understand the complaint, honestly.  And we're working on a
 solution so that it will work for people on EL6.
 
 From the perspective of whether we should release with this
 limitation or not, I'd point out that by not releasing, we'd be
 preventing everyone from using any of the new features until we get
 a solution for this. I'd rather release and make it available for
 everyone now and say that the Gluster domain for EL6 will come as
 soon as we can work out the dependency issues.
 
 
 
 The kernel can come from elrepo so that is not a burden for
 the ovirt team, qemu/libvirt should be build by the ovirt
 team and be available from the ovirt repo. At the moment I
 also see/saw Jboss-7.1.1 qemu/libvirt wouldn't be the first
 packages to be in the ovirt-repo which are also in the main
 distributions repos.
 
 We're trying to work out a way to do this in a consistent
 manner going forward.  We should have a solution soon, but in
 the meantime, the other functionality and features should work
 on both Fedora and EL6.
 Thanks for the clarification and I'm waiting eagerly for
 what/when the solution comes out.
 
 There have been a few considerations for solving this including
 rebuilding pure upstream or fedora packages for EL6.  That is a
 risky solution in my mind since there are rather large deltas
 between Fedora and EL6.  We're looking at whether we can have a
 virt-preview type of repo for EL6 similar to what exists today
 for Fedora[1].
 
 
 Thanks
 
 Mike
 
 [1]
 http://fedoraproject.org/wiki/Virtualization_Preview_Repository
 
 Joop
 
 ___ Users mailing
 list Users@ovirt.org
 

Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Moti Asayag
I have looked at the getVdsCapabilities reported by VDSM for the first time, on 
which the engine based its
setupNetwork command for configuring the management network:

'lastClientIface': 'em1',
'nics': {'em1': {'netmask': '255.255.255.0', 'addr': '192.168.2.9', 'hwaddr': 
'a4:ba:db:ec:ea:cd', 'cfg': {}, 'ipv6addrs': ['fe80::a6ba:dbff:feec:eacd/64', 
'2001:4830:1692:1:a6ba:dbff:feec:eacd/64'], 'speed': 1000, 'mtu': '1500'}}

Based on that input, the engine sends setupNetwork command to configure the 
management network on top of 'em1' nic.
However, since it has no bootprotocol or gateway, it is identified as 
bootproto=NONE, which result in engine not to pass ip address/subnet/gateway to 
vdsm, therefore the command fails.

networks=[ovirtmgmt {id=b05f272d-473f-41cb-b5a0-25cf06951f6b, 
description=Management Network, comment=null, subnet=null, gateway=null, 
type=null, vlanId=null, stp=false, 
dataCenterId=7a7e4a7a-ecc8-4b3e-b200-2b54d0809a52, mtu=0, vmNetwork=true, 
cluster=NetworkCluster {id={clusterId=null, networkId=null}, 
status=OPERATIONAL, display=false, required=true, migration=false}, 
providedBy=null, label=null}],
bonds=[],
interfaces=[em1 {id=80a1e7c8-05bd-4209-a6fe-a23c38538330, 
vdsId=5e3da5d9-7133-4119-86c0-f655d3e37b38, name=em1, 
macAddress=a4:ba:db:ec:ea:cd, networkName=ovirtmgmt, bondName=null, 
bootProtocol=NONE, address=192.168.2.9, subnet=255.255.255.0, gateway=null, 
mtu=0, bridged=true, speed=1000, type=2, networkImplementationDetails=null}],
removedNetworks=[],

As received by VDSM, where we can see the ip address and the subnet are omitted:
Thread-17::DEBUG::2013-09-23 07:07:21,314::BindingXMLRPC::979::vds::(wrapper) 
client [192.168.2.9]::call setupNetworks with ({'ovirtmgmt': {'nic': 'em1', 
'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 
'connectivityTimeout': 120}) {}

Looking at the traceback on vdsm.log reveals less information:
storageRefresh::DEBUG::2013-09-23 
07:07:22,597::misc::817::SamplingMethod::(__call__) Returning last result
Thread-17::ERROR::2013-09-23 07:09:24,154::API::1261::vds::(setupNetworks)
Traceback (most recent call last):
  File /usr/share/vdsm/API.py, line 1259, in setupNetworks
supervdsm.getProxy().setupNetworks(networks, bondings, options)
  File /usr/share/vdsm/supervdsm.py, line 50, in __call__
return callMethod()
  File /usr/share/vdsm/supervdsm.py, line 48, in lambda
**kwargs)
  File string, line 2, in setupNetworks
  File /usr/lib64/python2.7/multiprocessing/managers.py, line 773, in 
_callmethod
raise convert_to_error(kind, result)
ConfigNetworkError: (29, '')


Nicholas, could you add also /var/log/vdsm/supervdsm.log and /var/log/messages 
so we can get more input about
the failure to bring up em1 ?

- Original Message -
 From: Alon Bar-Lev alo...@redhat.com
 To: Nicholas Kesick cybertimber2...@hotmail.com, Moti Asayag 
 masa...@redhat.com
 Cc: oVirt Mailing List users@ovirt.org
 Sent: Monday, September 23, 2013 5:36:57 PM
 Subject: Re: [Users] Unable to finish AIO 3.3.0 - VDSM
 
 
 Moti,
 
 Any hint?
 
 Thanks,
 Alon
 
 ---
 2013-09-23 07:09:26,813 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.PollVDSCommand] (pool-6-thread-3)
 Command PollVDS execution failed. Exception: RuntimeException:
 java.util.concurrent.ExecutionException:
 java.lang.reflect.InvocationTargetException
 2013-09-23 07:09:27,314 WARN
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (pool-6-thread-3) Unexpected return value: StatusForXmlRpc [mCode=29,
 mMessage=]
 2013-09-23 07:09:27,314 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (pool-6-thread-3) Failed in SetupNetworksVDS method
 2013-09-23 07:09:27,314 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (pool-6-thread-3) Error code unexpected and error message
 VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =
 2013-09-23 07:09:27,315 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (pool-6-thread-3)
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
 VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =
 2013-09-23 07:09:27,315 ERROR
 [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand]
 (pool-6-thread-3) Command SetupNetworksVDS execution failed. Exception:
 VDSErrorException: VDSGenericException: VDSErrorException: Failed to
 SetupNetworksVDS, error =
 2013-09-23 07:09:27,315 ERROR
 [org.ovirt.engine.core.bll.network.host.SetupNetworksCommand]
 (pool-6-thread-3) Command
 org.ovirt.engine.core.bll.network.host.SetupNetworksCommand throw Vdc Bll
 exception. With error message VdcBLLException:
 org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
 VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS, error =
 (Failed with VDSM error unexpected and code 16)
 2013-09-23 07:09:27,340 INFO
 

Re: [Users] Update from 3.2 to 3.3 (CentOS 6.4)

2013-09-23 Thread Mike Burns

On 09/23/2013 12:11 PM, H. Haven Liu wrote:

I was able to upgrade with engine-setup after running yum update
ovirt-engine-setup as requested. The upgrade processes completed
successfully (at least according to [ INFO  ] Execution of upgrade
completed successfully)

However, it appears I'm unable to gain the benefits of 3.3, such as
Online Virtual Drive Resize[1], which I'm guessing has something to do
with that my VMs still report that the Cluster Compatibility Version
as 3.2. Is there any way to update the VMs or otherwise enable that
feature?


[1]http://www.ovirt.org/Features/Online_Virtual_Drive_Resize
On Sep 23, 2013, at 5:11 AM, Mike Burns mbu...@redhat.com
mailto:mbu...@redhat.com wrote:


On 09/23/2013 03:51 AM, Sandro Bonazzola wrote:

Il 17/09/2013 00:48, Mike Burns ha scritto:

On 09/16/2013 06:41 PM, H. Haven Liu wrote:

Thanks for the discussion. But for those of us that are not using
gluster, but just good ol' NFS, is updating simply yum update
ovirt-*?



No, yum update won't upgrade ovirt packages.

If you're running on Fedora, you need to update Fedora first, then
run engine-upgrade.  If you're on EL6, a simple engine-upgrade
should work.

Ofer,  any other gotchas?  Can you have someone create a 3.2 to 3.3
upgrade page on the wiki?


Here you can find the test results of upgrading from Fedora 18 /
oVirt 3.2 to Fedora 19 oVirt 3.3:
https://bugzilla.redhat.com/show_bug.cgi?id=1005950

I'm a bit short on time, but I can try to find some for creating that
page. Any preference on the URL / page name?


Previous ones exist like this:

http://www.ovirt.org/OVirt_3.0_to_3.1_upgrade
http://www.ovirt.org/OVirt_3.1_to_3.2_upgrade

so this would make sense:

http://www.ovirt.org/OVirt_3.2_to_3.2_upgrade






Thanks

Mike


On Sep 16, 2013, at 2:54 PM, Mike Burns mbu...@redhat.com wrote:


On 09/16/2013 05:26 PM, Joop wrote:

Mike Burns wrote:

On 09/16/2013 04:30 PM, Joop wrote:

H. Haven Liu wrote:

Hello,

Is there any recommended procedure for updating from 3.2 to
3.3 (namely on a CentOS 6.4 system), or anything one should
be careful when doing such update?

Be careful when you use glusterfs, not nfs over glusterfs,
but read the release-notes. It should have something to say
about glusterfs domain not (yet) working on el6. Saw a small
discussion on irc just yet and my two cents are that you
can't add el6 support to ovirt in release 3.2 and then
withdraw it with 3.3 and say well just wait for
Centos/Rhel-6.5.


We haven't removed any functionality in 3.3.  In 3.2, we added
support for gluster domains through a POSIXFS interface.  In
3.3, we're adding a feature where we support gluster natively.
This works in Fedora, but is not available on EL6.  The POSIXFS
option still exists

You're right but what about users who want to use the (much)
improved speed of the gluster domain over the POSIXFS interface?
They are left out or they should move to Fed19 which I would do
but I need to convince a couple of other people as well and they
aren't going to agree.


I understand the complaint, honestly.  And we're working on a
solution so that it will work for people on EL6.

From the perspective of whether we should release with this
limitation or not, I'd point out that by not releasing, we'd be
preventing everyone from using any of the new features until we get
a solution for this. I'd rather release and make it available for
everyone now and say that the Gluster domain for EL6 will come as
soon as we can work out the dependency issues.






The kernel can come from elrepo so that is not a burden for
the ovirt team, qemu/libvirt should be build by the ovirt
team and be available from the ovirt repo. At the moment I
also see/saw Jboss-7.1.1 qemu/libvirt wouldn't be the first
packages to be in the ovirt-repo which are also in the main
distributions repos.


We're trying to work out a way to do this in a consistent
manner going forward.  We should have a solution soon, but in
the meantime, the other functionality and features should work
on both Fedora and EL6.

Thanks for the clarification and I'm waiting eagerly for
what/when the solution comes out.


There have been a few considerations for solving this including
rebuilding pure upstream or fedora packages for EL6.  That is a
risky solution in my mind since there are rather large deltas
between Fedora and EL6.  We're looking at whether we can have a
virt-preview type of repo for EL6 similar to what exists today
for Fedora[1].


Thanks

Mike

[1]
http://fedoraproject.org/wiki/Virtualization_Preview_Repository


Joop

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


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


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



___
Users 

Re: [Users] oVirt 3.3/F19 - Windows guest unable to access network

2013-09-23 Thread SULLIVAN, Chris (WGK)
Hi Dan,

I can confirm that NetworkManager has been disabled on each host and none of 
the interfaces are managed by it. After finally getting the bond to change mode 
to balance-alb, all the Windows VMs now have normally functioning networks. 
Looks like balance-rr is no good for Windows guests for some reason (packet MAC 
address sender/receiver issues? No idea really, just guessing).

This is more of a Fedora problem than an oVirt problem, however I cannot get 
the bonding configuration to persist through a reboot. I have mode=balance-alb 
specified via the BONDING_OPTS variable in the ifcfg-bond0 file, however after 
reboot the bond always reverts to balance-rr. The only workaround I've found so 
far is to delete the bond via ip link delete..., move the ifcfg-bond0 file, 
restart the network service, then shutdown the service, move the ifcfg-bond0 
file back, and finally bringing up the network service again. 

Cheers,

Chris


-Original Message-
From: Dan Kenigsberg [mailto:dan...@redhat.com] 
Sent: Monday, September 23, 2013 5:11 PM
To: SULLIVAN, Chris (WGK)
Cc: users@ovirt.org
Subject: Re: [Users] oVirt 3.3/F19 - Windows guest unable to access network

On Fri, Sep 20, 2013 at 10:50:20AM +, SULLIVAN, Chris (WGK) wrote:
 Hi,
 
 Just following up on this issue. Turns out the network problems were being 
 caused by the bond0 interface.
 
 The initial configuration was two NICs teamed as bond0, which was then 
 bridged to the ovirtmgmt interface. With this configuration, RHEL guests 
 could access the network normally but Windows guests (XP, 7, 2008 R2) could 
 not. After deactivating the bond0 interface and bridging one of the NICs 
 directly to the ovirtmgmt interface, both RHEL and Windows guests have fully 
 functioning networks.
 
 I am not sure why exactly the bond0 interface was not working as intended. 
 The initial configuration had the mode as balance-rr, is this known to cause 
 problems? My intention was to have the mode as balance-alb however the 
 bonding driver in F19 seems to completely ignore any BONDING_OPTS settings in 
 the ifcfg-bond0 file. Attempts to change the bonding mode directly via 
 /sys/class/net/bond0/bonding/mode repeatedly failed due to 'the bond having 
 slaves', even after the bond had been taken down via ifconfig. I was not able 
 to remove the bond0 definition either, even after removing the ifcfg-bond0 
 file and the modprobe.d alias.
 
 Is there a recommended/tested bonding configuration HOWTO for oVirt on F19?
 
 Joop: Responses as follows:
  - Windows firewall was disabled in each Windows VM
  - Changing the CPU setting and starting the VM directly on the host 
 via QEMU (i.e. not through oVirt) did not seem to affect the behavior
 
 Thanks,
 
 Chris
 
 
 
 PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY 
 NEED TO.
 
 This email and its attachments may contain information which is confidential 
 and/or legally privileged. If you are not the intended recipient of this 
 e-mail please notify the sender immediately by e-mail and delete this e-mail 
 and its attachments from your computer and IT systems. You must not copy, 
 re-transmit, use or disclose (other than to the sender) the existence or 
 contents of this email or its attachments or permit anyone else to do so.
 
 -
 
 -Original Message-
 From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On 
 Behalf Of users-requ...@ovirt.org
 Sent: Thursday, September 19, 2013 3:31 PM
 To: users@ovirt.org
 Subject: Users Digest, Vol 24, Issue 93
 
 --
 
 Message: 3
 Date: Thu, 19 Sep 2013 09:13:43 +0200
 From: noc n...@nieuwland.nl
 Cc: users@ovirt.org users@ovirt.org
 Subject: Re: [Users] oVirt 3.3/F19 - Windows guest unable to access
 network
 Message-ID: 523aa427.2060...@nieuwland.nl
 Content-Type: text/plain; charset=iso-8859-1; Format=flowed
 
 On 18-9-2013 23:08, SULLIVAN, Chris (WGK) wrote:
 
  Hi,
 
  I'm having network issues with a Windows Server 2008 R2 guest 
  running on an F19 host. The guest has a static configuration and is 
  able to ping itself and the host it is running on, however cannot 
  ping the gateway, any other hosts on the local network, or external 
  hosts. A RHEL 6.4 guest on the same host with a similar static 
  configuration works normally.
 
  Iptables/firewalld on the host are switched off and the network 
  definitions in the XML for each VM (Windows/RHEL) are the same. The 
  virtio network drivers are installed in the guest. The guest was 
  created from a Win 2008 R2 template, which was created from a VM 
  imported from oVirt 3.2. Software versions below.
 
 Just to be sure, iptables/firewalld!=Windows Firewall. Is there a rule 
 in the windows firewall to allow ping or is it disabled?
 
  Are there any manual configuration steps required on the host to 
  support Windows guests? Are there any particular diagnostic steps I 
  could take to try and narrow down 

Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Jason Brooks


- Original Message -
 From: Nicholas Kesick cybertimber2...@hotmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Monday, September 23, 2013 7:52:17 AM
 Subject: [Users] Unable to finish AIO 3.3.0 - VDSM
 
 I'm having trouble with the AIO 3.3.0 install on Fedora 19 using jbrooks
 directions - I have DHCP, so I omitted the NM portion.
 The good news is that the engine-setup completes just fine, but the VDSM
 portion fails. I thought it had to do with a missing dependency but so far
 that hasn't helped either. Does anyone have any suggestions?
 
 The install is a Fedora 19 minimal install with the standard package of
 add-ons. I've tried with and without SELINUX in permissive. The only thing I

Hi Nicholas, I just installed an F19 AIO without any problem. My install was
only minimal, though. I restored my snapshot to pre-ovirt install and added
the standard group, rebooted, installed, and vdsm still installed normally.

I'm wondering if it makes a difference if the system starts out with 
minimal+standard, rather than starting out minimal and adding standard after...

This is with dhcp addressing.

Jason

 have noticed is that the ovirtmgmt network is missing. When I try to
 activate the host using the web interface ovirtmgmt appears, but without an
 IP address, so the entire system loses connectivity.
 
 ovirt-engine-setup and vdsm log are attached and compressed.
 
 
 
 
 
 ___
 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 3.3.0-4/F19 - Extending VM disk gives correct size but appears to wipe the drive contents

2013-09-23 Thread SULLIVAN, Chris (WGK)
Hi,

I had a number of Windows VMs running in oVirt 3.3 that required their 
preallocated OS disks to be extended. Each OS disk had a single partition 
taking up the entire drive. As per 
http://www.ovirt.org/Features/Online_Virtual_Drive_Resize I shut down all the 
VMs, extended each OS disk by 10GB (total 25GB) via the web interface, then 
clicked OK. The tasks appeared to complete successfully and each of the OS 
disks had the expected real size on the Gluster storage volume.

On startup however none of the VMs would recognize their OS disk as being a 
bootable device. Checking one of the OS disks via TestDisk (both quick and deep 
scans) revealed no partitions and the error ‘Partition sector doesn’t have the 
endmark 0xAA55’. It appears that each OS disk was wiped as part of the 
extension process although I’m really hoping that this isn’t the case!

Are there any other approaches I could use to attempt to recover the OS disk 
data or at least verify whether the original disk partitions are recoverable?

Thanks,

Chris








PLEASE CONSIDER THE ENVIRONMENT, DON'T PRINT THIS EMAIL UNLESS YOU REALLY NEED 
TO.



This email and its attachments may contain information which is confidential 
and/or legally privileged. If you are not the intended recipient of this e-mail 
please notify the sender immediately by e-mail and delete this e-mail and its 
attachments from your computer and IT systems. You must not copy, re-transmit, 
use or disclose (other than to the sender) the existence or contents of this 
email or its attachments or permit anyone else to do so.




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


Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Jason Brooks


 
 Hi Nicholas, I just installed an F19 AIO without any problem. My install was
 only minimal, though. I restored my snapshot to pre-ovirt install and added
 the standard group, rebooted, installed, and vdsm still installed normally.
 
 I'm wondering if it makes a difference if the system starts out with
 minimal+standard, rather than starting out minimal and adding standard
 after...
 
 This is with dhcp addressing.

Another difference -- my AIO machine has nics w/ the regular eth0 naming --
don't know if the biosdevname bits could be causing an issue...


 
 Jason
 
  have noticed is that the ovirtmgmt network is missing. When I try to
  activate the host using the web interface ovirtmgmt appears, but without an
  IP address, so the entire system loses connectivity.
  
  ovirt-engine-setup and vdsm log are attached and compressed.
  
  
  
  
  
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
  
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Dan Kenigsberg
On Mon, Sep 23, 2013 at 02:25:49PM -0400, Moti Asayag wrote:
 I have looked at the getVdsCapabilities reported by VDSM for the first time, 
 on which the engine based its
 setupNetwork command for configuring the management network:
 
 'lastClientIface': 'em1',
 'nics': {'em1': {'netmask': '255.255.255.0', 'addr': '192.168.2.9', 'hwaddr': 
 'a4:ba:db:ec:ea:cd', 'cfg': {}, 'ipv6addrs': ['fe80::a6ba:dbff:feec:eacd/64', 
 '2001:4830:1692:1:a6ba:dbff:feec:eacd/64'], 'speed': 1000, 'mtu': '1500'}}
 
 Based on that input, the engine sends setupNetwork command to configure the 
 management network on top of 'em1' nic.
 However, since it has no bootprotocol or gateway, it is identified as 
 bootproto=NONE, which result in engine not to pass ip address/subnet/gateway 
 to vdsm, therefore the command fails.

This seems very similar to what triggered

Bug 987813 - [RFE] report BOOTPROTO and BONDING_OPTS independent of
netdevice.cfg

Vdsm does not really cope with network definitions that are not
ifcfg-based. I do not know what makes Fedora 19 sometimes use ifcfg
out-of-the-box and sometimes not, but in order to play well with the
current implementation of Vdsm, we should make it use legacy initscript
for network definition.


 
 networks=[ovirtmgmt {id=b05f272d-473f-41cb-b5a0-25cf06951f6b, 
 description=Management Network, comment=null, subnet=null, gateway=null, 
 type=null, vlanId=null, stp=false, 
 dataCenterId=7a7e4a7a-ecc8-4b3e-b200-2b54d0809a52, mtu=0, vmNetwork=true, 
 cluster=NetworkCluster {id={clusterId=null, networkId=null}, 
 status=OPERATIONAL, display=false, required=true, migration=false}, 
 providedBy=null, label=null}],
   bonds=[],
   interfaces=[em1 {id=80a1e7c8-05bd-4209-a6fe-a23c38538330, 
 vdsId=5e3da5d9-7133-4119-86c0-f655d3e37b38, name=em1, 
 macAddress=a4:ba:db:ec:ea:cd, networkName=ovirtmgmt, bondName=null, 
 bootProtocol=NONE, address=192.168.2.9, subnet=255.255.255.0, gateway=null, 
 mtu=0, bridged=true, speed=1000, type=2, networkImplementationDetails=null}],
   removedNetworks=[],
 
 As received by VDSM, where we can see the ip address and the subnet are 
 omitted:
 Thread-17::DEBUG::2013-09-23 07:07:21,314::BindingXMLRPC::979::vds::(wrapper) 
 client [192.168.2.9]::call setupNetworks with ({'ovirtmgmt': {'nic': 'em1', 
 'STP': 'no', 'bridged': 'true'}}, {}, {'connectivityCheck': 'true', 
 'connectivityTimeout': 120}) {}
 
 Looking at the traceback on vdsm.log reveals less information:
 storageRefresh::DEBUG::2013-09-23 
 07:07:22,597::misc::817::SamplingMethod::(__call__) Returning last result
 Thread-17::ERROR::2013-09-23 07:09:24,154::API::1261::vds::(setupNetworks)
 Traceback (most recent call last):
   File /usr/share/vdsm/API.py, line 1259, in setupNetworks
 supervdsm.getProxy().setupNetworks(networks, bondings, options)
   File /usr/share/vdsm/supervdsm.py, line 50, in __call__
 return callMethod()
   File /usr/share/vdsm/supervdsm.py, line 48, in lambda
 **kwargs)
   File string, line 2, in setupNetworks
   File /usr/lib64/python2.7/multiprocessing/managers.py, line 773, in 
 _callmethod
 raise convert_to_error(kind, result)
 ConfigNetworkError: (29, '')
 
 
 Nicholas, could you add also /var/log/vdsm/supervdsm.log and 
 /var/log/messages so we can get more input about
 the failure to bring up em1 ?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Dan Kenigsberg
On Mon, Sep 23, 2013 at 03:29:10PM -0400, Jason Brooks wrote:
 
 
  
  Hi Nicholas, I just installed an F19 AIO without any problem. My install was
  only minimal, though. I restored my snapshot to pre-ovirt install and added
  the standard group, rebooted, installed, and vdsm still installed 
  normally.
  
  I'm wondering if it makes a difference if the system starts out with
  minimal+standard, rather than starting out minimal and adding standard
  after...
  
  This is with dhcp addressing.
 
 Another difference -- my AIO machine has nics w/ the regular eth0 naming --
 don't know if the biosdevname bits could be causing an issue...

Would I be wrong to assume that you had
/etc/sysconfig/network-scripts/ifcfg-eth0 defined before installation
began?

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


Re: [Users] Unable to finish AIO 3.3.0 - VDSM

2013-09-23 Thread Jason Brooks


- Original Message -
 From: Dan Kenigsberg dan...@redhat.com
 To: Jason Brooks jbro...@redhat.com
 Cc: Nicholas Kesick cybertimber2...@hotmail.com, oVirt Mailing List 
 users@ovirt.org
 Sent: Monday, September 23, 2013 1:23:28 PM
 Subject: Re: [Users] Unable to finish AIO 3.3.0 - VDSM
 
 On Mon, Sep 23, 2013 at 03:29:10PM -0400, Jason Brooks wrote:
  
  
   
   Hi Nicholas, I just installed an F19 AIO without any problem. My install
   was
   only minimal, though. I restored my snapshot to pre-ovirt install and
   added
   the standard group, rebooted, installed, and vdsm still installed
   normally.
   
   I'm wondering if it makes a difference if the system starts out with
   minimal+standard, rather than starting out minimal and adding standard
   after...
   
   This is with dhcp addressing.
  
  Another difference -- my AIO machine has nics w/ the regular eth0 naming --
  don't know if the biosdevname bits could be causing an issue...
 
 Would I be wrong to assume that you had
 /etc/sysconfig/network-scripts/ifcfg-eth0 defined before installation
 began?

My systems do always have this defined before installation begins. I almost 
always
do PXE installs of Fedora. Wonder how it differs from a DVD install...

Jason




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


Re: [Users] so, what do you want next in oVirt?

2013-09-23 Thread Liviu Elama
not sure if this is considered for future releases but it would be very
nice to have application level HA (not just VM level) and configuration to
be done from engine

Cheers
Liviu


On Thu, Sep 19, 2013 at 12:33 AM, Jorick Astrego j.astr...@netbulae.euwrote:

 As I'm deploying the new release, I remember the problems we had setting
 up Cobbler to PXE boot and install the nodes properly.

 It would be extremely nice if there could be an optional embedded pxe/tftp
 boot server, setup to deploy the nodes.

 There should be an easy way to modify some of the boot parameters when
 needed.

 Kind regards,

 Jorick Astrego
 Netbulae

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


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


Re: [Users] oVirt 3.3.0-4/F19 - Extending VM disk gives correct size but appears to wipe the drive contents

2013-09-23 Thread Federico Simoncelli
Hi Chris,
 can you post the vdsm logs (spm host) somewhere?
Thanks.

-- 
Federico

- Original Message -
 From: Chris SULLIVAN (WGK) chris.sulli...@woodgroupkenny.com
 To: users@ovirt.org
 Sent: Monday, September 23, 2013 9:08:26 PM
 Subject: [Users] oVirt 3.3.0-4/F19 - Extending VM disk gives correct size but 
 appears to wipe the drive contents
 
 Hi,
 
 I had a number of Windows VMs running in oVirt 3.3 that required their
 preallocated OS disks to be extended. Each OS disk had a single partition
 taking up the entire drive. As per
 http://www.ovirt.org/Features/Online_Virtual_Drive_Resize I shut down all
 the VMs, extended each OS disk by 10GB (total 25GB) via the web interface,
 then clicked OK. The tasks appeared to complete successfully and each of the
 OS disks had the expected real size on the Gluster storage volume.
 
 
 
 On startup however none of the VMs would recognize their OS disk as being a
 bootable device. Checking one of the OS disks via TestDisk (both quick and
 deep scans) revealed no partitions and the error ‘Partition sector doesn’t
 have the endmark 0xAA55’. It appears that each OS disk was wiped as part of
 the extension process although I’m really hoping that this isn’t the case!
 
 
 
 Are there any other approaches I could use to attempt to recover the OS disk
 data or at least verify whether the original disk partitions are
 recoverable?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.3/F19 - Windows guest unable to access network

2013-09-23 Thread Dan Kenigsberg
On Mon, Sep 23, 2013 at 07:16:40PM +, SULLIVAN, Chris (WGK) wrote:
 Hi Dan,
 
 I can confirm that NetworkManager has been disabled on each host and none of 
 the interfaces are managed by it. After finally getting the bond to change 
 mode to balance-alb, all the Windows VMs now have normally functioning 
 networks. Looks like balance-rr is no good for Windows guests for some reason 
 (packet MAC address sender/receiver issues? No idea really, just guessing).
 
 This is more of a Fedora problem than an oVirt problem, however I cannot get 
 the bonding configuration to persist through a reboot. I have 
 mode=balance-alb specified via the BONDING_OPTS variable in the ifcfg-bond0 
 file, however after reboot the bond always reverts to balance-rr. The only 
 workaround I've found so far is to delete the bond via ip link delete..., 
 move the ifcfg-bond0 file, restart the network service, then shutdown the 
 service, move the ifcfg-bond0 file back, and finally bringing up the network 
 service again. 

Could we debug this issue together? If you `ifdown bond0`, could you
verify that the bond device and its slaves are take down?
Then, could you share the output of
`bash -xv /etc/sysconfig/network-scripts/ifup-eth bond0`
and `cat /sys/class/net/bond0/bonding/mode` afterwards?

Then again, you can `ifdown bond0`,

echo balance-alb  /sys/class/net/bond0/bonding/mode

and see if the mode is kept after `ifup bond0`.

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


[Users] vdsm live migration errors in latest master

2013-09-23 Thread Dead Horse
Seeing failed live migrations and these errors in the vdsm logs with latest
VDSM/Engine master.
Hosts are EL6.4

Thread-1306::ERROR::2013-09-23
16:02:42,422::BindingXMLRPC::993::vds::(wrapper) unexpected error
Traceback (most recent call last):
  File /usr/share/vdsm/BindingXMLRPC.py, line 979, in wrapper
res = f(*args, **kwargs)
  File /usr/share/vdsm/BindingXMLRPC.py, line 211, in vmDestroy
return vm.destroy()
  File /usr/share/vdsm/API.py, line 323, in destroy
res = v.destroy()
  File /usr/share/vdsm/vm.py, line 4326, in destroy
response = self.releaseVm()
  File /usr/share/vdsm/vm.py, line 4292, in releaseVm
self._cleanup()
  File /usr/share/vdsm/vm.py, line 2750, in _cleanup
self._cleanupDrives()
  File /usr/share/vdsm/vm.py, line 2482, in _cleanupDrives
drive, exc_info=True)
  File /usr/lib64/python2.6/logging/__init__.py, line 1329, in error
self.logger.error(msg, *args, **kwargs)
  File /usr/lib64/python2.6/logging/__init__.py, line 1082, in error
self._log(ERROR, msg, args, **kwargs)
File /usr/lib64/python2.6/logging/__init__.py, line 1082, in error
self._log(ERROR, msg, args, **kwargs)
  File /usr/lib64/python2.6/logging/__init__.py, line 1173, in _log
self.handle(record)
  File /usr/lib64/python2.6/logging/__init__.py, line 1183, in handle
self.callHandlers(record)
  File /usr/lib64/python2.6/logging/__init__.py, line 1220, in
callHandlers
hdlr.handle(record)
  File /usr/lib64/python2.6/logging/__init__.py, line 679, in handle
self.emit(record)
  File /usr/lib64/python2.6/logging/handlers.py, line 780, in emit
msg = self.format(record)
  File /usr/lib64/python2.6/logging/__init__.py, line 654, in format
return fmt.format(record)
  File /usr/lib64/python2.6/logging/__init__.py, line 436, in format
record.message = record.getMessage()
  File /usr/lib64/python2.6/logging/__init__.py, line 306, in getMessage
msg = msg % self.args
  File /usr/share/vdsm/vm.py, line 107, in __str__
if not a.startswith('__')]
  File /usr/share/vdsm/vm.py, line 1344, in hasVolumeLeases
if self.shared != DRIVE_SHARED_TYPE.EXCLUSIVE:
AttributeError: 'Drive' object has no attribute 'shared'

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


[Users] Migration issues with ovirt 3.3

2013-09-23 Thread emi...@gmail.com
Hi,

I'm running ovirt-engine 3.3 in a server with fedora 19, also two host with
fedora 19 running vdsm and gluster. I'm using the repositories like it
say's here: http://www.ovirt.org/OVirt_3.3_TestDay with enable the
[ovirt-beta]  [ovirt-stable] repos and disable the [ovirt-nightly] repo.

I've configured a datacenter with glusterfs active an the two Host. I've
installed a VM and when I do a migration it fails with the message *VM
pfSense1 is down. Exit message: 'iface'.* and the VM reboots. Also if i
try to make an snapshot the VM with the Save memory it fails with the
message *VM pfSense1 is down. Exit message: Lost connection with qemu
process.* If I make an snapshot without the Save Memory checked it works.

I've tried to restart the libvirtd service but it's still happening.

Before this I've tried the cluster with NFS storage and have problems with
migration too, but the error messages were differents. Now I'm  trying with
gluster because this is what i want to use.

Could you give me any hint about this?

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


Re: [Users] so, what do you want next in oVirt?

2013-09-23 Thread Itamar Heim

On 09/23/2013 11:43 PM, Liviu Elama wrote:

not sure if this is considered for future releases but it would be very
nice to have application level HA (not just VM level) and configuration
to be done from engine



hi liviu,

can you please elaborate a bit more?

thanks,
   Itamar


Cheers
Liviu


On Thu, Sep 19, 2013 at 12:33 AM, Jorick Astrego j.astr...@netbulae.eu
mailto:j.astr...@netbulae.eu wrote:

As I'm deploying the new release, I remember the problems we had
setting up Cobbler to PXE boot and install the nodes properly.

It would be extremely nice if there could be an optional embedded
pxe/tftp boot server, setup to deploy the nodes.

There should be an easy way to modify some of the boot parameters
when needed.

Kind regards,

Jorick Astrego
Netbulae

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




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



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


Re: [Users] How can I make a VM immortal?

2013-09-23 Thread Itamar Heim

On 09/23/2013 06:18 PM, lofyer wrote:

Besides assigning a watchdog device to it, are there any other ways to
make the VM autostart even if an user shutdown it manually?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


if a user shut down a vm from inside or via engine?
i suggest an external script on engine monitoring its status and 
starting it for such a use case

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


Re: [Users] so, what do you want next in oVirt?

2013-09-23 Thread Liviu Elama
Yes sure :).

I'll use VMware as an example here. They have APIs presented so that VMware
tools can monitor and provide application HA based on a particular
application running inside the guest (can be a tomcat server or whatever
app)
there are some community scripts that can take advantage of this APIs but
there are a few commercial software like Symantec Application HA which use
a cut off version of Veritas Cluster integrated with vCenter to configure
and monitor application cluster inside the VM and restart VM or the
application cluster inside VM.

maybe we can have a feature like that that the guest tools can provided
application level monitoring and configuration of the application cluster
can be integrated in the engine.

Cheers
Liviu



On Tue, Sep 24, 2013 at 9:50 AM, Itamar Heim ih...@redhat.com wrote:

 On 09/23/2013 11:43 PM, Liviu Elama wrote:

 not sure if this is considered for future releases but it would be very
 nice to have application level HA (not just VM level) and configuration
 to be done from engine


 hi liviu,

 can you please elaborate a bit more?

 thanks,
Itamar

  Cheers
 Liviu


 On Thu, Sep 19, 2013 at 12:33 AM, Jorick Astrego j.astr...@netbulae.eu
 mailto:j.astr...@netbulae.eu** wrote:

 As I'm deploying the new release, I remember the problems we had
 setting up Cobbler to PXE boot and install the nodes properly.

 It would be extremely nice if there could be an optional embedded
 pxe/tftp boot server, setup to deploy the nodes.

 There should be an easy way to modify some of the boot parameters
 when needed.

 Kind regards,

 Jorick Astrego
 Netbulae

 __**_
 Users mailing list
 Users@ovirt.org mailto:Users@ovirt.org
 
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users





 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users



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


Re: [Users] How can I make a VM immortal?

2013-09-23 Thread lofyer

On 2013/9/24 6:03, Itamar Heim wrote:

On 09/23/2013 06:18 PM, lofyer wrote:

Besides assigning a watchdog device to it, are there any other ways to
make the VM autostart even if an user shutdown it manually?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


if a user shut down a vm from inside or via engine?
i suggest an external script on engine monitoring its status and 
starting it for such a use case

You mean a anacrontab script?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] How can I make a VM immortal?

2013-09-23 Thread lof yer
Ok, that's easy to accomplish.
But when I use restapi to start a VM, why does the log show me that it runs
in RUNONCE mode rather than NORMAL START?


2013/9/24 lofyer lof...@gmail.com

 On 2013/9/24 6:03, Itamar Heim wrote:

 On 09/23/2013 06:18 PM, lofyer wrote:

 Besides assigning a watchdog device to it, are there any other ways to
 make the VM autostart even if an user shutdown it manually?
 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users


 if a user shut down a vm from inside or via engine?
 i suggest an external script on engine monitoring its status and starting
 it for such a use case

 You mean a anacrontab script?

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


Re: [Users] How can I make a VM immortal?

2013-09-23 Thread Itamar Heim

On 09/24/2013 06:34 AM, lof yer wrote:

Ok, that's easy to accomplish.
But when I use restapi to start a VM, why does the log show me that it
runs in RUNONCE mode rather than NORMAL START?


since the api allows you to pass any parameter to affect the run.
does it matter?




2013/9/24 lofyer lof...@gmail.com mailto:lof...@gmail.com

On 2013/9/24 6:03, Itamar Heim wrote:

On 09/23/2013 06:18 PM, lofyer wrote:

Besides assigning a watchdog device to it, are there any
other ways to
make the VM autostart even if an user shutdown it manually?
_
Users mailing list
Users@ovirt.org mailto:Users@ovirt.org
http://lists.ovirt.org/__mailman/listinfo/users
http://lists.ovirt.org/mailman/listinfo/users


if a user shut down a vm from inside or via engine?
i suggest an external script on engine monitoring its status and
starting it for such a use case

You mean a anacrontab script?




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