Re: [Users] Host installation problems. Brigde

2013-03-12 Thread Alex Leonhardt
in the log:

Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1037 makeBridge Failed to add
ovirtmgmt bridge out=Specified netmask or gateway but not ip

check you have

DEVICE=
IPADDR=
NETMAKS=
TYPE=

as a minimum in ifcfg-ovirtmgmt

and that ifcfg-eth0 has

BRIDGE=ovirtmgmt


Alex




On 12 March 2013 15:25, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
 files?

 - Original Message -
  From: Christer Olsen christer.r.ol...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, March 12, 2013 4:14:05 PM
  Subject: Re: [Users] Host installation problems. Brigde
 
 
 
  It seems i sent the log file to only one person.
  Here is the complete log file.
  http://pastebin.com/5VYg4DFs
 
 
 
  On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 4:55 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Here is the complete log file.
 
  http://pastebin.com/5VYg4DFs
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 10:31 AM, Antoni Segura Puimedon 
  asegu...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Dan Kenigsberg  dan...@redhat.com 
   To: Christer Olsen  christer.r.ol...@gmail.com 
   Cc: users@ovirt.org
   Sent: Monday, March 11, 2013 10:18:13 AM
   Subject: Re: [Users] Host installation problems. Brigde
  
   On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
I'm having issues with installing host in oVirt.
   
   
Manager reports:
Failed to install Host localhost. Step: SetNetworking; Details:
addNetwork
error trying to add management bridge.
  
   Which version of ovirt are you using? ovirt-3.2 should be using
   ovirt-host-deploy, which has differently-looking logs, and
   hopefully
   less bugs.
 
  According to the repo he listed, ovirt-3.1, as seen in:
 
  http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/
 
 
 
  
   
   
