[Users] Cannot add host - non-responsive.

2013-03-14 Thread snmishra


I am trying to add a fedora18 host to an engine that was built from  
source. SElinux and firewalld are disabled/stopped on both the fedora  
boxes. I can ping between the two machines using IP and FQDN. But when  
I go to add the host it gets connection refused error and goes  
non-responsive. Here are the engine logs.


Any Clues?
Sharad Mishra


2013-03-15 01:21:07,208 INFO   
[org.ovirt.engine.core.bll.AddVdsCommand] (http--0.0.0.0-8700-1)  
[2ebde801] Running command: AddVdsCommand internal: false. Entities  
affected :  ID: 99408929-82cf-4dc7-a532-9d998063fa95 Type: VdsGroups
2013-03-15 01:21:07,279 INFO   
[org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (http--0.0.0.0-8700-1)  
Running command: AddVdsSpmIdCommand internal: true. Entities affected  
:  ID: f66bcf41-56bc-4ac9-b702-c5674060a1a3 Type: VDS
2013-03-15 01:21:07,293 INFO   
[org.ovirt.engine.core.bll.AddVdsSpmIdCommand] (http--0.0.0.0-8700-1)  
Lock freed to object EngineLock [exclusiveLocks= key:  
5849b030-626e-47cb-ad90-3ce782d831b3 value: REGISTER_VDS

, sharedLocks= ]
2013-03-15 01:21:07,297 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,313 INFO   
[org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand]  
(http--0.0.0.0-8700-1) START, RemoveVdsVDSCommand(HostName = ovirt2,  
HostId = f66bcf41-56bc-4ac9-b702-c5674060a1a3), log id: 4a95fb09
2013-03-15 01:21:07,314 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,315 INFO   
[org.ovirt.engine.core.vdsbroker.RemoveVdsVDSCommand]  
(http--0.0.0.0-8700-1) FINISH, RemoveVdsVDSCommand, log id: 4a95fb09
2013-03-15 01:21:07,317 ERROR  
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) Cannot get vdsManager for  
vdsid=f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,333 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) START, AddVdsVDSCommand(HostName = ovirt2,  
HostId = f66bcf41-56bc-4ac9-b702-c5674060a1a3), log id: 2621f1c9
2013-03-15 01:21:07,334 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) AddVds - entered , starting logic to add VDS  
f66bcf41-56bc-4ac9-b702-c5674060a1a3
2013-03-15 01:21:07,350 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) AddVds - VDS  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 was added, will try to add it to  
the resource manager
2013-03-15 01:21:07,354 INFO   
[org.ovirt.engine.core.vdsbroker.VdsManager] (http--0.0.0.0-8700-1)  
Entered VdsManager constructor
2013-03-15 01:21:07,360 INFO   
[org.ovirt.engine.core.vdsbroker.VdsManager] (http--0.0.0.0-8700-1)  
Initialize vdsBroker (9.27.28.20,54,321)
2013-03-15 01:21:07,398 INFO   
[org.ovirt.engine.core.vdsbroker.ResourceManager]  
(http--0.0.0.0-8700-1) VDS f66bcf41-56bc-4ac9-b702-c5674060a1a3 was  
added to the Resource Manager
2013-03-15 01:21:07,399 INFO   
[org.ovirt.engine.core.vdsbroker.AddVdsVDSCommand]  
(http--0.0.0.0-8700-1) FINISH, AddVdsVDSCommand, log id: 2621f1c9
2013-03-15 01:21:10,499 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-8) Failed to refresh VDS , vds =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 : ovirt2, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-03-15 01:21:13,529 WARN   
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-10) Failed to refresh VDS , vds =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3 : ovirt2, VDS Network Error,  
continuing.

java.net.ConnectException: Connection refused
2013-03-15 01:21:16,556 ERROR  
[org.ovirt.engine.core.vdsbroker.VdsManager]  
(DefaultQuartzScheduler_Worker-4) Server failed to respond, vds_id =  
f66bcf41-56bc-4ac9-b702-c5674060a1a3, vds_name = ovirt2, error =  
java.net.ConnectException: Connection refused
2013-03-15 01:21:16,577 INFO   
[org.ovirt.engine.core.bll.VdsEventListener] (pool-10-thread-8)  
ResourceManager::vdsNotResponding entered for Host  
f66bcf41-56bc-4ac9-b702-c5674060a1a3, 9.27.28.20
2013-03-15 01:21:16,644 WARN   
[org.ovirt.engine.core.bll.VdsNotRespondingTreatmentCommand]  
(pool-10-thread-8) [734218b6] CanDoAction of action  
VdsNotRespondingTreatment failed. Reasons:VDS_FENCE_DISABLED


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


Re: [Users] spicec failed to connect spice-server,error code 111

2013-03-14 Thread bigclouds
#i export SPICEC_LOG_LEVEL=0
spicec.log 


1363316293 INFO [10096:10096] Application::main: starting 0.8.3
1363316293 DEBUG [10096:10096] Application::Application:
1363316293 DEBUG [10096:10096] HotKeysParser::HotKeysParser: hotkeys = 
toggle-fullscreen=shift+f11,release-cursor=shift+f12,smartcard-insert=shift+f8,smartcard-remove=shift+f9
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f11
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f12
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f8
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = shift
1363316293 DEBUG [10096:10096] HotKeysParser::add_key: keys = f9
1363316293 DEBUG [10096:10096] Platform::init:
1363316293 INFO [10096:10096] init_key_map: using evdev mapping
1363316293 INFO [10096:10096] MultyMonScreen::MultyMonScreen: platform_win: 
71303169
1363316293 INFO [10096:10096] ForeignMenu::ForeignMenu: Creating a foreign menu 
connection /tmp/SpiceForeignMenu-10096.uds
1363316293 DEBUG [10096:10096] LinuxListener::LinuxListener: listening socket - 
/tmp/SpiceForeignMenu-10096.uds, added to events_loop
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Trying 192.168.88.101 
5900
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Connected to 
192.168.88.101 5900
1363316293 INFO [10096:10097] RedPeer::connect_unsecure: Connected to 
192.168.88.101 5900
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Trying 192.168.88.101 
5901
1363316293 DEBUG [10096:10097] RedPeer::connect_to_peer: Connected to 
192.168.88.101 5901
1363316293 INFO [10096:10097] RedPeer::connect_secure: Connected to 
192.168.88.101 5901
1363316293 DEBUG [10096:10097] RedPeer::verify_host_name: common name 
match=192.168.88.101
1363316293 WARN [10096:10097] RedChannel::run: connect failed 7
1363316293 INFO [10096:10096] main: Spice client terminated (exitcode = 3)
1363316293 DEBUG [10096:10096] cleanup:








