[Users] feedback-on-oVirt-engine-3.3.4-1.el6

2014-03-15 Thread kirtech_support

Good day, how can I create additional users for a user portal?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] otopi.conf

2014-03-15 Thread Alon Bar-Lev


- Original Message -
> From: "jacek burghardt" 
> To: "Alon Bar-Lev" 
> Cc: users@ovirt.org
> Sent: Saturday, March 15, 2014 9:22:44 PM
> Subject: Re: [Users] otopi.conf
> 
> Well what is the purpose of otopi.conf i would like otopi pointed to python
> 2.7 as arch linux has both 2.7 and 3.3 and python is pointed to 3.3 so
> looks like to me by setting up otopi.conf to /usr/bin/python2 i could get
> proper python
> 

I already wrote you the answer.

For engine-setup, either define global environment of OTOPI_PYTHON or put a 
file /etc/ovirt-engine-setup.env.d/01-archlinux.env
---
export OTOPI_PYTHON="python2"
---

For host you should have OTOPI_PYTHON at global environment or put a file 
/etc/otopi.env.d/01-archlinux.env
---
export OTOPI_PYTHON="python2"
---

If all works, we can have an option within engine to override this during 
deploy.

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


Re: [Users] otopi.conf

2014-03-15 Thread jacek burghardt
Well what is the purpose of otopi.conf i would like otopi pointed to python
2.7 as arch linux has both 2.7 and 3.3 and python is pointed to 3.3 so
looks like to me by setting up otopi.conf to /usr/bin/python2 i could get
proper python
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] otopi.conf

2014-03-15 Thread Alon Bar-Lev


- Original Message -
> From: "jacek burghardt" 
> To: users@ovirt.org
> Sent: Saturday, March 15, 2014 5:29:20 PM
> Subject: [Users] otopi.conf
> 
> Is there example on how to create otopi.conf file
> see option OTOPI_PYTHON [/usr/bin/python] i guess I could point it to python2
> I hope I can get disable the attempt at installing rpm packages by yum.
> I dont believe Gentoo had patched otopi to install its packages.

Again, you provide partial information, no logs and no proper description of 
what you actually trying to do.
I do not understand what you try to do... is it host problem or ovirt-engine 
problem.
Gentoo port is available here[1], you can see how to modify python usage 
here[2][3].

[1] https://github.com/alonbl/ovirt-overlay
[2] 
https://github.com/alonbl/ovirt-overlay/blob/master/app-emulation/ovirt-engine/ovirt-engine-.ebuild#L227
[3] 
https://github.com/alonbl/ovirt-overlay/blob/master/app-emulation/ovirt-engine/files/gentoo-setup.env

> ts between attempted installs of ncurses-base-5.7-3.20090208.el6.x86_64 and
> ncurses-base-5.7-3.20090208.el6.x86_64 file /usr/share/terminfo/d/dumb
> conflicts between attempted installs of
> ncurses-base-5.7-3.20090208.el6.x86_64 and
> ncurses-base-5.7-3.20090208.el6.x86_64 file /usr/share/terminfo/l/linux
> conflicts between attempted installs of
> ncurses-base-5.7-3.20090208.el6.x86_64 and
> ncurses-base-5.7-3.20090208.el6.x86_64 file /usr/share/terminfo/v/vt100
> conflicts between attempted installs of
> ncurses-base-5.7-3.20090208.el6.x86_64 and ncurses-base-5

I already replied you this in another thread, for host-deploy you should add 
the following file at host side.

/etc/ovirt-host-deploy.conf.d/10-offline-packager.conf
---
[environment:init]
ODEPLOY/offlinePackager=bool:True
PACKAGER/yumpackagerEnabled=bool:False
---

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


Re: [Users] oVirt/RHEV Android client (Opaque) available for beta testing

2014-03-15 Thread i iordanov
Hey guys,