*** LOG ***
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 517 getAddress Entry.
url=
http://10.1.1.30:22020/Components/vds/
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 539 getAddress
return.
address=10.1.1.30 port=22020
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 957 makeBridge begin.
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 424 _getMGTIface:
read host
name: 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 431 _getMGTIface:
using host
name 10.1.1.30 strIP= 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 437 _getMGTIface
IP=10.1.1.30
strIface=eth0
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 997 makeBridge found
the
following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 135
['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
'NAME=',
'BOOTPROT$
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 143 Specified netmask
or
gateway but not ip
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 144
WARNING:root:options
IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge
Failed to add
ovirtmgmt bridge out=Specified netmask or gateway bu$
   
err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
ret=22
Sun

Re: [Users] Host installation problems. Brigde

2013-03-12 Thread Alex Leonhardt
did you try to just setting the ovirtmgmt interface to DHCP ?

alex


On 12 March 2013 15:28, Alex Leonhardt alex.t...@gmail.com wrote:

 in the log:

 Sun, 10 Mar 2013 19:19:30 DEBUGdeployUtil 1037 makeBridge Failed to
 add ovirtmgmt bridge out=Specified netmask or gateway but not ip

 check you have

 DEVICE=
 IPADDR=
 NETMAKS=
 TYPE=

 as a minimum in ifcfg-ovirtmgmt

 and that ifcfg-eth0 has

 BRIDGE=ovirtmgmt


 Alex




 On 12 March 2013 15:25, Antoni Segura Puimedon asegu...@redhat.comwrote:

 Could you attach the /etc/sysconfig/network-scripts/ifcfg-*
 files?

 - Original Message -
  From: Christer Olsen christer.r.ol...@gmail.com
  To: users@ovirt.org
  Sent: Tuesday, March 12, 2013 4:14:05 PM
  Subject: Re: [Users] Host installation problems. Brigde
 
 
 
  It seems i sent the log file to only one person.
  Here is the complete log file.
  http://pastebin.com/5VYg4DFs
 
 
 
  On Tue, Mar 12, 2013 at 4:13 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Tue, Mar 12, 2013 at 4:12 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Does anyone have a clue what i might need to do ?
 
 
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 4:55 PM, Christer Olsen 
  christer.r.ol...@gmail.com  wrote:
 
 
 
  Here is the complete log file.
 
  http://pastebin.com/5VYg4DFs
 
 
 
 
 
 
  On Mon, Mar 11, 2013 at 10:31 AM, Antoni Segura Puimedon 
  asegu...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Dan Kenigsberg  dan...@redhat.com 
   To: Christer Olsen  christer.r.ol...@gmail.com 
   Cc: users@ovirt.org
   Sent: Monday, March 11, 2013 10:18:13 AM
   Subject: Re: [Users] Host installation problems. Brigde
  
   On Sun, Mar 10, 2013 at 07:30:15PM +0100, Christer Olsen wrote:
I'm having issues with installing host in oVirt.
   
   
Manager reports:
Failed to install Host localhost. Step: SetNetworking; Details:
addNetwork
error trying to add management bridge.
  
   Which version of ovirt are you using? ovirt-3.2 should be using
   ovirt-host-deploy, which has differently-looking logs, and
   hopefully
   less bugs.
 
  According to the repo he listed, ovirt-3.1, as seen in:
 
  http://dev.centos.org/centos/6/ovirt/x86_64/RPMS/
 
 
 
  
   
   
*** LOG ***
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 517 getAddress Entry.
url=
http://10.1.1.30:22020/Components/vds/
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 539 getAddress
return.
address=10.1.1.30 port=22020
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 957 makeBridge begin.
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 424 _getMGTIface:
read host
name: 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 431 _getMGTIface:
using host
name 10.1.1.30 strIP= 10.1.1.30
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 437 _getMGTIface
IP=10.1.1.30
strIface=eth0
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 997 makeBridge found
the
following bridge paramaters: ['NAME=', 'BOOTPROTO=dhcp', $
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 135
['/usr/share/vdsm/addNetwork', 'ovirtmgmt', '', '', 'eth0',
'NAME=',
'BOOTPROT$
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 143 Specified netmask
or
gateway but not ip
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 144
WARNING:root:options
IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823, in
_addNetworkValidation
Specified netmask or gateway but not ip)
ConfigNetworkError: (22, 'Specified netmask or gateway but not
ip')
   
Sun, 10 Mar 2013 19:19:30 DEBUG deployUtil 1037 makeBridge
Failed to add
ovirtmgmt bridge out=Specified netmask or gateway bu$
   
err=WARNING:root:options IPADDR is deprecated. Use ipaddr instead
WARNING:root:options NETMASK is deprecated. Use netmask instead
WARNING:root:options BOOTPROTO is deprecated. Use bootproto
instead
WARNING:root:options ONBOOT is deprecated. Use onboot instead
Traceback (most recent call last):
File /usr/share/vdsm/configNetwork.py, line 1458, in module
main()
File /usr/share/vdsm/configNetwork.py, line 1427, in main
addNetwork(bridge, **kwargs)
File /usr/share/vdsm/configNetwork.py, line 890, in addNetwork
bridged=bridged, **options)
File /usr/share/vdsm/configNetwork.py, line 823

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-12 Thread Alex Lourie

Hi Alex

On Sun, Mar 10, 2013 at 4:26 PM, Alex Leonhardt alex.t...@gmail.com 
wrote:

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt 
seem to come up as an dependency when installing libvirtd (otherwise 
it would have been installed previously) ? 



wow, that's strange. I haven't seen this before. I suggest opening a 
bug on libvirt anyway.




I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started 
up. vdsmd wont tell you it's waiting for libvirtd to start on the 
console, it'll mention in the log that it's waiting for libvirtd 
and eventually will time out. 



Granted, if these are the required dependencies, then definitely they 
should be installed.


I will look into this and try to understand what is it about.



Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote: On Fri 08 Mar 2013 
04:33:53 PM IST, Alex Leonhardt wrote: 


Also, the there seem to be missing some dependencies for 

- messagebus (service not enabled/started/installed) 
- avahi-daemon (wasnt installed, had to install and start / enable) 

else 

libvirtd   will not start and the setup will fail. 





On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com 
mailto:alex.t...@gmail.com wrote: 

    And here from when I tried to use localhost as the host / 
fqdn : 



    Installing: 
    AIO: Validating CPU Compatibility... 
    [ DONE ] 
    AIO: Adding firewall rules... 
    [ DONE ] 
    Configuring oVirt Engine... 
    [ DONE ] 
    Configuring JVM... 
    [ DONE ] 
    Creating CA... 
    [ DONE ] 
    Updating ovirt-engine service... 
    [ DONE ] 
    Setting Database Configuration... 
    [ DONE ] 
    Setting Database Security... 
    [ DONE ] 
    Creating Database... 
    [ DONE ] 
    Updating the Default Data Center Storage Type... 
    [ DONE ] 
    Editing oVirt Engine Configuration... 
    [ DONE ] 
    Editing Postgresql Configuration... 
    [ DONE ] 
    Configuring the Default ISO Domain... 
    [ DONE ] 
    Configuring Firewall... 
    [ DONE ] 
    Starting ovirt-engine Service... 
    [ DONE ] 
    Configuring HTTPD... 
    [ DONE ] 
    AIO: Creating storage directory... 
    [ DONE ] 
    AIO: Adding Local Datacenter and cluster... 
    [ DONE ] 
    AIO: Adding Local host (This may take several 
minutes)...  [ 
    ERROR ] 
    Error: Host was found in a 'Failed' state. Please check 
engine and 
    bootstrap installation logs. 
    Please check log file 
    /var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log 
for 
    more information 
    Exception in thread libvirtEventLoop (most likely raised 
during 
    interpreter shutdown) 

    # 



    2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: 
running 
    _loadFilesToIsoDomain 
    2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: 
Traceback
    (most recent call last): 
  File /usr/bin/engine-setup, line 1835, in 
_loadFilesToIsoDomain 
    utils.copyFile(filename, targetPath, 
basedefs.CONST_VDSM_UID, 
    basedefs.CONST_KVM_GID) 
  File /usr/share/ovirt-engine/scripts/common_utils.py, 
line 
    706, in copyFile 
    shutil.copy2(fileSrc, destination) 
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2 
    copyfile(src, dst) 
  File /usr/lib64/python2.6/shutil.py, line 50, in 
copyfile 
    with open(src, 'rb') as fsrc: 
    IOError: [Errno 2] No such file or directory: 
    '/usr/share/virtio-win/virtio-win.vfd' 

    2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: 
Failed to 
    copy files to iso domain 



    [snip] 

    2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: 
running 
    waitForHostUp 
    2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: 
Waiting 
    for host to become operational 
    2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: 
current 
    host status is: installing 
    2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: 
Traceback 
    (most recent call last): 

  File 
    /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, 
line 
    314, in isHostUp 
    raise Exception(INFO_CREATE_HOST_WAITING_UP) 
    Exception: Waiting for the host to start 

    2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: 
Waiting 
    for host to become operational 
    2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: 
current 
    host status is: install_failed 
    2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: 
Traceback 
    (most recent call last): 

  File 
    /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, 
line 
    312, in isHostUp 
    raise 
utils.RetryFailException(ERROR_CREATE_HOST_FAILED) 
    RetryFailException: Error: Host was found in a 'Failed' 
state. 
    Please check engine and bootstrap installation logs. 

    2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: 
Traceback

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-11 Thread Alex Leonhardt

Hi Alex / all -


Anyone experienced the same when installing 3.2 all-in-one on centos 6.3 
? I really need this working ...



Thanks
Alex


On 03/10/2013 02:26 PM, Alex Leonhardt wrote:

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it 
would have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started 
up. vdsmd wont tell you it's waiting for libvirtd to start on the 
console, it'll mention in the log that it's waiting for libvirtd and 
eventually will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:


Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...
[ DONE ]
AIO: Adding firewall rules...
[ DONE ]
Configuring oVirt Engine...
[ DONE ]
Configuring JVM...
[ DONE ]
Creating CA...
[ DONE ]
Updating ovirt-engine service...
[ DONE ]
Setting Database Configuration...
[ DONE ]
Setting Database Security...
[ DONE ]
Creating Database...
[ DONE ]
Updating the Default Data Center Storage Type...
[ DONE ]
Editing oVirt Engine Configuration...
[ DONE ]
Editing Postgresql Configuration...
[ DONE ]
Configuring the Default ISO Domain...
[ DONE ]
Configuring Firewall...
[ DONE ]
Starting ovirt-engine Service...
[ DONE ]
Configuring HTTPD...
[ DONE ]
AIO: Creating storage directory...
[ DONE ]
AIO: Adding Local Datacenter and cluster...
[ DONE ]
AIO: Adding Local host (This may take several minutes)...  [
ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
more information
Exception in thread libvirtEventLoop (most likely raised during
interpreter shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
(most recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
706, in copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
copy files to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
host status is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
host status is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line
60, in run
function()
  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600

Re: [Users] iSCSI multipath with EqualLogic SAN

2013-03-11 Thread Alex Leonhardt
I think you should have p1p2 on a different network ;) .. same with the 
san, one NIC should/could be on a different network (or probably for 
you, the 2nd head should be in a different network?) ... i've got that 
working OK with a iSCSI target service on centos and multipath does 
everything as expected ..


alex


On 03/11/2013 04:28 PM, Jonathan Horne wrote:

I finally had some time to work on this again now that I have some more nodes 
to work with.

I am trying to get the ovirt node to log in from more than 1 IP address to the 
Equallogic SAN wthout using dell's HIT-Kit.  My test node has these interfaces:

(all ovirt 3.1, mgmt. and nodes)
Eth0 - 10.32.0.44 - ovritmgmt
Eth1 - several VM IP data VLANs
P1p1 - 10.32.10.44 iscsi network
P1p2 - 10.32.10.64 iscsi network

My EQ SAN is located at 10.32.10.21. I know there is a ton of issues behind 
that being the only IP, but right now I have a stranger problem.

When I ping 10.32.10.21 like this:

Ping 10.32.10.21 -I 10.32.10.44

Tcpdump looking at p1p1 shows pings going as normal from 10.32.10.44 to 10.32.10.21.  
then I do ping 10.32.10.21 -I 10.32.10.64 and tcpdump still shows ping 
packets going from p1p1 and not from p1p2.  Tcpdump shows nothing at all on p1p2.

I don’t understand how multipath can work if all the packets exit out p1p1 and 
nothing exits from p1p2?

At this point im grasping at straws on how to effectively use the equallogic 
SAN with ovirt, as our disk thruput is currently limited to 110mb sec from the 
single 1gig pipe.  I tend to be very quick to believe I am on the wrong track 
here.

Any help or advice is greatly appreciated.
Thanks,
jonathan


This is a PRIVATE message. If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery. 
NOTE: Regardless of content, this e-mail shall not operate to bind SKOPOS to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.
___
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 to import existing libvirt management KVM virtual machine to the ovirt

2013-03-11 Thread Alex Jia
On 03/12/2013 10:19 AM, xianghuadu wrote:
 hi all
 How to import existing libvirt management KVM virtual machine to the
 ovirt

virt-v2v should be a tool what you want, please refer to this link
http://linux.web.cern.ch/linux/scientific6/docs/rhel/V2V_Guide/#chap-V2V-VMS_To_Run_on_RHEV,
note that it's a little different between RHEV and ovirt, for details,
please also refer to http://www.ovirt.org/Quick_Start_Guide, in
addition, if you are also familiar with REST-API then you may use
virt-v2v tool and REST-API to do the same thing, for details, please see
https://github.com/autotest/autotest/pull/432.

Good Luck!
Alex

 
 xianghuadu


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

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


Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-10 Thread Alex Lourie

On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:


Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...
[ DONE ]
AIO: Adding firewall rules...
[ DONE ]
Configuring oVirt Engine...
[ DONE ]
Configuring JVM...
[ DONE ]
Creating CA...
[ DONE ]
Updating ovirt-engine service...
[ DONE ]
Setting Database Configuration...
[ DONE ]
Setting Database Security...
[ DONE ]
Creating Database...
[ DONE ]
Updating the Default Data Center Storage Type...
[ DONE ]
Editing oVirt Engine Configuration...
[ DONE ]
Editing Postgresql Configuration...
[ DONE ]
Configuring the Default ISO Domain...
[ DONE ]
Configuring Firewall...
[ DONE ]
Starting ovirt-engine Service...
[ DONE ]
Configuring HTTPD...
[ DONE ]
AIO: Creating storage directory...
[ DONE ]
AIO: Adding Local Datacenter and cluster...
[ DONE ]
AIO: Adding Local host (This may take several minutes)...  [
ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
more information
Exception in thread libvirtEventLoop (most likely raised during
interpreter shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
(most recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
706, in copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
copy files to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
host status is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
host status is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line
60, in run
function()
  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
1010, in retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.


2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The
following params were used as user input:
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
override-httpd-config: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
random-passwords: no
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: mac-range:
00:1A:4A:A8:14:00-00:1A:4A:A8:14:FF
2013-03-08 14:14:19

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-10 Thread Alex Leonhardt

Hi Alex,

Regarding the dependencies - libvirtd would not start w/o having 
messagebus / avahi-daemon installed  running, however, it doesnt seem 
to come up as an dependency when installing libvirtd (otherwise it would 
have been installed previously) ?


I read this solution on some blog page, and based on that installed 
avahi-daemon  messagebus + started them, only then libvirtd started up. 
vdsmd wont tell you it's waiting for libvirtd to start on the console, 
it'll mention in the log that it's waiting for libvirtd and eventually 
will time out.


Thanks,
Alex

On 03/10/2013 10:19 AM, Alex Lourie wrote:

On Fri 08 Mar 2013 04:33:53 PM IST, Alex Leonhardt wrote:


Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com
mailto:alex.t...@gmail.com wrote:

And here from when I tried to use localhost as the host / fqdn :


Installing:
AIO: Validating CPU Compatibility...
[ DONE ]
AIO: Adding firewall rules...
[ DONE ]
Configuring oVirt Engine...
[ DONE ]
Configuring JVM...
[ DONE ]
Creating CA...
[ DONE ]
Updating ovirt-engine service...
[ DONE ]
Setting Database Configuration...
[ DONE ]
Setting Database Security...
[ DONE ]
Creating Database...
[ DONE ]
Updating the Default Data Center Storage Type...
[ DONE ]
Editing oVirt Engine Configuration...
[ DONE ]
Editing Postgresql Configuration...
[ DONE ]
Configuring the Default ISO Domain...
[ DONE ]
Configuring Firewall...
[ DONE ]
Starting ovirt-engine Service...
[ DONE ]
Configuring HTTPD...
[ DONE ]
AIO: Creating storage directory...
[ DONE ]
AIO: Adding Local Datacenter and cluster...
[ DONE ]
AIO: Adding Local host (This may take several minutes)...  [
ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for
more information
Exception in thread libvirtEventLoop (most likely raised during
interpreter shutdown)

#


2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
_loadFilesToIsoDomain
2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback
(most recent call last):
  File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
basedefs.CONST_KVM_GID)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
706, in copyFile
shutil.copy2(fileSrc, destination)
  File /usr/lib64/python2.6/shutil.py, line 95, in copy2
copyfile(src, dst)
  File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/share/virtio-win/virtio-win.vfd'

2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to
copy files to iso domain


[snip]

2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current
host status is: installing
2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting
for host to become operational
2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current
host status is: install_failed
2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback
(most recent call last):

  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state.
Please check engine and bootstrap installation logs.

2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):

  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line
60, in run
function()
  File
/usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
1010, in retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state.
Please

[Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Hi,

The setup keeps failing at waitforhostup with :


Installing:
AIO: Validating CPU Compatibility...  [ DONE ]
AIO: Adding firewall rules... [ DONE ]
Configuring oVirt Engine...   [ DONE ]
Configuring JVM...[ DONE ]
Creating CA...[ DONE ]
Updating ovirt-engine service...  [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security...  [ DONE ]
Creating Database...  [ DONE ]
Updating the Default Data Center Storage Type...  [ DONE ]
Editing oVirt Engine Configuration... [ DONE ]
Editing Postgresql Configuration...   [ DONE ]
Configuring the Default ISO Domain... [ DONE ]
Configuring Firewall...   [ DONE ]
Starting ovirt-engine Service...  [ DONE ]
Configuring HTTPD...  [ DONE ]
AIO: Creating storage directory...[ DONE ]
AIO: Adding Local Datacenter and cluster...   [ DONE ]
AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
Error: Host was found in a 'Failed' state. Please check engine and
bootstrap installation logs.
Please check log file
/var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for more
information

#

2013-03-08 14:22:43::DEBUG::setup_sequences::59::root:: running
waitForHostUp
2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root:: current host status
is: installing
2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
314, in isHostUp
raise Exception(INFO_CREATE_HOST_WAITING_UP)
Exception: Waiting for the host to start

2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root:: Waiting for host to
become operational
2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root:: current host status
is: install_failed
2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
312, in isHostUp
raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::setup_sequences::62::root:: Traceback (most
recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.

2013-03-08 14:22:49::DEBUG::engine-setup::1934::root:: *** The following
params were used as user input:


I have the full log if required ?? Any help would be appreciated.

The options used were :

oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port:443
host-fqdn: stphv01
auth-pass: 
org-name:  LOCAL
application-mode:  both
default-dc-type:   NFS
db-remote-install: local
db-local-pass: 
nfs-mp:/exports/iso
override-firewall: None
config-allinone:   yes
storage-path:  /vmfs/ovirt
superuser-pass:


Alex


-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
-setup::1939::root:: application-mode:
both
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: default-dc-type: NFS
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-remote-install:
local
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-host: localhost
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: db-local-pass:

2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: nfs-mp: /exports/iso
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: iso-domain-name:
ISO_DOMAIN
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: config-nfs: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: override-firewall:
None
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: config-allinone: yes
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: storage-path: /vmfs
2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: superuser-pass:

2013-03-08 14:14:19::ERROR::engine-setup::2355::root:: Traceback (most
recent call last):
  File /usr/bin/engine-setup, line 2349, in module
main(confFile)
  File /usr/bin/engine-setup, line 2132, in main
runSequences()
  File /usr/bin/engine-setup, line 2054, in runSequences
controller.runAllSequences()
  File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54, in
runAllSequences
sequence.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154, in
run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
300, in waitForHostUp
utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
  File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
retry
raise e
RetryFailException: Error: Host was found in a 'Failed' state. Please check
engine and bootstrap installation logs.



On 8 March 2013 14:27, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 The setup keeps failing at waitforhostup with :


 Installing:
 AIO: Validating CPU Compatibility...  [ DONE ]
 AIO: Adding firewall rules... [ DONE ]
 Configuring oVirt Engine...   [ DONE ]
 Configuring JVM...[ DONE ]
 Creating CA...[ DONE ]
 Updating ovirt-engine service...  [ DONE ]
 Setting Database Configuration... [ DONE ]
 Setting Database Security...  [ DONE ]
 Creating Database...  [ DONE ]
 Updating the Default Data Center Storage Type...  [ DONE ]
 Editing oVirt Engine Configuration... [ DONE ]
 Editing Postgresql Configuration...   [ DONE ]
 Configuring the Default ISO Domain... [ DONE ]
 Configuring Firewall...   [ DONE ]
 Starting ovirt-engine Service...  [ DONE ]
 Configuring HTTPD...  [ DONE ]
 AIO: Creating storage directory...[ DONE ]
 AIO: Adding Local Datacenter and cluster...   [ DONE ]
 AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
 Error: Host was found in a 'Failed' state. Please check engine and
 bootstrap installation logs.
 Please check log file
 /var/log/ovirt-engine/engine-setup_2013_03_08_14_17_42.log for more
 information

 #

 2013-03-08 14:22:43::DEBUG::setup_sequences::59::root:: running
 waitForHostUp
 2013-03-08 14:22:43::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:22:43::DEBUG::all_in_one_100::306::root:: current host
 status is: installing
 2013-03-08 14:22:43::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 314, in isHostUp
 raise Exception(INFO_CREATE_HOST_WAITING_UP)
 Exception: Waiting for the host to start

 2013-03-08 14:22:48::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:22:49::DEBUG::all_in_one_100::306::root:: current host
 status is: install_failed
 2013-03-08 14:22:49::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 312, in isHostUp
 raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.

 2013-03-08 14:22:49::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):
   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py

Re: [Users] ovirt 3.2 all-in-one setup always fails

2013-03-08 Thread Alex Leonhardt
Also, the there seem to be missing some dependencies for

- messagebus (service not enabled/started/installed)
- avahi-daemon (wasnt installed, had to install and start / enable)

else

libvirtd   will not start and the setup will fail.




On 8 March 2013 14:30, Alex Leonhardt alex.t...@gmail.com wrote:

 And here from when I tried to use localhost as the host / fqdn :


 Installing:
 AIO: Validating CPU Compatibility...  [ DONE ]
 AIO: Adding firewall rules... [ DONE ]
 Configuring oVirt Engine...   [ DONE ]
 Configuring JVM...[ DONE ]
 Creating CA...[ DONE ]
 Updating ovirt-engine service...  [ DONE ]
 Setting Database Configuration... [ DONE ]
 Setting Database Security...  [ DONE ]
 Creating Database...  [ DONE ]
 Updating the Default Data Center Storage Type...  [ DONE ]
 Editing oVirt Engine Configuration... [ DONE ]
 Editing Postgresql Configuration...   [ DONE ]
 Configuring the Default ISO Domain... [ DONE ]
 Configuring Firewall...   [ DONE ]
 Starting ovirt-engine Service...  [ DONE ]
 Configuring HTTPD...  [ DONE ]
 AIO: Creating storage directory...[ DONE ]
 AIO: Adding Local Datacenter and cluster...   [ DONE ]
 AIO: Adding Local host (This may take several minutes)...  [ ERROR ]
 Error: Host was found in a 'Failed' state. Please check engine and
 bootstrap installation logs.
 Please check log file
 /var/log/ovirt-engine/engine-setup_2013_03_08_14_10_56.log for more
 information
 Exception in thread libvirtEventLoop (most likely raised during
 interpreter shutdown)

 #


 2013-03-08 14:13:33::DEBUG::setup_sequences::59::root:: running
 _loadFilesToIsoDomain
 2013-03-08 14:13:33::ERROR::engine-setup::1838::root:: Traceback (most
 recent call last):
   File /usr/bin/engine-setup, line 1835, in _loadFilesToIsoDomain
 utils.copyFile(filename, targetPath, basedefs.CONST_VDSM_UID,
 basedefs.CONST_KVM_GID)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 706, in
 copyFile
 shutil.copy2(fileSrc, destination)
   File /usr/lib64/python2.6/shutil.py, line 95, in copy2
 copyfile(src, dst)
   File /usr/lib64/python2.6/shutil.py, line 50, in copyfile
 with open(src, 'rb') as fsrc:
 IOError: [Errno 2] No such file or directory:
 '/usr/share/virtio-win/virtio-win.vfd'

 2013-03-08 14:13:33::ERROR::engine-setup::1839::root:: Failed to copy
 files to iso domain


 [snip]

 2013-03-08 14:14:14::DEBUG::setup_sequences::59::root:: running
 waitForHostUp
 2013-03-08 14:14:14::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:14::DEBUG::all_in_one_100::306::root:: current host
 status is: installing
 2013-03-08 14:14:14::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 314, in isHostUp
 raise Exception(INFO_CREATE_HOST_WAITING_UP)
 Exception: Waiting for the host to start

 2013-03-08 14:14:19::DEBUG::all_in_one_100::303::root:: Waiting for host
 to become operational
 2013-03-08 14:14:19::DEBUG::all_in_one_100::306::root:: current host
 status is: install_failed
 2013-03-08 14:14:19::DEBUG::all_in_one_100::317::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 312, in isHostUp
 raise utils.RetryFailException(ERROR_CREATE_HOST_FAILED)
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.

 2013-03-08 14:14:19::DEBUG::setup_sequences::62::root:: Traceback (most
 recent call last):

   File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60, in
 run
 function()
   File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py, line
 300, in waitForHostUp
 utils.retry(isHostUp, tries=120, timeout=600, sleep=5)
   File /usr/share/ovirt-engine/scripts/common_utils.py, line 1010, in
 retry
 raise e
 RetryFailException: Error: Host was found in a 'Failed' state. Please
 check engine and bootstrap installation logs.


 2013-03-08 14:14:19::DEBUG::engine-setup::1934::root:: *** The following
 params were used as user input:
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root::
 override-httpd-config: yes
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: http-port: 80
 2013-03-08 14:14:19::DEBUG::engine-setup::1939::root:: https-port: 443
 2013-03-08 14:14:19::DEBUG::engine-setup

Re: [Users] Upgrade 3.1 to 3.2

2013-03-07 Thread Alex Leonhardt
I'm also overdue to test this, so stay tuned :) .. I've heard from a
different Alex :) that the engine / db got really messed up when he tried,
so best to do a backup of everything before attempting a upgrade !

Alex


On 7 March 2013 09:04, Neil nwilson...@gmail.com wrote:

 Thanks Alexandr, I hadn't seen that one.

 Will go through it.

 Thank you very much!

 On Thu, Mar 7, 2013 at 10:19 AM, Alexandr shur...@shurik.kiev.ua wrote:
  07.03.2013 10:16, Neil пишет:
  Hi guys,
 
  Does anyone have any successful upgrades from 3.1 to 3.2 using Centos
  6.3 and the Dreyou repos?
 
  I'm using ovirt 3.1 on our own production systems and would like to
  know the recommended upgrade methods/paths. I don't see much in the
  way of upgrade paths for any distributions for that matter.
 
  I've done quite a lot of googling and can't find much, also checked on
  the ovirt website for any possible guides or methods without much
  success.
 
  Thanks in advance.
 
  Regards.
 
  Neil Wilson.
 
  Have you seen this article
  http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
 
 
  ___
  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




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrade 3.1 to 3.2

2013-03-07 Thread Alex Leonhardt
Hmmm, http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32says
that we'd have to put the host into Maintenance mode before upgrade,
is it not possible to run a live upgrade ?

I don't have enough spare hardware to move VMs to for the upgrade of the
Hyper-Visors (Ovirt nodes), the VMs cannot be stopped during the day
either, we run multiple environments on them by now and are critical for
development work.

Anyone a idea of how to get onto 3.2 w/o having to stop the VMs ? If there
is now way, fair enoug (i guess), and we'll have to look at alternative
temporary hardware  disk before upgrading, however, it'd be really great
if someone found a way ?

Alex



On 7 March 2013 09:50, Alex Leonhardt alex.t...@gmail.com wrote:

 I'm also overdue to test this, so stay tuned :) .. I've heard from a
 different Alex :) that the engine / db got really messed up when he tried,
 so best to do a backup of everything before attempting a upgrade !

 Alex


 On 7 March 2013 09:04, Neil nwilson...@gmail.com wrote:

 Thanks Alexandr, I hadn't seen that one.

 Will go through it.

 Thank you very much!

 On Thu, Mar 7, 2013 at 10:19 AM, Alexandr shur...@shurik.kiev.ua wrote:
  07.03.2013 10:16, Neil пишет:
  Hi guys,
 
  Does anyone have any successful upgrades from 3.1 to 3.2 using Centos
  6.3 and the Dreyou repos?
 
  I'm using ovirt 3.1 on our own production systems and would like to
  know the recommended upgrade methods/paths. I don't see much in the
  way of upgrade paths for any distributions for that matter.
 
  I've done quite a lot of googling and can't find much, also checked on
  the ovirt website for any possible guides or methods without much
  success.
 
  Thanks in advance.
 
  Regards.
 
  Neil Wilson.
 
  Have you seen this article
  http://wiki.dreyou.org/dokuwiki/doku.php?id=ovirt_rpm_update31to32
 
 
  ___
  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




 --
 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problem install

2013-03-07 Thread Alex Lourie

On Wed 06 Mar 2013 10:51:43 PM IST, Marcelo Barbosa wrote:

Alex,

   Thankyou for attention. This return should not happen, because I
have my hostname registered and running on my DNS servers, but i'm
inserted in /etc/hosts my hostname and retry setup, but return new error:


2013-03-06 17:35:14::DEBUG::all_in_one_100::297::root:: Waiting for
host to become operational
2013-03-06 17:35:14::DEBUG::all_in_one_100::300::root:: current host
status is: up
2013-03-06 17:35:14::DEBUG::all_in_one_100::302::root:: The host is up.
2013-03-06 17:35:14::DEBUG::setup_sequences::59::root:: running
addStorageDomain
2013-03-06 17:35:14::DEBUG::all_in_one_100::317::root:: Adding local
storage domain
2013-03-06 17:35:14::INFO::all_in_one_100::322::root:: Creating local
storage
2013-03-06 17:35:14::INFO::all_in_one_100::326::root:: Creating local
storage domain
2013-03-06 17:35:14::INFO::all_in_one_100::334::root:: Adding local
storage domain
2013-03-06 17:35:15::ERROR::all_in_one_100::337::root:: Traceback
(most recent call last):
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py,
line 335, in addStorageDomain
controller.CONF[API_OBJECT].storagedomains.add(sdParams)
  File
/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/brokers.py,
line 5151, in add
headers={Expect:expect, Correlation-Id:correlation_id})
  File
/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py,
line 118, in add
return self.request('POST', url, body, headers)
  File
/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py,
line 129, in request
last=last)
  File
/usr/lib/python2.7/site-packages/ovirtsdk/infrastructure/proxy.py,
line 159, in __doRequest
raise RequestError, response
RequestError:
status: 400
reason: Bad Request
detail: Cannot add Storage. Internal error, Storage Connection doesn't
exist.

2013-03-06 17:35:15::DEBUG::setup_sequences::62::root:: Traceback
(most recent call last):
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60,
in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py,
line 338, in addStorageDomain
raise Exception(ERROR_ADD_LOCAL_DOMAIN)
Exception: Error: could not add local storage domain

2013-03-06 17:35:15::DEBUG::engine-setup::1948::root:: *** The
following params were used as user input:
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
override-httpd-config: yes
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: http-port: 80
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: https-port: 443
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
random-passwords: no
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: mac-range:
00:1A:4A:10:FF:00-00:1A:4A:10:FF:FF
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: host-fqdn:
firelap.usc.unirede.net http://firelap.usc.unirede.net
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: auth-pass: 
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: org-name: firelap
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
application-mode: both
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
default-dc-type: NFS
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
db-remote-install: local
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: db-host: localhost
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: db-local-pass:

2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: nfs-mp:
/firebackup//iso
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
iso-domain-name: ISO_DOMAIN
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: config-nfs: yes
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
override-firewall: IPTables
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root::
config-allinone: yes
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: storage-path:
/firebackup//vms
2013-03-06 17:35:15::DEBUG::engine-setup::1953::root:: superuser-pass:

2013-03-06 17:35:15::ERROR::engine-setup::2369::root:: Traceback (most
recent call last):
  File /bin/engine-setup, line 2363, in module
main(confFile)
  File /bin/engine-setup, line 2146, in main
runSequences()
  File /bin/engine-setup, line 2068, in runSequences
controller.runAllSequences()
  File /usr/share/ovirt-engine/scripts/setup_controller.py, line 54,
in runAllSequences
sequence.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 154,
in run
step.run()
  File /usr/share/ovirt-engine/scripts/setup_sequences.py, line 60,
in run
function()
  File /usr/share/ovirt-engine/scripts/plugins/all_in_one_100.py,
line 338, in addStorageDomain
raise Exception(ERROR_ADD_LOCAL_DOMAIN)
Exception: Error: could not add local storage domain

   Any ideas to solve this problem?

Marcelo Barbosa
/mr.marcelo.barb...@gmail.com mailto:mr.marcelo.barb...@gmail.com/


On Wed, Mar 6, 2013 at 4:23 PM, Alexandre Santos santosa...@gmail.com
mailto:santosa...@gmail.com wrote:

Hi. Have you

Re: [Users] why ovirt does not support NAT network

2013-03-07 Thread Alex Leonhardt
I can see the use for that, to be honest...

e.g. you rent 1 server and want to test some stuff, and typically for that
you don't get more than 1 IP to use for the server itself but you want your
VMs be able to get to The Internets :) ...

Alex



On 7 March 2013 11:28, Dan Kenigsberg dan...@redhat.com wrote:

 On Thu, Mar 07, 2013 at 06:49:20PM +0800, bigclouds wrote:
  why ovirt  does not support NAT network?

 Would you elaborate on that?

 Do you refer to putthing VMs behind a NAT, instead of a bridge?
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-07 Thread Alex Leonhardt
Hi Alissa,

have you had any luck ?

Alex


On 6 March 2013 12:48, Alex Leonhardt alex.t...@gmail.com wrote:

 Yep, it's ovirt 3.1 -

 on the HV :

 vdsm.x86_64   4.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-cli.noarch   4.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-python.x86_644.10.0-0.46.15.el6

 @vdsm31-dre
 vdsm-xmlrpc.noarch4.10.0-0.46.15.el6

 @vdsm31-dre


 on the Engine:

 jpackage-utils.noarch  5.0.0-7.jpp6
 @ovirt31-dre
 ovirt-engine.noarch3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-backend.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-cli.noarch
3.1.0.7-1.el6
 @ovirt31-dre
 ovirt-engine-config.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-dbscripts.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-genericapi.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-jbossas711.x86_64
1-0
 @ovirt31-dre
 ovirt-engine-notification-service.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-restapi.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-sdk.noarch
3.1.0.5-1.el6
 @ovirt31-dre
 ovirt-engine-setup.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-tools-common.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-userportal.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-engine-webadmin-portal.noarch
3.1.0-3.19.el6
 @ovirt31-dre
 ovirt-image-uploader.noarch
3.1.0-16.el6
 @ovirt31-dre
 ovirt-iso-uploader.noarch
3.1.0-16.el6
 @ovirt31-dre
 ovirt-log-collector.noarch
3.1.0-16.el6
 @ovirt31-dre
 vdsm-bootstrap.noarch  4.10.0-0.46.15.el6

 @vdsm31-dre


 Alex




 On 6 March 2013 12:25, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: Alissa Bonas abo...@redhat.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 11:46:30 AM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  Hi,
 
  Logs are attached -
 
 

 Thank you for attaching the logs.
 I'm checking them.
 Could you please confirm - you mentioned you work with ovirt 3.1 - is it
 the version of both engine and vdsm?
 If not - what is the exact version of each of the components?
 thank you
 
 
  2013-Mar-05, 15:44:47
 
  Snapshot test creation for VM icinga-clone has been completed.
 
 
 
 
 
 
 
  2013-Mar-05, 15:44:36
 
  VM icinga-clone has paused due to storage permissions problem.
 
 
 
 
 
 
  2013-Mar-05, 15:44:33
 
  Snapshot test creation for VM icinga-clone was initiated by
  admin@internal.
 
 
 
 
 
 
  2013-Mar-05, 15:44:20
 
  VM icinga-clone started on Host TESTHV01
 
  Alex
 
 
 
 
 
 
  On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Alex Leonhardt  alex.t...@gmail.com 
   To: oVirt Mailing List  users@ovirt.org 
   Sent: Tuesday, March 5, 2013 6:12:08 PM
   Subject: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
  
  
  
   Hiya,
  
   Am testing live snapshot-ing at the moment, and my VM is being
   paused
   every time I try to do a snapshot - it wont recover either, once
   the
   snapshot is complete.
  
   This is what I see on the webadmin console :
  
   VM icinga-clone has paused due to storage permissions problem.
  
   Any hints ?
  
   When I stop the VM, then start again, all is good.
 
  Hi,
  Please attach engine+vdsm+libvirt logs with the timeframe when you
  perform the live snapshot and the failure.
  thanks
 
 
  
   Thanks
   Alex
  
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-07 Thread Alex Leonhardt
Hi Alissa,

thanks for checking, but the VM is paused - shouldn't that allow me to
take a snapshot ?

Alex



On 7 March 2013 15:19, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alissa Bonas abo...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Thursday, March 7, 2013 2:55:21 PM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Alissa Bonas abo...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Thursday, March 7, 2013 2:44:19 PM
   Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
   Hi Alissa,
  
   have you had any luck ?
  
   Alex
  
  Hi,
 
  Still checking... sorry for the delay.
 
 Hi Alex,

 It seems that there was a mistake in release notes of 3.1, because part of
 the code that's relevant for live snapshots
 didn't enter 3.1, and that can explain the problem you are experiencing.
 The code is present and supposed to be operational in 3.2 - you are
 welcome to try.
 Sorry for the confusion.


  
   On 6 March 2013 12:48, Alex Leonhardt  alex.t...@gmail.com 
   wrote:
  
  
  
  
  
  
   Yep, it's ovirt 3.1 -
  
   on the HV :
  
   vdsm.x86_64 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-cli.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-python.x86_64 4.10.0-0.46.15.el6
   @vdsm31-dre
   vdsm-xmlrpc.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
  
  
   on the Engine:
  
   jpackage-utils.noarch 5.0.0-7.jpp6 @ovirt31-dre
   ovirt-engine.noarch 3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-backend.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-cli.noarch
   3.1.0.7-1.el6 @ovirt31-dre
   ovirt-engine-config.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-dbscripts.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-genericapi.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-jbossas711.x86_64
   1-0 @ovirt31-dre
   ovirt-engine-notification-service.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-restapi.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-sdk.noarch
   3.1.0.5-1.el6 @ovirt31-dre
   ovirt-engine-setup.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-tools-common.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-userportal.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-engine-webadmin-portal.noarch
   3.1.0-3.19.el6 @ovirt31-dre
   ovirt-image-uploader.noarch
   3.1.0-16.el6 @ovirt31-dre
   ovirt-iso-uploader.noarch
   3.1.0-16.el6 @ovirt31-dre
   ovirt-log-collector.noarch
   3.1.0-16.el6 @ovirt31-dre
   vdsm-bootstrap.noarch 4.10.0-0.46.15.el6
   @vdsm31-dre
  
  
   Alex
  
  
  
  
  
  
  
  
   On 6 March 2013 12:25, Alissa Bonas  abo...@redhat.com  wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
  
To: Alissa Bonas  abo...@redhat.com 
Cc: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 11:46:30 AM
Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
   
   
   
Hi,
   
Logs are attached -
   
   
  
   Thank you for attaching the logs.
   I'm checking them.
   Could you please confirm - you mentioned you work with ovirt 3.1 -
   is
   it the version of both engine and vdsm?
   If not - what is the exact version of each of the components?
   thank you
  
   
   
2013-Mar-05, 15:44:47
   
Snapshot test creation for VM icinga-clone has been completed.
   
   
   
   
   
   
   
  
2013-Mar-05, 15:44:36
   
VM icinga-clone has paused due to storage permissions problem.
   
   
   
   
   
   
  
2013-Mar-05, 15:44:33
   
Snapshot test creation for VM icinga-clone was initiated by
admin@internal.
   
   
   
   
   
   
  
  
2013-Mar-05, 15:44:20
   
VM icinga-clone started on Host TESTHV01
   
Alex
   
   
   
   
   
   
On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
   
   
   
   
   
- Original Message -
 From: Alex Leonhardt  alex.t...@gmail.com 
 To: oVirt Mailing List  users@ovirt.org 
 Sent: Tuesday, March 5, 2013 6:12:08 PM
 Subject: [Users] ovirt 3.1 + iscsi + snapshot






 Hiya,

 Am testing live snapshot-ing at the moment, and my VM is being
 paused
 every time I try to do a snapshot - it wont recover either,
 once
 the
 snapshot is complete.

 This is what I see on the webadmin console :

 VM icinga-clone has paused due to storage permissions
 problem.

 Any hints ?

 When I stop the VM, then start again, all is good.
   
Hi,
Please attach engine+vdsm+libvirt logs with the timeframe when
you
perform the live snapshot and the failure.
thanks
   
   

 Thanks
 Alex




 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com

Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-06 Thread Alex Leonhardt
Hi,

Logs are attached -

2013-Mar-05, 15:44:47
Snapshot test creation for VM icinga-clone has been completed.



2013-Mar-05, 15:44:36
VM icinga-clone has paused due to storage permissions problem.


2013-Mar-05, 15:44:33
Snapshot test creation for VM icinga-clone was initiated by admin@internal.


2013-Mar-05, 15:44:20
VM icinga-clone started on Host TESTHV01

Alex




On 5 March 2013 17:11, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: oVirt Mailing List users@ovirt.org
  Sent: Tuesday, March 5, 2013 6:12:08 PM
  Subject: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
 
 
 
  Hiya,
 
  Am testing live snapshot-ing at the moment, and my VM is being paused
  every time I try to do a snapshot - it wont recover either, once the
  snapshot is complete.
 
  This is what I see on the webadmin console :
 
  VM icinga-clone has paused due to storage permissions problem.
 
  Any hints ?
 
  When I stop the VM, then start again, all is good.

 Hi,
 Please attach engine+vdsm+libvirt logs with the timeframe when you perform
 the live snapshot and the failure.
 thanks

 
  Thanks
  Alex
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |


snapshot.logs.tar.xz
Description: Binary data
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
All,

I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge
and slaved bond.vlantag to it.

I've upped the interfaces (no IPs), however ovirt-engine still wont allow
me to add the new bridged interface. I did this yesterday, so I thought,
maybe it's just a cache issue, however, it doesnt seem to update the HVs
network config periodically ?

What can I do to get this sorted ?? I dont want to have to restart the
networking as VMs are running and needed.

FWIW, the setup looks like this -


eth0
   | - bond0.111  --- br1
   | - bond0.112  --- ovirtmgmt
eth1


the change was :

eth0
   | - bond0.111  --- br1
   | - bond0.112  --- ovirtmgmt
   | - bond0.113  --- br2
eth1

I then added br2 to the ovirt-engine config, however, I'm not able to
assign it to bond in the network config (web admin interface) for the hyper
visor / host.

Also see screenshot attached.

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
attachment: ovirt-engine-network-config.png___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Sorry, the picture should actually say br2 :) ... have had to edit it to
protect the real name(s) ...

Alex


On 6 March 2013 11:39, Alex Leonhardt alex.t...@gmail.com wrote:

 All,

 I've added manually a bond.vlantag to a Hyper-Visor, then added a bridge
 and slaved bond.vlantag to it.

 I've upped the interfaces (no IPs), however ovirt-engine still wont allow
 me to add the new bridged interface. I did this yesterday, so I thought,
 maybe it's just a cache issue, however, it doesnt seem to update the HVs
 network config periodically ?

 What can I do to get this sorted ?? I dont want to have to restart the
 networking as VMs are running and needed.

 FWIW, the setup looks like this -


 eth0
| - bond0.111  --- br1
| - bond0.112  --- ovirtmgmt
 eth1


 the change was :

 eth0
| - bond0.111  --- br1
| - bond0.112  --- ovirtmgmt
| - bond0.113  --- br2
 eth1

 I then added br2 to the ovirt-engine config, however, I'm not able to
 assign it to bond in the network config (web admin interface) for the hyper
 visor / host.

 Also see screenshot attached.

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt 3.1 + iscsi + snapshot

2013-03-06 Thread Alex Leonhardt
Yep, it's ovirt 3.1 -

on the HV :

vdsm.x86_64   4.10.0-0.46.15.el6

@vdsm31-dre
vdsm-cli.noarch   4.10.0-0.46.15.el6

@vdsm31-dre
vdsm-python.x86_644.10.0-0.46.15.el6

@vdsm31-dre
vdsm-xmlrpc.noarch4.10.0-0.46.15.el6

@vdsm31-dre


on the Engine:

jpackage-utils.noarch  5.0.0-7.jpp6
@ovirt31-dre
ovirt-engine.noarch3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-backend.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-cli.noarch
   3.1.0.7-1.el6
@ovirt31-dre
ovirt-engine-config.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-dbscripts.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-genericapi.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-jbossas711.x86_64
   1-0
@ovirt31-dre
ovirt-engine-notification-service.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-restapi.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-sdk.noarch
   3.1.0.5-1.el6
@ovirt31-dre
ovirt-engine-setup.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-tools-common.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-userportal.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-engine-webadmin-portal.noarch
   3.1.0-3.19.el6
@ovirt31-dre
ovirt-image-uploader.noarch
   3.1.0-16.el6
@ovirt31-dre
ovirt-iso-uploader.noarch
   3.1.0-16.el6
@ovirt31-dre
ovirt-log-collector.noarch
   3.1.0-16.el6
@ovirt31-dre
vdsm-bootstrap.noarch  4.10.0-0.46.15.el6

@vdsm31-dre


Alex




On 6 March 2013 12:25, Alissa Bonas abo...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: Alissa Bonas abo...@redhat.com
  Cc: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 11:46:30 AM
  Subject: Re: [Users] ovirt 3.1 + iscsi + snapshot
 
 
 
  Hi,
 
  Logs are attached -
 
 

 Thank you for attaching the logs.
 I'm checking them.
 Could you please confirm - you mentioned you work with ovirt 3.1 - is it
 the version of both engine and vdsm?
 If not - what is the exact version of each of the components?
 thank you
 
 
  2013-Mar-05, 15:44:47
 
  Snapshot test creation for VM icinga-clone has been completed.
 
 
 
 
 
 
 
  2013-Mar-05, 15:44:36
 
  VM icinga-clone has paused due to storage permissions problem.
 
 
 
 
 
 
  2013-Mar-05, 15:44:33
 
  Snapshot test creation for VM icinga-clone was initiated by
  admin@internal.
 
 
 
 
 
 
  2013-Mar-05, 15:44:20
 
  VM icinga-clone started on Host TESTHV01
 
  Alex
 
 
 
 
 
 
  On 5 March 2013 17:11, Alissa Bonas  abo...@redhat.com  wrote:
 
 
 
 
 
  - Original Message -
   From: Alex Leonhardt  alex.t...@gmail.com 
   To: oVirt Mailing List  users@ovirt.org 
   Sent: Tuesday, March 5, 2013 6:12:08 PM
   Subject: [Users] ovirt 3.1 + iscsi + snapshot
  
  
  
  
  
  
   Hiya,
  
   Am testing live snapshot-ing at the moment, and my VM is being
   paused
   every time I try to do a snapshot - it wont recover either, once
   the
   snapshot is complete.
  
   This is what I see on the webadmin console :
  
   VM icinga-clone has paused due to storage permissions problem.
  
   Any hints ?
  
   When I stop the VM, then start again, all is good.
 
  Hi,
  Please attach engine+vdsm+libvirt logs with the timeframe when you
  perform the live snapshot and the failure.
  thanks
 
 
  
   Thanks
   Alex
  
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Hmmm, nothing is coming up in the logs when i try and add it - I think
ovirt-engine is not aware that the HV got a new interface added.

Would restarting vdsm help ? If so, would that take down my VMs ?

Alex


On 6 March 2013 12:23, Antoni Segura Puimedon asegu...@redhat.com wrote:



 - Original Message -
  From: Alex Leonhardt alex.t...@gmail.com
  To: oVirt Mailing List users@ovirt.org
  Sent: Wednesday, March 6, 2013 12:42:06 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  Sorry, the picture should actually say br2 :) ... have had to edit it
  to protect the real name(s) ...
 
  Alex
 
 
 
 
  On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com  wrote:
 
 
 
 
 
 
 
 
  All,
 
  I've added manually a bond.vlantag to a Hyper-Visor, then added a
  bridge and slaved bond.vlantag to it.
 
  I've upped the interfaces (no IPs), however ovirt-engine still wont
  allow me to add the new bridged interface. I did this yesterday, so
  I thought, maybe it's just a cache issue, however, it doesnt seem to
  update the HVs network config periodically ?

 What does the engine say when you try to add it? The message could give
 us a good hint.

 
  What can I do to get this sorted ?? I dont want to have to restart
  the networking as VMs are running and needed.
 
  FWIW, the setup looks like this -
 
 
  eth0
  | - bond0.111 --- br1
  | - bond0.112 --- ovirtmgmt
 
 
  eth1
 
 
 
 
 
  the change was :
 
  eth0
  | - bond0.111 --- br1
  | - bond0.112 --- ovirtmgmt
  | - bond0.113 --- br2
  eth1
 
 
  I then added br2 to the ovirt-engine config, however, I'm not able
  to assign it to bond in the network config (web admin interface) for
  the hyper visor / host.
 
 
 
  Also see screenshot attached.
 
 
  Thanks
  Alex
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  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




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
Thanks Antoni,

I'll try the above when it's a bit quieter (evening). Also, good to know
that if you put the host in maint that it will pick the changes up :) ...