At 2013-03-14 20:33:32,"David Jaša"  wrote:
>could you post debug log, i.e. with SPICEC_LOG_LEVEL environment
>variable set to 0 (zero)?
>
>David
>
>
>bigclouds píše v Čt 14. 03. 2013 v 20:10 +0800:
>> spicec -h  HOST -p 5900 -s 5901 --ca-file file.pem
>> warning:fialed to connect : connection refused(111)
>> 
>> 
>> 
>> 
>> 1363262333 INFO [12182:12182] Application::main: starting 0.8.3
>> 1363262333 INFO [12182:12182] init_key_map: using evdev mapping
>> 1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen:
>> platform_win: 50331649
>> 1363262333 INFO [12182:12182] ForeignMenu::ForeignMenu: Creating a
>> foreign menu connection /tmp/SpiceForeignMenu-12182.uds
>> 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
>> failed: Connection refused (111)
>> 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
>> failed: Connection refused (111)
>> 1363262333 WARN [12182:12183] RedChannel::run: failed to connect:
>> Connection refused (111)
>> 1363262333 INFO [12182:12182] main: Spice client terminated (exitc ode
>> = 3)
>> 
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>-- 
>
>David Jaša, RHCE
>
>SPICE QE based in Brno
>GPG Key: 22C33E24 
>Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Export domain

2013-03-14 Thread Shu Ming
So you have a block device in NFS server to be extended from 200 to 
50GB?I think you should extend both the block device and the file 
system on the block device in the server side.   To oVirt,  it doesn't 
save the size in storage domain' meta-data and I believe the size is 
only stored in the engine server.  The only issue is before the engine 
refresh its metadata in the next time, there is a window with the 
meta-data out of sync.   Please let us know if it is successful.


Jonathan Horne:


What would happen if the export domain (via NFS) was extended (say, 
while the server was doing a reboot?) id like to extend the space of 
my export domain from 200 to 500GB (with lvm commands).


How will ovirt react to finding the size of the export domain 
changed?  Pleased or unpleased?


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


[Users] ovirt node 2.6.1 installation succeeding, but not booting on Gateway SX2370

2013-03-14 Thread Ian Forde
Hi all -

I've got a couple of Gateway SX2370 desktops that I'm using as hypervisors.
 Each can take up to 16GB RAM, and are small, both currently running CentOS
6.3 with the Dreyou repo for VDSM and work great.  My next plan was to use
ovirt-node booted from an SD card on them, so I:

. Downloaded ovirt node 2.6.1
. Burned it to a USB stick from my CentOS 6 desktop using
livecd-iso-to-disk.
. Booted the stick successfully on the Gateway box (although it saw it as
EFI - we'll get to that in a second) and was able to install ovirt-node to
the SD card.
. Shut the box down
. Tried to boot the SD card
. The system reports no hard disk upon boot.

The BIOS sees it as an EFI device, so I believe that it can't find the EFI
partition, and dies.  The funny thing is that that same SD card will boot
on boxes that don't have EFI or UEFI.  And unfortunately, there's no way in
the BIOS to disable EFI detection on hard disks.  And it won't let me mark
the SD card as "non-EFI" so that I can have a sane "legacy" boot.  And even
so, I don't know how to defeat its detection, which is probably picking up
on the presence of GPT on the SD card to make its determination.

Anyhoo - here's how I solved it.  From seeing various RH entries in
bugzilla over the last year and a half regarding EFI, I decided to cheat,
as it doesn't like the bootable partition #2:

. Create a FAT32 filesystem on partition 1 of the SD card
. Create the directory /EFI in partition 1, and copy the contents of
:/boot/EFI/ to it.
. Edit partition1:/EFI/BOOT/BOOTX64.conf and partition1:/EFI/BOOT/grub.cfg
to better reflect what's really on the disk.  (I was skimming the thread
and post referenced at
http://lists.ovirt.org/pipermail/users/2012-February/006279.html for info.)

That got me a 2nd bootable entry in my BIOS, which I was able to set to
default and boot from successfully (despite a subsequent warning about
secure boot not being available).

So here's my question:  Is there a way that I can submit info back about
the ovirt-node install that can help debug the stock install of ovirt-node
getting media to boot on a box that won't let me disable EFI?

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


Re: [Users] [Engine-devel] Migrating engine-setup to otopi

2013-03-14 Thread Ewoud Kohl van Wijngaarden
On Thu, Mar 14, 2013 at 07:52:31AM -0400, Alon Bar-Lev wrote:
>
>
> - Original Message -
> > From: "Jiri Belka" 
> > To: "Alex Lourie" 
> > Cc: engine-de...@ovirt.org, users@ovirt.org
> > Sent: Thursday, March 14, 2013 1:47:12 PM
> > Subject: Re: [Users] Migrating engine-setup to otopi
> >
> > On Thu, 14 Mar 2013 07:06:04 -0400 (EDT)
> > Alex Lourie  wrote:
> >
> > > > > 1. Be able to port engine to other distributions.
> > > >
> > > > Really? Beside this topic I see hardcoded usernames in scripts...
> > > >
> > > > http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified
> > >
> > > These usernames are not hard-coded. There are default values
> > > present which are kept for
> > > local installations, but with remote DB setup the user is prompted
> > > to provide a username
> > > of her/his own.
> >
> > Not everywhere are postgresql dirs owned by postgres, on some BSDs it
> > is
> > _postgresql.
>
> Right, as I said this is going away.
>
> I am porting this first to Gentoo, which is the most complex, then I
> will be able to provide debian based.

Would it be useful to start to provide an ovirt-overlay for this? I
already started https://github.com/ekohl/ovirt-overlay where I packaged
ovirt-shell and its dependencies (including ovirt-sdk-python). I'd be
happy to extend this with more packages based on the info available on
http://wiki.gentoo.org/wiki/OVirt.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] [EL6 RPMS] new nightly ovirt rpms

2013-03-14 Thread Eyal Edri
fyi,

EL6 rpms for various ovirt project are now available via the nightly repos:

http://resources.ovirt.org/releases/nightly/rpm/EL/6/noarch/

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


Re: [Users] Is it possible to change the DB password for local postgresql?

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Jiri Belka" 
> To: "Ernest Beinrohr" 
> Cc: "Alon Bar-Lev" , users@ovirt.org
> Sent: Thursday, March 14, 2013 6:38:35 PM
> Subject: Re: [Users] Is it possible to change the DB password for local 
> postgresql?
> 
> On Thu, 14 Mar 2013 17:17:18 +0100
> Ernest Beinrohr  wrote:
> 
> > On 13.03.2013 11:57, Alon Bar-Lev wrote:
> > > You need to change the /etc/sysconfig/ovirt-engine password as
> > > well.
>^^^ world
>readable,
> very funny. Are we back in 80ies when /etc/passwd had passwords and
> was
> world readable (and under attacks all the time)?
> 

yes... this is going to be fixed as well.

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


Re: [Users] Is it possible to change the DB password for local postgresql?

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 17:17:18 +0100
Ernest Beinrohr  wrote:

> On 13.03.2013 11:57, Alon Bar-Lev wrote:
> > You need to change the /etc/sysconfig/ovirt-engine password as well.
   ^^^ world readable,
very funny. Are we back in 80ies when /etc/passwd had passwords and was
world readable (and under attacks all the time)?

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


Re: [Users] Is it possible to change the DB password for local postgresql?

2013-03-14 Thread Ernest Beinrohr
On 13.03.2013 11:57, Alon Bar-Lev wrote:
> You need to change the /etc/sysconfig/ovirt-engine password as well.
> You have a script to encode it at /etc/pki/ovirt-engine/encryptpasswd.sh or 
> similar.
>
Worked: I also created a simple page of the change process:

http://www.ovirt.org/Postgresql_changing_db_pass


-- 
Ernest Beinrohr, AXON PRO
Ing , RHCE
, RHCVA
, LPIC
, +421-2--6241-0360
, +421-903--482-603 
icq:28153343, skype:oernii-work ,
jabber:oer...@jabber.org

“The bureaucracy is expanding to meet the needs of the expanding
bureaucracy.” ― Oscar Wilde
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Export domain

2013-03-14 Thread Shu Ming

Dafna Ron:

ovirt should not react in any way :)
the size should be updated by queries that are sent to vdsm on domains
status.
I think vdsm domains do have their own meta-data except the lvm or posix 
file system meta data.