Just in case you missed the update I posted to the Opaque Beta test
community page (if you are using gmail it would have placed it in your
"Social" inbox), I wanted to mention here as well that v1.2.2 of
Opaque Beta can now record audio using the microphone of your device!

Your feedback would be highly appreciated!

Thanks,
iordan

On Sun, Jan 26, 2014 at 7:43 PM, i iordanov  wrote:
> Hi Nathanaël and everyone else interested in keyboard layouts other than
> English,
>
> I really didn't like the idea of releasing Opaque into production supporting
> only English (QWERTY), so I devised a method to get around a current SPICE
> protocol limitation (only being able to transmit keyboard scan codes and not
> unicode to the VM). It involves Opaque translating unicode characters
> on-device according to a user-specified layout into a series of scan codes.
> Currently English (QWERTY), German (QWERTZ), and French (AZERTY) are fully
> supported including all AltGr and dead-key combinations.
>
> I encourage all users of the supported layouts to give them a thorough
> beating and let me know of any issues. I'd also like to hear your opinions
> on whether such a solution can and should make it to production.
>
> To use a layout other than English (default), long-tap on a connection to
> edit it, then from the new drop-down select your desired layout. Once
> connected to your VM, ensure that the chosen layout there matches the layout
> you picked in the settings. For best results (i.e. for your Android keyboard
> to offer you all the possible unicode choices that your layout can produce),
> you should also use an Android keyboard that supports your language. The
> layout on your phone is not at all important, because all I need from the
> Android IME are unicode values, however, I must say that I find Hacker's
> keyboard most flexible.
>
> One caviat is that in order to be able to obtain the true unicode value from
> the IME, I've had to interpret ALT meta state as belonging to the KeyEvent
> rather than something that should be passed on to the VM. The reason for
> this is that on Android, some characters like the German "ß" appears as
> ALT+s to me, and that's the only way to properly capture it. In fact, if you
> type ALT+s manually, while using the German layout, you will get a "ß" on
> the remote side.
>
> Hence, the Hacker's keyboard ALT cannot be used as an ALT. Thankfully,
> though, there is a nice workaround. The on-screen ALT button is exempt from
> such considerations and works just fine.
>
> Once the project gains a larger user-base, I expect that interested people
> will be able to help me create their own keyboard layout map files. The
> final format will be documented and the documentation will be available in
> the source distribution.
>
> Everyone, thank you very much in advance for your input!
>
> Sincerely,
> iordan
>
>
>
>
> On Fri, Dec 6, 2013 at 11:47 AM, Nathanaël Blanchet 
> wrote:
>>
>> Le 06/12/2013 17:31, Nathanaël Blanchet a écrit :
>>
>> Hi, just tested it, it is an unexpected good idea!
>> My ovirt server is ssl only, so it was a bit complicated to get
>> /etc/pki/ovirt-engine/ca.pem.
>> I think it could be great to add a browser to get the ca into the
>> filesystem instead of searching it into the phone, virtual keyboard is not
>> convinient to type long inputs.
>> Then, opaque's keyboard regional layout gave me headache. It is default
>> qwerty but I need french layout, and no option to change it in the app is
>> available. So, I changed the android layout keyboard into qwerty, but at
>> this time while the keyboard is physically qwerty, I get a "A" for "Q", so
>> it is always inversed. Maybe I should change the spice server layout...
>> So the idea is good but it is unusable with non US layout.
>>
>> Something else important : I only managed to login with admin@local and no
>> external authentication (AD in my case) was possible since it is supported
>> into the regular webadmin.
>>
>> Le 06/12/2013 17:11, i iordanov a écrit :
>>
>> Hi guys,
>>
>> Just a clarification that Opaque is a VM console client, not an
>> infrastructure management client.
>>
>> Cheers!
>> iordan
>>
>>
>> On Thu, Dec 5, 2013 at 12:38 PM, i iordanov  wrote:
>>>
>>> Hello,
>>>
>>> We invite any interested oVirt/RHEV developers and administrators to
>>> beta-test Opaque, a new Android oVirt/RHEV client application.
>>>
>>> To opt in, please reply to this message with an email address associated
>>> with a Google Account, because joining the beta-test group is based on
>>> membership to a Google Plus community. If you don't want that email address
>>> posted to the mailing list, don't include it in your reply!
>>>
>>> Itamar or I will add you to the community and let you know that you can
>>> proceed to the following two steps:
>>>
>>> 1) Please visit this page here to accept the invitation:
>>> https://plus.google.com/communities/116099119712127782216
>>>
>>> 2) Once you've become a member of the Google+ g