IMO - the engine should poll the HVs at least once an hour / day to check
if any hardware relevant to it has changed ... :)

Thanks again, I'll update with the result(s) later today.

Alex



On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Forgot to cc users list.

 - Forwarded Message -
  From: Antoni Segura Puimedon asegu...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Sent: Wednesday, March 6, 2013 2:00:54 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Antoni Segura Puimedon asegu...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Wednesday, March 6, 2013 1:52:36 PM
   Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
  
  
  
   Hmmm, nothing is coming up in the logs when i try and add it - I
   think ovirt-engine is not aware that the HV got a new interface
   added.
  
   Would restarting vdsm help ? If so, would that take down my VMs ?
 
  I guess you could migrate the VMs to another host and try that.
  However,
  if doing that is not an option (no other hosts, for example), I guess
  there
  would be a workaround from host-side.
 
  It would be something like the following (on host):
 
  vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true
  nics=nic0,nic1
 
  substitute nic0 and nic1 for the actual nics that are on the host.
 
  This will effectively do the setup you want on the host. As far as
  making the
  engine realize it... I'm not aware of all the actions that trigger an
  update. I know
  that going to maintenance and back does it, but in this case I guess
  it is not an option.
 
  
   Alex
  
  
  
  
   On 6 March 2013 12:23, Antoni Segura Puimedon  asegu...@redhat.com
   
   wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
To: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 12:42:06 PM
Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
   
   
   
Sorry, the picture should actually say br2 :) ... have had to
edit
it
to protect the real name(s) ...
   
Alex
   
   
   
   
On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com 
wrote:
   
   
   
   
   
   
   
   
All,
   
I've added manually a bond.vlantag to a Hyper-Visor, then added
a
bridge and slaved bond.vlantag to it.
   
I've upped the interfaces (no IPs), however ovirt-engine still
wont
allow me to add the new bridged interface. I did this yesterday,
so
I thought, maybe it's just a cache issue, however, it doesnt seem
to
update the HVs network config periodically ?
  
   What does the engine say when you try to add it? The message could
   give
   us a good hint.
  
  
  
   
What can I do to get this sorted ?? I dont want to have to
restart
the networking as VMs are running and needed.
   
FWIW, the setup looks like this -
   
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
   
   
eth1
   
   
   
   
   
the change was :
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
| - bond0.113 --- br2
eth1
   
   
I then added br2 to the ovirt-engine config, however, I'm not
able
to assign it to bond in the network config (web admin interface)
for
the hyper visor / host.
   
   
   
Also see screenshot attached.
   
   
Thanks
Alex
   
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
___
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
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-06 Thread Alex Leonhardt
For those still interested, t
he timeout issue doesnt occur on the
m
ultipath side, nor ovirt
,
 but on the iscsid config side of things -

To shorten the timeout and fail a path faster, edit

/etc/iscsi/iscsid.conf


C
hange the value


node.session.timeo.replacement_timeout = 1
2
0

t
o something more useful, like I changed it to 10


Reloading iscsid's config does nothing
,
 you'll have to restart the host for it to work.

Alex



On 4 March 2013 17:11, Alex Leonhardt alex.t...@gmail.com wrote:

 Ok, so finally got this working, anyone know how to change the timeout for
 multipathd from say 120 seconds to ~10 seconds ?

 == /var/log/messages ==
 Mar  4 17:09:12 TESTHV01 kernel: session5: session recovery timed out
 after 120 secs
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
 hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00
 00 04 08 00 00 00 08 00
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
 device
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
 hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
 Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00
 00 00 00 00 00 00 08 00


 Alex




 On 4 March 2013 15:35, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 I just tested this with this config :


 target iqn.2013-02.local.vm:iscsi.lun1
 backing-store /vol/scsi.img
 vendor_id ISCSI-MULTIPATH
 scsi_id MULTIPATHTEST
 scsi_sn 9911
 lun 1
 /backing-store
 /target


 However, upon discovery / login, the LUN ID was again :

 1IET_11


 Alex




 On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the
 way multipathing works (has nothing to do with oVirt).  The GUID of a LUN
 has to be unique.  multipathd seeing the same LUN ID across multiple
 targets assumes that it's the same LUN with multiple paths and that's how
 you get redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Adding a bond.vlantag to ovirt-node

2013-03-06 Thread Alex Leonhardt
I've setup the same bond config on my test machine, and this is what I get
:


# vdsClient -s 0 addNetwork bridge=br2 bridged=true bond=bond0.113
nics=eth0,eth1
'bond0.113' is not a valid bonding device name


Alex



On 6 March 2013 13:05, Alex Leonhardt alex.t...@gmail.com wrote:

 Thanks Antoni,

 I'll try the above when it's a bit quieter (evening). Also, good to know
 that if you put the host in maint that it will pick the changes up :) ...

 IMO - the engine should poll the HVs at least once an hour / day to check
 if any hardware relevant to it has changed ... :)

 Thanks again, I'll update with the result(s) later today.

 Alex



 On 6 March 2013 13:02, Antoni Segura Puimedon asegu...@redhat.com wrote:

 Forgot to cc users list.

 - Forwarded Message -
  From: Antoni Segura Puimedon asegu...@redhat.com
  To: Alex Leonhardt alex.t...@gmail.com
  Sent: Wednesday, March 6, 2013 2:00:54 PM
  Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
 
 
 
  - Original Message -
   From: Alex Leonhardt alex.t...@gmail.com
   To: Antoni Segura Puimedon asegu...@redhat.com
   Cc: oVirt Mailing List users@ovirt.org
   Sent: Wednesday, March 6, 2013 1:52:36 PM
   Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
  
  
  
   Hmmm, nothing is coming up in the logs when i try and add it - I
   think ovirt-engine is not aware that the HV got a new interface
   added.
  
   Would restarting vdsm help ? If so, would that take down my VMs ?
 
  I guess you could migrate the VMs to another host and try that.
  However,
  if doing that is not an option (no other hosts, for example), I guess
  there
  would be a workaround from host-side.
 
  It would be something like the following (on host):
 
  vdsClient -s 0 addNetwork bridge=br2 bond=bond0 vlan=113 bridged=true
  nics=nic0,nic1
 
  substitute nic0 and nic1 for the actual nics that are on the host.
 
  This will effectively do the setup you want on the host. As far as
  making the
  engine realize it... I'm not aware of all the actions that trigger an
  update. I know
  that going to maintenance and back does it, but in this case I guess
  it is not an option.
 
  
   Alex
  
  
  
  
   On 6 March 2013 12:23, Antoni Segura Puimedon  asegu...@redhat.com
   
   wrote:
  
  
  
  
  
   - Original Message -
From: Alex Leonhardt  alex.t...@gmail.com 
To: oVirt Mailing List  users@ovirt.org 
Sent: Wednesday, March 6, 2013 12:42:06 PM
Subject: Re: [Users] Adding a bond.vlantag to ovirt-node
   
   
   
Sorry, the picture should actually say br2 :) ... have had to
edit
it
to protect the real name(s) ...
   
Alex
   
   
   
   
On 6 March 2013 11:39, Alex Leonhardt  alex.t...@gmail.com 
wrote:
   
   
   
   
   
   
   
   
All,
   
I've added manually a bond.vlantag to a Hyper-Visor, then added
a
bridge and slaved bond.vlantag to it.
   
I've upped the interfaces (no IPs), however ovirt-engine still
wont
allow me to add the new bridged interface. I did this yesterday,
so
I thought, maybe it's just a cache issue, however, it doesnt seem
to
update the HVs network config periodically ?
  
   What does the engine say when you try to add it? The message could
   give
   us a good hint.
  
  
  
   
What can I do to get this sorted ?? I dont want to have to
restart
the networking as VMs are running and needed.
   
FWIW, the setup looks like this -
   
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
   
   
eth1
   
   
   
   
   
the change was :
   
eth0
| - bond0.111 --- br1
| - bond0.112 --- ovirtmgmt
| - bond0.113 --- br2
eth1
   
   
I then added br2 to the ovirt-engine config, however, I'm not
able
to assign it to bond in the network config (web admin interface)
for
the hyper visor / host.
   
   
   
Also see screenshot attached.
   
   
Thanks
Alex
   
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
   
   
--
   
   
   
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
   
___
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
  
  
  
   --
  
  
  
   | RHCE | Senior Systems Engineer | www.vcore.co |
   | www.vsearchcloud.com |
  
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 
| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list

[Users] ovirt 3.1 + iscsi + snapshot

2013-03-05 Thread Alex Leonhardt
Hiya,

Am testing live snapshot-ing at the moment, and my VM is being paused every
time I try to do a snapshot - it wont recover either, once the snapshot is
complete.

This is what I see on the webadmin console :

VM icinga-clone has paused due to storage permissions problem.

Any hints ?

When I stop the VM, then start again, all is good.

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Hi,

I just tested this with this config :


target iqn.2013-02.local.vm:iscsi.lun1
backing-store /vol/scsi.img
vendor_id ISCSI-MULTIPATH
scsi_id MULTIPATHTEST
scsi_sn 9911
lun 1
/backing-store
/target


However, upon discovery / login, the LUN ID was again :

1IET_11


Alex




On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-04 Thread Alex Leonhardt
Ok, so finally got this working, anyone know how to change the timeout for
multipathd from say 120 seconds to ~10 seconds ?

== /var/log/messages ==
Mar  4 17:09:12 TESTHV01 kernel: session5: session recovery timed out after
120 secs
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
04 08 00 00 00 08 00
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] killing request
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: rejecting I/O to offline
device
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Unhandled error code
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] Result:
hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
Mar  4 17:09:12 TESTHV01 kernel: sd 7:0:0:99: [sdd] CDB: Read(10): 28 00 00
00 00 00 00 00 08 00


Alex