If you want to be extra careful you can always put the export domain in
maintenance before the extend :)
If the export domain come back to life, I think the domain meta data 
should be invalidated after the extend.






On 03/13/2013 09:45 PM, Jonathan Horne wrote:

What would happen if the export domain (via NFS) was extended (say,
while the server was doing a reboot?)  id like to extend the space of
my export domain from 200 to 500GB (with lvm commands).

  


How will ovirt react to finding the size of the export domain
changed?  Pleased or unpleased?

  


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





--
---
舒明 Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC


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


Re: [Users] management server very slow lately

2013-03-14 Thread Shu Ming
Did you use IE or firefox? I found firefox was much faster than IE 
connecting the engine server.

Jonathan Horne :


Hello, lately my manager server web interface is extremely sluggish.  
Perhaps the server is ready for a reboot?


My management server is also the hosts of my NFS export and ISO 
mounts.  Is there a prescribed method for rebooting when I am also 
providing NFS services from the management server?  My assumption is 
that aside from NFS, I should be able to reboot the management serve 
and the nodes and virtual machines will be fine in the mean time?


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



--
---
?? Shu Ming
Open Virtualization Engineerning; CSTL, IBM Corp.
Tel: 86-10-82451626  Tieline: 9051626 E-mail: shum...@cn.ibm.com or 
shum...@linux.vnet.ibm.com
Address: 3/F Ring Building, ZhongGuanCun Software Park, Haidian District, 
Beijing 100193, PRC

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


Re: [Users] start vm error, because HOST swap is illegal?

2013-03-14 Thread Gilad Chaplik
- Original Message -
> From: "bigclouds" 
> To: "Gilad Chaplik" 
> Cc: users@ovirt.org
> Sent: Thursday, March 14, 2013 4:34:31 PM
> Subject: Re:Re: [Users] start vm error, because HOST swap is illegal?
> 
> 
> 
> what does this error mean?
> HOST or guest swap too much disk space?
> thanks

A swapping host in most cases have a major impact on VM behavior. 
So by default oVirt will not run a VM on a swapping host. this is highly 
unrecommended.

> 
> 
> 
> 
> 
> 
> 
> 
> At 2013-03-14 20:42:41,"Gilad Chaplik"  wrote:
> >Hi,
> >
> >you can avoid this check in the engine by running this db script:
> >update vdc_options set option_value = false where option_name =
> > 'EnableSwapCheck';
> >don't forget to restart your jboss.
> >
> >Thanks,
> >Gilad.
> >
> >- Original Message -
> >> From: "bigclouds" 
> >> To: users@ovirt.org
> >> Sent: Thursday, March 14, 2013 2:24:56 PM
> >> Subject: [Users] start vm error, because HOST swap is illegal?
> >> 
> >> 
> >> 
> >> 
> >> hi,all
> >> 
> >> 
> >> 
> >> 
> >> 2013-03-14 01:57:33,886 INFO
> >> [com.massclouds.center.core.bll.VdsSelector]
> >> (ajp--127.0.0.1-8702-22) VDS Host101
> >> eb11c524-8b2c-11e2-9806-000c29d39230 swap value is illegal
> >> 2013-03-14 01:57:33,886 WARN
> >> [com.massclouds.center.core.bll.RunVmCommand]
> >> (ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed.
> >> Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
> >> 2013-03-14 01:57:33,900 INFO
> >> [com.massclouds.center.core.bll.RunVmCommand]
> >> (ajp--127.0.0.1-8702-22) Lock freed to object CenterLock
> >> [exclusiveLocks= key: c33106d8-00ec-4379-8b93-ab5e7c1f279b value:
> >>  VM
> >> 
> >> 
> >> ___
> >> 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] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 14:44:48 +0002
Alex Lourie  wrote:

> Hi Jiri
> 
> On Thu, Mar 14, 2013 at 4:30 PM, Jiri Belka  wrote:
> > I'll talk about RHEVM but it's probably related to oVirt too.
> > 
> > As rhevm installs all deps, I'm curious why versionlock.list is
> > populated after rhevm-setup and _not_dirrectly during installation
> > (maybe because you would need to hardcode versions into rhevm
> > package?). It took me tens of minutes to figure out why is upgrade
> > working differently now, just because I did _NOT_ do rhevm-setup after
> > clean install because I was thinking I know what files are important
> > and was restoring them from a tarball.
> > 
> > I think running rhevm-setup if you just want to restore is stupid. If
> > we would know 100% which files are involved, just install, restore 
> > from
> > backup, restore DB should be sufficient, without loosing time with
> > rhevm-setup which just writes there and here... :)
> > 
> 
> I don't really follow you here. What are you restoring with rhevm-setup?

My previous (wrong) procedure to restore old version was:

rhevm-cleanup, yum remove rhevm\*, rm -rf $dirs, yum install rhevm\*,
tar xvzpf /backup.tgz, ./restore.sh for DB...

which was not fully correct as I haven't
known /etc/yum/plugin.d/versionlock.list is touched by rhevm-setup as
well and thus yum was working very strange during next normal
upgrade.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.2.1 Update

2013-03-14 Thread Mike Burns

New RPMS are now uploaded for oVirt 3.2.1.  The updates included:

ovirt-engine-cli 3.2.0.11-1
ovirt-engine-sdk 3.2.0.10-1
ovirt-engine 3.2.1-1

oVirt Engine changes:
1. Fixed bug blocking firewalld configuration when selinux was in 
enforcing mode

2. Small change in All-In-One
3. Minor patches at rest-api

Also included in the oVirt Engine update are patches to enable EL6 
builds.  These builds will be posted shortly.


To upgrade, please run engine-upgrade.

Thanks

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


Re: [Users] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Alex Lourie

Hi Jiri

On Thu, Mar 14, 2013 at 4:30 PM, Jiri Belka  wrote:

I'll talk about RHEVM but it's probably related to oVirt too.

As rhevm installs all deps, I'm curious why versionlock.list is
populated after rhevm-setup and _not_dirrectly during installation
(maybe because you would need to hardcode versions into rhevm
package?). It took me tens of minutes to figure out why is upgrade
working differently now, just because I did _NOT_ do rhevm-setup after
clean install because I was thinking I know what files are important
and was restoring them from a tarball.