Re: [Users] Source code unerstanding

2014-03-15 Thread plysan
2014-03-14 23:09 GMT+08:00 aditya mamidwar :

>
> Hey,
>
> is there a simpler way to know which code is responsible for which module
> of the engine.
>
If you import the code from eclipse, you can get a good overview of the
engine code by looking at project names.

> is there a documentation maintained. or how can identify the files which
> are important for me.
>
There are some good docs in the wiki if you do some research, but still
many places to be fulfilled.
I think a good starting point of reading the code is the many entry points
inside EJB such as Backend.java
You can search classes marked with @Singleton, @Startup and methods marked
with @PostConstruct, it acts like main functions in regular executable java
programs.

Hope it helps :)

>
>
> --
> -Aditya Mamidwar
>
> ___
> 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] otopi.conf

2014-03-15 Thread jacek burghardt
Is there example on how to create otopi.conf file
* see option *OTOPI_PYTHON [/usr/bin/python] i guess I could point it to
python2
I hope I can get disable the attempt at installing rpm packages by yum.
I dont believe Gentoo had patched  otopi to install its packages.
ts between attempted installs of ncurses-base-5.7-3.20090208.el6.x86_64 and
ncurses-base-5.7-3.20090208.el6.x86_64   file /usr/share/terminfo/d/dumb
conflicts between attempted installs of
ncurses-base-5.7-3.20090208.el6.x86_64 and
ncurses-base-5.7-3.20090208.el6.x86_64   file /usr/share/terminfo/l/linux
conflicts between attempted installs of
ncurses-base-5.7-3.20090208.el6.x86_64 and
ncurses-base-5.7-3.20090208.el6.x86_64   file /usr/share/terminfo/v/vt100
conflicts between attempted installs of
ncurses-base-5.7-3.20090208.el6.x86_64 and ncurses-base-5
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Reimporting storage domains after reinstalling ovirt

2014-03-15 Thread Boudewijn Ector
On 11-03-14 16:39, Liron Aravot wrote:
>
> - Original Message -
>> From: "Boudewijn Ector" 
>> To: "Jason Brooks" 
>> Cc: users@ovirt.org
>> Sent: Tuesday, March 11, 2014 1:32:00 AM
>> Subject: Re: [Users] Reimporting storage domains after reinstalling ovirt
>>
>>
>>> Some people have reported success creating an image of the desired
>>> size, then noting the name of this new image, and copying the old
>>> image into the place of the new one, with the new name. Something
>>> like that might work, but I don't have first-hand experience w/
>>> it.
>>>
>>> Jason
>> Hi Jason,
>>
>>
>> Due to lack of viable alternative, I've decided to go and try this
>> approach. I just had a look at my datafiles:
>>
>> - these are either 8gb (OS) or 250gb (LVM images)
>> - can't mount those directly in my host OS (tried because of the next
>> point)
>> - I don't know to what VM this image/VM belongs . They're all quite
>> the same (basic debian install), so determining it just by running
>> strings etc on those will not be easy
>> - I can't import the old VMs from the old storage. If I create new
>> images and dd the old information into those new images the metadata
>> will not be copied too.
>>
>> So the only option is not reusing the VM's  but creating completely
>> new ones and determining which disk images are required for these VMs.
>> Then creating the new image structure and dd'ing the corresponding
>> images from the old VMs into the new ones. In order to do so I need to
>> know what data belongs to what VM.
>> Is there a trick for doing this?
>>
>> I still do have the database from the old ovirt machine, this might
>> save me. Will have a look into that one tomorrow.
>>
>> Cheers,
>>
>> Boudewijn
> Hi Boudewijn,
> So we can proceed and recover your data i'd like to know -
> 1. can you use the db backup? will you lose any important data if you chose 
> to use it?
> 2, did you have snapshots for your vm?
>
> please answer so we can proceed with it, we can find methods for restoring 
> without having to perform images copy (and to restore with copying) - but 
> each way has it's implications.
> thanks,
> Liron.
>
Hi Liron,