On 4 March 2013 15:35, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 I just tested this with this config :


 target iqn.2013-02.local.vm:iscsi.lun1
 backing-store /vol/scsi.img
 vendor_id ISCSI-MULTIPATH
 scsi_id MULTIPATHTEST
 scsi_sn 9911
 lun 1
 /backing-store
 /target


 However, upon discovery / login, the LUN ID was again :

 1IET_11


 Alex




 On 3 March 2013 18:34, Ayal Baron aba...@redhat.com wrote:



 - Original Message -
 
 
 
 
 
  Hi there,
 
  I was doing some testing around ovirt and iscsi and found an issue
  where as when you use dd to create backing-stores for iscsi and
  you point ovirt to it to discover  login, it thinks the LUN ID is
  the same although the target is different and adds additional paths
  to the config (automagically?) bringing down the iSCSI storage
  domain.

 There is no question about the behaviour, it's not a bug, that is the way
 multipathing works (has nothing to do with oVirt).  The GUID of a LUN has
 to be unique.  multipathd seeing the same LUN ID across multiple targets
 assumes that it's the same LUN with multiple paths and that's how you get
 redundancy and load balancing.
 Why tgtd doesn't take care of this built in I could never grok, but what
 you need to do is edit your targets.conf and add the scsi_id and scsi_sn
 fields.

 Example:
 target MasterBackup
  allow-in-use yes
 backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
 /backing-store
 /target

 
  See attached screenshot of what I got when trying to a new iscsi san
  storage domain to ovirt. The Storage Domain is now down and I
  cannot get rid of the config (???) how do I force it to logout of
  the targets ??
 
 
  Also, anyone know how to deal with the duplicate LUN ID issue ?
 
 
  Thanks
  Alex
 
 
 
 
 
  --
 
 
 
  | RHCE | Senior Systems Engineer | www.vcore.co |
  | www.vsearchcloud.com |
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-03 Thread Alex Leonhardt

Hi Ayal,

Thanks for that - I was thinking the same after I did some more testing 
last week - e.g. shared a image file from a different iscsi target and 
the same iscsi target, the lun on the same target changed, the one on 
the other target did again the same - so I figured it had something to 
do with tgtd.


Thanks for below, I was looking into those options to try next week :) ...

Thanks
Alex


On 03/03/2013 06:34 PM, Ayal Baron wrote:


- Original Message -





Hi there,

I was doing some testing around ovirt and iscsi and found an issue
where as when you use dd to create backing-stores for iscsi and
you point ovirt to it to discover  login, it thinks the LUN ID is
the same although the target is different and adds additional paths
to the config (automagically?) bringing down the iSCSI storage
domain.

There is no question about the behaviour, it's not a bug, that is the way 
multipathing works (has nothing to do with oVirt).  The GUID of a LUN has to be 
unique.  multipathd seeing the same LUN ID across multiple targets assumes that 
it's the same LUN with multiple paths and that's how you get redundancy and 
load balancing.
Why tgtd doesn't take care of this built in I could never grok, but what you 
need to do is edit your targets.conf and add the scsi_id and scsi_sn fields.

Example:
target MasterBackup
  allow-in-use yes
backing-store /dev/vg0/MasterBackup
  lun 1
  scsi_id MasterBackup
  scsi_sn 4401
/backing-store
/target


See attached screenshot of what I got when trying to a new iscsi san
storage domain to ovirt. The Storage Domain is now down and I
cannot get rid of the config (???) how do I force it to logout of
the targets ??


Also, anyone know how to deal with the duplicate LUN ID issue ?


Thanks
Alex





--



| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |

___
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 / 2 iscsi storage domains / same LUN IDs

2013-03-01 Thread Alex Leonhardt
 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-metadata: 536 MB,
536870912 bytes
255 heads, 63 sectors/track, 65 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-ids: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-leases: 2147 MB,
2147483648 bytes
255 heads, 63 sectors/track, 261 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-inbox: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-outbox: 134 MB,
134217728 bytes
255 heads, 63 sectors/track, 16 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk /dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-master: 1073 MB,
1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x


Disk
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879--bf23022827d7:
10.7 GB, 10737418240 bytes
255 heads, 63 sectors/track, 1305 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc91a


Device Boot  Start End  Blocks   Id  System
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879
*   1  64  512000   83  Linux
Partition 1 does not end on cylinder boundary.
/dev/mapper/7d0f78ff--aa25--4b64--a2ea--c8a65beda616-fe6f8584--b6da--4ef0--8879
641306 9972736   8e  Linux LVM



Now I wonder whether there is a MAX on the amount of iSCSI storage domains
you can have ? I'd think that that depends on the max of the device-mapper
? Is there a max ?

Alex



On 28 February 2013 16:30, Alex Leonhardt alex.t...@gmail.com wrote:

 FWIW, restarting the HV resolves the issue and brings the storage domain
 back up; but I dont know whether that is because that's where the target
 (and iscsi initiator) runs or whether vdsmd then clears its cache / routes
 to a/the target(s) ?

 Alex



 On 28 February 2013 16:25, Alex Leonhardt alex.t...@gmail.com wrote:

 another screenshot of how confused it can get

 alex


 On 28 February 2013 15:36, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi there,

 I was doing some testing around ovirt and iscsi and found an issue where
 as when you use dd to create backing-stores for iscsi and you point
 ovirt to it to discover  login, it thinks the LUN ID is the same although
 the target is different and adds additional paths to the config
 (automagically?) bringing down the iSCSI storage domain.

 See attached screenshot of what I got when trying to a new iscsi san
 storage domain to ovirt. The Storage Domain is now down and I cannot get
 rid of the config (???) how do I force it to logout of the targets ??

 Also, anyone know how to deal with the duplicate LUN ID issue ?

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / 2 iscsi storage domains / same LUN IDs

2013-03-01 Thread Alex Leonhardt
The problem persists despite me trying to manually change LUN ID on the
target (scsi-target-utils installed on centos 6.3) .. does anyone know how
to make ovirt (or vdsm?) based on iqn + lun id ? I'd think it'd resolve the
issue I'm having.

Anyone ?

Thanks,
Alex


On 28 February 2013 16:30, Alex Leonhardt alex.t...@gmail.com wrote:

 FWIW, restarting the HV resolves the issue and brings the storage domain
 back up; but I dont know whether that is because that's where the target
 (and iscsi initiator) runs or whether vdsmd then clears its cache / routes
 to a/the target(s) ?

 Alex



 On 28 February 2013 16:25, Alex Leonhardt alex.t...@gmail.com wrote:

 another screenshot of how confused it can get

 alex


 On 28 February 2013 15:36, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi there,

 I was doing some testing around ovirt and iscsi and found an issue where
 as when you use dd to create backing-stores for iscsi and you point
 ovirt to it to discover  login, it thinks the LUN ID is the same although
 the target is different and adds additional paths to the config
 (automagically?) bringing down the iSCSI storage domain.

 See attached screenshot of what I got when trying to a new iscsi san
 storage domain to ovirt. The Storage Domain is now down and I cannot get
 rid of the config (???) how do I force it to logout of the targets ??

 Also, anyone know how to deal with the duplicate LUN ID issue ?

 Thanks
 Alex

 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-25 Thread Alex Leonhardt
Hi Dafna,

I just started working on this again, and it now did pick up the change -
so my assumption for now is that it must have been locally cached on the
Hyper-Visor... I'll do some more testing to re-create this and if it
happens again, i'll email you the logs.

Thanks,
Alex


On 22 February 2013 17:14, Alex Leonhardt alex.t...@gmail.com wrote:

  Will do when back on it early next week.

 Alex

 On 02/20/2013 03:22 PM, Dafna Ron wrote:

 Hi Alex,

 theoretically, even if the target is already logged in, engine is
 sending a query called getDeviceList which should update the information
 that was changed for the target.

 can you please attach the logs (both engine and vdsm)?
 also, if you can give me more information on what storage are you using
 and what exact commands (or steps) you did it would be most appreciated.

 Thanks,

 Dafna



 On 02/20/2013 04:26 PM, Alex Leonhardt wrote:

  I thought of that, however, the node wasn't logged in to anything, in
 fact, it didnt even know about the target / disk. I dont think it got
 that far. Then I checked the engine host too, but nothing there either.

 I wont be doing much more testing today / this week, but really hope
 someone can shed some light here as will have to pick this up again
 beginning of next week.

 It's fair enough and not a biggie if it's simply a bug, but there
 simply must be some record of where these things are being written to ?

 Alex



 On 20 February 2013 14:01, Jonathan Horne 
 jho...@skopos.usmailto:jho...@skopos.us jho...@skopos.us wrote:

 I have seem the same thing in the past, you might try to get on
 the node itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:*users-boun...@ovirt.org mailto:users-boun...@ovirt.org 
 users-boun...@ovirt.org
 [mailto:users-boun...@ovirt.org users-boun...@ovirt.org 
 mailto:users-boun...@ovirt.org users-boun...@ovirt.org]
 *On Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried
 to add it as storage to the engine, it complained of being too
 small, so I resized the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother
 re-discoverying the target ? How can I remove its cache / current
 entries ? It never added it as a storage domain, so it is safe to
 remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when
 adding a storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co http://www.vcore.co | www.vsearchcloud.com
 http://www.vsearchcloud.com http://www.vsearchcloud.com |


 
 This is a PRIVATE message. If you are not the intended recipient,
 please delete without copying and kindly advise us by e-mail of
 the mistake in delivery. NOTE: Regardless of content, this e-mail
 shall not operate to bind SKOPOS to any order or other contract
 unless pursuant to explicit written agreement or government
 initiative expressly permitting the use of e-mail for such purpose.




 --

 | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co 
 http://www.vcore.co
 | www.vsearchcloud.com http://www.vsearchcloud.com 
 http://www.vsearchcloud.com |


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




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-22 Thread Alex Leonhardt

Will do when back on it early next week.

Alex

On 02/20/2013 03:22 PM, Dafna Ron wrote:

Hi Alex,

theoretically, even if the target is already logged in, engine is
sending a query called getDeviceList which should update the information
that was changed for the target.

can you please attach the logs (both engine and vdsm)?
also, if you can give me more information on what storage are you using
and what exact commands (or steps) you did it would be most appreciated.

Thanks,

Dafna



On 02/20/2013 04:26 PM, Alex Leonhardt wrote:

I thought of that, however, the node wasn't logged in to anything, in
fact, it didnt even know about the target / disk. I dont think it got
that far. Then I checked the engine host too, but nothing there either.

I wont be doing much more testing today / this week, but really hope
someone can shed some light here as will have to pick this up again
beginning of next week.

It's fair enough and not a biggie if it's simply a bug, but there
simply must be some record of where these things are being written to ?

Alex



On 20 February 2013 14:01, Jonathan Hornejho...@skopos.us
mailto:jho...@skopos.us  wrote:

 I have seem the same thing in the past, you might try to get on
 the node itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:*users-boun...@ovirt.orgmailto:users-boun...@ovirt.org
 [mailto:users-boun...@ovirt.orgmailto:users-boun...@ovirt.org]
 *On Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried
 to add it as storage to the engine, it complained of being too
 small, so I resized the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother
 re-discoverying the target ? How can I remove its cache / current
 entries ? It never added it as a storage domain, so it is safe to
 remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when
 adding a storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co  | www.vsearchcloud.com
 http://www.vsearchcloud.com  |


 
 This is a PRIVATE message. If you are not the intended recipient,
 please delete without copying and kindly advise us by e-mail of
 the mistake in delivery. NOTE: Regardless of content, this e-mail
 shall not operate to bind SKOPOS to any order or other contract
 unless pursuant to explicit written agreement or government
 initiative expressly permitting the use of e-mail for such purpose.




--

| RHCE | Senior Systems Engineer | www.vcore.cohttp://www.vcore.co
| www.vsearchcloud.comhttp://www.vsearchcloud.com  |


___
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] Mgmt SPOF ? Re: Was: Ovirt iSCSI

2013-02-22 Thread Alex Leonhardt
AFAIK, clustered solution is an upcoming feature for hopefully this year 
... For now, be sure to take a good DB backup - have a look here :


http://www.ovirt.org/Backup_engine_db

and the one from St. Keimond here :

http://www.ovirt.org/User_talk:Stkeimond/Backing_Up_And_Restoring_OVirt

Alex


On 02/20/2013 04:39 PM, Nicolas Ecarnot wrote:

Le 20/02/2013 17:22, St.Keimond a écrit :

   I'm actually in the middle of recovering from an ovirt disaster (we
lost our management server


Sorry to fork this thread, but just a comment : I read nothing about 
the SPOF the management server appears to me.

Did I read too fast or mis-read about a clustered management solution?

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


[Users] iscsi discovery issue

2013-02-20 Thread Alex Leonhardt
Hi All,

I've successfully discovered a ISCSI target, however, when I tried to add
it as storage to the engine, it complained of being too small, so I resized
the file and restarted tgtd on the server.

The problem is that the engine doesnt seem to bother re-discoverying the
target ? How can I remove its cache / current entries ? It never added it
as a storage domain, so it is safe to remove that entry I suppose ?

Why would the engine not try to re-read the device stats when adding a
storage domain ?

Thanks
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] iscsi discovery issue

2013-02-20 Thread Alex Leonhardt
I thought of that, however, the node wasn't logged in to anything, in fact,
it didnt even know about the target / disk. I dont think it got that far.
Then I checked the engine host too, but nothing there either.

I wont be doing much more testing today / this week, but really hope
someone can shed some light here as will have to pick this up again
beginning of next week.

It's fair enough and not a biggie if it's simply a bug, but there simply
must be some record of where these things are being written to ?

Alex



On 20 February 2013 14:01, Jonathan Horne jho...@skopos.us wrote:

  I have seem the same thing in the past, you might try to get on the node
 itself and issue a logout command : iscsiadm -m node --logout



 Then retry the discovery.



 *From:* users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] *On
 Behalf Of *Alex Leonhardt
 *Sent:* Wednesday, February 20, 2013 4:13 AM
 *To:* oVirt Mailing List
 *Subject:* [Users] iscsi discovery issue



 Hi All,



 I've successfully discovered a ISCSI target, however, when I tried to add
 it as storage to the engine, it complained of being too small, so I resized
 the file and restarted tgtd on the server.



 The problem is that the engine doesnt seem to bother re-discoverying the
 target ? How can I remove its cache / current entries ? It never added it
 as a storage domain, so it is safe to remove that entry I suppose ?



 Why would the engine not try to re-read the device stats when adding a
 storage domain ?



 Thanks

 Alex



 --



 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |

 --
 This is a PRIVATE message. If you are not the intended recipient, please
 delete without copying and kindly advise us by e-mail of the mistake in
 delivery. NOTE: Regardless of content, this e-mail shall not operate to
 bind SKOPOS to any order or other contract unless pursuant to explicit
 written agreement or government initiative expressly permitting the use of
 e-mail for such purpose.




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] DB error on fresh ovirt install

2013-02-20 Thread Alex Lourie

On 02/20/2013 12:55 PM, Eli Mesika wrote:


- Original Message -

From: Dead Horse deadhorseconsult...@gmail.com
To: users@ovirt.org users@ovirt.org
Sent: Tuesday, February 19, 2013 11:58:01 PM
Subject: [Users] DB error on fresh ovirt install




Normally I upgrade from prior test installs. However for the past two
weeks or so attempting a fresh install yields:

oVirt Engine will be installed using the following configuration:
=
override-httpd-config: yes
http-port: 80
https-port: 443
host-fqdn: ovirtfoo.test.domain
auth-pass: 
org-name: DHC
application-mode: both
default-dc-type: NFS
db-remote-install: local
db-local-pass: 
config-nfs: no
override-firewall: None
Proceed with the configuration listed above? (yes|no): yes

Installing:
Configuring oVirt Engine... [ DONE ]
Configuring JVM... [ DONE ]
Creating CA... [ DONE ]
Updating ovirt-engine service... [ DONE ]
Setting Database Configuration... [ DONE ]
Setting Database Security... [ DONE ]
Upgrading Database Schema... [ ERROR ]
dictionary update sequence element #0 has length 1; 2 is required
Please check log file
/var/log/ovirt-engine/engine-setup_2013_02_19_15_31_02.log for more
information


log attached

Hi
Seems like a BUG in the setup Python script
see
http://www.gossamer-threads.com/lists/python/python/917709
Alex, Moran can you check please ?


Hi All

It is indeed a but in our setup utility. I've opened a bug [1].




- DHC





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



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

--

Best regards,

Alex Lourie
Software Developer in Integration
Red Hat

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


Re: [Users] Discussion... work appears to be needed in areas of recovery and cleanup

2013-02-19 Thread Alex Lourie

On 02/14/2013 03:35 PM, Rick Beldin wrote:

Hi...

I've been working with both RHEV and Ovirt and can see distinct changes
and improvements with regards to how Ovirt is emerging and changing.

One area that still disturbs me is in the area of recovery and cleanup,
specifically around the ovirt-engine (rhevm) node.

I've observed a few things about the project:

- backup of a engine db seems to be a fairly manual process
   with many steps.  There are many files listed that need to be backed
   up manually as listed in the RHEVM admin manual. pg_dump seems to
   automate the dumping of the db, but other config files are left up
   to the admin.

- restoration appears to be equally complex

- engine-cleanup (rhevm-cleanup) doesn't always cleanup

- there appear to be instances where the only way to get a solid base
   is reinstallation.  I've removed and reinstalled components so many
   times it is now second nature.  ;)

I'm curious about:

- Are there technical issues (beyond the code not being written yet) that
   prevent backup and restore procedures from working correctly to save
   and restore an engine environment?   I would expect that a test for
   that operation would be to setup an environment, take a snapshot,
   and restore the whole thing to another management node.

- Are all the config files properly identified?  The RHEVM Admin
   manual has an extensive list but is it exhaustive?

- What technically prevents engine-cleanup from really *cleaning*
   a system?  My expectation would be that I should be able to run
   engine-cleanup and completely wipe out the setup.  All databases,
   certs, config files and the like returned to their original,
   pristine state.   Perhaps another script - engine-restore-defaults? -
   needs to go beyond where engine-cleanup goes today?

As a support professional, these are areas that I think warrant
investment and I wonder what is gating the development here.

Thanks,

Rick



Hey Rick!

Firstly, thanks for the time and effort you have put into this, it is 
really appreciated.


Secondly, I created wiki page [1] with the set of requirements for such 
utility/feature that you discussed here, this would help in developing 
it. Please feel free to comment/provide feedback.


[1] http://www.ovirt.org/Backup_And_Restore_Engine

--

Best regards,

Alex Lourie
Software Developer in Integration
Red Hat

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


[Users] oVirt 3.1 - 3.2 upgrade path

2013-02-19 Thread Alex Leonhardt
Hi,

Anyone been doing upgrades of ovirt engine + nodes from 3.1 to 3.2 yet ?
what is the proposed upgrade path ? nodes first, then engine or other way
around ?

As the domain is a 3.1 domain currently, the nodes (HVs) would become
disconnected from the engine if the engine was upgrade first ? Or, if you
upgrade the nodes (HVs) first to 3.2 will it be able to run in a 3.1
compatibility mode to still be controlled by a 3.1 engine, and when engine
is upgraded to 3.2 will the node (HV) then switch to 3.2 automatically / or
is a restart / reconfiguration required ?

Is a upgrade possible w/o taking down the node / e.g. do I have to stop all
VMs running on that node (HV) ?

Thanks,
Alex

-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Ovirt iSCSI

2013-02-18 Thread Alex Leonhardt
Hi All,

I was wondering if there is a document that describes in detail how ovirt
is working with iscsi and how it creates the disks, etc. etc. on the SAN /
iSCSI storage ?

I checked the online documentation however cant see it going into much
detail. I'd also be prepared to write something up for the documenation
section, but I need to get it to work and understand first ;)

FWIW, this is a part 2 of a project I'm working on, now moving away from
NFS and onto iSCSI (a cheap san solution).

Your help would be greatly appreciated.

Thanks!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrading to Fedora 18

2013-02-17 Thread Alex Lourie

On Sun 17 Feb 2013 10:38:08 AM IST, Vered Volansky wrote:

Hi Kevin,

How about https://fedoraproject.org/wiki/Upgrading_Fedora_using_yum ?
If you have anything specific that is unclear to you, please feel free to ask 
again.

Regarding ovirt upgrade - Have a look at:
http://wiki.centos.org/HowTos/oVirt .

It's much more elaborated than what you probably need, but you should follow 
the same instructions as ovirt installation.
You can use yum update instead of yum install, that's it.

Regards,
Vered

- Original Message -

From: Kevin Daly keda...@gmail.com
To: users@ovirt.org
Sent: Friday, February 15, 2013 11:38:23 PM
Subject: [Users] Upgrading to Fedora 18



I have installed Ovirt 3.1 on a Fedora 17 server, and would like to
upgrade to Fedora 18... The documentation I have found on the
mailing list is unclear on how to do this.


Does anyone have any pointers on how this can be done.. as well as
upgrading to Ovirt 3.2 after we've upgraded to Fedora 18


Thanks In advance



___
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


Hi Kevin

In addition to what Vered said, and while we still test it, you just 
upgrade fedora to Fedora 18 release and then simply upgrade engine with 
engine-upgrade command.


--

Best regards,

Alex Lourie
Red Hat
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2013-02-05 Thread Alex Lourie

On Mon 04 Feb 2013 09:48:55 AM IST, Gianluca Cecchi wrote:


On Feb 4, 2013 3:18 AM, Nicholas Kesick cybertimber2...@hotmail.com
mailto:cybertimber2...@hotmail.com wrote:

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

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

 - Nick

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

You wrote with 3.2 beta tag in subject, but you are using a 3.1
engine-setup?
Can you detail better your environment?
Gianluca



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


The error message probably means that postgresql service is not running 
or not running on default port 5432.


Please verify that it is up before you continue.

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


Re: [Users] ovirt / spice client /connection

2013-01-30 Thread Alex Leonhardt
fwiw, i tried it but didnt work, i used

engine-config -s SpiceReleaseCursorKeys=ctrl+alt

and after restarting the engine, it came up with the right combo in the
window title, but it didnt work, i had to reboot the host for me to get the
cursor back

anything i did wrong here ?

alex



On 29 January 2013 23:51, Alex Leonhardt alex.t...@gmail.com wrote:

  fab, thanks i'll try that


 On 01/29/2013 12:24 PM, Andrew Cathrow wrote:

 - Original Message -


  From: Alex Leonhardt alex.t...@gmail.com alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org users@ovirt.org
 Sent: Tuesday, January 29, 2013 4:07:13 AM
 Subject: [Users] ovirt / spice client /connection

   Hi,

   is it possible to change the key combination from Shift + F12 to
 CTRL+ALT to release the cursor/mouse ?

  Use the engine-config utility to change the value for SpiceReleaseCursorKeys 
 the default is shift+f12 but it can be easily modified.
 Aic




  Alex

   --

   | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

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




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Engine upgrade failure broken in master

2013-01-30 Thread Alex Lourie

On Wed 30 Jan 2013 04:51:56 AM IST, Yair Zaslavsky wrote:

Looks like the following commits around the async task clearner
introduced between the two commits you specified -

e16f21c1a42d418cfb7528b7819d97e576d715f3


That's the one that fixes the issue.


9393178a693cddc8756cf3b21198faa43407ff5d

Looks like the one that handles the extra character fixes this.




*From: *Dead Horse deadhorseconsult...@gmail.com
*To: *users@ovirt.org users@ovirt.org
*Sent: *Tuesday, January 29, 2013 10:19:31 PM
*Subject: *[Users] Engine upgrade failure broken in master

Commit: 72a51f5e21f38bf259a460948670eac92e97ca24
Breaks engine upgrades:

2013-01-29 12:40:52::ERROR::engine-upgrade::1177::root:: Traceback
(most recent call last):
  File /usr/bin/engine-upgrade, line 1170, in module
main(options)
  File /usr/bin/engine-upgrade, line 1071, in main
if zombieTasksFound():
  File /usr/bin/engine-upgrade, line 766, in zombieTasksFound
msg=Can't get zombie async tasks,
  File /usr/share/ovirt-engine/scripts/common_utils.py, line
459, in execCmd
env=env,
  File /usr/lib64/python2.7/subprocess.py, line 679, in __init__
errread, errwrite)
  File /usr/lib64/python2.7/subprocess.py, line 1249, in
_execute_child
raise child_exception
OSError: [Errno 8] Exec format error

Upgrade was attempted on engine built from commit:
61c11aecc40e755d08b6c34c6fe1c0a07fa94de8

Building from commit: 82bdc46dfdb46b000f67f0cd4e51fc39665bf13b and
upgrading works as expected.

- DHC

___
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




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


[Users] ovirt / spice client /connection

2013-01-29 Thread Alex Leonhardt
Hi,

is it possible to change the key combination from Shift + F12 to CTRL+ALT
to release the cursor/mouse ?

Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt / spice client /connection

2013-01-29 Thread Alex Leonhardt

fab, thanks i'll try that


On 01/29/2013 12:24 PM, Andrew Cathrow wrote:

- Original Message -


From: Alex Leonhardtalex.t...@gmail.com
To: oVirt Mailing Listusers@ovirt.org
Sent: Tuesday, January 29, 2013 4:07:13 AM
Subject: [Users] ovirt / spice client /connection
Hi,
is it possible to change the key combination from Shift + F12 to
CTRL+ALT to release the cursor/mouse ?

Use the engine-config utility to change the value for SpiceReleaseCursorKeys the default 
is shift+f12 but it can be easily modified.
Aic




Alex
--
| RHCE | Senior Systems Engineer | www.vcore.co |
| www.vsearchcloud.com |
___
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] Cannot run VM. Low disk space on relevant Storage Domain

2013-01-28 Thread Alex Leonhardt
is there a wiki article for this ? am sure others will run into this ? (i
did too)

alex


On 27 January 2013 14:31, Dafna Ron d...@redhat.com wrote:

 you can set the limit of low disk space using rhevm-config

 FreeSpaceCriticalLowInGB: Critical low disk space alert threshold (in
 GB) (Value Type: Integer)
 FreeSpaceLow: Limit of % free disk-space below which it is considered
 low (Value Type: Integer)*
 *
 run rhevm-config --help for more info on how to use the command.

 and note that you need to restart ovirt-engine service after change.


 On 01/27/2013 11:39 AM, Ricky Schneberger wrote:
  Hi,
 
  I have put up a test environment with oVirt 3.1 and found out (because
  of limited storage) that when trying to run a vm i got Error while
  executing action: Cannot run VM. Low disk space on relevant Storage
 Domain.
 
  Disk space on the storage domain is 322GB free (9% of total).
 
  Can I change these limits? How are they calculated? By percentage?
  I dont use quotas anywhere.
 
  Regards
 
  //Ricky
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users


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




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Data Center is being initialized, please wait for initialization to complete

2013-01-28 Thread Alex Leonhardt
Hi,

Occasionally, mainly after doing larger disk operations, I see this :

  Data Center is being initialized, please wait for initialization to
complete

and then the SPM host changes ...

I didnt see any particular load on that server at the time it happened - I
simply told it to delete some VMs from a export domain.

Any clues ?

Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] 3.1 to 3.2 migration

2013-01-28 Thread Alex Lourie

On 01/24/2013 04:51 PM, Alexandru Vladulescu wrote:

On 01/24/2013 04:42 PM, Adrian Gibanel wrote:




*De: *Alexandru Vladulescu avladule...@bfproject.ro
*Para: *users@ovirt.org
*Enviados: *Jueves, 24 de Enero 2013 14:21:22
*Asunto: *Re: [Users] 3.1 to 3.2 migration

Hi,

On 01/24/2013 03:13 PM, Adrian Gibanel wrote:

As far as I know in Fedora you need to upgrade from Fedora 17
to Fedora 18.
As you you're using CentOS I suppose you don't need to
upgrade your CentOS but I'm not sure at all.

This is not the case, it goes right if installed 3.2 from scratch
on a new machine. Don't think CentOS has a problem here.

Well, I remember having asked about Fedora and CentOS oVirt support 
differences in the irc and I think I was answered that for some 
features you needed extra repositories for new kernel + kvm and / or 
gluster and /or libvirt. Not sure about what were exactly the 
features you missed and the repos you need to enable manually.


But just for upgrading to oVirt 3.2 I think you won't have any problem.

Anyways what I've read in the mailing list about 3.1 to 3.2
update is the following one:

  * Update packages
  * Run: engine-upgrade command

I don't know how easy it is to update packages in your case
(stable to beta) so you might do it in your way like this:
  * Remove 3.1 packages
  * Install 3.2 beta packages
  * Run: engine-upgrade command

I have removed 3.1 using yum, installed 3.2 using yum and run the
engine-setup and not upgrade command. As seen engine-upgrade,
tries first to locate a mirror through yum.

Hummm. Maybe I was mistaken and what you have to do is to add a yum 
repository and then run engine-upgrade. What I remember without any 
doubt is that you had to run engine-upgrade no matter what.


Hope someone can clarify it.

I will check that and get back to you.



Hi Alex

When you test the upgrade, please attach its log file. We then can look 
into the upgrade process and find issues if there are any.


Thanks.



--
http://www.btactic.com/*Adrián Gibanel*
I.T. Manager

+34 675 683 301
www.btactic.com http://btactic.com/


*
Ens podeu seguir a/Nos podeis seguir en:

http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133 
i http://twitter.com/btactic*


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi 
ambient és cosa de tothom. / Antes de imprimir el mensaje piensa en 
el medio ambiente. El medio ambiente es cosa de todos.


AVIS:
El contingut d'aquest missatge i els seus annexos és confidencial. Si 
no en sou el destinatari, us fem saber que està prohibit 
utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir l'autorització 
corresponent. Si heu rebut aquest missatge per error, us agrairem que 
ho feu saber immediatament al remitent i que procediu a destruir el 
missatge.


AVISO:
El contenido de este mensaje y de sus anexos es confidencial. Si no 
es el destinatario, les hacemos saber que está prohibido utilizarlo, 
divulgarlo y/o copiarlo sin tener la autorización correspondiente. Si 
han recibido este mensaje por error, les agradeceríamos que lo hagan 
saber inmediatamente al remitente y que procedan a destruir el mensaje.




___
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


--
Alex Lourie
Red Hat

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


Re: [Users] 3.1 to 3.2 migration

2013-01-28 Thread Alex Lourie

On 01/29/2013 07:48 AM, saravanan s wrote:
im using redhat 6.2 linux version for the virtualization concept. But 
here im facing issues , listed below .

please give me a guidance

1)hypervisors(host) cant able to stop properly
2)vm'z multipath functions not functioning properly
3)Storage not getting shutdown , because heavy load?
4) while running vm's im getting threshold error message



Hi

It seems that you are having a problem(s) that are not related to this 
thread.


Would you mind posting it as a separate thread with it's own subject? It 
would be easier for everyone to understand the context.


Thanks.



On Tue, Jan 29, 2013 at 11:11 AM, Alex Lourie alou...@redhat.com 
mailto:alou...@redhat.com wrote:


On 01/24/2013 04:51 PM, Alexandru Vladulescu wrote:

On 01/24/2013 04:42 PM, Adrian Gibanel wrote:




*De: *Alexandru Vladulescu avladule...@bfproject.ro
mailto:avladule...@bfproject.ro
*Para: *users@ovirt.org mailto:users@ovirt.org
*Enviados: *Jueves, 24 de Enero 2013 14:21:22
*Asunto: *Re: [Users] 3.1 to 3.2 migration

Hi,

On 01/24/2013 03:13 PM, Adrian Gibanel wrote:

As far as I know in Fedora you need to upgrade from
Fedora 17 to Fedora 18.
As you you're using CentOS I suppose you don't need to
upgrade your CentOS but I'm not sure at all.

This is not the case, it goes right if installed 3.2 from
scratch on a new machine. Don't think CentOS has a problem here.

Well, I remember having asked about Fedora and CentOS oVirt
support differences in the irc and I think I was answered that
for some features you needed extra repositories for new kernel +
kvm and / or gluster and /or libvirt. Not sure about what were
exactly the features you missed and the repos you need to enable
manually.

But just for upgrading to oVirt 3.2 I think you won't have any
problem.

Anyways what I've read in the mailing list about 3.1 to
3.2 update is the following one:

  * Update packages
  * Run: engine-upgrade command

I don't know how easy it is to update packages in your
case (stable to beta) so you might do it in your way
like this:
  * Remove 3.1 packages
  * Install 3.2 beta packages
  * Run: engine-upgrade command

I have removed 3.1 using yum, installed 3.2 using yum and
run the engine-setup and not upgrade command. As seen
engine-upgrade, tries first to locate a mirror through yum.

Hummm. Maybe I was mistaken and what you have to do is to add a
yum repository and then run engine-upgrade. What I remember
without any doubt is that you had to run engine-upgrade no
matter what.

Hope someone can clarify it.

I will check that and get back to you.



Hi Alex

When you test the upgrade, please attach its log file. We then can
look into the upgrade process and find issues if there are any.

Thanks.



-- 
http://www.btactic.com/*Adrián Gibanel*

I.T. Manager

+34 675 683 301
www.btactic.com http://btactic.com/


*
Ens podeu seguir a/Nos podeis seguir en:

http://www.facebook.com/pages/btactic/118651634826400?v=app_9953271133
i http://twitter.com/btactic*

Abans d´imprimir aquest missatge, pensa en el medi ambient. El
medi ambient és cosa de tothom. / Antes de imprimir el mensaje
piensa en el medio ambiente. El medio ambiente es cosa de todos.

AVIS:
El contingut d'aquest missatge i els seus annexos és
confidencial. Si no en sou el destinatari, us fem saber que està
prohibit utilitzar-lo, divulgar-lo i/o copiar-lo sense tenir
l'autorització corresponent. Si heu rebut aquest missatge per
error, us agrairem que ho feu saber immediatament al remitent i
que procediu a destruir el missatge.

AVISO:
El contenido de este mensaje y de sus anexos es confidencial. Si
no es el destinatario, les hacemos saber que está prohibido
utilizarlo, divulgarlo y/o copiarlo sin tener la autorización
correspondiente. Si han recibido este mensaje por error, les
agradeceríamos que lo hagan saber inmediatamente al remitente y
que procedan a destruir el mensaje.



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





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


-- 
Alex Lourie

Red Hat


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




--
ThanksRegards

Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
I've got now :

nfs_mount_options = soft,nosharecache,rsize=32768,wsize=32768,noatime


However, when I check the mounts on the host, it does not show these
addtitional options used ? (only soft,nosharecache), here the mount output:

HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_vmfs_data.old2 type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=x.x.x8)
HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_vmfs_data type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,vers=3,addr=x.x.x8)
HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_vmfs_data type nfs
(rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=127.0.0.1)

Above is after I restarted HV03 so it really should have mounted
HV03:/vmfs/data with the new options

another question would be if nolock would be a good idea as it seems that
nfs ops are sometimes being blocked by a lock ? at least, it behaves as if
.. i havent further investigated yet.

Alex





On 23 January 2013 13:27, Itamar Heim ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for nfs, an nfs
 storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be added for
 nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options, specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

 __**_
 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/usershttp://lists.ovirt.org/mailman/listinfo/users





-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
So I've tried some bits Itamar asked me to - however, still get the same
mount options shown.

I tried service vdsmd reconfigure; service vdsmd restart - the mount for
HV03:/vmfs/data should now have the new mount options, but no luck.

Anyone time to help ?

Alex



On 24 January 2013 10:54, Alex Leonhardt alex.t...@gmail.com wrote:

 I've got now :

 nfs_mount_options = soft,nosharecache,rsize=32768,wsize=32768,noatime


 However, when I check the mounts on the host, it does not show these
 addtitional options used ? (only soft,nosharecache), here the mount output:

 HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_vmfs_data.old2 type
 nfs (rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=x.x.x8)
 HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_vmfs_data type nfs
 (rw,soft,nosharecache,timeo=600,retrans=6,vers=3,addr=x.x.x8)
 HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_vmfs_data type nfs
 (rw,soft,nosharecache,timeo=600,retrans=6,nfsvers=3,addr=127.0.0.1)

 Above is after I restarted HV03 so it really should have mounted
 HV03:/vmfs/data with the new options

 another question would be if nolock would be a good idea as it seems
 that nfs ops are sometimes being blocked by a lock ? at least, it behaves
 as if .. i havent further investigated yet.

 Alex





 On 23 January 2013 13:27, Itamar Heim ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for nfs, an nfs
 storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be added for
 nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options, specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |

 __**_
 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/usershttp://lists.ovirt.org/mailman/listinfo/users





 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] storage domain auto re-cover

2013-01-24 Thread Alex Leonhardt
hi,

is it possible to set a storage domain to auto-recover / auto-reactivate ?
e.g. after I restart a host that runs a storage domain, i want ovirt engine
to make that storage domain active after the host has come up.

thanks
alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-24 Thread Alex Leonhardt
same here, ovirt 3.1 from dreyou's repo ...

vdsm-python-4.10.0-0.44.14.el6.x86_64
vdsm-cli-4.10.0-0.44.14.el6.noarch
vdsm-xmlrpc-4.10.0-0.44.14.el6.noarch
vdsm-4.10.0-0.44.14.el6.x86_64

Alex



On 24 January 2013 12:33, Alexandru Vladulescu avladule...@bfproject.rowrote:

 On 01/24/2013 02:25 PM, Itamar Heim wrote:

 On 24/01/2013 04:24, Alexandru Vladulescu wrote:


 Hi guys,

 I remember asking the same thing a couple of weeks ago. Itamar answered
 to be the same, should check the vdsm.conf file for nfs mount options.
 Because I did not had the time to do test this until now, I return with
 the test results.

 Well Alex it seems to be right, on the 3.1 version, if you go and edit
 the /etc/vdsm/vdsm.conf file, on line 146, I uncommented the
 nfs_mount_options parameter and changed it to :

 nfs_mount_options = soft,nosharecache,noatime,**rsize=8192,wsize=8192

 Went in Ovirt interface, put the node from Hosts tab into Maintenance,
 so that the ISO domain and Master Domain will get unmounted
 automatically; restarted the vdsm service on the hypervisior server and
 activate the node back from GUI. Upon mount command, there is no change
 or difference between what I have added and what was configured
 automatically before.


 I remember something about you must not pass any nfs option from ovirt,
 or it will override the vdsm.conf.
 are you trying to set nfs options from both engine and vdsm.conf?

 Basically, I had 2 questions, one was like Alex asked and it is in the
 current topic, and the other was suggestion to add these nfs configuration
 parameters changes into the GUI in Storage tab. I asked if besides the
 retrans, timeo and vers is it possible to add anything else in the future
 GUI devel.

 Must mention, I test on 3.1 version from dreyou's repo.



   type nfs
 (rw,soft,nosharecache,timeo=**10,retrans=6,vers=4,addr=x.x.**x.x,clientaddr=x.x.x.x)


 Might this be a bug on vdsm to be fixed ?

 Alex.


 On 01/24/2013 01:45 PM, Alex Leonhardt wrote:

 So I've tried some bits Itamar asked me to - however, still get the
 same mount options shown.

 I tried service vdsmd reconfigure; service vdsmd restart - the mount
 for HV03:/vmfs/data should now have the new mount options, but no luck.

 Anyone time to help ?

 Alex



 On 24 January 2013 10:54, Alex Leonhardt alex.t...@gmail.com
 mailto:alex.t...@gmail.com wrote:

 I've got now :

 nfs_mount_options = soft,nosharecache,rsize=32768,**
 wsize=32768,noatime


 However, when I check the mounts on the host, it does not show
 these addtitional options used ? (only soft,nosharecache), here
 the mount output:

 HV02:/vmfs/data.old2 on /rhev/data-center/mnt/HV02:_**
 vmfs_data.old2
 type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,nfsvers=3,addr=**x.x.x8)
 HV02:/vmfs/data on /rhev/data-center/mnt/HV02:_**vmfs_data type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,vers=3,addr=x.x.**x8)
 HV03:/vmfs/data on /rhev/data-center/mnt/HV03:_**vmfs_data type nfs
 (rw,soft,nosharecache,timeo=**600,retrans=6,nfsvers=3,addr=**127.0.0.1)

 Above is after I restarted HV03 so it really should have mounted
 HV03:/vmfs/data with the new options

 another question would be if nolock would be a good idea as it
 seems that nfs ops are sometimes being blocked by a lock ? at
 least, it behaves as if .. i havent further investigated yet.

 Alex





 On 23 January 2013 13:27, Itamar Heim ih...@redhat.com
 mailto:ih...@redhat.com wrote:

 On 22/01/2013 11:43, Haim Ateya wrote:

 you can set it manually on each hypervisor by using
 vdsm.conf.

 add the following into /etc/vdsm/vdsm.conf

 [irs]
 nfs_mount_options = soft,nosharecache

 restart vdsmd service on the end.


 you can also set them via a posixfs storage domain, but for
 nfs, an nfs storage domain is recommended over a posixfs one.
 question is what is the use case for them, and should they be
 added for nfs domains as well.



 - Original Message -

 From: Alex Leonhardt alex.t...@gmail.com
 mailto:alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 mailto:users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options





 Hi,

 Is it possible set custom nfs mount options,
 specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding
 a NFS domain
 - only timeout  retry.


 Thanks!
 Alex





 --



 | RHCE | Senior Systems Engineer | www.vcore.co
 http://www.vcore.co |
 | www.vsearchcloud.com http://www.vsearchcloud.com

Re: [Users] storage domain auto re-cover

2013-01-24 Thread Alex Leonhardt
For the DB entry on vdc_options or in which file in /etc/ovirt-engine/ ?


On 24 January 2013 14:14, Itamar Heim ih...@redhat.com wrote:

 On 24/01/2013 04:34, Alex Leonhardt wrote:

 hi,

 is it possible to set a storage domain to auto-recover / auto-reactivate
 ? e.g. after I restart a host that runs a storage domain, i want ovirt
 engine to make that storage domain active after the host has come up.

 thanks
 alex


 --

 | RHCE | Senior Systems Engineer | www.vcore.co http://www.vcore.co |
 www.vsearchcloud.com http://www.vsearchcloud.com |


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


 please check your config for this:
 http://gerrit.ovirt.org/#/c/**10387/ http://gerrit.ovirt.org/#/c/10387/




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] cannot add gluster domain