I think running rhevm-setup if you just want to restore is stupid. If
we would know 100% which files are involved, just install, restore 
from

backup, restore DB should be sufficient, without loosing time with
rhevm-setup which just writes there and here... :)



I don't really follow you here. What are you restoring with rhevm-setup?



jbelka



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


Re: [Users] start vm error, because HOST swap is illegal?

2013-03-14 Thread bigclouds
what does this error mean?
HOST or guest  swap too much disk space?
thanks








At 2013-03-14 20:42:41,"Gilad Chaplik"  wrote:
>Hi, 
>
>you can avoid this check in the engine by running this db script:
>update vdc_options set option_value = false where option_name = 
>'EnableSwapCheck';
>don't forget to restart your jboss.
>
>Thanks, 
>Gilad.
>
>- Original Message -
>> From: "bigclouds" 
>> To: users@ovirt.org
>> Sent: Thursday, March 14, 2013 2:24:56 PM
>> Subject: [Users] start vm error, because HOST swap is illegal?
>> 
>> 
>> 
>> 
>> hi,all
>> 
>> 
>> 
>> 
>> 2013-03-14 01:57:33,886 INFO
>> [com.massclouds.center.core.bll.VdsSelector]
>> (ajp--127.0.0.1-8702-22) VDS Host101
>> eb11c524-8b2c-11e2-9806-000c29d39230 swap value is illegal
>> 2013-03-14 01:57:33,886 WARN
>> [com.massclouds.center.core.bll.RunVmCommand]
>> (ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed.
>> Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
>> 2013-03-14 01:57:33,900 INFO
>> [com.massclouds.center.core.bll.RunVmCommand]
>> (ajp--127.0.0.1-8702-22) Lock freed to object CenterLock
>> [exclusiveLocks= key: c33106d8-00ec-4379-8b93-ab5e7c1f279b value: VM
>> 
>> 
>> ___
>> 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] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Jiri Belka
I'll talk about RHEVM but it's probably related to oVirt too.

As rhevm installs all deps, I'm curious why versionlock.list is
populated after rhevm-setup and _not_dirrectly during installation
(maybe because you would need to hardcode versions into rhevm
package?). It took me tens of minutes to figure out why is upgrade
working differently now, just because I did _NOT_ do rhevm-setup after
clean install because I was thinking I know what files are important
and was restoring them from a tarball.

I think running rhevm-setup if you just want to restore is stupid. If
we would know 100% which files are involved, just install, restore from
backup, restore DB should be sufficient, without loosing time with
rhevm-setup which just writes there and here... :)

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


Re: [Users] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Alex Lourie


- Original Message -

 From: "Jiri Belka" 
 To: "Alex Lourie" 
 Cc: engine-de...@ovirt.org, Users@ovirt.org
 Sent: Thursday, March 14, 2013 2:52:31 PM
 Subject: Re: [Users] Features requests for the setup/configuration 
utilities - feedback requested
 
 On Thu, 14 Mar 2013 12:12:25 +0002

 Alex Lourie  wrote:
 
 > Hi All
 > 
 > As we are working on the configuration utilities (engine-setup,

 > engine-upgrade and engine-cleanup), we would like to get as much
 > community involvement as possible. As such, we'd like to hear the
 > wishes of the community in regards with those tools.
 
 1. do not think yum is everywhere, make package upgrade extensible

by some subclasses (apt-get, pkg_add...)


Right.


 2. usernames are not same everywhere
postgres is not everywhere


Right.


 3. do not make absolute symlinks, some packaging tools scream

I replied to this one, I don't fully agree, relative symlinks have 
their own issues, and hard to convert absolute to relative when 3rd 
party components are involved.



 4. do not use #!/bin/bash but #!/bin/sh, in 99,9% people are not
 using
anything special from bash anyway

This is out of scope, we will depend on bash for now... too much 
legacy.

We can attend to that in future.
I can promise that no new code will be written in bash.

Thanks!

 
 jbelka

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



Wiki updated.

Thanks!

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


Re: [Users] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Jiri Belka" 
> To: "Alex Lourie" 
> Cc: engine-de...@ovirt.org, Users@ovirt.org
> Sent: Thursday, March 14, 2013 2:52:31 PM
> Subject: Re: [Users] Features requests for the setup/configuration utilities 
> - feedback requested
> 
> On Thu, 14 Mar 2013 12:12:25 +0002
> Alex Lourie  wrote:
> 
> > Hi All
> > 
> > As we are working on the configuration utilities (engine-setup,
> > engine-upgrade and engine-cleanup), we would like to get as much
> > community involvement as possible. As such, we'd like to hear the
> > wishes of the community in regards with those tools.
> 
> 1. do not think yum is everywhere, make package upgrade extensible
>by some subclasses (apt-get, pkg_add...)

Right.

> 2. usernames are not same everywhere
>postgres is not everywhere

Right.

> 3. do not make absolute symlinks, some packaging tools scream

I replied to this one, I don't fully agree, relative symlinks have their own 
issues, and hard to convert absolute to relative when 3rd party components are 
involved.

> 4. do not use #!/bin/bash but #!/bin/sh, in 99,9% people are not
> using
>anything special from bash anyway

This is out of scope, we will depend on bash for now... too much legacy.
We can attend to that in future.
I can promise that no new code will be written in bash.

Thanks!

> 
> jbelka
> ___
> 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] [Engine-devel] Migrating engine-setup to otopi

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Jiri Belka" 
> To: "Alon Bar-Lev" 
> Cc: engine-de...@ovirt.org, users@ovirt.org
> Sent: Thursday, March 14, 2013 2:46:44 PM
> Subject: Re: [Engine-devel] [Users] Migrating engine-setup to otopi
> 
> On Thu, 14 Mar 2013 08:08:52 -0400 (EDT)
> Alon Bar-Lev  wrote:
> > 
> > Working on this[1] for some time, until I realized we need to
> > rewrite the whole packaging...
> > 
> > I will update you when I have something working.
> > The gentoo wiki instruction should simply go aware, as it is manual
> > installation.
> > 
> > [1] https://github.com/alonbl/ovirt-overlay
> 
> Please remove absolute symlinks too, it's totally stupid. Some
> packaging tools scream a lot about symlinks pointing outside of fake
> root during packaging.
> 
> I had to do stupid kung-fu for my WIP OpenBSD port[1] :D
>

Not sure I agree... switching to relative symlinks is not doing a great work 
either, especially if we take the location from 3rd party, such as systemd or 
cron.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 12:12:25 +0002
Alex Lourie  wrote:

> Hi All
> 
> As we are working on the configuration utilities (engine-setup, 
> engine-upgrade and engine-cleanup), we would like to get as much 
> community involvement as possible. As such, we'd like to hear the 
> wishes of the community in regards with those tools.

1. do not think yum is everywhere, make package upgrade extensible
   by some subclasses (apt-get, pkg_add...)
2. usernames are not same everywhere
   postgres is not everywhere
3. do not make absolute symlinks, some packaging tools scream
4. do not use #!/bin/bash but #!/bin/sh, in 99,9% people are not using
   anything special from bash anyway

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