Have you already been able to look at my reply on the list? It would be
great for me to be able to make some decent progress this weekend.

Cheers,

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


Re: [Users] Source code unerstanding

2014-03-15 Thread Greg Sheremeta
I don't know of any high-level code documentation for ovirt-engine, other than 
the Javadoc. But if you post your questions to engine-devel, we can help you. 

Greg 

- Original Message -


From: "aditya mamidwar"  
To: users@ovirt.org, engine-de...@ovirt.org 
Sent: Friday, March 14, 2014 11:09:49 AM 
Subject: [Users] Source code unerstanding 


Hey, 

is there a simpler way to know which code is responsible for which module of 
the engine. 
is there a documentation maintained. or how can identify the files which are 
important for me. 

-- 
-Aditya Mamidwar 

___ 
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] adding scripts

2014-03-15 Thread Greg Sheremeta
There's not one html file like that, since we use GWT [1]. However, if you 
search for *.ui.xml files, you'll find all the GWT UIBinder files. That's the 
place to start for simple UI tweaks. The application is partitioned into small 
components, so you'll have to do some digging. For example, each dialog has its 
own ui.xml file -- so if you want to tweak a specific dialog, you'll need to 
find the right file. Feel free to post questions about those to engine-devel 
and we can help you out. 

Greg 

[1] http://www.gwtproject.org/ 

- Original Message -

> From: "Aditya Mamidwar" 
> To: "Einav Cohen" , "Vojtech Szocs" 
> Cc: engine-de...@ovirt.org, users@ovirt.org
> Sent: Saturday, March 15, 2014 8:30:21 AM
> Subject: Re: [Users] adding scripts

> Hey thanks on the previous issue.
> Also is there a way i can access WebAdmin.Html to add custom buttons and make
> few tweaks for personal use?
> I just cant find that file after using git.

> Aditya Mamidwar

> From: Einav Cohen
> Sent: ‎14-‎03-‎2014 01:21
> To: aditya mamidwar ; Vojtech Szocs
> Cc: users@ovirt.org ; engine-de...@ovirt.org
> Subject: Re: [Users] adding scripts

> if you are trying to hook into UI-specific events, it sounds
> like you will need to write an oVirt UI Plugin [1] in order to
> do that. However, I believe that the oVirt UI Plugins
> infrastructure doesn't support hooking to events such as "tab
> x was selected" and/or "button b was clicked".
> It does allow you to add new (custom) tabs/sub-tabs/buttons of
> your own, and there is a chance that it allows you to hook
> into events such as 'row x was selected in the grid'.

> @Vojtech will know better. Vojtech?

> if you are trying to hook into engine events (e.g. you want to
> run a script every time a VM is started in oVirt, no matter if
> the user started it by clicking the 'run' button in the oVirt-
> engine webadmin, or invoked a REST API request, or an SDK
> command), then it will require some sort of an "engine-plugin"
> infrastructure that we don't have at the moment AFAIK.
> there is a chance that for some of the events you will be able
> to utilize the VDSM hooks (at the Host level) [2].

> 
> Thanks,
> Einav

> [1] http://www.ovirt.org/Features/UIPlugins