2013-01-23 Thread Alex Leonhardt
Hi all,

Am not too familiar with fedora and its services, anyone can help him?

Alex
 On Jan 23, 2013 5:02 AM, T-Sinjon tscbj1...@gmail.com wrote:

 I have forced v3 in my /etc/nfsmount and there's no firewall between NFS
 server and the host.

 The only problem is no rpc.statd running . Could you tell me how can i
 start it since there's no rpcbind installed on overt node 2.5.5-0.1?

 [root@ovirtnode1 ~]# systemctl status nfs-lock.service
 nfs-lock.service - NFS file locking service.
   Loaded: loaded (/usr/lib/systemd/system/nfs-lock.service; enabled)
   Active: failed (Result: exit-code) since Thu, 17 Jan 2013 09:41:45
 +; 5 days ago
   CGroup: name=systemd:/system/nfs-lock.service

 Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Version 1.2.6
 starting
 Jan 17 09:41:45 localhost.localdomain rpc.statd[1385]: Initializing NSM
 state
 [root@ovirtnode1 ~]# systemctl start nfs-lock.service
 Failed to issue method call: Unit rpcbind.service failed to load: No such
 file or directory. See system logs and 'systemctl status rpcbind.service'
 for details.

 On 22 Jan, 2013, at 6:14 PM, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi, this seems to look like the error you're getting :

 MountError: (32, ;mount.nfs: rpc.statd is not running but is required for
 remote locking.\nmount.nfs: Either use '-o nolock' to keep locks local, or
 start statd.\nmount.nfs: an incorrect mount option was specified\n)

 Are you running nfs3 on that host ? if yes, have you forced v3 ? is
 rpc.statd running ? is the NFS server firewalling off the rpc.* ports ?

 alex


 On 22 January 2013 09:58, T-Sinjon tscbj1...@gmail.com wrote:

 HI, everyone:
 Recently , I newly installed ovirt 3.1 from
 http://resources.ovirt.org/releases/stable/rpm/Fedora/17/noarch/,
 and node use
 http://resources.ovirt.org/releases/stable/tools/ovirt-node-iso-2.5.5-0.1.fc17.iso

 when i add gluster domain via nfs, mount error occurred,
 I have do manually mount action on the node but failed if without
 -o nolock option:
 # /usr/bin/mount -t nfs -o soft,nosharecache,timeo=600,retrans=6
 my-gluster-ip:/gvol02/GlusterDomain
 /rhev/data-center/mnt/my-gluster-ip:_gvol02_GlusterDomain
 mount.nfs: rpc.statd is not running but is required for remote
 locking. mount.nfs: Either use '-o nolock' to keep locks local, or start
 statd. mount.nfs: an incorrect mount option was specified

 blow is the vdsm.log from node and engine.log, any help was
 appreciated :

 vdsm.log
 Thread-12717::DEBUG::2013-01-22
 09:19:02,261::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]
 Thread-12717::DEBUG::2013-01-22
 09:19:02,261::task::588::TaskManager.Task::(_updateState)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state init -
 state preparing
 Thread-12717::INFO::2013-01-22
 09:19:02,262::logUtils::37::dispatcher::(wrapper) Run and protect:
 validateStorageServerConnection(domType=1,
 spUUID='----', conList=[{'connection':
 'my-gluster-ip:/gvol02/GlusterDomain', 'iqn': '', 'portal': '', 'user': '',
 'password': '**', 'id': '----', 'port':
 ''}], options=None)
 Thread-12717::INFO::2013-01-22
 09:19:02,262::logUtils::39::dispatcher::(wrapper) Run and protect:
 validateStorageServerConnection, Return response: {'statuslist':
 [{'status': 0, 'id': '----'}]}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::task::1172::TaskManager.Task::(prepare)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::finished: {'statuslist':
 [{'status': 0, 'id': '----'}]}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::task::588::TaskManager.Task::(_updateState)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::moving from state preparing -
 state finished
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::resourceManager::809::ResourceManager.Owner::(releaseAll)
 Owner.releaseAll requests {} resources {}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,262::resourceManager::844::ResourceManager.Owner::(cancelAll)
 Owner.cancelAll requests {}
 Thread-12717::DEBUG::2013-01-22
 09:19:02,263::task::978::TaskManager.Task::(_decref)
 Task=`e1d331c6-e191-415f-bc1b-e5047d447494`::ref 0 aborting False
 Thread-12718::DEBUG::2013-01-22
 09:19:02,307::BindingXMLRPC::156::vds::(wrapper) [my-engine-ip]
 Thread-12718::DEBUG::2013-01-22
 09:19:02,307::task::588::TaskManager.Task::(_updateState)
 Task=`c07a075a-a910-4bc3-9a33-b957d05ea270`::moving from state init -
 state preparing
 Thread-12718::INFO::2013-01-22
 09:19:02,307::logUtils::37::dispatcher::(wrapper) Run and protect:
 connectStorageServer(domType=1,
 spUUID='----', conList=[{'connection':
 'my-gluster-ip:/gvol02/GlusterDomain', 'iqn': '', 'portal': '', 'user': '',
 'password': '**', 'id': '6463ca53-6c57-45f6-bb5c-45505891cae9', 'port':
 ''}], options=None)
 Thread-12718::DEBUG::2013-01-22
 09:19:02,467::__init__::1249

[Users] custom nfs mount options

2013-01-22 Thread Alex Leonhardt
Hi,

Is it possible set custom nfs mount options, specifically : noatime, wsize
and rsize ? I couldnt see anything when adding a NFS domain - only
timeout  retry.

Thanks!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Alex Leonhardt
I'm not sure whether it's the same, but in the past (with v3.1) when
configuring the hosts network, it changed it automatically from static -
dhcp, everytime i change network settings i have to ensure to re-tick the
static address assignment and tick the box to save the settings (scrolling
down) ... hope it helps ..

alex