Re: [Users] [Engine-devel] Migrating engine-setup to otopi

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 08:08:52 -0400 (EDT)
Alon Bar-Lev  wrote:
> 
> Working on this[1] for some time, until I realized we need to rewrite the 
> whole packaging...
> 
> I will update you when I have something working.
> The gentoo wiki instruction should simply go aware, as it is manual 
> installation.
> 
> [1] https://github.com/alonbl/ovirt-overlay

Please remove absolute symlinks too, it's totally stupid. Some
packaging tools scream a lot about symlinks pointing outside of fake
root during packaging.

I had to do stupid kung-fu for my WIP OpenBSD port[1] :D

# make symlinks relative
cd ${WRKDIST}/usr/local && \
for link in `find . -type l`; do \
dest=`stat -f %Y $${link}`; \
depth=`dirname $${link} | \
perl -p -e 's|^./||;s|[^/]+|..|g;'`; \
newdest=`echo $${dest} | \
perl -pe "s#/usr/local#$${depth}#;"`; \
ln -sf $${newdest} $${link}; \
done

[1]
https://github.com/jirib/openbsd-mystuff/blob/master/sysutils/ovirt/engine/Makefile
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
so having vdsm.conf with ssl=true

and doing:

vdsClient -s 0 getVdsCaps

hangs? On the host were the vdsm service is running?

- Original Message -
> From: "bigclouds" 
> To: "Antoni Segura Puimedon" 
> Cc: users@ovirt.org
> Sent: Thursday, March 14, 2013 1:22:21 PM
> Subject: Re:Re: [Users] how to use vdsClient
> 
> 
> no difference.
> vdsm.conf : ssl=true
> 
> 
> 
> 
> 
> 
> 
> 
> At 2013-03-14 18:49:25,"Antoni Segura Puimedon" 
>  wrote:
> >It might be ssl. If you have ssl enabled:
> >
> >vdsClient -s 0 
> >
> >Otherwise:
> >
> >vdsClient 0 
> >
> >- Original Message -
> >> From: "bigclouds" 
> >> To: users@ovirt.org
> >> Sent: Thursday, March 14, 2013 11:26:24 AM
> >> Subject: [Users] how to use vdsClient
> >> 
> >> 
> >> 
> >> 
> >> hi,all
> >> it is waiting all the time.
> >> 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> [root@localhost ~]# mcvdaClient 0 list table
> >> ^CTraceback (most recent call last):
> >> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> >> code, message = commands[command][0](commandArgs)
> >> File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
> >> response = self.s.getAllVmStats()
> >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
> >> return self.__send(self.__name, args)
> >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
> >> verbose=self.__verbose
> >> File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
> >> errcode, errmsg, headers = h.getrepl y()
> >> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> >> response = self._conn.getresponse()
> >> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> >> response.begin()
> >> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> >> version, status, reason = self._read_status()
> >> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> >> line = self.fp.readline()
> >> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> >> data = recv(1)
> >> KeyboardInterrupt
> >> 
> >> 
> >> ___
> >> 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] start vm error, because HOST swap is illegal?

2013-03-14 Thread Gilad Chaplik
Hi, 

you can avoid this check in the engine by running this db script:
update vdc_options set option_value = false where option_name = 
'EnableSwapCheck';
don't forget to restart your jboss.