> [2] http://www.ovirt.org/VDSM-Hooks

> - Original Message -
> > From: "aditya mamidwar" 
> > To: users@ovirt.org, engine-de...@ovirt.org
> > Sent: Thursday, March 13, 2014 11:23:35 AM
> > Subject: [Users] adding scripts
> >
> >
> > I want to commit changes to the engine by adding some bash scripts.
> > the scripts should be invoked once a button or tab is selected in the
> > webadmin portal by the user.
> >
> > can someone guide on achieving this.
> >
> > --
> > -Aditya Mamidwar
> >
> > ___
> > 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] adding scripts

2014-03-15 Thread Aditya Mamidwar
Hey thanks on the previous issue.
Also is there a way i can access WebAdmin.Html to add custom buttons and make 
few tweaks for personal use?
I just cant find that file after using git.

Aditya Mamidwar

-Original Message-
From: "Einav Cohen" 
Sent: ‎14-‎03-‎2014 01:21
To: "aditya mamidwar" ; "Vojtech Szocs" 

Cc: "users@ovirt.org" ; "engine-de...@ovirt.org" 

Subject: Re: [Users] adding scripts

if you are trying to hook into UI-specific events, it sounds 
like you will need to write an oVirt UI Plugin [1] in order to 
do that. However, I believe that the oVirt UI Plugins 
infrastructure doesn't support hooking to events such as "tab 
x was selected" and/or "button b was clicked". 
It does allow you to add new (custom) tabs/sub-tabs/buttons of 
your own, and there is a chance that it allows you to hook 
into events such as 'row x was selected in the grid'. 

@Vojtech will know better. Vojtech?

if you are trying to hook into engine events (e.g. you want to 
run a script every time a VM is started in oVirt, no matter if 
the user started it by clicking the 'run' button in the oVirt-
engine webadmin, or invoked a REST API request, or an SDK 
command), then it will require some sort of an "engine-plugin" 
infrastructure that we don't have at the moment AFAIK. 
there is a chance that for some of the events you will be able 
to utilize the VDSM hooks (at the Host level) [2].


Thanks,
Einav

[1] http://www.ovirt.org/Features/UIPlugins

[2] http://www.ovirt.org/VDSM-Hooks


- Original Message -
> From: "aditya mamidwar" 
> To: users@ovirt.org, engine-de...@ovirt.org
> Sent: Thursday, March 13, 2014 11:23:35 AM
> Subject: [Users] adding scripts
> 
> 
> I want to commit changes to the engine by adding some bash scripts.
> the scripts should be invoked once a button or tab is selected in the
> webadmin portal by the user.
> 
> can someone guide on achieving this.
> 
> --
> -Aditya Mamidwar
> 
> ___
> 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] Post-Install Engine VM Changes Feasible?

2014-03-15 Thread Giuseppe Ragusa
Hi Joshua,

Date: Sat, 15 Mar 2014 02:32:59 -0400
From: j...@wrale.com
To: users@ovirt.org
Subject: [Users] Post-Install Engine VM Changes Feasible?

Hi,

I'm in the process of installing 3.4 RC(2?) on Fedora 19.  I'm using hosted 
engine, introspective GlusterFS+keepalived+NFS ala [1], across six nodes.

I have a layered networking topology ((V)LANs for public, internal, storage, 
compute and ipmi).  I am comfortable doing the bridging for each interface 
myself via /etc/sysconfig/network-scripts/ifcfg-*.  


Here's my desired topology: http://www.asciiflow.com/#Draw6325992559863447154

Here's my keepalived setup: 
https://gist.github.com/josh-at-knoesis/98618a16418101225726


I'm writing a lot of documentation of the many steps I'm taking.  I hope to 
eventually release a distributed introspective all-in-one (including 
distributed storage) guide.  