On 22 January 2013 12:56, Deepak C Shetty deepa...@linux.vnet.ibm.comwrote:

 Hi All,
 I have a multi-VM setup, where I have ovirt engine on one VM and VDSM
 host on another.
 Discovering the host from the engine puts the host in Unassigned state,
 with the error saying 'ovirtmgmt' network not found.

 When i select setupNetworks and drag-drop the ovirtmgmt to setup over
 eth0, i see the below error in VDSM  host goes to non-operataional state.

 I tried the steps mentioned by Alon in http://lists.ovirt.org/**
 pipermail/users/2012-December/**011257.htmlhttp://lists.ovirt.org/pipermail/users/2012-December/011257.html
 but still see the same error

 = dump from vdsm.log 

 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,496::configNetwork::**
 1438::setupNetworks::(**setupNetworks) Requested operation is not valid:
 cannot set autostart for transient network
 Traceback (most recent call last):
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network
 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,502::supervdsmServer:*
 *:77::SuperVdsm.ServerCallback:**:(wrapper) Error in setupNetworks
 Traceback (most recent call last):
   File /usr/share/vdsm/**supervdsmServer.py, line 75, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/**supervdsmServer.py, line 170, in setupNetworks
 return configNetwork.setupNetworks(**networks, bondings, **options)
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network


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




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Hi All,

This is my current setup:


HV1 has :
 storage_domain_1
 is SPM master

HV2 has :
 storage_domain_2
 is normal (not master)


HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
entry sends it to loopback)

HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
entry sends it to loopback)


All VMs on HV1 have its storage set to storage_domain_1 and all VMs on HV2
have their storage set to storage_domain_2


My problem now is that after I finally created all the disks on HV2 over a
super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
to kickstart all the VMs I created, however, formatting the disk is taking
for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
the disks over the 100Mbit link.

The weirdness really starts with HV2, as all VMs on HV1 with disks on
storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
slow in reading/writing to disk.

I've tried some network settings to increase throughput, but those didnt
help / had no effect at all.

Anyone come across this issue ? Is it something to do with the ovirtmgmt
interface only being 100Mbit ?

Alex




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Additionally, I've just seen this on the console ovirt engine web console :

Storage domain storage_domain_2 experienced a high latency of 6.76029706001
seconds from host HV2. This may cause performance and functional issues.
Please consult your Storage Administrator


Alex



On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on HV2
 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over a
 super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
Looks like a version issue - v4 is dead slow, v3 seems to do a OK job (at
the moment) .. is there a way to change the mount options once a storage
domain has been added to the DC ?

Alex



On 21 January 2013 12:41, Alex Leonhardt alex.t...@gmail.com wrote:


 Additionally, I've just seen this on the console ovirt engine web console
 :

 Storage domain storage_domain_2 experienced a high latency of
 6.76029706001 seconds from host HV2. This may cause performance and
 functional issues. Please consult your Storage Administrator


 Alex



 On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on
 HV2 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over
 a super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] SLOW I/O performance

2013-01-21 Thread Alex Leonhardt
I'm still not convinced that that was the actual issue here, but
performance certainly has improved well enough to run and build these VMs.
Could it have something to do of where a storage domain runs ?

Alex



On 21 January 2013 14:15, Alex Leonhardt alex.t...@gmail.com wrote:

 Looks like a version issue - v4 is dead slow, v3 seems to do a OK job
 (at the moment) .. is there a way to change the mount options once a
 storage domain has been added to the DC ?

 Alex



 On 21 January 2013 12:41, Alex Leonhardt alex.t...@gmail.com wrote:


 Additionally, I've just seen this on the console ovirt engine web console
 :

 Storage domain storage_domain_2 experienced a high latency of
 6.76029706001 seconds from host HV2. This may cause performance and
 functional issues. Please consult your Storage Administrator


 Alex



 On 21 January 2013 12:38, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi All,

 This is my current setup:


 HV1 has :
  storage_domain_1
  is SPM master

 HV2 has :
  storage_domain_2
  is normal (not master)


 HV1 has storage_domain_1 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)

 HV2 has storage_domain_2 mounted via 127.0.0.1 (network name, but hosts
 entry sends it to loopback)


 All VMs on HV1 have its storage set to storage_domain_1 and all VMs on
 HV2 have their storage set to storage_domain_2


 My problem now is that after I finally created all the disks on HV2 over
 a super slow mgmt network (ovirtmgmt), it's a 100 Mbit only, I'm now trying
 to kickstart all the VMs I created, however, formatting the disk is taking
 for ever ~ 20-30mins for 12 GB, that is roughly how long it took to create
 the disks over the 100Mbit link.

 The weirdness really starts with HV2, as all VMs on HV1 with disks on
 storage_domain_1 have good I/O throughput, all VMs on HV2 are awfully
 slow in reading/writing to disk.

 I've tried some network settings to increase throughput, but those didnt
 help / had no effect at all.

 Anyone come across this issue ? Is it something to do with the ovirtmgmt
 interface only being 100Mbit ?

 Alex




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com|




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




 --

 | RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Storage domain weirdness (or design)

2013-01-17 Thread Alex Leonhardt
Hi,

I see a strange behaviour -


Setup:

1 ovirtmgmt / ovirt-engine hsot
2 ovirt nodes / HVs
2 storage domains in same cluster  DC

HV1 =  storage domain 1 (master)
HV2 = storage domain 2

Issue:

When I create a host with say ~40GB disk to be on HV2/storage_domain_2, it
does that via HV1 ? Why is that ? I realize a storage domain is attached
to the cluster/dc, however, when creating the VM I explicitly seleted to
only run on HV2, so why would it still create the disk via HV1 ? The mgmt
network (for now) is only just that, a mgmt network, not meant to create 40
GB disks (dd from /dev/null) over NFS .. it's currently only a 100mbit
switch

Question:

How, if at all, can I make Ovirt create the Disk from the host where it's
meant to run on ?


Thanks,
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node (HyperVisor) - Memory Usage

2013-01-15 Thread Alex Leonhardt
Sure no prob - will do ..


On 15 January 2013 07:17, Doron Fediuck dfedi...@redhat.com wrote:

 Hi Alex,
 Interesting, we'll need to look into it.
 Do you mind opening a BZ? I'll see that it's routed to the relevant people.

 Thanks!
 Doron


 --

 *From: *Alex Leonhardt alex.t...@gmail.com
 *To: *Doron Fediuck dfedi...@redhat.com
 *Cc: *oVirt Mailing List users@ovirt.org
 *Sent: *Monday, January 14, 2013 7:41:40 PM
 *Subject: *Re: [Users] oVirt Node (HyperVisor) - Memory Usage


 qemu 24233 11.0 1.0 *3030420* 1008484 ? Sl2012 2189:02
 /usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Conroe -enable-kvm *-m
 2048*-smp 4,sockets=1,cores=4,threads=1 -name

 above example shows ~3 Gig VSZ but only 2048m are actually configured ...

 if i'm not too blind and dumb :) ... 3030420 kb = 2959.39 mb ... and
 that's not what is configured as the VMs max allowed ram ...

 Alex






-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
:]
at
org.ovirt.engine.core.bll.CommandBase.ExecuteAction(CommandBase.java:268)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:182)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
[engine-utils.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]

2013-01-15 20:21:07,232 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-14) START, GetVmsInfoVDSCommand(storagePoolId =
38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
compatabilityVersion = null, storageDomainId =
b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 44689362
2013-01-15 20:21:07,284 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--0.0.0.0-8009-14) FINISH, GetVmsInfoVDSCommand, log id: 44689362


above only as I was somehow able to convince it, that it was a export
domain ...


question really is - how can i re-attach the Storage domain ?? Ideally w/o
having to re-import the VMs ... although i'd accept it as a work around -
however - re-creating is out of question, it'll take me 3 days ( and my job
) ...

Alex



-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
 preparing -
state finished
Thread-3504::DEBUG::2013-01-15
22:37:32,089::resourceManager::809::ResourceManager.Owner::(releaseAll)
Owner.releaseAll requests {} resources {}
Thread-3504::DEBUG::2013-01-15
22:37:32,089::resourceManager::844::ResourceManager.Owner::(cancelAll)
Owner.cancelAll requests {}
Thread-3504::DEBUG::2013-01-15
22:37:32,089::task::978::TaskManager.Task::(_decref)
Task=`c9d3cc56-fe66-4466-a020-56cb1f8d1e35`::ref 0 aborting False
Thread-3505::DEBUG::2013-01-15
22:37:32,096::BindingXMLRPC::156::vds::(wrapper) [X.X.X.X]



Alex



On 15 January 2013 20:24, Alex Leonhardt alex.t...@gmail.com wrote:

 Hi,

 Am trying to import VMs from an abandoned storage pool -

 all I'm getting is this :

 2013-01-15 20:21:05,958 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 65b1c9a8
 2013-01-15 20:21:06,013 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8
 2013-01-15 20:21:06,036 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, vmIdList = null), log id: 7b0bc172
 2013-01-15 20:21:06,085 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172
 2013-01-15 20:21:06,928 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetImageDomainsListVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, imageGroupId =
 8d41be6c-a586-4bb6-be4b-f1241a4bf088), log id: 79952c27
 2013-01-15 20:21:06,951 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetImageDomainsListVDSCommand, return: [],
 log id: 79952c27
 2013-01-15 20:21:06,954 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(storagePoolId =
 38a9ac9d-fe31-4003-8111-3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-3af322ab223d, imageGroupId =
 8d41be6c-a586-4bb6-be4b-f1241a4bf088, imageId =
 a4782145-626c-4a6e-9e1e-fce5f1dd8f78), log id: 3085f2cd
 2013-01-15 20:21:06,993 INFO
 [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand, return: true, log
 id: 3085f2cd
 2013-01-15 20:21:07,039 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-48) [8991b34] Running command: ImportVmCommand internal:
 false. Entities affected :  ID: b756284f-06f9-44cd-ba45-6cac3486fe37 Type:
 Storage
 2013-01-15 20:21:07,040 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 20:21:07,045 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-48) [8991b34] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 20:21:07,049 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (pool-3-thread-48) [8991b34] transaction rolled back
 2013-01-15 20:21:07,050 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-48) [8991b34] Command
 org.ovirt.engine.core.bll.ImportVmCommand throw exception:
 java.lang.StringIndexOutOfBoundsException: String index out of range: 6
 at
 java.lang.AbstractStringBuilder.deleteCharAt(AbstractStringBuilder.java:766)
 [rt.jar:1.6.0_24]
 at java.lang.StringBuilder.deleteCharAt(StringBuilder.java:280)
 [rt.jar:1.6.0_24]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.auditInvalidInterfaces(ImportVmCommand.java:933)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.AddVmNetwork(ImportVmCommand.java:801)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:488)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$3.runInTransaction(ImportVmCommand.java:482)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.addVmToDb(ImportVmCommand.java:482)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:476)
 [engine-bll.jar

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:162)
[engine-bll.jar:]
at
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:84)
[engine-bll.jar:]
at
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
[engine-utils.jar:]
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.6.0_24]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]
Caused by: org.postgresql.util.PSQLException: ERROR: duplicate key value
violates unique constraint pk_disks
  Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
wipe_after_delete, propagate_errors, disk_alias, disk_description,
shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
,  $7 ,  $8 ,  $9 )
PL/pgSQL function insertbasedisk line 2 at SQL statement
at
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2062)
[postgresql-jdbc.jar:]
at
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:1795)
[postgresql-jdbc.jar:]
at
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:257)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:479)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(AbstractJdbc2Statement.java:367)
[postgresql-jdbc.jar:]
at
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:360)
[postgresql-jdbc.jar:]
at
org.jboss.jca.adapters.jdbc.CachedPreparedStatement.execute(CachedPreparedStatement.java:297)
at
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:404)
at
org.springframework.jdbc.core.JdbcTemplate$5.doInCallableStatement(JdbcTemplate.java:987)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
at
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:936)
[spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
... 31 more


_after_ successfully importing 1 VM ...

Alex



On 15 January 2013 22:00, Itamar Heim ih...@redhat.com wrote:

 On 01/15/2013 10:24 PM, Alex Leonhardt wrote:

 Hi,

 Am trying to import VMs from an abandoned storage pool -

 all I'm getting is this :

 2013-01-15 20:21:05,958 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) START, GetVmsInfoVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, vmIdList = null), log id:
 65b1c9a8
 2013-01-15 20:21:06,013 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-16) FINISH, GetVmsInfoVDSCommand, log id: 65b1c9a8
 2013-01-15 20:21:06,036 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) START, GetVmsInfoVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, vmIdList = null), log id:
 7b0bc172
 2013-01-15 20:21:06,085 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetVmsInfoVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, GetVmsInfoVDSCommand, log id: 7b0bc172
 2013-01-15 20:21:06,928 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11)
 START, GetImageDomainsListVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, imageGroupId =
 8d41be6c-a586-4bb6-be4b-**f1241a4bf088), log id: 79952c27
 2013-01-15 20:21:06,951 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**GetImageDomainsListVDSCommand]
 (ajp--0.0.0.0-8009-11)
 FINISH, GetImageDomainsListVDSCommand, return: [], log id: 79952c27
 2013-01-15 20:21:06,954 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) START, DoesImageExistVDSCommand(**storagePoolId =
 38a9ac9d-fe31-4003-8111-**3ac741470b6e, ignoreFailoverLimit = false,
 compatabilityVersion = null, storageDomainId =
 b9c2cf06-73ea-4dd4-900b-**3af322ab223d, imageGroupId =
 8d41be6c-a586-4bb6-be4b-**f1241a4bf088, imageId =
 a4782145-626c-4a6e-9e1e-**fce5f1dd8f78), log id: 3085f2cd
 2013-01-15 20:21:06,993 INFO
 [org.ovirt.engine.core.**vdsbroker.irsbroker.**DoesImageExistVDSCommand]
 (ajp--0.0.0.0-8009-11) FINISH, DoesImageExistVDSCommand

Re: [Users] Import VMs from abandoned Storage Domain

2013-01-15 Thread Alex Leonhardt
ok, that last one was my fault i think - i thought the DB restore I did was
100% fail, but it wasnt ... removed all the DB entries that I could
identify and the VMs are restoring now ...


On 15 January 2013 23:16, Alex Leonhardt alex.t...@gmail.com wrote:

 i'm now getting :


 2013-01-15 23:14:58,934 INFO  [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-47) [215749c1] Running command: ImportVmCommand internal:
 false. Entities affected :  ID: 9bd4735c-a02b-403a-8e66-c5679b70e137 Type:
 Storage
 2013-01-15 23:14:58,940 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-47) [215749c1] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 23:14:58,949 ERROR
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
 (pool-3-thread-47) [215749c1] Try to add duplicate values with same name.
 Type: UNASSIGNED. Value: vmname
 2013-01-15 23:14:58,972 INFO
 [org.ovirt.engine.core.utils.transaction.TransactionSupport]
 (pool-3-thread-47) [215749c1] transaction rolled back
 2013-01-15 23:14:58,973 ERROR [org.ovirt.engine.core.bll.ImportVmCommand]
 (pool-3-thread-47) [215749c1] Command
 org.ovirt.engine.core.bll.ImportVmCommand throw exception:
 org.springframework.dao.DataIntegrityViolationException:
 CallableStatementCallback; SQL [{call insertbasedisk(?, ?, ?, ?, ?, ?, ?,
 ?, ?)}]; ERROR: duplicate key value violates unique constraint pk_disks
   Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
 wipe_after_delete, propagate_errors, disk_alias, disk_description,
 shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
 ,  $7 ,  $8 ,  $9 )
 PL/pgSQL function insertbasedisk line 2 at SQL statement; nested
 exception is org.postgresql.util.PSQLException: ERROR: duplicate key value
 violates unique constraint pk_disks
   Where: SQL statement INSERT INTO base_disks( disk_id, disk_interface,
 wipe_after_delete, propagate_errors, disk_alias, disk_description,
 shareable, boot, allow_snapshot) VALUES(  $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6
 ,  $7 ,  $8 ,  $9 )
 PL/pgSQL function insertbasedisk line 2 at SQL statement
 at
 org.springframework.jdbc.support.SQLErrorCodeSQLExceptionTranslator.doTranslate(SQLErrorCodeSQLExceptionTranslator.java:228)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:72)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:952)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.JdbcTemplate.call(JdbcTemplate.java:985)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.AbstractJdbcCall.executeCallInternal(AbstractJdbcCall.java:368)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.AbstractJdbcCall.doExecute(AbstractJdbcCall.java:342)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.springframework.jdbc.core.simple.SimpleJdbcCall.execute(SimpleJdbcCall.java:164)
 [spring-jdbc-2.5.6.SEC02.jar:2.5.6.SEC02]
 at
 org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeImpl(SimpleJdbcCallsHandler.java:124)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.dal.dbbroker.SimpleJdbcCallsHandler.executeModification(SimpleJdbcCallsHandler.java:37)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.dao.DefaultGenericDaoDbFacade.save(DefaultGenericDaoDbFacade.java:93)
 [engine-dal.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.addVmImagesAndSnapshots(ImportVmCommand.java:638)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.access$200(ImportVmCommand.java:76)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$4.runInTransaction(ImportVmCommand.java:501)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand$4.runInTransaction(ImportVmCommand.java:497)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTransaction(TransactionSupport.java:204)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.processImages(ImportVmCommand.java:497)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.ImportVmCommand.executeCommand(ImportVmCommand.java:477)
 [engine-bll.jar:]

 at
 org.ovirt.engine.core.bll.CommandBase.ExecuteWithoutTransaction(CommandBase.java:804)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:896)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1203)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:168)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope

[Users] Template restore

2013-01-14 Thread Alex Leonhardt
Hi All,

Am having some difficulties with restoring templates -

basically, currently, I'm using each new HV (hyper-visor/node) as a
separate DC, now, the first host has about 5 VM templates that I need to be
able to restore to the 2nd HV I installed today - however - after detaching
the export domain and re-attaching (finally) to the 2nd HV, I still am
unable to import the templates into the 2nd HV (remember, separate data
center) as it complains that the system - the overall ovirt-engine -
already contains templates with the same ID, if I manually fake a different
ID, it complains about the name, if I manually amend the name, it wont show
at all ... :\

so - how can I make the templates available to the 2nd DC to create VMs
from it (this is the end goal) ...

on top of it - i dont think that when importing templates, you should have
to make the name unique, especially since they currently seem DC dependent,
so in a different DC they should be able to have the same name; and, when
restoring Templates, the system should assign new IDs to the Templates
imported, and only use the originals as a verification step if the target
DC is the same as the src DC.

Any help would be very appreciated.

Ta!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt Node (HyperVisor) - Memory Usage

2013-01-14 Thread Alex Leonhardt
qemu 24233 11.0 1.0 *3030420* 1008484 ? Sl2012 2189:02
/usr/libexec/qemu-kvm -S -M rhel6.3.0 -cpu Conroe -enable-kvm *-m
2048*-smp 4,sockets=1,cores=4,threads=1 -name

above example shows ~3 Gig VSZ but only 2048m are actually configured ...

if i'm not too blind and dumb :) ... 3030420 kb = 2959.39 mb ... and that's
not what is configured as the VMs max allowed ram ...

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


Re: [Users] oVirt warning about memory usage

2013-01-08 Thread Alex Leonhardt
thanks, yep noticed it has a negative value -

Amador, does that mean the host is overcommitting by 18 G of avail physical
memory although 20 G of phys memory is still free ?

Alex



2013/1/7 Amador Pahim apa...@redhat.com

  On 01/07/2013 06:18 AM, Alex Leonhardt wrote:

  Hi,

 just seen a memory usage warning in oVirt's Admin Interface saying the
 available memory is below threshold of 1024MB - however - when I checked
 the host, it had still 20GB left ?

  See screenshot.

 Alex



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

  The message is happening due to memAvailable statistic coming from vdsm. 
 The memAvailable field can be negative and considers a set of values from 
 different sources to compose its result (free memory, cached memory, resident 
 set size from qemu processes, committed memory from running vms and host 
 reserved memory


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


Re: [Users] What do you want to see in oVirt next?

2013-01-08 Thread Alex Leonhardt
Thats true, so nvm - forget my request :) ...


In general, how about a poll form that could be sent to the list ? it'll
make it very easy to spot what is most important for us users :) ? e.g.
use http://www.easypolls.net/ ?

Alex



2013/1/7 René Koch (ovido) r.k...@ovido.at

 Hi Alex,

 You can already group VMs using tags or search filters...


 --
 Regards,
 René



 On Mon, 2013-01-07 at 09:16 +, Alex Leonhardt wrote:
  Also, grouping (folders?) of VMs would be great to get a better
  overview in the Virtual Machines section.
 
  Alex
 
 
 
  2013/1/7 Patrick Hurrelmann patrick.hurrelm...@lobster.de
  On 03.01.2013 17:25, Patrick Hurrelmann wrote:
   On 03.01.2013 17:08, Itamar Heim wrote:
   Hi Everyone,
  
   as we wrap oVirt 3.2, I wanted to check with oVirt users on
  what they
   find good/useful in oVirt, and what they would like to see
   improved/added in coming versions?
  
   Thanks,
   Itamar
  
   For me, I'd like to see official rpms for RHEL6/CentOS6.
  According to
   the traffic on this list quite a lot are using Dreyou's
  packages.
  
   But I'm really looking forward to oVirt 3.2 (reading all
  those commit
   whets my appetite) :)
  
   Regards
   Patrick
 
 
  And after thinking a bit more about it, this is what I like to
  see in
  addition:
  - clustered engine (eliminate this SPOF)
  - when FreeIPA is used for authentication, make use of its CA
  and
  generate certificates using ipa-getcert
 
  Regards
  Patrick
 
  --
  Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg
 
  HRB 178831, Amtsgericht München
  Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
  ___
  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] What do you want to see in oVirt next?

2013-01-07 Thread Alex Leonhardt
Also, grouping (folders?) of VMs would be great to get a better overview in
the Virtual Machines section.

Alex


2013/1/7 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:25, Patrick Hurrelmann wrote:
  On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar
 
  For me, I'd like to see official rpms for RHEL6/CentOS6. According to
  the traffic on this list quite a lot are using Dreyou's packages.
 
  But I'm really looking forward to oVirt 3.2 (reading all those commit
  whets my appetite) :)
 
  Regards
  Patrick

 And after thinking a bit more about it, this is what I like to see in
 addition:
 - clustered engine (eliminate this SPOF)
 - when FreeIPA is used for authentication, make use of its CA and
 generate certificates using ipa-getcert

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 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 warning about memory usage

2013-01-07 Thread Alex Leonhardt
Hi,

just seen a memory usage warning in oVirt's Admin Interface saying the
available memory is below threshold of 1024MB - however - when I checked
the host, it had still 20GB left ?

See screenshot.

Alex
attachment: ovirt-node-free-memory.png___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] What do you want to see in oVirt next?

2013-01-04 Thread Alex Leonhardt
+1 this :) ... I use dreyou's packages too ...

also - ovirt/rhev agent for centos 5.8 would be a nice to have :)


2013/1/3 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar

 For me, I'd like to see official rpms for RHEL6/CentOS6. According to
 the traffic on this list quite a lot are using Dreyou's packages.

 But I'm really looking forward to oVirt 3.2 (reading all those commit
 whets my appetite) :)

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 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] What do you want to see in oVirt next?

2013-01-04 Thread Alex Leonhardt
Easier import of existing Nodes back into a new oVirt Engine would be great
- it's a complete mess at the moment (if one doesnt have a backup) - I'm
looking at this from VMware users point of view, with them, all you need to
do is point it at a server and it'll  import everything that's already
there - oVirt should have the same capabilities / with some confirmation
screens that it belongs to another storage domain, etc. etc. and if one
wants to force it, but it should still be possible ...


Alex


2013/1/4 Alex Leonhardt alex.t...@gmail.com

 +1 this :) ... I use dreyou's packages too ...

 also - ovirt/rhev agent for centos 5.8 would be a nice to have :)


 2013/1/3 Patrick Hurrelmann patrick.hurrelm...@lobster.de

 On 03.01.2013 17:08, Itamar Heim wrote:
  Hi Everyone,
 
  as we wrap oVirt 3.2, I wanted to check with oVirt users on what they
  find good/useful in oVirt, and what they would like to see
  improved/added in coming versions?
 
  Thanks,
  Itamar

 For me, I'd like to see official rpms for RHEL6/CentOS6. According to
 the traffic on this list quite a lot are using Dreyou's packages.

 But I'm really looking forward to oVirt 3.2 (reading all those commit
 whets my appetite) :)

 Regards
 Patrick

 --
 Lobster LOGsuite GmbH, Münchner Straße 15a, D-82319 Starnberg

 HRB 178831, Amtsgericht München
 Geschäftsführer: Dr. Martin Fischer, Rolf Henrich
 ___
 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 Templates // remove after a couple VMs got created is not possible ?

2013-01-03 Thread Alex Leonhardt
Ok thanks, I'll keep that in mind. Removing that VM is not possible though
as it's already very actively used. Well, i'll keep this in mind when
creating more VMs  as do not want to have to keep old templates around ..

Thanks
Alex


2013/1/2 Maor Lipchuk mlipc...@redhat.com

 Hi Alex, if the VMs that you created used thin provisioning for the
 template, then the disks of the created VM are based on the volumes of
 the template images using qcow, and there for, they will be related to
 this template.

 If you don't want the VM to be based on the template images you can use
 the resource allocation tab to configure the template provisioning. If
 you will choose clone, then the VM images will create a new image which
 will not be based on the template images.

 I think that once the VM is based on the template, there is not much to
 do, but shut down the VMs.
 If you don't want to remove the VM's maybe yo can try to create a
 snapshot of the VM and after that clone a VM from that snapshot, and
 remove the original VM.

 Regards,
 Maor

 On 01/02/2013 06:21 PM, Alex Leonhardt wrote:
  Hi All,
 
  I was wondering why there is a necessity of keeping a oVirt Template ? I
  just tried to remove a template but it complained that it was in use by
  other VMs ? I thoguht a VM is created independently using the Template
  to copy settings  disk from and once done is independent from the
  Template ?
 
  So either way - how can I remove the Template without shutting down /
  removing any of the VMs already created based on that Template ?
 
  Thanks
  Alex
 
 
 
  ___
  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 Templates // remove after a couple VMs got created is not possible ?

2013-01-02 Thread Alex Leonhardt
Hi All,

I was wondering why there is a necessity of keeping a oVirt Template ? I
just tried to remove a template but it complained that it was in use by
other VMs ? I thoguht a VM is created independently using the Template to
copy settings  disk from and once done is independent from the Template ?

So either way - how can I remove the Template without shutting down /
removing any of the VMs already created based on that Template ?

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


Re: [Users] Network reconfiguration in ovirt 3.1

2012-12-23 Thread Alex Leonhardt
I've had the same issue, turns out it resets itself everytime you 
configure the network interfaces *and* although you fix it it wont 
save the config until I saw the tick box (scroll down) to do so ;) ...


Caught me up a couple times and was going to report it as a bug next week.

The solution is not to reset the node, it's to manually reconfigure the 
NIC to have the same / old IP address, the node will come back to live 
which then enables you to re-save the network config by setting it to 
manual and ticking the box ;)


Alex


On 12/21/2012 08:49 AM, Kevin Maziere Aubry wrote:

Hi all

System : Fedora 17
On node :
Libvirt 0.10
Kernel Linux node1 3.6.10-2.fc17.x86_64
Stable VDSM from repo
On manager :
Ovirt 3.1 stable
Kernel Linux ovirt-manager 3.5.4-1.fc17.x86_64


By default the ovirtmgmt interface is created on node as a bridge with 
the same parameters than p1p1. That is good so that you keep network 
working on the node.


I've setup a new tagged network on Ovirt, which I have to add to all 
the node of my cluster.
So I plug this new network on p1p2, do not touch to ovirtmgmt network, 
and apply... and the server is lost.
In fact when reconfiguring the network the ovirtmgmt card is set to 
DHCP, which is the problem.


And the only solution to make vdsm back online, is to reset the 
complete node.


Kévin


--

Kevin Mazière
Responsable Infrastructure
Alter Way -- Hosting
1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
http://www.alterway.fr http://www.alterway.fr/


___
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] v2v - converting windows VMs

2012-12-21 Thread Alex Leonhardt
Hi,

Anyone got any clues about this please ? I'm due to convert some Windows XP
and Windows 7 VMs from VMWare to oVirt and would really appreciate if
someone could let me know where to find that Tools CD.

Thanks
Alex



2012/12/20 Alex Leonhardt alex.t...@gmail.com

 Hi,

 i've read up about converting Windows VMs and it needs some Guest Tools
 CD -


 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

 where can one get that CD/iso image and whatever else is required ?

 Alex


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


[Users] ovirt-shell bug ?

2012-12-21 Thread Alex Leonhardt
Hi,

am trying to use .ovirtshellrc with a set user, pass and url, however, I
keep getting this instead:

  error: invalid literal for int() with base 10: ''

and I remain disconnected. Using the same url and creds to connect manually
works - is it a bug or just some setting ?

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


[Users] ovirt-shell, action vm vmhost start issue ?

2012-12-21 Thread Alex Leonhardt
Hi,

am trying to start a VM with special kernel and initrd options :

[oVirt shell (connected)]# action vm cent6 start --vm-os-kernel
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz
--vm-os-initRd
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img
--vm-os-boot {ip=x.x.x.x;netmask=x.x.x.x;gateway=x.x.x.x;dns=x.x.x.x}

However, I keep getting this back :

  error: initRd is invalid argument segment.

Eventhough, the help says that it's a valid command option :

ATTRIBUTE OPTIONS

  The following attribute options are understood. Note: this lists all
  available attribute options for action 'start'.

[--vm-os-initRd: string]
[--vm-domain-name: string]
[--vm-placement_policy-host-id|name: string]
[--vm-placement_policy-affinity: string]
[--async: boolean]
[--vm-os-kernel: string]
[--grace_period-expiry: long]
[--vm-display-type: string]
[--vm-stateless: boolean]
[--vm-os-cmdline: string]
[--vm-domain-user-username: string]
[--pause: boolean]
[--vm-os-boot: collection]
  {
[boot.dev: string]
  }
[--vm-domain-user-password: string]
[--correlation_id: anystring]


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


Re: [Users] ovirt-shell bug ?

2012-12-21 Thread Alex Leonhardt
Hiya,

it's :

ovirt-engine-cli.noarch 3.1.0.7-1.el6
@ovirt31-dre

there's no -v / --version command ?

also, the ovirtshellrc :

[cli]
#autopage = True
#debug = False
#ps1 = $
#ps2 = 
#verbosity = 0
[ovirt-shell]
#commands = oVirt shell commands:
#header = True
#input_format = xml
#misc_commands = oVirt shell commands:
name = oVirt-shell
#output_format = text
#password =
#port = -1
#prompt =
#ps1.connected = [oVirt shell %(version)s (connected)]#
#ps1.disconnected = [oVirt shell (disconnected)]#
#ps2.connected = [oVirt shell (connected)]#
#timeout = -1
#url =
#username =
#version =
#wide = False
username = 'admin@internal'
url = 'http://localhost:8080/api'
#insecure = False
#filter = False
#timeout = -1
password = 'password'


Alex




2012/12/21 Michael Pasternak mpast...@redhat.com


 Alex,

 Only things that can cause this is 'timeout' or url port
 in wrong format (non-int),

 can you show me the content of your .ovirtshellrc and let me know what cli
 version you're using?

 On 12/21/2012 11:19 AM, Alex Leonhardt wrote:
  Hi,
 
  am trying to use .ovirtshellrc with a set user, pass and url, however, I
 keep getting this instead:
 
error: invalid literal for int() with base 10: ''
 
  and I remain disconnected. Using the same url and creds to connect
 manually works - is it a bug or just some setting ?
 
  Alex
 
 
 
  ___
  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] v2v vmware conversion

2012-12-20 Thread Alex Leonhardt
Hi,

I've seen several posts out there on how to convirt hosts from VMware -
Ovirt/KVM - Am I right to assume that just like the command for RHEV, the
equivalent for Ovirt would be :

virt-v2v -ic esx://$IP$/?no_verify=1 -o rhev -osd
intvmh02.mgmt.gr.brighttalk.net:/vol/exportdomain --network ovirtmgmt
$VMNAME$

Also, I read a post that refers to a ovirt profile for v2v - I've never had
to convert any VMs from VMWare so was wondering if that is just a custom
config or whether there is a general v2v profile that can be used to
convert to ovirt ?

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


[Users] Adding Nodes after ovirt-engine re-install

2012-12-20 Thread Alex Leonhardt
Hi,

I was wondering if it's possible to add existing ovirt nodes (HVs)  to a
new installed ovirt-engine ? E.g. the old engine died and there was no
backup of it - how would you add the existing HVs without destroying what's
already running ?

If the above is not possible, is there a backup guide you can refer me to
? Ideally though, it should really be possible to import existing HVs
into a newly setup ovirt-engine.

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


[Users] v2v - converting windows VMs

2012-12-20 Thread Alex Leonhardt
Hi,

i've read up about converting Windows VMs and it needs some Guest Tools
CD -

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

where can one get that CD/iso image and whatever else is required ?

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


Re: [Users] v2v - converting windows VMs

2012-12-20 Thread Alex Leonhardt
I just found this :
http://alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/  -  is
this the equiv of the RHEV Guest Tools CD ?

Alex


2012/12/20 Alex Leonhardt alex.t...@gmail.com

 Hi,

 i've read up about converting Windows VMs and it needs some Guest Tools
 CD -


 https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization_for_Servers/2.2/html/Administration_Guide/virt-v2v-scripts.html#convert-windows-guest

 where can one get that CD/iso image and whatever else is required ?

 Alex


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


Re: [Users] How to approve the host to custom cluster instead the default cluster

2012-12-11 Thread Alex Jia
Hi Mohua,
The following link should be helpful for you(see add() of the class 
HostManager):

https://github.com/chuanchang/autotest/commit/1a59defaf1987d197d90b3e21bc518c78bfb4823

-- 
Regards, 
Alex


- Original Message -
From: Mohua Li m...@redhat.com
To: users@ovirt.org
Sent: Tuesday, December 11, 2012 3:22:43 PM
Subject: [Users] How to approve the host to custom cluster instead the  default 
cluster

Hi all,

In admin portal, when try to approve a host, need to select the cluster first, 
but with rest api,

/*code*/

try:
   api = API(url=HOST,
 username=USER,
 password=PASS,
 ca_file=ca.crt)
   h = api.hosts.get(name=Atlantic)
   if(h.approve()):
print Host '%s' approved (Status: %s). % (h.get_name(),
 h.get_status().get_state())
   else:
print Approval of '%s' failed. % h.get_name()
   api.disconnect()
except Exception as ex:
   print Unexpected error: %s % ex

above code will register to the default cluster, could you give me an example 
how to register to the custom 
cluster instead the default?  or i misunderstand some workflow,  light me pls, 
thanks



Regards,
Mohua Li



___
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] [Spice-devel] Unable to establish spice session

2012-11-11 Thread Alex Leonhardt

I've figured it out - finally -

the issue is/was that I added a virtual interface to the bridge 
interface on startup. I added the ovirtmgmt:1 interface to be able to 
get to the VMs which are on a completely different network range - to 
fix it, i had to remove the virtual interface (unfortunately), detached 
the ovirtmgmt interface from eth0 and then re-attached and voila, all 
good again ... i did a restart of the HV (node) just in case ;) ..


Alex


On 11/07/2012 09:47 AM, Itamar Heim wrote:

On 11/07/2012 01:37 AM, Alex Leonhardt wrote:

I think this post I just found is related to my issue :

http://www.mail-archive.com/users@ovirt.org/msg03010.html

at the bottom it explains how changing the display network can break
spice ...


you can tell the spice client the subject of the certificate to 
expect, regardless of the ip you are connecting to.




i'll try the removal of the host and re-adding (hopefully my VMs are 
safe!)


Alex

On 11/06/2012 11:55 PM, Alex Leonhardt wrote:

Yep, found it - and it's related to this site / update to spice here :

http://spice-space.org/page/SSLConnection

but now i get :

$ spicec -h 192.168.1.21 -s 5901
Error: failed to connect w/SSL, ssl_error
error:0001:lib(0):func(0):reason(1)
140370158261576:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong
version number:s3_pkt.c:338:
Warning: SSL Error:

I belive that's got something to do with trying to use ssl3 (as the ca
cert is ssl v3) instead of ssl v2 ...

Alex


On 11/06/2012 11:42 PM, Alon Bar-Lev wrote:

- Original Message -

From: Alex Leonhardtalex.t...@gmail.com
To: Alon Levyal...@redhat.com
Cc:spice-de...@lists.freedesktop.org,users@ovirt.org
Sent: Wednesday, November 7, 2012 1:35:09 AM
Subject: Re: [Users] [Spice-devel]  Unable to establish spice session


This is what i receive when trying to launch it manually :

$ spicec -h 192.168.1.21 -p 5901 -s 5901

Error: SSL_CTX_load_verify_locations failed
CA_file=/home/user/.spicec/spice_truststore.pem
140141786060104:error:02001002:system library:fopen:No such file or
directory:bss_file.c:126:fopen('/home/user/.spicec/spice_truststore.pem','r') 


140141786060104:error:2006D080:BIO routines:BIO_new_file:no  such
file:bss_file.c:129  :
140141786060104:error:0B084002:x509 certificate
routines:X509_load_cert_crl_file:system  lib:by_file.c:279:
Warning: SSL Error:

Alex


You need --ca-file parameter.
Download the certificate usinghttp://engine/ca.crt

Alon



___
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 cli - starting vm with special options

2012-11-06 Thread Alex Leonhardt

aha! sorry - found it :) .. it works now :)



On 11/06/2012 07:10 AM, Michael Pasternak wrote:

Hi Alex,

Your syntax is incorrect,

1. /action syntax is:
'actiontype  id  action  [parent-object identifiers] [attribute 
options]'

2.  to see detailed help for this action do:
'help action vm vm2 start' or 'help action'

3. in your case /action syntax should be:
'action vm vm2 start ...'

4. also --host-identifier option is not available in this action,
please use auto-completion or /help to see available options,
for more details, see [1]

[1] http://wiki.ovirt.org/wiki/CLI

On 11/06/2012 12:46 AM, Alex Leonhardt wrote:

hi,

to make it easier for me to play with VMs, I thought of using the ovirt cli to 
start a VM whenever I want to rebuild it, however, the CLI command below keeps 
failing - any
pointers ?

action vm start --vm-os-kernel 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz --vm-os-initRd 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img
--vm-os-boot ks=http://172.30.0.1/ks/dev/solrm01-dev.ks ksdevice=eth0 
ip=172.30.0.249 netmask=255.255.255.0 --host-identifier vm2


alex




___
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] [Spice-devel] Unable to establish spice session

2012-11-06 Thread Alex Leonhardt

This is what i receive when trying to launch it manually :

$ spicec -h 192.168.1.21 -p 5901 -s 5901

Error: SSL_CTX_load_verify_locations failed 
CA_file=/home/user/.spicec/spice_truststore.pem
140141786060104:error:02001002:system library:fopen:No such file or 
directory:bss_file.c:126:fopen('/home/user/.spicec/spice_truststore.pem','r')
140141786060104:error:2006D080:BIO routines:BIO_new_file:no such 
file:bss_file.c:129:
140141786060104:error:0B084002:x509 certificate 
routines:X509_load_cert_crl_file:system lib:by_file.c:279:

Warning: SSL Error:

Alex


On 11/05/2012 09:22 PM, Alex Leonhardt wrote:

Here it is.

BTW, thought I update to Firefox 16 with Spice XPI 2.7 (as was before) 
- but no luck either. Still getting the same issues.


Thanks
Alex


On 11/04/2012 11:44 AM, Alon Levy wrote:

On 11/02/2012 01:35 AM, Alex Leonhardt wrote:

Hi,

Since today I'm unable to establish a spice session to any/all VMs
- the
ony thing I see in the (local) logs is this :

did you make any change?


Nov  1 23:29:02 ale spice: _=/usr/bin/env
Nov  1 23:29:03 ale spice: (remote-viewer:5231):
GSpiceController-DEBUG:
controller.vala:187: new socket client, reading init header
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG:
unimplemented
property: send-cad=FALSE
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG:
unimplemented
property: secure-channels=((GStrv*) 0x1e83270)
Nov  1 23:29:06 ale spice: remote-viewer execution failed

Is this the full log? can you export the following environment variables and 
capture the stdout/stderr?

export G_MESSAGES_DEBUG=all
export SPICE_DEBUG=1


Anyone any idea ?

adding spice-devel
___
Spice-devel mailing list
spice-de...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

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


Re: [Users] [Spice-devel] Unable to establish spice session

2012-11-06 Thread Alex Leonhardt

Yep, found it - and it's related to this site / update to spice here :

http://spice-space.org/page/SSLConnection

but now i get :

$ spicec -h 192.168.1.21 -s 5901
Error: failed to connect w/SSL, ssl_error 
error:0001:lib(0):func(0):reason(1)
140370158261576:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong 
version number:s3_pkt.c:338:

Warning: SSL Error:

I belive that's got something to do with trying to use ssl3 (as the ca 
cert is ssl v3) instead of ssl v2 ...


Alex


On 11/06/2012 11:42 PM, Alon Bar-Lev wrote:


- Original Message -

From: Alex Leonhardtalex.t...@gmail.com
To: Alon Levyal...@redhat.com
Cc: spice-de...@lists.freedesktop.org, users@ovirt.org
Sent: Wednesday, November 7, 2012 1:35:09 AM
Subject: Re: [Users] [Spice-devel]  Unable to establish spice session


This is what i receive when trying to launch it manually :

$ spicec -h 192.168.1.21 -p 5901 -s 5901

Error: SSL_CTX_load_verify_locations failed
CA_file=/home/user/.spicec/spice_truststore.pem
140141786060104:error:02001002:system library:fopen:No such file or
directory:bss_file.c:126:fopen('/home/user/.spicec/spice_truststore.pem','r')
140141786060104:error:2006D080:BIO routines:BIO_new_ file:no such
file:bss_file.c:129 :
140141786060104:error:0B084002:x509 certificate
routines:X509_load_cert_crl_ file:system lib:by_file.c:279:
Warning: SSL Error:

Alex


You need --ca-file parameter.
Download the certificate using http://engine/ca.crt

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


Re: [Users] [Spice-devel] Unable to establish spice session

2012-11-06 Thread Alex Leonhardt

I think this post I just found is related to my issue :

http://www.mail-archive.com/users@ovirt.org/msg03010.html

at the bottom it explains how changing the display network can break 
spice ...


i'll try the removal of the host and re-adding (hopefully my VMs are safe!)

Alex

On 11/06/2012 11:55 PM, Alex Leonhardt wrote:

Yep, found it - and it's related to this site / update to spice here :

http://spice-space.org/page/SSLConnection

but now i get :

$ spicec -h 192.168.1.21 -s 5901
Error: failed to connect w/SSL, ssl_error 
error:0001:lib(0):func(0):reason(1)
140370158261576:error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong 
version number:s3_pkt.c:338:

Warning: SSL Error:

I belive that's got something to do with trying to use ssl3 (as the ca 
cert is ssl v3) instead of ssl v2 ...


Alex


On 11/06/2012 11:42 PM, Alon Bar-Lev wrote:

- Original Message -

From: Alex Leonhardtalex.t...@gmail.com
To: Alon Levyal...@redhat.com
Cc:spice-de...@lists.freedesktop.org,users@ovirt.org
Sent: Wednesday, November 7, 2012 1:35:09 AM
Subject: Re: [Users] [Spice-devel]  Unable to establish spice session


This is what i receive when trying to launch it manually :

$ spicec -h 192.168.1.21 -p 5901 -s 5901

Error: SSL_CTX_load_verify_locations failed
CA_file=/home/user/.spicec/spice_truststore.pem
140141786060104:error:02001002:system library:fopen:No such file or
directory:bss_file.c:126:fopen('/home/user/.spicec/spice_truststore.pem','r')
140141786060104:error:2006D080:BIO routines:BIO_new_file:no  such
file:bss_file.c:129  :
140141786060104:error:0B084002:x509 certificate
routines:X509_load_cert_crl_file:system  lib:by_file.c:279:
Warning: SSL Error:

Alex


You need --ca-file parameter.
Download the certificate usinghttp://engine/ca.crt

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


Re: [Users] [Spice-devel] Unable to establish spice session

2012-11-05 Thread Alex Leonhardt

Here it is.

BTW, thought I update to Firefox 16 with Spice XPI 2.7 (as was before) - 
but no luck either. Still getting the same issues.


Thanks
Alex


On 11/04/2012 11:44 AM, Alon Levy wrote:

On 11/02/2012 01:35 AM, Alex Leonhardt wrote:

Hi,

Since today I'm unable to establish a spice session to any/all VMs
- the
ony thing I see in the (local) logs is this :

did you make any change?


Nov  1 23:29:02 ale spice: _=/usr/bin/env
Nov  1 23:29:03 ale spice: (remote-viewer:5231):
GSpiceController-DEBUG:
controller.vala:187: new socket client, reading init header
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG:
unimplemented
property: send-cad=FALSE
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG:
unimplemented
property: secure-channels=((GStrv*) 0x1e83270)
Nov  1 23:29:06 ale spice: remote-viewer execution failed

Is this the full log? can you export the following environment variables and 
capture the stdout/stderr?

export G_MESSAGES_DEBUG=all
export SPICE_DEBUG=1


Anyone any idea ?

adding spice-devel
___
Spice-devel mailing list
spice-de...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Nov  5 21:08:02 ale rsyslogd: [origin software=rsyslogd swVersion=5.8.10 
x-pid=1137 x-info=http://www.rsyslog.com;] rsyslogd was HUPed
Nov  5 21:19:46 ale spice: starting remote-viewer --spice-controller ...
Nov  5 21:19:46 ale spice: ORBIT_SOCKETDIR=/tmp/orbit-ale
Nov  5 21:19:46 ale spice: HOSTNAME=ale.local
Nov  5 21:19:46 ale spice: IMSETTINGS_INTEGRATE_DESKTOP=yes
Nov  5 21:19:46 ale spice: TERM=dumb
Nov  5 21:19:46 ale spice: SHELL=/bin/bash
Nov  5 21:19:46 ale spice: 
XDG_SESSION_COOKIE=0ccd2078e766f6148faadbb80026-1352142775.379249-2038070916
Nov  5 21:19:46 ale spice: HISTSIZE=1000
Nov  5 21:19:46 ale spice: XRE_PROFILE_NAME=
Nov  5 21:19:46 ale spice: 
GTK_RC_FILES=/etc/gtk/gtkrc:/home/ale/.gtkrc-1.2-gnome2
Nov  5 21:19:46 ale spice: QTDIR=/usr/lib64/qt-3.3
Nov  5 21:19:46 ale spice: QTINC=/usr/lib64/qt-3.3/include
Nov  5 21:19:46 ale spice: IMSETTINGS_MODULE=none
Nov  5 21:19:46 ale spice: XRE_PROFILE_LOCAL_PATH=
Nov  5 21:19:46 ale spice: USER=ale
Nov  5 21:19:46 ale spice: LD_LIBRARY_PATH=/opt/firefox
Nov  5 21:19:46 ale spice: XRE_START_OFFLINE=
Nov  5 21:19:46 ale spice: SSH_AUTH_SOCK=/tmp/keyring-jlsBak/socket.ssh
Nov  5 21:19:46 ale spice: GNOME_KEYRING_SOCKET=/tmp/keyring-jlsBak/socket
Nov  5 21:19:46 ale spice: 
SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2143,unix/unix:/tmp/.ICE-unix/2143
Nov  5 21:19:46 ale spice: USERNAME=ale
Nov  5 21:19:46 ale spice: DESKTOP_SESSION=gnome
Nov  5 21:19:46 ale spice: 
PATH=/usr/lib64/qt-3.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/ale/bin
Nov  5 21:19:46 ale spice: MAIL=/var/spool/mail/ale
Nov  5 21:19:46 ale spice: QT_IM_MODULE=xim
Nov  5 21:19:46 ale spice: PWD=/home/ale
Nov  5 21:19:46 ale spice: XMODIFIERS=@im=none
Nov  5 21:19:46 ale spice: GDM_KEYBOARD_LAYOUT=gb
Nov  5 21:19:46 ale spice: GNOME_KEYRING_PID=2134
Nov  5 21:19:46 ale spice: LANG=en_US.utf8
Nov  5 21:19:46 ale spice: XRE_PROFILE_PATH=
Nov  5 21:19:46 ale spice: GDM_LANG=en_US.utf8
Nov  5 21:19:46 ale spice: 
MODULEPATH=/usr/share/Modules/modulefiles:/etc/modulefiles
Nov  5 21:19:46 ale spice: LOADEDMODULES=
Nov  5 21:19:46 ale spice: GDMSESSION=gnome
Nov  5 21:19:46 ale spice: HISTCONTROL=ignoredups
Nov  5 21:19:46 ale spice: SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
Nov  5 21:19:46 ale spice: 
SPICE_FOREIGN_MENU_SOCKET=/tmp/spicec-TTxEaI/spice-foreign
Nov  5 21:19:46 ale spice: SHLVL=2
Nov  5 21:19:46 ale spice: HOME=/home/ale
Nov  5 21:19:46 ale spice: GNOME_DESKTOP_SESSION_ID=this-is-deprecated
Nov  5 21:19:46 ale spice: LOGNAME=ale
Nov  5 21:19:46 ale spice: MOZ_LAUNCHED_CHILD=
Nov  5 21:19:46 ale spice: CVS_RSH=ssh
Nov  5 21:19:46 ale spice: QTLIB=/usr/lib64/qt-3.3/lib
Nov  5 21:19:46 ale spice: 
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-FOVdY9eWlp,guid=d11c4f5dfba6382baad3f8030023
Nov  5 21:19:46 ale spice: SPICE_XPI_SOCKET=/tmp/spicec-TTxEaI/spice-xpi
Nov  5 21:19:46 ale spice: NO_EM_RESTART=
Nov  5 21:19:46 ale spice: MODULESHOME=/usr/share/Modules
Nov  5 21:19:46 ale spice: LESSOPEN=|/usr/bin/lesspipe.sh %s
Nov  5 21:19:46 ale spice: MOZ_CRASHREPORTER_RESTART_ARG_1=
Nov  5 21:19:46 ale spice: XRE_BINARY_PATH=
Nov  5 21:19:46 ale spice: MOZ_CRASHREPORTER_RESTART_ARG_0=firefox
Nov  5 21:19:46 ale spice: WINDOWPATH=1
Nov  5 21:19:46 ale spice: DISPLAY=:0.0
Nov  5 21:19:46 ale spice: XUL_APP_FILE=
Nov  5 21:19:46 ale spice: 
MOZ_CRASHREPORTER_DATA_DIRECTORY=/home/ale/.mozilla/firefox/Crash Reports
Nov  5 21:19:46 ale spice: 
MOZ_CRASHREPORTER_STRINGS_OVERRIDE=/opt/firefox/crashreporter-override.ini
Nov  5 21:19:46 ale spice: NO_AT_BRIDGE=1
Nov  5 21:19:46 ale spice: G_BROKEN_FILENAMES=1
Nov  5 21:19:46 ale spice: XAUTHORITY=/var/run/gdm/auth-for-ale-F43tFc/database
Nov  5 21:19:46 ale spice: module=() {  eval `/usr/bin/modulecmd bash

[Users] ovirt cli - starting vm with special options

2012-11-05 Thread Alex Leonhardt

hi,

to make it easier for me to play with VMs, I thought of using the ovirt 
cli to start a VM whenever I want to rebuild it, however, the CLI 
command below keeps failing - any pointers ?


action vm start --vm-os-kernel 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz 
--vm-os-initRd 
/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img 
--vm-os-boot ks=http://172.30.0.1/ks/dev/solrm01-dev.ks ksdevice=eth0 
ip=172.30.0.249 netmask=255.255.255.0 --host-identifier vm2



alex


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


Re: [Users] Unable to establish spice session

2012-11-02 Thread Alex Leonhardt
Hi,

nope, no changes were made, at least none that I'm aware of.

Alex


2012/11/2 Itamar Heim ih...@redhat.com

 On 11/02/2012 01:35 AM, Alex Leonhardt wrote:

 Hi,

 Since today I'm unable to establish a spice session to any/all VMs - the
 ony thing I see in the (local) logs is this :


 did you make any change?



 Nov  1 23:29:02 ale spice: _=/usr/bin/env
 Nov  1 23:29:03 ale spice: (remote-viewer:5231): GSpiceController-DEBUG:
 controller.vala:187: new socket client, reading init header
 Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG: unimplemented
 property: send-cad=FALSE
 Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG: unimplemented
 property: secure-channels=((GStrv*) 0x1e83270)
 Nov  1 23:29:06 ale spice: remote-viewer execution failed

 Anyone any idea ?


 adding spice-devel

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


[Users] Unable to establish spice session

2012-11-01 Thread Alex Leonhardt

Hi,

Since today I'm unable to establish a spice session to any/all VMs - the 
ony thing I see in the (local) logs is this :


Nov  1 23:29:02 ale spice: _=/usr/bin/env
Nov  1 23:29:03 ale spice: (remote-viewer:5231): GSpiceController-DEBUG: 
controller.vala:187: new socket client, reading init header
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG: unimplemented 
property: send-cad=FALSE
Nov  1 23:29:05 ale spice: ** (remote-viewer:5231): DEBUG: unimplemented 
property: secure-channels=((GStrv*) 0x1e83270)

Nov  1 23:29:06 ale spice: remote-viewer execution failed

Anyone any idea ?

Alex

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


Re: [Users] clear export domain status

2012-10-30 Thread Alex Leonhardt

whoop - that did it :) !

for reference - i edited :

/path/to/nfsexport/storagedomain/dom_md/metadata

and to have changed

POOL_UUID=

and removed _SHA_CKSUM line all together

Ta!
Alex


On 10/30/2012 07:31 AM, Igor Lvovsky wrote:


- Original Message -

From: Itamar Heimih...@redhat.com
To: Alex Leonhardtalex.t...@gmail.com
Cc: users@ovirt.org
Sent: Tuesday, October 30, 2012 2:38:24 AM
Subject: Re: [Users] clear export domain status

On 10/30/2012 01:44 AM, Alex Leonhardt wrote:

hi,

I've got a export domain that i try to import into a new HV -
however -
it keeps saying:
 Storage domain already attached to pool: X
And it ends up being unable to attach it to the new HV.

How can i manually clear this state ? The old host is nolonger
available, unfortunately.

iirc, go to the metadata of the domain and delete the line of the
current storage pool it is attached to (may need to delete metadata
checksum as well, its been a while)



Actually you shouldn't delete the whole pool line, but only the pool UUID 
itself.
As I can recall the POOL keyword (POOL=) should be there.
The checksum line should be fully deleted


___
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] clear export domain status

2012-10-29 Thread Alex Leonhardt

hi,

I've got a export domain that i try to import into a new HV - however - 
it keeps saying:

   Storage domain already attached to pool: X
And it ends up being unable to attach it to the new HV.

How can i manually clear this state ? The old host is nolonger 
available, unfortunately.


Thanks,
Alex

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


Re: [Users] How can I change IP of the ovirt node?

2012-10-24 Thread Alex Leonhardt
I believe it means you have to change the IP via the OVIRT Mgmt host, 
not on the node itself.


Alex


On 10/24/2012 08:23 PM, Adam Tkáč wrote:

2012/10/24 Mike Burnsmbu...@redhat.com:

On Wed, 2012-10-24 at 20:42 +0200, Adam Tkáč wrote:

Hello all,

is it possible to change IP address of the oVirt node? When I log into
oVirt web interface, click on
my_datacenter-clusters-my_cluster-hosts and then I click on the
host and then I try to change it's IP, it's not possible because it is
greyed-out. Node is of course in the maintenance mode.

I'm using ovirt-*3.1.0-2.fc17 on fully updated F17 machine.

Once registered to ovirt-engine, changes to the management network must
all come from the engine itself.  The TUI will be disabled once it is
registered.

Not sure if I understand correctly but does it mean that it's not
possible to change node's IP address?

Thanks, Adam
___
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


<    1   2   3   4   5   6   7   >