Thanks, 
Gilad.

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, March 14, 2013 2:24:56 PM
> Subject: [Users] start vm error, because HOST swap is illegal?
> 
> 
> 
> 
> hi,all
> 
> 
> 
> 
> 2013-03-14 01:57:33,886 INFO
> [com.massclouds.center.core.bll.VdsSelector]
> (ajp--127.0.0.1-8702-22) VDS Host101
> eb11c524-8b2c-11e2-9806-000c29d39230 swap value is illegal
> 2013-03-14 01:57:33,886 WARN
> [com.massclouds.center.core.bll.RunVmCommand]
> (ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed.
> Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
> 2013-03-14 01:57:33,900 INFO
> [com.massclouds.center.core.bll.RunVmCommand]
> (ajp--127.0.0.1-8702-22) Lock freed to object CenterLock
> [exclusiveLocks= key: c33106d8-00ec-4379-8b93-ab5e7c1f279b value: VM
> 
> 
> ___
> 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] spicec failed to connect spice-server,error code 111

2013-03-14 Thread David Jaša
could you post debug log, i.e. with SPICEC_LOG_LEVEL environment
variable set to 0 (zero)?

David


bigclouds píše v Čt 14. 03. 2013 v 20:10 +0800:
> spicec -h  HOST -p 5900 -s 5901 --ca-file file.pem
> warning:fialed to connect : connection refused(111)
> 
> 
> 
> 
> 1363262333 INFO [12182:12182] Application::main: starting 0.8.3
> 1363262333 INFO [12182:12182] init_key_map: using evdev mapping
> 1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen:
> platform_win: 50331649
> 1363262333 INFO [12182:12182] ForeignMenu::ForeignMenu: Creating a
> foreign menu connection /tmp/SpiceForeignMenu-12182.uds
> 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
> failed: Connection refused (111)
> 1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect
> failed: Connection refused (111)
> 1363262333 WARN [12182:12183] RedChannel::run: failed to connect:
> Connection refused (111)
> 1363262333 INFO [12182:12182] main: Spice client terminated (exitc ode
> = 3)
> 
> 
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24



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


[Users] start vm error, because HOST swap is illegal?

2013-03-14 Thread bigclouds
hi,all




2013-03-14 01:57:33,886 INFO  [com.massclouds.center.core.bll.VdsSelector] 
(ajp--127.0.0.1-8702-22)  VDS Host101 eb11c524-8b2c-11e2-9806-000c29d39230 swap 
value is illegal
2013-03-14 01:57:33,886 WARN  [com.massclouds.center.core.bll.RunVmCommand] 
(ajp--127.0.0.1-8702-22) CanDoAction of action RunVm failed. 
Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,ACTION_TYPE_FAILED_VDS_VM_SWAP
2013-03-14 01:57:33,900 INFO  [com.massclouds.center.core.bll.RunVmCommand] 
(ajp--127.0.0.1-8702-22) Lock freed to object CenterLock [exclusiveLocks= key: 
c33106d8-00ec-4379-8b93-ab5e7c1f279b value: VM___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how to use vdsClient

2013-03-14 Thread bigclouds
no difference.
vdsm.conf : ssl=true








At 2013-03-14 18:49:25,"Antoni Segura Puimedon"  wrote:
>It might be ssl. If you have ssl enabled:
>
>vdsClient -s 0 
>
>Otherwise:
>
>vdsClient 0 
>
>- Original Message -
>> From: "bigclouds" 
>> To: users@ovirt.org
>> Sent: Thursday, March 14, 2013 11:26:24 AM
>> Subject: [Users] how to use vdsClient
>> 
>> 
>> 
>> 
>> hi,all
>> it is waiting all the time.
>> 
>> 
>> 
>> 
>> 
>> 
>> [root@localhost ~]# mcvdaClient 0 list table
>> ^CTraceback (most recent call last):
>> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
>> code, message = commands[command][0](commandArgs)
>> File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
>> response = self.s.getAllVmStats()
>> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
>> return self.__send(self.__name, args)
>> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
>> verbose=self.__verbose
>> File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
>> errcode, errmsg, headers = h.getrepl y()
>> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
>> response = self._conn.getresponse()
>> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
>> response.begin()
>> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
>> version, status, reason = self._read_status()
>> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
>> line = self.fp.readline()
>> File "/usr/lib64/python2.6/socket.py", line 433, in readline
>> data = recv(1)
>> KeyboardInterrupt
>> 
>> 
>> ___
>> 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] spicec failed to connect spice-server,error code 111

2013-03-14 Thread bigclouds
spicec -h  HOST -p 5900 -s 5901 --ca-file file.pem
warning:fialed to connect : connection refused(111)




1363262333 INFO [12182:12182] Application::main: starting 0.8.3
1363262333 INFO [12182:12182] init_key_map: using evdev mapping
1363262333 INFO [12182:12182] MultyMonScreen::MultyMonScreen: platform_win: 
50331649
1363262333 INFO [12182:12182] ForeignMenu::ForeignMenu: Creating a foreign menu 
connection /tmp/SpiceForeignMenu-12182.uds
1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect failed: 
Connection refused (111)
1363262333 INFO [12182:12183] RedPeer::connect_to_peer: Connect failed: 
Connection refused (111)
1363262333 WARN [12182:12183] RedChannel::run: failed to connect: Connection 
refused (111)
1363262333 INFO [12182:12182] main: Spice client terminated (exitcode = 3)___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Features requests for the setup/configuration utilities - feedback requested

2013-03-14 Thread Alex Lourie

Hi All

As we are working on the configuration utilities (engine-setup, 
engine-upgrade and engine-cleanup), we would like to get as much 
community involvement as possible. As such, we'd like to hear the 
wishes of the community in regards with those tools.


I've created a wiki page [1] where we will keep the list of feature 
requests. We would appreciate adding features to the list of by 
replying to this thread directly.


Please do not bugs to that list - the bugs should be resolved in due 
course according to their priorities and should not affect the features 
that we would like to implement.


Thank you.

[1] http://www.ovirt.org/Features/Engine-Config-Utilities

--

Alex Lourie
Software Engineer in RHEVM Integration
Red Hat

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


Re: [Users] [Engine-devel] Migrating engine-setup to otopi

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Ewoud Kohl van Wijngaarden" 
> To: "Alon Bar-Lev" 
> Cc: "Jiri Belka" , engine-de...@ovirt.org, users@ovirt.org
> Sent: Thursday, March 14, 2013 2:06:01 PM
> Subject: Re: [Engine-devel] [Users] Migrating engine-setup to otopi
> 
> On Thu, Mar 14, 2013 at 07:52:31AM -0400, Alon Bar-Lev wrote:
> >
> >
> > - Original Message -
> > > From: "Jiri Belka" 
> > > To: "Alex Lourie" 
> > > Cc: engine-de...@ovirt.org, users@ovirt.org
> > > Sent: Thursday, March 14, 2013 1:47:12 PM
> > > Subject: Re: [Users] Migrating engine-setup to otopi
> > >
> > > On Thu, 14 Mar 2013 07:06:04 -0400 (EDT)
> > > Alex Lourie  wrote:
> > >
> > > > > > 1. Be able to port engine to other distributions.
> > > > >
> > > > > Really? Beside this topic I see hardcoded usernames in
> > > > > scripts...
> > > > >
> > > > > http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified
> > > >
> > > > These usernames are not hard-coded. There are default values
> > > > present which are kept for
> > > > local installations, but with remote DB setup the user is
> > > > prompted
> > > > to provide a username
> > > > of her/his own.
> > >
> > > Not everywhere are postgresql dirs owned by postgres, on some
> > > BSDs it
> > > is
> > > _postgresql.
> >
> > Right, as I said this is going away.
> >
> > I am porting this first to Gentoo, which is the most complex, then
> > I
> > will be able to provide debian based.
> 
> Would it be useful to start to provide an ovirt-overlay for this? I
> already started https://github.com/ekohl/ovirt-overlay where I
> packaged
> ovirt-shell and its dependencies (including ovirt-sdk-python). I'd be
> happy to extend this with more packages based on the info available
> on
> http://wiki.gentoo.org/wiki/OVirt.
> 

Working on this[1] for some time, until I realized we need to rewrite the whole 
packaging...

I will update you when I have something working.
The gentoo wiki instruction should simply go aware, as it is manual 
installation.

[1] https://github.com/alonbl/ovirt-overlay
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] ldap simple

2013-03-14 Thread Andrej Bagon
Hi,

is it possible to change the bind request that is sent to the ldap
server? The default uid=user,cn=Users,cn=Accounts,cn=our,cn=domain is
not suitable.

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


Re: [Users] Migrating engine-setup to otopi

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Jiri Belka" 
> To: "Alex Lourie" 
> Cc: engine-de...@ovirt.org, users@ovirt.org
> Sent: Thursday, March 14, 2013 1:47:12 PM
> Subject: Re: [Users] Migrating engine-setup to otopi
> 
> On Thu, 14 Mar 2013 07:06:04 -0400 (EDT)
> Alex Lourie  wrote:
> 
> > > > 1. Be able to port engine to other distributions.
> > > 
> > > Really? Beside this topic I see hardcoded usernames in scripts...
> > > 
> > > http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified
> > 
> > These usernames are not hard-coded. There are default values
> > present which are kept for
> > local installations, but with remote DB setup the user is prompted
> > to provide a username
> > of her/his own.
> 
> Not everywhere are postgresql dirs owned by postgres, on some BSDs it
> is
> _postgresql.

Right, as I said this is going away.

I am porting this first to Gentoo, which is the most complex, then I will be 
able to provide debian based.

For the postgres issue, I am against assuming local database and the 
configuration of the database it-self (hba, etc).

Like in other products, the dba will create a user and a database with the user 
as an owner and provide us the user/password and database name, this method 
does not require privileged database user for product installation and working 
locally or remotely, and is portable.

We will keep the functionality of system provisioning as an optional component 
exists in some distribution.

Regards,
Alon Bar-Lev
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Migrating engine-setup to otopi

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 07:06:04 -0400 (EDT)
Alex Lourie  wrote:

> > > 1. Be able to port engine to other distributions.
> > 
> > Really? Beside this topic I see hardcoded usernames in scripts...
> > 
> > http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified
> 
> These usernames are not hard-coded. There are default values present which 
> are kept for
> local installations, but with remote DB setup the user is prompted to provide 
> a username
> of her/his own.

Not everywhere are postgresql dirs owned by postgres, on some BSDs it is
_postgresql.

jbelka

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


Re: [Users] Migrating engine-setup to otopi

2013-03-14 Thread Alex Lourie
Hi Jiri