Looking at vm.conf.in, it looks like I'd by default end up with one interface 
on my engine, probably on my internal VLAN, as that's where I'd like the 
control traffic to flow.  I definitely could do NAT, but I'd be most happy to 
see the engine have a presence on all of the LANs, if for no other reason than 
because I want to send backups directly over the storage VLAN.  


I'll cut to it:  I believe I could successfully alter the vdsm template 
(vm.conf.in) to give me the extra interfaces I require.  It hit me, however, 
that I could just take the defaults for the initial install.  Later, I think 
I'll be able to come back with virsh and make my changes to the gracefully 
disabled VM.  Is this true? 


[1] http://www.andrewklau.com/ovirt-hosted-engine-with-3-4-0-nightly/

Thanks,
Joshua



I started from the same reference[1] and ended up "statically" modifying 
vm.conf.in before launching setup, like this:

cp -a /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in 
/usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in.orig
cat << EOM > /usr/share/ovirt-hosted-engine-setup/templates/vm.conf.in
vmId=@VM_UUID@
memSize=@MEM_SIZE@
display=@CONSOLE_TYPE@
devices={index:2,iface:ide,address:{ controller:0, target:0,unit:0, bus:1, 
type:drive},specParams:{},readonly:true,deviceId:@CDROM_UUID@,path:@CDROM@,device:cdrom,shared:false,type:disk@BOOT_CDROM@}
devices={index:0,iface:virtio,format:raw,poolID:@SP_UUID@,volumeID:@VOL_UUID@,imageID:@IMG_UUID@,specParams:{},readonly:false,domainID:@SD_UUID@,optional:false,deviceId:@IMG_UUID@,address:{bus:0x00,
 slot:0x06, domain:0x, type:pci, 
function:0x0},device:disk,shared:exclusive,propagateErrors:off,type:disk@BOOT_DISK@}
devices={device:scsi,model:virtio-scsi,type:controller}
devices={index:4,nicModel:pv,macAddr:@MAC_ADDR@,linkActive:true,network:@BRIDGE@,filter:vdsm-no-mac-spoofing,specParams:{},deviceId:@NIC_UUID@,address:{bus:0x00,
 slot:0x03, domain:0x, type:pci, 
function:0x0},device:bridge,type:interface@BOOT_PXE@}
devices={index:8,nicModel:pv,macAddr:02:16:3e:4f:c4:b0,linkActive:true,network:lan,filter:vdsm-no-mac-spoofing,specParams:{},address:{bus:0x00,
 slot:0x09, domain:0x, type:pci, 
function:0x0},device:bridge,type:interface@BOOT_PXE@}
devices={device:console,specParams:{},type:console,deviceId:@CONSOLE_UUID@,alias:console0}
vmName=@NAME@
spiceSecureChannels=smain,sdisplay,sinputs,scursor,splayback,srecord,ssmartcard,susbredir
smp=@VCPUS@
cpuType=@CPU_TYPE@
emulatedMachine=@EMULATED_MACHINE@
EOM

I simply added a second nic (with a fixed MAC address from the 
locally-administered pool, since I didn't know how to auto-generate one) and 
added an index for nics too (mimicking the the storage devices setup already 
present).

My network setup is much simpler than yours: ovirtmgmt bridge is on an isolated 
oVirt-management-only network without gateway, my actual LAN with gateway and 
Internet access (for package updates/installation) is connected to lan bridge 
and the SAN/migration LAN is a further (not bridged) 10 Gib/s isolated network 
for which I do not expect to need Engine/VMs reachability (so no third 
interface for Engine) since all actions should be performed from Engine but 
only through vdsm hosts (I use a "split-DNS" setup by means of carefully 
crafted hosts files on Engine and vdsm hosts)

I can confirm that the engine vm gets created as expected and that network 
connectivity works.

Unfortunately I cannot validate the whole design yet, since I'm still debugging 
HA-agent problems that prevent a reliable Engine/SD startup.

Hope it helps.

Greetings,
Giuseppe

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