- Original Message -
> From: "Jiri Belka" 
> To: "Alex Lourie" 
> Cc: engine-de...@ovirt.org, users@ovirt.org
> Sent: Thursday, March 14, 2013 12:38:46 PM
> Subject: Re: [Users] Migrating engine-setup to otopi
> 
> On Thu, 14 Mar 2013 06:13:39 -0400 (EDT)
> Alex Lourie  wrote:
> 
> > Hi All
> > 
> > Recent development of the otopi [1] framework allows us to migrate
> > the engine-setup,
> > upgrade and cleanup (and potentially other) utilities to
> > implementation as an otopi
> > plugin.
> > 
> > Potential benefits of such a move are:
> > 
> > 1. Be able to port engine to other distributions.
> 
> Really? Beside this topic I see hardcoded usernames in scripts...
> 
> http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified

These usernames are not hard-coded. There are default values present which are 
kept for
local installations, but with remote DB setup the user is prompted to provide a 
username
of her/his own.

> 
> Anyway, everything what is not RPM/YUM specific and more portable
> is good way...
> 

Thanks!

> jbelka
> 



-- 

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] how to use vdsClient

2013-03-14 Thread Antoni Segura Puimedon
It might be ssl. If you have ssl enabled:

vdsClient -s 0 

Otherwise:

vdsClient 0 

- Original Message -
> From: "bigclouds" 
> To: users@ovirt.org
> Sent: Thursday, March 14, 2013 11:26:24 AM
> Subject: [Users] how to use vdsClient
> 
> 
> 
> 
> hi,all
> it is waiting all the time.
> 
> 
> 
> 
> 
> 
> [root@localhost ~]# mcvdaClient 0 list table
> ^CTraceback (most recent call last):
> File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> code, message = commands[command][0](commandArgs)
> File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
> response = self.s.getAllVmStats()
> File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
> return self.__send(self.__name, args)
> File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
> verbose=self.__verbose
> File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
> errcode, errmsg, headers = h.getrepl y()
> File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> response = self._conn.getresponse()
> File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> response.begin()
> File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
> File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> line = self.fp.readline()
> File "/usr/lib64/python2.6/socket.py", line 433, in readline
> data = recv(1)
> KeyboardInterrupt
> 
> 
> ___
> 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 use vdsClient

2013-03-14 Thread Dan Kenigsberg
On Thu, Mar 14, 2013 at 06:26:24PM +0800, bigclouds wrote:
> hi,all
> it is waiting all the time.
> 
> 
> 
> 
> 
> 
> [root@localhost ~]# mcvdaClient 0  list table
> ^CTraceback (most recent call last):
>   File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
> code, message = commands[command][0](commandArgs)
>   File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
> response = self.s.getAllVmStats()
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
> return self.__send(self.__name, args)
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
> verbose=self.__verbose
>   File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
> errcode, errmsg, headers = h.getreply()
>   File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
> response = self._conn.getresponse()
>   File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
> response.begin()
>   File "/usr/lib64/python2.6/httplib.py", line 391, in begin
> version, status, reason = self._read_status()
>   File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
> line = self.fp.readline()
>   File "/usr/lib64/python2.6/socket.py", line 433, in readline
> data = recv(1)
> KeyboardInterrupt

It seems that you have ssl=True configured. Would

vdsClient - s 0 list table

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


Re: [Users] Migrating engine-setup to otopi

2013-03-14 Thread Alon Bar-Lev


- Original Message -
> From: "Jiri Belka" 
> To: "Alex Lourie" 
> Cc: engine-de...@ovirt.org, users@ovirt.org
> Sent: Thursday, March 14, 2013 12:38:46 PM
> Subject: Re: [Users] Migrating engine-setup to otopi
> 
> On Thu, 14 Mar 2013 06:13:39 -0400 (EDT)
> Alex Lourie  wrote:
> 
> > Hi All
> > 
> > Recent development of the otopi [1] framework allows us to migrate
> > the engine-setup,
> > upgrade and cleanup (and potentially other) utilities to
> > implementation as an otopi
> > plugin.
> > 
> > Potential benefits of such a move are:
> > 
> > 1. Be able to port engine to other distributions.
> 
> Really? Beside this topic I see hardcoded usernames in scripts...

This is going away soon.

> 
> http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified
> 
> Anyway, everything what is not RPM/YUM specific and more portable
> is good way...
> 
> jbelka
> ___
> 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] Migrating engine-setup to otopi

2013-03-14 Thread Jiri Belka
On Thu, 14 Mar 2013 06:13:39 -0400 (EDT)
Alex Lourie  wrote:

> Hi All 
> 
> Recent development of the otopi [1] framework allows us to migrate the 
> engine-setup,
> upgrade and cleanup (and potentially other) utilities to implementation as an 
> otopi
> plugin.
> 
> Potential benefits of such a move are:
> 
> 1. Be able to port engine to other distributions.

Really? Beside this topic I see hardcoded usernames in scripts...

http://gerrit.ovirt.org/#/c/12551/2/backend/manager/dbscripts/dbfunctions.sh,unified

Anyway, everything what is not RPM/YUM specific and more portable
is good way...

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


[Users] how to use vdsClient

2013-03-14 Thread bigclouds
hi,all
it is waiting all the time.






[root@localhost ~]# mcvdaClient 0  list table
^CTraceback (most recent call last):
  File "/usr/share/mcvda/mcvdaClient.py", line 2380, in 
code, message = commands[command][0](commandArgs)
  File "/usr/share/mcvda/mcvdaClient.py", line 274, in do_list
response = self.s.getAllVmStats()
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1199, in __call__
return self.__send(self.__name, args)
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1489, in __request
verbose=self.__verbose
  File "/usr/lib64/python2.6/xmlrpclib.py", line 1237, in request
errcode, errmsg, headers = h.getreply()
  File "/usr/lib64/python2.6/httplib.py", line 1064, in getreply
response = self._conn.getresponse()
  File "/usr/lib64/python2.6/httplib.py", line 990, in getresponse
response.begin()
  File "/usr/lib64/python2.6/httplib.py", line 391, in begin
version, status, reason = self._read_status()
  File "/usr/lib64/python2.6/httplib.py", line 349, in _read_status
line = self.fp.readline()
  File "/usr/lib64/python2.6/socket.py", line 433, in readline
data = recv(1)
KeyboardInterrupt___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Query regarding Quantum integration with oVirt

2013-03-14 Thread Mike Kolesnik
- Original Message -

> Hi,
Hi Romil, 

> May I know Is there any support for Quantum in RHEVM-3.1 if not ,
> which oVirt version should I use so that I can use quantum feature ?
This feature is planned to be available in oVirt 3.3, the feature page is: 
http://www.ovirt.org/Features/Quantum_Integration 

> I have seen a demo of oVirt with quantum on youtube may i know which
> version you used ?
This demo was done on a "POC" branch, you can access it at: 
http://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:POC_NetworkProvider,n,z
 
http://gerrit.ovirt.org/#/q/status:open+project:vdsm,n,z 

The VDSM hook is needed on the host to connect the vNIC to the quantum bridge. 

Make sure Quantum is running in "noauth" mode. 

Also, currently (due to a libvirt bug) we had to do a hack in the quantum l2 
agent to disconnect the tap device from the bridge, prior to connecting it to 
the bridge that the agent created. 

For this you can check out the documentation in: 
http://www.ovirt.org/Network_Provider#Hack_in_Quantum_linux_bridge_agent 

> Thanks ,
> Romil
Hope this helps, 
Mike 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Migrating engine-setup to otopi

2013-03-14 Thread Alex Lourie
Hi All 

Recent development of the otopi [1] framework allows us to migrate the 
engine-setup,
upgrade and cleanup (and potentially other) utilities to implementation as an 
otopi
plugin.

Potential benefits of such a move are:

1. Be able to port engine to other distributions.
2. Be able to install engine in a development mode.
3. Be able to customize installation easily.
4. Share installation of components (reports, dwh).
5. Modular implementation, reduce maintenance costs.
6. Code reuse of installer code for multiple purposes (host-deploy,
enigne-setup).
  
Currently we are in the process of creating a 'setup' plugin for 
the otopi, and the progress can be monitored at [2]. The current
roadmap for the feature is as follows:

1. Recreate the configuration utilities as plugins in otopi.
2. Support side-by side installation using both the old and the 
new utilities.
3. Switch to the new utility when the confidence that it is on-par
with an old one is high.

Our goal is to have the new utilities ready for 3.3 release (at 
least for the step 2 in the roadmap).

We'd like to hear as much feedback as possible, so we could
address it as soon as possible.

Thanks!

[1] http://gerrit.ovirt.org/#/q/project:otopi,n,z
[2] http://www.ovirt.org/Features/Otopi_Infra_Migration

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


Re: [Users] management server very slow lately

2013-03-14 Thread Noam Slomianko
I don't know if a reboot to management will help in any way but you can take 
the jboss process that runs your engine down and back up for a "restart"

In any case the VMs runs in a different server under vdsm->libvirt->qemu so 
they are not affected by the engine going down

- Original Message -
From: "Jonathan Horne" 
To: users@ovirt.org
Sent: Wednesday, March 13, 2013 8:51:35 PM
Subject: [Users] management server very slow lately





Hello, lately my manager server web interface is extremely sluggish. Perhaps 
the server is ready for a reboot? 



My management server is also the hosts of my NFS export and ISO mounts. Is 
there a prescribed method for rebooting when I am also providing NFS services 
from the management server? My assumption is that aside from NFS, I should be 
able to reboot the management serve and the nodes and virtual machines will be 
fine in the mean time? 



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


[Users] Tip for oVirt marketing improvement - HA and features comparison

2013-03-14 Thread Jiri Belka
Hi,

a Czech company running vCloud has a nice webpage with little schema of
hw architecture which changes if you click on a hw item making it as
failed, then it shows redundant paths to continue funcionality.

It also has nice feature (even old) comparison between
VMWare/Hyper-V/Xen/KVM.

Check 2/3 part of http://www.master.cz/cloud-hosting/

Something like this was be nce for oVirt.

jbelka

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


Re: [Users] Failed to add gluster server

2013-03-14 Thread suporte
Ok, thanks, I'll try it and let you know. 

- Mensagem original -

De: "Kanagaraj"  
Para: supo...@logicworks.pt 
Cc: "Shireesh Anjal" , "Sahina Bose"  
Enviadas: Quinta-feira, 14 de Março de 2013 5:24:20 
Assunto: Re: [Users] Failed to add gluster server 


On 03/13/2013 11:54 PM, supo...@logicworks.pt wrote: 



It's wierd the ovirt-node-iso does not have the glusterfs packages, why not? 

This is what I have in the fedora 18 host: 
vdsm-python-4.10.3-9.fc18.x86_64 
vdsm-gluster-4.10.3-9.fc18.noarch 
vdsm-cli-4.10.3-9.fc18.noarch 
vdsm-xmlrpc-4.10.3-9.fc18.noarch 
vdsm-4.10.3-9.fc18.x86_64 

This is what the ovirt-node-iso has: 
vdsm-xmlrpc-4.10.3-9.fc18.noarch 
vdsm-cli-4.10.3-9.fc18.noarch 
vdsm-4.10.3-9.fc18.x86_64 
vdsm-reg-4.10.3-9.fc18.noarch 
vdsm-python-4.10.3-9.fc18.x86_64 


really the vdsm package is not installed in ovirt-node-iso, !!?? why? 



vdsm packages are already available in the ovirt-node-iso and installed by 
default. 

we are currently working on to have the glusterfs rpms part of the 
ovirt-node-iso. 
However, you can download the glusterfs rpms from 
http://bits.gluster.org/pub/gluster/glusterfs/3.4.0alpha2/ and install them. 
And make sure you have the vdsm-gluster package installed in your nodes. 

Thanks, 
Kanagaraj 



How can I install vdsm package in the node, since is a read-only file system? 
is it possible? 

Thanks 


- Mensagem original -

De: "Kanagaraj"  
Para: supo...@logicworks.pt 
Cc: users@ovirt.org 
Enviadas: Quarta-feira, 13 de Março de 2013 8:45:48 
Assunto: Re: [Users] Failed to add gluster server 

On 03/13/2013 01:30 PM, supo...@logicworks.pt wrote: 
> Hi, 
> 
> I just installed oVirt 3.2 than add a node 1 using fedora18, attach an iSCSI 
> storage, and local ISO NFS, and the data center is alive. Than try to add a 
> second node from the ISO ovirt-node-iso-2.6.1-20120228.fc18.iso, but get this 
> error message: 
> Failed to add gluster server node2.domain.com into cluster default. Gluster 
> command[gluster peer probe 192.168.5.182] failed on server 192.168.5.181 

Do you have the glusterfs rpms installed in your nodes? I think 
glusterfs rpms are not packaged by default in the ovirt-node-iso, in 
this case you may need install the rpms manually. 

If you still face the problem after the above check, please attach the 
vdsm log from the nodes. 

Thanks, 
Kanagaraj 
> On the second node I configured Optional password for adding Node through 
> oVirt Engine UI 
> 
> On the engine when adding a new Host I add the values to Name, Address, and 
> Root Password , and than get this error: 
> Error: Cannot add host. SSH authentication failed, verify authentication 
> parameters are correct (Username/password, public key etc). You may refer to 
> the engine.log file for further details. 
> 
> I notice that I cannot login as root on the second node, so how can I add a 
> node through oVirt Engine UI if it asks for a root password? 
> 
> What am I doing wrong? 
> 
> thanks 
> ___ 
> 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] Export domain

2013-03-14 Thread Dafna Ron
ovirt should not react in any way :)
the size should be updated by queries that are sent to vdsm on domains
status.
If you want to be extra careful you can always put the export domain in
maintenance before the extend :)



On 03/13/2013 09:45 PM, Jonathan Horne wrote:
>
> What would happen if the export domain (via NFS) was extended (say,
> while the server was doing a reboot?)  id like to extend the space of
> my export domain from 200 to 500GB (with lvm commands). 
>
>  
>
> How will ovirt react to finding the size of the export domain
> changed?  Pleased or unpleased?
>
>  
>
> 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


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