Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Yaniv Dary
try to add:
# ./js-export.sh --users --output-dir 
-DmasterPropsSource=/var/lib/ovirt-engine-reports/build-conf


Yaniv

- Original Message -
> From: "Gianluca Cecchi" 
> To: "Yaniv Dary" 
> Cc: "Alon Bar-Lev" , "users" 
> Sent: Sunday, April 6, 2014 9:57:35 PM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 8:03 PM, Yaniv Dary  wrote:
> 
> > # cd /usr/share/jasperreports-server/buildomatic
> > # export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
> > # ./js-export.sh --users --output-dir < some folder >
> >
> > now edit password of the user you would like to change
> >
> > # ./js-import.sh --input-dir < same some folder >
> >
> 
> [sorry for the previous e-mail only sent to Yaniv]
> 
> Hello, I get this during export:
> 
> [root@tekkaman ~]# cd /usr/share/jasperreports-server/buildomatic
> [root@tekkaman buildomatic]# export
> masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
> [root@tekkaman buildomatic]# mkdir /tmp/js_export
> [root@tekkaman buildomatic]# ./js-export.sh --users --output-dir
> /tmp/js_export
> Using CE setup
> First resource
> path:/usr/share/jasperreports-server/buildomatic/conf_source/ieCe/applicationContext-cascade.xml
> Started to load resources
> Resource name: applicationContext.xml
> Resource name: applicationContext-cascade.xml
> Resource name: applicationContext-data-snapshots.xml
> Resource name: applicationContext-events-logging.xml
> Resource name: applicationContext-export-config.xml
> Resource name: applicationContext-export-import.xml
> Resource name: applicationContext-logging.xml
> Resource name: applicationContext-olap-connection.xml
> Resource name: applicationContext-report-scheduling.xml
> Resource name: applicationContext-search.xml
> Resource name: applicationContext-security.xml
> Resource name: applicationContext-themes.xml
> Resource name: applicationContext-virtual-data-source.xml
> org.springframework.beans.factory.BeanInitializationException: Could
> not load properties; nested exception is
> java.io.FileNotFoundException: class path resource
> [js.jdbc.properties] cannot be opened because it does not exist
> org.springframework.beans.factory.BeanInitializationException: Could
> not load properties; nested exception is
> java.io.FileNotFoundException: class path resource
> [js.jdbc.properties] cannot be opened because it does not exist
> at
> org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
> at
> org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656)
> at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
> at
> com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129)
> at
> com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82)
> at
> com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43)
> Caused by: java.io.FileNotFoundException: class path resource
> [js.jdbc.properties] cannot be opened because it does not exist
> at
> org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
> at
> org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
> at
> org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
> at
> org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
> ... 6 more
> [root@tekkaman buildomatic]#
> 
> do I have to install anything that normally is installed only on
> developer stations?
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] ovirt-guest-agent on debian?

2014-04-06 Thread Vinzenz Feenstra

On 04/07/2014 12:01 AM, Boudewijn Ector wrote:

On 01-04-14 09:48, René Koch wrote:

On 04/01/2014 09:18 AM, Sven Kieske wrote:

Hi,

well I can use the guest agent for ubuntu 12.04 (precise)
really well on a debian 7 64 bit.

I can confirm this - precise package works fine on Debian.


Hi Rene,Sven, ea,


How did you get it to actually work? I got the deb from
(http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu/pool/main/o/ovirt-guest-agent/ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb)
, since I'm not willing to add ubuntu sources to my apt-configuration
since that might make me run into dependency troubles later on.
They used, AFAIK, the previous one which did not depend on the 
qemu-guest-agent


After downloading and dpkg -i'ing it, I ran an apt-get -f install in
order to get the dependencies. Then I reran dpkg:


root@host:~# dpkg -i
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb
(Reading database ... 42961 files and directories currently installed.)
Preparing to unpack
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: warning: subprocess old pre-removal script returned error exit
status 100
dpkg: trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error processing archive
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb (--install):
  subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error while cleaning up:
  subprocess installed post-installation script returned error exit
status 100
Errors were encountered while processing:
  ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb

There's a configfile regarding initscripts in /etc/init,  but no such
thing on the sste, (I just had a look at the contents of the ubuntu
package too).
How did you resolve this? Creating my own initscript isn't that hard but
it sucks when it comes to having a maintainable setup...


Cheers,

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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [Users] ovirt-guest-agent on debian?

2014-04-06 Thread Vinzenz Feenstra

On 04/05/2014 12:28 PM, Sven Kieske wrote:

See also my feature request for adding
Debian 7 to the list of Operating Systems
when creating a new VM (no progress so far):

https://bugzilla.redhat.com/show_bug.cgi?id=1073453

Am 04.04.2014 17:25, schrieb Itamar Heim:

On 04/01/2014 10:48 AM, René Koch wrote:

On 04/01/2014 09:18 AM, Sven Kieske wrote:

Hi,

well I can use the guest agent for ubuntu 12.04 (precise)
really well on a debian 7 64 bit.

I can confirm this - precise package works fine on Debian.

so can someone please close the gap of building/publishing for Debian?

This is planned for 3.5 together with the SLES one




I didn't encounter any issues so far.

you just need to adjust the apt.sources.list

HTH


Am 31.03.2014 23:05, schrieb Boudewijn Ector:

Hi Guys


I was wondering wether anybody has the guest agent already working on
debian guests. In m previous install I had a working setup but
currently
I only see Ubuntu packages.

When using these ubuntu packages I really run quite fast into trouble
due to the highly integrated nature of upstart in ubuntu.
Has anybody got a suggestion for a debian package?

Cheers,

Boudewijn





--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [Users] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Vinzenz Feenstra

On 04/06/2014 05:43 PM, Markus Stockhausen wrote:

Von: Itamar Heim [ih...@redhat.com]
Gesendet: Sonntag, 6. April 2014 15:23
An: Markus Stockhausen; ovirt-users
Betreff: Re: [Users] Pseudo Guest Agent for unsupported VM distro

On 04/06/2014 12:19 PM, Markus Stockhausen wrote:

Hello,

from my understanding it should be possible to provide an absolute
minimalistic guest agent functionality by writing a 5-liner that fills some
basic info into the virto serial device within the guest VM. At least from
what I can read in the source at github or the docs:

https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf

Currently I'm interested to provide the most simple data: IP address
& FQDN for our SLES 11 guests (no guest agent yet). I tried to understand
what I must write into the serial device but there is no change in the VM
overview panel. Different combinations did not provide any success.

Maybe someone can send the syntax for the two required echo commands.

what's the gap in SLES from the OpenSUSE one that does work iiuc?

My problem is, that generating a working agent on SLES 11 is more than just a
make command. I drove into several errors (especially path specific)
Yes, this is one of the things which had to be fixed for SLES. If it 
would be only running a make command on SLES we would have already 
provided the guest agent.



  so I asked
about its state in february and the negative answer was:  "... SLES was attempted 
...".
More see here:

http://lists.ovirt.org/pipermail/users/2014-February/021503.html

So I reduced my requirements and searched a way to populate the columns
IP and hostname in OVirt. This should be not more than doing an "echo ..."
into the serial port.

Markus


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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [Users] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Vinzenz Feenstra

On 04/06/2014 08:46 PM, Markus Stockhausen wrote:

Von: Markus Stockhausen
Gesendet: Sonntag, 6. April 2014 11:19
An: ovirt-users
Betreff: Pseudo Guest Agent for unsupported VM distro

Hello,

from my understanding it should be possible to provide an absolute
minimalistic guest agent functionality by writing a 5-liner that fills some
basic info into the virto serial device within the guest VM. At least from
what I can read in the source at github or the docs:

https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf

Currently I'm interested to provide the most simple data: IP address
& FQDN for our SLES 11 guests (no guest agent yet). I tried to understand
what I must write into the serial device but there is no change in the VM
overview panel. Different combinations did not provide any success.

Maybe someone can send the syntax for the two required echo commands.

For populating those two columns just use an init script inside the VM that
echoes the following data into the serial console. A sample for a host with two
IPs and name host.test.com:

echo  '{"__name__": "network-interfaces", "interfaces": [{"name": "en1", "inet": "1.2.3.4"}, {"name": 
"en2", "inet": "9.10.11.12"}]}' > /dev/virtio-ports/com.redhat.rhevm.vdsm
echo  '{"__name__": "fqdn", "fqdn": "host.test.com"}' > 
/dev/virtio-ports/com.redhat.rhevm.vdsm

Yes, this indeed would work.


Markus





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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [Users] inconsistent sign-on, inacurate cpu % -- new to ovirt, new installation, new vm, first vm

2014-04-06 Thread Tomas Jelinek


- Original Message -
> From: "Jeff Clay" 
> To: users@ovirt.org
> Sent: Saturday, April 5, 2014 6:30:11 AM
> Subject: [Users] inconsistent sign-on, inacurate cpu % -- new to ovirt, new 
> installation, new vm, first vm
> 
> I've noticed something inconsistent. When viewing the the console using
> virtviewer on windows, I open the .vv file and sometimes the display
> connection prompts me for a password, no user name, only password.
> Regardless of what password I enter, it isn't accepted. Sometimes, I don't
> get prompted for a password at all. Keep in mind, this is the only VM on
> this machine, it's not like I'm having different issues on different
> machines. Also, if it's relevant, I have SSO disabled for this VM.

Is it possible that you are opening an old .vv file with the password already 
expired?
Because it lasts only for about 120s after it is generated. If yes, please try 
to open the
.vv file itself have a look if the password field is properly filled in. If 
yes, please try to pass it to the virtviewer (when asks) directly.

> 
> Another issue, this vm has Windows 7 32-bit installed, configured for 2gb
> RAM, 1 socket 2 cores, yet when doing windows updates, the system resources
> shows the processor at constantly peaking to 100% on both graphs (both
> cores); yet, the CPU utilization in the ovirt webui doesn't go above 50%,
> almost like 50% = 100%.

This is really strange. May be an UI bug or some bug in reporting. Could you 
please make a REST call to get the statistics for that VM?
Something like: https://hostIP:port/ovirt-engine/api/vms//statistics

> 
> Any suggestions?
> 
> Thanks in advance. I'm sure I'm going to be bugging everyone with a lot of
> questions as I dig further into this.

welcome in list :)

> 
> ___
> 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] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Vinzenz Feenstra

On 04/06/2014 03:23 PM, Itamar Heim wrote:

On 04/06/2014 12:19 PM, Markus Stockhausen wrote:

Hello,

from my understanding it should be possible to provide an absolute
minimalistic guest agent functionality by writing a 5-liner that 
fills some
basic info into the virto serial device within the guest VM. At least 
from

what I can read in the source at github or the docs:

https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf

Currently I'm interested to provide the most simple data: IP address
& FQDN for our SLES 11 guests (no guest agent yet). I tried to 
understand
what I must write into the serial device but there is no change in 
the VM

overview panel. Different combinations did not provide any success.

Maybe someone can send the syntax for the two required echo commands.


what's the gap in SLES from the OpenSUSE one that does work iiuc?
The gap I am attempting to close at the moment is the commands which 
need elevated rights, like shutdown, reboot etc
On other systems there is polkit or usermode (aka consolehelper) however 
in the SLES case I would have to use sudo.
This is all prepared, however now I have to apply some finishing 
touches. I hope to get the package on my build.opensuse.org repository 
within this week.


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



--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [Users] set domain credentials to be used during sysprep joining an AD domain.

2014-04-06 Thread Roy Golan

On 04/06/2014 08:57 PM, Jeff Clay wrote:
i'm having trouble finding how set the domain user credentials used 
when joing a computer to an AD domain using sysprep. i've found where 
ovirt stores the windows product keys, and the settings in 
engine-config, but i don't see anything about the domain user 
credentials. Do I need to replace the domain user variables in 
sysprep.w7 and statically set them to what I need?



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

* first configure you domain if not already done

 $ engine-manage-domains add --domain=DOMAIN --provider=activeDirectory 
--user=USER  --add-permissions


* make sure your vm Os Type is set to  Windows 7 (or whatever type your 
installing)  - Edit the Vm and see the drop-down at the first dialog screen
* then click Run-once (right click a vm from VMs tab) and go to Initial 
Run tab in the dialog.

* in the boot options make sure sysprep is set

Thanks,
Roy



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


Re: [Users] Cannot Ping CARP/Spoofed address

2014-04-06 Thread Matt .
HI,

I managed it by using the commands on that hook page. It seems that you
enable it for a whole VM indeed.

Nice!

Thanks for the clarification!

Cheers,

Matt


2014-04-07 4:07 GMT+02:00 Matt . :

> Hi Dan,
>
> Thank you for your reply!
>
> I have installed that hook and removed it again because I was not sure.
>
> Following the mailinglist it looks like it's globally doable, so it's
> actually not ?
>
> I understand that but what would be the right steps than ? For an example
> when you have a vm with 4 nics ?
>
> Cheers,
>
> Matt
>
>
> 2014-04-07 2:00 GMT+02:00 Dan Kenigsberg :
>
>> On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
>>
>> > Hi Guys,
>> >
>> > I'm trying to use Mac spoofing for a Carp setup which is not working out
>> > well.
>> >
>> > Following here:
>> >
>> > https://forum.pfsense.org/index.php?topic=68137.0
>> >
>> > and here
>> >
>> > http://lists.ovirt.org/pipermail/users/2013-October/017217.html
>> >
>> > This should be working by:
>> >
>> > engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
>> >
>> > (The clusters are 3.3 compatible)
>> >
>> > In some strange way this is not working in any way.
>> >
>> > How can we solve this, as I'm out of options.
>>
>> Could you attach vdsm.log from vmCraete of the relevant VM down to the
>> domxml passed to libvirt?
>>
>> Please note that it is possible to enable mac spoofing not in the global
>> system level, but rather on a specific vNIC of a specific VM.
>>
>> For this, you'd need to install vdsm-hook-macspoof, device a vNIC
>> profile with ifacemacspoof=True custom property, and attach it to your
>> specific VM.
>>
>> Dan.
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-06 Thread Paul Jansen






- Original Message -
> From: "Paul Jansen" 
> To: "users" 
> Sent: Wednesday, April 2, 2014 11:38:29 AM
> Subject: [Users] node spin including qemu-kvm-rhev?
> 
> I understand that there are ongoing discussions with the Centos people
> regarding a suitable home for recompiled qemu-kvm packages.
> Given that the ovirt node is our own spin, is there any reason why that
> couldn't include the recompiled qemu-kvm packages that will then allow us to
> use live snapshots and do live migrations? Itamar recently mentioned that we
> already build these via a jenkins task.
> 
> Nodes built on top of a Centos install will still be an issue but I think its
> reasonable that the ovirt-node iso could include these custom packages.
> This way we don't have to potentially wait until 3.4.1 or 3.5 to get the live
> snapshot/migration features. The caveat would be that these features would
> only be supported if the nodes were all ovirt node iso based.
> 
> What are people's thoughts?
> 
> 

Sounds reasonable as long as you understand mix and match will become an issue.
The questions is how do we differentiate between the nodes to make sure no one
mixes them by mistake?


My mail client might mangle the bottom-posting here, so we'll see how it goes.
I saw a post from Fabian that he had re-enabled jenkins builds of the node 
image based on Fedora 19/20 (but not yet including the VDSM plugin).  
Presumably the main goal of this is to ensure that things in node land are OK 
for an upcoming spin based on EL7?
If ovirt does go back to having Fedora and EL based node images in the short 
term it would mean that live migration will work on the Fedora images.
If it was also decided to allow the EL based node image to include the 
recompiled qemu-kvm-rhev package the Ovirt release notes could then say that 
when using an ovirt node image live migration is supported, as is when a fedora 
install has the ovirt hypervisor packages installed.
It would only be that an EL based system - built up to then also include the 
ovirt hypervisor packages - that live migration would not be supported - at 
this stage.
This can change when the details are further worked out with the Centos people 
about how the updated qemu-kvm packages will be hosted and made available.
In the meantime, people that want to set things up so that live migration is 
there can do so.

Once live migration is in place I think it would be interesting to try and find 
out from people interested (or already testing ovirt) that have VMware 
backgrounds/experience what they think is the the largest outstanding issue 
feature wise when comparing ovirt to Vcenter.  What would stop them from 
migrating from vcenter to ovirt?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot Ping CARP/Spoofed address

2014-04-06 Thread Matt .
Hi Dan,

Thank you for your reply!

I have installed that hook and removed it again because I was not sure.

Following the mailinglist it looks like it's globally doable, so it's
actually not ?

I understand that but what would be the right steps than ? For an example
when you have a vm with 4 nics ?

Cheers,

Matt


2014-04-07 2:00 GMT+02:00 Dan Kenigsberg :

> On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
> > Hi Guys,
> >
> > I'm trying to use Mac spoofing for a Carp setup which is not working out
> > well.
> >
> > Following here:
> >
> > https://forum.pfsense.org/index.php?topic=68137.0
> >
> > and here
> >
> > http://lists.ovirt.org/pipermail/users/2013-October/017217.html
> >
> > This should be working by:
> >
> > engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
> >
> > (The clusters are 3.3 compatible)
> >
> > In some strange way this is not working in any way.
> >
> > How can we solve this, as I'm out of options.
>
> Could you attach vdsm.log from vmCraete of the relevant VM down to the
> domxml passed to libvirt?
>
> Please note that it is possible to enable mac spoofing not in the global
> system level, but rather on a specific vNIC of a specific VM.
>
> For this, you'd need to install vdsm-hook-macspoof, device a vNIC
> profile with ifacemacspoof=True custom property, and attach it to your
> specific VM.
>
> Dan.
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Cannot Ping CARP/Spoofed address

2014-04-06 Thread Matt .
Hi Dan,

Thank you for your reply!

I have installed that hook and removed it again because I was not sure.

Following the mailinglist it looks like it's globally doable, so it's
actually not ?

I understand that but what would be the right steps than ? For an example
when you have a vm with 4 nics ?

Cheers,

Matt


2014-04-07 3:12 GMT+02:00 Matt . :

> Hi Dan,
>
> Thank you for your reply!
>
> I have installed that hook and removed it again because I was not sure.
>
> Following the mailinglist it looks like it's globally doable, so it's
> actually not ?
>
> I understand that but what would be the right steps than ? For an example
> when you have a vm with 4 nics ?
>
> Cheers,
>
> Matt
>
>
> 2014-04-07 2:00 GMT+02:00 Dan Kenigsberg :
>
> On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
>> > Hi Guys,
>> >
>> > I'm trying to use Mac spoofing for a Carp setup which is not working out
>> > well.
>> >
>> > Following here:
>> >
>> > https://forum.pfsense.org/index.php?topic=68137.0
>> >
>> > and here
>> >
>> > http://lists.ovirt.org/pipermail/users/2013-October/017217.html
>> >
>> > This should be working by:
>> >
>> > engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
>> >
>> > (The clusters are 3.3 compatible)
>> >
>> > In some strange way this is not working in any way.
>> >
>> > How can we solve this, as I'm out of options.
>>
>> Could you attach vdsm.log from vmCraete of the relevant VM down to the
>> domxml passed to libvirt?
>>
>> Please note that it is possible to enable mac spoofing not in the global
>> system level, but rather on a specific vNIC of a specific VM.
>>
>> For this, you'd need to install vdsm-hook-macspoof, device a vNIC
>> profile with ifacemacspoof=True custom property, and attach it to your
>> specific VM.
>>
>> Dan.
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to log into user portal with user account

2014-04-06 Thread Jeff Clay
[root@usarpaovrtengine01 ~]# psql select username, group_ids from users;
psql: warning: extra command-line argument "group_ids" ignored
psql: warning: extra command-line argument "from" ignored
psql: warning: extra command-line argument "users" ignored
psql: FATAL:  Ident authentication failed for user "username,"
[root@usarpaovrtengine01 ~]#

I can log into the admin portal fine with my admin users. I can log into
the user portal fine with the admin users. I can not log into the user
portal with a regular user account.

Here's the engine.log for when I try to log in to user portal with that
user account:

2014-04-06 20:51:59,208 WARN  [org.ovirt.engine.core.bll.LoginUserCommand]
(ajp--127.0.0.1-8702-7) CanDoAction of action LoginUser failed.
Reasons:USER_NOT_AUTHORIZED_TO_PERFORM_ACTION


The user account "ovirt" (which I've added to my AD) is what I'm trying to
log in with. That user account is not specifically showing up in the admin
portal user list; however, the group Domain\Users does show up. The 'ovirt'
user is a member of Domain\Users.


On Sun, Apr 6, 2014 at 8:38 PM, Yair Zaslavsky  wrote:

>
>
> - Original Message -
> > From: "Jeff Clay" 
> > To: "Yair Zaslavsky" , users@ovirt.org
> > Sent: Monday, April 7, 2014 4:28:09 AM
> > Subject: Re: [Users] Unable to log into user portal with user account
> >
> > I added the domain using engine-manage-domains and then I went into the
> > engine admin portal and added the groups I mentioned and assigned those
> > groups to the UserRole for ovirt. I'm not familiar with psql at all,
> every
> > iteration of running the queries you requested has failed.
>
> Ok, after you fail to login to userportal, can you login to the admin
> portal, and check for the user you tried to login with what are the
> permissions he has?
>
> Thanks,
> Yair
>
> >
> >
> > On Sun, Apr 6, 2014 at 7:27 PM, Yair Zaslavsky 
> wrote:
> >
> > > Hi,
> > > 1. When you log in to to the admin portal, and check the permissions
> the
> > > user have, does it have the UserRole?
> > > 2. Can you please provide us the following SQL queries (using psql)
> > >
> > > select user_name, groupIds from users;
>
> Should be select username, group_ids from users;  - sorry, my bad.
>
> > >
> > > select id,name from ad_groups;
> > >
> > >
> > > 3. In addition - have you manually added your user to oVirt before the
> > > login attempt, or did you just add the mentioned group + gave it
> > > permissions?
> > >
> > > Thanks,
> > > Yair
> > >
> > >
> > >
> > > - Original Message -
> > > > From: "Jeff Clay" 
> > > > To: users@ovirt.org
> > > > Sent: Monday, April 7, 2014 3:01:55 AM
> > > > Subject: [Users] Unable to log into user portal with user account
> > > >
> > > > I have attached an AD domain. I can log in to the admin and user
> portals
> > > > with the credentials used to add the domain. I made a new user on
> the AD
> > > > for testing. I have added BuiltIn\Users and Domain\Users to the
> UserRole
> > > in
> > > > Ovirt. When I try to log in to the UserPortal with a regular user
> > > account I
> > > > get the error that the user isn't authorized to perform the action.
> > > >
> > > > ___
> > > > Users mailing list
> > > > Users@ovirt.org
> > > > http://lists.ovirt.org/mailman/listinfo/users
> > > >
> > >
> >
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to log into user portal with user account

2014-04-06 Thread Yair Zaslavsky


- Original Message -
> From: "Jeff Clay" 
> To: "Yair Zaslavsky" , users@ovirt.org
> Sent: Monday, April 7, 2014 4:28:09 AM
> Subject: Re: [Users] Unable to log into user portal with user account
> 
> I added the domain using engine-manage-domains and then I went into the
> engine admin portal and added the groups I mentioned and assigned those
> groups to the UserRole for ovirt. I'm not familiar with psql at all, every
> iteration of running the queries you requested has failed.

Ok, after you fail to login to userportal, can you login to the admin portal, 
and check for the user you tried to login with what are the permissions he has?

Thanks,
Yair

> 
> 
> On Sun, Apr 6, 2014 at 7:27 PM, Yair Zaslavsky  wrote:
> 
> > Hi,
> > 1. When you log in to to the admin portal, and check the permissions the
> > user have, does it have the UserRole?
> > 2. Can you please provide us the following SQL queries (using psql)
> >
> > select user_name, groupIds from users;

Should be select username, group_ids from users;  - sorry, my bad.

> >
> > select id,name from ad_groups;
> >
> >
> > 3. In addition - have you manually added your user to oVirt before the
> > login attempt, or did you just add the mentioned group + gave it
> > permissions?
> >
> > Thanks,
> > Yair
> >
> >
> >
> > - Original Message -
> > > From: "Jeff Clay" 
> > > To: users@ovirt.org
> > > Sent: Monday, April 7, 2014 3:01:55 AM
> > > Subject: [Users] Unable to log into user portal with user account
> > >
> > > I have attached an AD domain. I can log in to the admin and user portals
> > > with the credentials used to add the domain. I made a new user on the AD
> > > for testing. I have added BuiltIn\Users and Domain\Users to the UserRole
> > in
> > > Ovirt. When I try to log in to the UserPortal with a regular user
> > account I
> > > get the error that the user isn't authorized to perform the action.
> > >
> > > ___
> > > Users mailing list
> > > Users@ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/users
> > >
> >
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Unable to log into user portal with user account

2014-04-06 Thread Jeff Clay
I added the domain using engine-manage-domains and then I went into the
engine admin portal and added the groups I mentioned and assigned those
groups to the UserRole for ovirt. I'm not familiar with psql at all, every
iteration of running the queries you requested has failed.


On Sun, Apr 6, 2014 at 7:27 PM, Yair Zaslavsky  wrote:

> Hi,
> 1. When you log in to to the admin portal, and check the permissions the
> user have, does it have the UserRole?
> 2. Can you please provide us the following SQL queries (using psql)
>
> select user_name, groupIds from users;
>
> select id,name from ad_groups;
>
>
> 3. In addition - have you manually added your user to oVirt before the
> login attempt, or did you just add the mentioned group + gave it
> permissions?
>
> Thanks,
> Yair
>
>
>
> - Original Message -
> > From: "Jeff Clay" 
> > To: users@ovirt.org
> > Sent: Monday, April 7, 2014 3:01:55 AM
> > Subject: [Users] Unable to log into user portal with user account
> >
> > I have attached an AD domain. I can log in to the admin and user portals
> > with the credentials used to add the domain. I made a new user on the AD
> > for testing. I have added BuiltIn\Users and Domain\Users to the UserRole
> in
> > Ovirt. When I try to log in to the UserPortal with a regular user
> account I
> > get the error that the user isn't authorized to perform the action.
> >
> > ___
> > 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 Ping CARP/Spoofed address

2014-04-06 Thread Dan Kenigsberg
On Mon, Apr 07, 2014 at 01:36:02AM +0200, Matt . wrote:
> Hi Guys,
> 
> I'm trying to use Mac spoofing for a Carp setup which is not working out
> well.
> 
> Following here:
> 
> https://forum.pfsense.org/index.php?topic=68137.0
> 
> and here
> 
> http://lists.ovirt.org/pipermail/users/2013-October/017217.html
> 
> This should be working by:
> 
> engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3
> 
> (The clusters are 3.3 compatible)
> 
> In some strange way this is not working in any way.
> 
> How can we solve this, as I'm out of options.

Could you attach vdsm.log from vmCraete of the relevant VM down to the
domxml passed to libvirt?

Please note that it is possible to enable mac spoofing not in the global
system level, but rather on a specific vNIC of a specific VM.

For this, you'd need to install vdsm-hook-macspoof, device a vNIC
profile with ifacemacspoof=True custom property, and attach it to your
specific VM.

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


Re: [Users] Unable to log into user portal with user account

2014-04-06 Thread Yair Zaslavsky
Hi,
1. When you log in to to the admin portal, and check the permissions the user 
have, does it have the UserRole?
2. Can you please provide us the following SQL queries (using psql)

select user_name, groupIds from users;

select id,name from ad_groups;


3. In addition - have you manually added your user to oVirt before the login 
attempt, or did you just add the mentioned group + gave it permissions?

Thanks,
Yair



- Original Message -
> From: "Jeff Clay" 
> To: users@ovirt.org
> Sent: Monday, April 7, 2014 3:01:55 AM
> Subject: [Users] Unable to log into user portal with user account
> 
> I have attached an AD domain. I can log in to the admin and user portals
> with the credentials used to add the domain. I made a new user on the AD
> for testing. I have added BuiltIn\Users and Domain\Users to the UserRole in
> Ovirt. When I try to log in to the UserPortal with a regular user account I
> get the error that the user isn't authorized to perform the action.
> 
> ___
> 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] Unable to log into user portal with user account

2014-04-06 Thread Jeff Clay
I have attached an AD domain. I can log in to the admin and user portals
with the credentials used to add the domain. I made a new user on the AD
for testing. I have added BuiltIn\Users and Domain\Users to the UserRole in
Ovirt. When I try to log in to the UserPortal with a regular user account I
get the error that the user isn't authorized to perform the action.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Cannot Ping CARP/Spoofed address

2014-04-06 Thread Matt .
Hi Guys,

I'm trying to use Mac spoofing for a Carp setup which is not working out
well.

Following here:

https://forum.pfsense.org/index.php?topic=68137.0

and here

http://lists.ovirt.org/pipermail/users/2013-October/017217.html

This should be working by:

engine-config -s EnableMACAntiSpoofingFilterRules=false --cver=3.3

(The clusters are 3.3 compatible)

In some strange way this is not working in any way.

How can we solve this, as I'm out of options.

Thanks!

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


Re: [Users] Network custom properties

2014-04-06 Thread Dan Kenigsberg
On Sun, Apr 06, 2014 at 11:33:29AM +0300, Lior Vernia wrote:
> Hello all,
> 
> Introducing the oVirt 3.5 feature of network custom properties:
> http://www.ovirt.org/Features/Network_Custom_Properties
> 
> Essentially, this feature aims to solve two RFEs, that request the
> ability to set bridge and ethtool options on host interfaces from the
> GUI/REST:
> https://bugzilla.redhat.com/show_bug.cgi?id=1080984
> https://bugzilla.redhat.com/show_bug.cgi?id=1080987
> 
> It will do so by adding custom properties (key:value pairs) to networks
> assigned to host interfaces, which can in turn be acted upon via hooks
> when e.g. a Setup Networks command is triggered.
> 
> Two predefined keys will include bridge_opts and ethtool_opts, but any
> arbitrary custom property could be supplied as well.
> 
> Please take a look at the detailed feature page and let me know if you
> have any comments.

Thanks for taking this feature! I think that it's very important to open
up our network configuration to all sorts of things that users want and
we have not even thought about.

I did not read all the page, but I'm worried about
http://www.ovirt.org/Features/Network_Custom_Properties#Vdsm
The network-specific custom properties should be specific to a network,
not to a setupNetwork command. They cannot be part of
@SetupNetworkOptions, as two different network being set up by a single
command may have different custom properties.

The following example dictionary adds to the confusion with what seems
to be a typo (bootproto is certainly not an option of 'bonding').

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


Re: [Users] ovirt-guest-agent on debian?

2014-04-06 Thread Boudewijn Ector
On 01-04-14 09:48, René Koch wrote:
> On 04/01/2014 09:18 AM, Sven Kieske wrote:
>> Hi,
>>
>> well I can use the guest agent for ubuntu 12.04 (precise)
>> really well on a debian 7 64 bit.
>
> I can confirm this - precise package works fine on Debian.
>
Hi Rene,Sven, ea,


How did you get it to actually work? I got the deb from
(http://ppa.launchpad.net/zhshzhou/vdsm-ubuntu/ubuntu/pool/main/o/ovirt-guest-agent/ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb)
, since I'm not willing to add ubuntu sources to my apt-configuration
since that might make me run into dependency troubles later on.

After downloading and dpkg -i'ing it, I ran an apt-get -f install in
order to get the dependencies. Then I reran dpkg:


root@host:~# dpkg -i
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb
(Reading database ... 42961 files and directories currently installed.)
Preparing to unpack
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: warning: subprocess old pre-removal script returned error exit
status 100
dpkg: trying script from the new package instead ...
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error processing archive
ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb (--install):
 subprocess new pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/ovirt-guest-agent not found.
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit
status 100
Errors were encountered while processing:
 ovirt-guest-agent_1.0.9.20140216.git5168c4-1ppa1_all.deb

There's a configfile regarding initscripts in /etc/init,  but no such
thing on the sste, (I just had a look at the contents of the ubuntu
package too).
How did you resolve this? Creating my own initscript isn't that hard but
it sucks when it comes to having a maintainable setup...


Cheers,

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


[Users] how do you connect to a host's serial console

2014-04-06 Thread Jeremiah Jahn
I just can't seem to figure this out.  I've enabled 'VirtIO Console
Device' yet I can't seem to find anyplace that will let me get there.
 If I go to virsh on the host and try ttyconsoe that doesn't  work
either.  thanks for any help.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Gianluca Cecchi
On Sun, Apr 6, 2014 at 8:03 PM, Yaniv Dary  wrote:

> # cd /usr/share/jasperreports-server/buildomatic
> # export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
> # ./js-export.sh --users --output-dir < some folder >
>
> now edit password of the user you would like to change
>
> # ./js-import.sh --input-dir < same some folder >
>

[sorry for the previous e-mail only sent to Yaniv]

Hello, I get this during export:

[root@tekkaman ~]# cd /usr/share/jasperreports-server/buildomatic
[root@tekkaman buildomatic]# export
masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
[root@tekkaman buildomatic]# mkdir /tmp/js_export
[root@tekkaman buildomatic]# ./js-export.sh --users --output-dir /tmp/js_export
Using CE setup
First resource 
path:/usr/share/jasperreports-server/buildomatic/conf_source/ieCe/applicationContext-cascade.xml
Started to load resources
Resource name: applicationContext.xml
Resource name: applicationContext-cascade.xml
Resource name: applicationContext-data-snapshots.xml
Resource name: applicationContext-events-logging.xml
Resource name: applicationContext-export-config.xml
Resource name: applicationContext-export-import.xml
Resource name: applicationContext-logging.xml
Resource name: applicationContext-olap-connection.xml
Resource name: applicationContext-report-scheduling.xml
Resource name: applicationContext-search.xml
Resource name: applicationContext-security.xml
Resource name: applicationContext-themes.xml
Resource name: applicationContext-virtual-data-source.xml
org.springframework.beans.factory.BeanInitializationException: Could
not load properties; nested exception is
java.io.FileNotFoundException: class path resource
[js.jdbc.properties] cannot be opened because it does not exist
org.springframework.beans.factory.BeanInitializationException: Could
not load properties; nested exception is
java.io.FileNotFoundException: class path resource
[js.jdbc.properties] cannot be opened because it does not exist
at 
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:87)
at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681)
at 
org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:656)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:446)
at 
com.jaspersoft.jasperserver.export.BaseExportImportCommand.createSpringContext(BaseExportImportCommand.java:129)
at 
com.jaspersoft.jasperserver.export.BaseExportImportCommand.process(BaseExportImportCommand.java:82)
at com.jaspersoft.jasperserver.export.ExportCommand.main(ExportCommand.java:43)
Caused by: java.io.FileNotFoundException: class path resource
[js.jdbc.properties] cannot be opened because it does not exist
at 
org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:158)
at 
org.springframework.core.io.support.PropertiesLoaderSupport.loadProperties(PropertiesLoaderSupport.java:181)
at 
org.springframework.core.io.support.PropertiesLoaderSupport.mergeProperties(PropertiesLoaderSupport.java:161)
at 
org.springframework.beans.factory.config.PropertyResourceConfigurer.postProcessBeanFactory(PropertyResourceConfigurer.java:78)
... 6 more
[root@tekkaman buildomatic]#

do I have to install anything that normally is installed only on
developer stations?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Markus Stockhausen
> Von: Markus Stockhausen
> Gesendet: Sonntag, 6. April 2014 11:19
> An: ovirt-users
> Betreff: Pseudo Guest Agent for unsupported VM distro
> 
> Hello,
> 
> from my understanding it should be possible to provide an absolute
> minimalistic guest agent functionality by writing a 5-liner that fills some 
> basic info into the virto serial device within the guest VM. At least from 
> what I can read in the source at github or the docs:
> 
> https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
> http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf
> 
> Currently I'm interested to provide the most simple data: IP address 
> & FQDN for our SLES 11 guests (no guest agent yet). I tried to understand 
> what I must write into the serial device but there is no change in the VM 
> overview panel. Different combinations did not provide any success. 
> 
> Maybe someone can send the syntax for the two required echo commands.

For populating those two columns just use an init script inside the VM that
echoes the following data into the serial console. A sample for a host with two
IPs and name host.test.com:

echo  '{"__name__": "network-interfaces", "interfaces": [{"name": "en1", 
"inet": "1.2.3.4"}, {"name": "en2", "inet": "9.10.11.12"}]}' > 
/dev/virtio-ports/com.redhat.rhevm.vdsm
echo  '{"__name__": "fqdn", "fqdn": "host.test.com"}' > 
/dev/virtio-ports/com.redhat.rhevm.vdsm

Markus




Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Yaniv Dary


- Original Message -
> From: "Yaniv Dary" 
> To: "Alon Bar-Lev" 
> Cc: "Gianluca Cecchi" 
> Sent: Sunday, April 6, 2014 8:53:46 PM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> 
> 
> - Original Message -
> > From: "Alon Bar-Lev" 
> > To: "Yaniv Dary" 
> > Cc: "Gianluca Cecchi" 
> > Sent: Sunday, April 6, 2014 6:17:20 PM
> > Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> > 
> > 
> > 
> > - Original Message -
> > > From: "Gianluca Cecchi" 
> > > To: "Alon Bar-Lev" 
> > > Sent: Sunday, April 6, 2014 6:01:31 PM
> > > Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> > > 
> > > here it is
> > > https://drive.google.com/file/d/0BwoPbcrMv8mvM3AtTEJYQldMNFk/edit?usp=sharing
> > > 
> > 
> > Oh... so what happens is that we set the password you enter, but then we
> > overwrite it with preserved password from initialization stage. So
> > unfortunately, we cannot override admin password in this method.
> > 
> > Yaniv, what is the procedure to reset jasper admin user? Do you want to
> > support it via setup or you want some specific procedure for this?
> 
> Export, set password in the file and then import.

# cd /usr/share/jasperreports-server/buildomatic
# export masterPropsSource=/var/lib/ovirt-engine-reports/build-conf
# ./js-export.sh --users --output-dir < some folder >

now edit password of the user you would like to change

# ./js-import.sh --input-dir < same some folder >

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


[Users] set domain credentials to be used during sysprep joining an AD domain.

2014-04-06 Thread Jeff Clay
i'm having trouble finding how set the domain user credentials used when
joing a computer to an AD domain using sysprep. i've found where ovirt
stores the windows product keys, and the settings in engine-config, but i
don't see anything about the domain user credentials. Do I need to replace
the domain user variables in sysprep.w7 and statically set them to what I
need?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error adding second host to self-hosted-engine

2014-04-06 Thread Giuseppe Ragusa
Hi all,
while going through the logs I found the following in engine.log:

2014-04-06 07:54:48,788 INFO  [org.ovirt.engine.core.bll.InstallerMessages] 
(VdsDeploy) Installation 172.16.100.2: Retrieving installation logs to: 
'/var/log/ovirt-engi
ne/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'
2014-04-06 07:54:48,793 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
t ID: -1, Message: Installing Host hosted_engine_2. Retrieving installation 
logs to: 
'/var/log/ovirt-engine/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'.
2014-04-06 07:54:49,140 INFO  [org.ovirt.engine.core.bll.InstallerMessages] 
(VdsDeploy) Installation 172.16.100.2: Stage: Termination
2014-04-06 07:54:49,238 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
t ID: -1, Message: Installing Host hosted_engine_2. Stage: Termination.
2014-04-06 07:54:49,239 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) 
Error during deploy dialog: java.io.IOException: Pipe closed
at java.io.PipedInputStream.read(PipedInputStream.java:308) 
[rt.jar:1.7.0_51]
at java.io.PipedInputStream.read(PipedInputStream.java:378) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) 
[rt.jar:1.7.0_51]
at java.io.InputStreamReader.read(InputStreamReader.java:184) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.fill(BufferedReader.java:154) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:317) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
[rt.jar:1.7.0_51]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
 [otopi.jar:]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
 [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

2014-04-06 07:54:49,245 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(org.ovirt.thread.pool-6-thread-39) [2325b258] Error during host 172.16.100.2 
install: java.io.IOExc
eption: Pipe closed
at java.io.PipedInputStream.read(PipedInputStream.java:308) 
[rt.jar:1.7.0_51]
at java.io.PipedInputStream.read(PipedInputStream.java:378) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) 
[rt.jar:1.7.0_51]
at java.io.InputStreamReader.read(InputStreamReader.java:184) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.fill(BufferedReader.java:154) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:317) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
[rt.jar:1.7.0_51]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
 [otopi.jar:]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
 [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

2014-04-06 07:54:49,249 ERROR [org.ovirt.engine.core.bll.InstallerMessages] 
(org.ovirt.thread.pool-6-thread-39) [2325b258] Installation 172.16.100.2: Pipe 
closed

and then a little search turned out an abandoned effort at 
http://gerrit.ovirt.org/#/c/21460/

Since those "unexpectedly closed pipes" seem to be not so easily reproducible, 
should I simply retry? ;>

Many thanks,
Giuseppe

From: giuseppe.rag...@hotmail.com
To: users@ovirt.org
Subject: Error adding second host to self-hosted-engine
Date: Sun, 6 Apr 2014 08:18:36 +0200




Hi all,
while reinstalling from scratch on CentOS 6.5 (using oVirt 3.4.0 GA plus latest 
snapshot using a GlusterFS-based NFS storage domain for the self-hosted Engine 
and a pure GlusterFS domain for the datacenter) the adding of the second node 
(already part of a 3.5.0beta5 GlusterFS cluster) failed at the end with:

[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ INFO  ] Waiting for the host to become operat

Re: [Users] scheduling storage migration

2014-04-06 Thread Itamar Heim

On 04/06/2014 07:12 PM, Gilad Chaplik wrote:

- Original Message -

From: "Itamar Heim" 
To: "Gilad Chaplik" 
Cc: "Jorick Astrego" , "users" 
Sent: Sunday, April 6, 2014 7:06:51 PM
Subject: Re: [Users] scheduling storage migration

On 04/06/2014 06:16 PM, Gilad Chaplik wrote:

- Original Message -

From: "Itamar Heim" 
To: "Jorick Astrego" 
Cc: "users" 
Sent: Friday, April 4, 2014 3:52:01 PM
Subject: Re: [Users] scheduling storage migration

On 04/04/2014 03:34 PM, Jorick Astrego wrote:


On Fri, 2014-04-04 at 15:02 +0300, Itamar Heim wrote:

On 04/04/2014 10:51 AM, Jorick Astrego wrote:

Hi,

I don't know if it's possible yet but can we schedule the (live)
storage
migration?

It would be awesome to have for example some VM data on SSD storage
that
migrates to HDD storage when the VM is shutdown. Or have VM's with high
IO load during specific times migrate to a high IO storage domain
during
these hours.


if the VM is down, you can move it, not (live) storage migration.


I realize it will generate extra load while migrating but this can be
planned for. Maybe the guys from glusterfs could enable storage
migration on their side so the migration can execute on the storage
server triggered by ovirt, that would be even better performance wise.


in any case, you can script anything with the API...



I was being lazy... So I can use the
http://www.ovirt.org/Features/oVirtSchedulerAPI for this? Or do I have
to hack around with the engine api. I will spend some time diving into
it.


you can use the scheduler api, but I don't remember it having an event
for OnVmStop.
you can also use it for a periodic "balancing" call, but for that, you
can also just use cron.
in either case you will need to do the relevant api calls for moving the
disks around. i'd go with the cron approach.


What about a vdsm hook?


you can't move things around not via engine or you will lose the sync
between them



sure, meant using the python SDK within the hook (the trigger).


I think a cron on engine is a much simpler place.

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


Re: [Users] scheduling storage migration

2014-04-06 Thread Gilad Chaplik
- Original Message -
> From: "Itamar Heim" 
> To: "Gilad Chaplik" 
> Cc: "Jorick Astrego" , "users" 
> Sent: Sunday, April 6, 2014 7:06:51 PM
> Subject: Re: [Users] scheduling storage migration
> 
> On 04/06/2014 06:16 PM, Gilad Chaplik wrote:
> > - Original Message -
> >> From: "Itamar Heim" 
> >> To: "Jorick Astrego" 
> >> Cc: "users" 
> >> Sent: Friday, April 4, 2014 3:52:01 PM
> >> Subject: Re: [Users] scheduling storage migration
> >>
> >> On 04/04/2014 03:34 PM, Jorick Astrego wrote:
> >>>
> >>> On Fri, 2014-04-04 at 15:02 +0300, Itamar Heim wrote:
>  On 04/04/2014 10:51 AM, Jorick Astrego wrote:
> > Hi,
> >
> > I don't know if it's possible yet but can we schedule the (live)
> > storage
> > migration?
> >
> > It would be awesome to have for example some VM data on SSD storage
> > that
> > migrates to HDD storage when the VM is shutdown. Or have VM's with high
> > IO load during specific times migrate to a high IO storage domain
> > during
> > these hours.
> 
>  if the VM is down, you can move it, not (live) storage migration.
> >
> > I realize it will generate extra load while migrating but this can be
> > planned for. Maybe the guys from glusterfs could enable storage
> > migration on their side so the migration can execute on the storage
> > server triggered by ovirt, that would be even better performance wise.
> 
>  in any case, you can script anything with the API...
> 
> >>>
> >>> I was being lazy... So I can use the
> >>> http://www.ovirt.org/Features/oVirtSchedulerAPI for this? Or do I have
> >>> to hack around with the engine api. I will spend some time diving into
> >>> it.
> >>
> >> you can use the scheduler api, but I don't remember it having an event
> >> for OnVmStop.
> >> you can also use it for a periodic "balancing" call, but for that, you
> >> can also just use cron.
> >> in either case you will need to do the relevant api calls for moving the
> >> disks around. i'd go with the cron approach.
> >
> > What about a vdsm hook?
> 
> you can't move things around not via engine or you will lose the sync
> between them
> 

sure, meant using the python SDK within the hook (the trigger).

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


Re: [Users] scheduling storage migration

2014-04-06 Thread Itamar Heim

On 04/06/2014 06:16 PM, Gilad Chaplik wrote:

- Original Message -

From: "Itamar Heim" 
To: "Jorick Astrego" 
Cc: "users" 
Sent: Friday, April 4, 2014 3:52:01 PM
Subject: Re: [Users] scheduling storage migration

On 04/04/2014 03:34 PM, Jorick Astrego wrote:


On Fri, 2014-04-04 at 15:02 +0300, Itamar Heim wrote:

On 04/04/2014 10:51 AM, Jorick Astrego wrote:

Hi,

I don't know if it's possible yet but can we schedule the (live) storage
migration?

It would be awesome to have for example some VM data on SSD storage that
migrates to HDD storage when the VM is shutdown. Or have VM's with high
IO load during specific times migrate to a high IO storage domain during
these hours.


if the VM is down, you can move it, not (live) storage migration.


I realize it will generate extra load while migrating but this can be
planned for. Maybe the guys from glusterfs could enable storage
migration on their side so the migration can execute on the storage
server triggered by ovirt, that would be even better performance wise.


in any case, you can script anything with the API...



I was being lazy... So I can use the
http://www.ovirt.org/Features/oVirtSchedulerAPI for this? Or do I have
to hack around with the engine api. I will spend some time diving into it.


you can use the scheduler api, but I don't remember it having an event
for OnVmStop.
you can also use it for a periodic "balancing" call, but for that, you
can also just use cron.
in either case you will need to do the relevant api calls for moving the
disks around. i'd go with the cron approach.


What about a vdsm hook?


you can't move things around not via engine or you will lose the sync 
between them


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


Re: [Users] node spin including qemu-kvm-rhev?

2014-04-06 Thread Doron Fediuck


- Original Message -
> From: "Paul Jansen" 
> To: "users" 
> Sent: Wednesday, April 2, 2014 11:38:29 AM
> Subject: [Users] node spin including qemu-kvm-rhev?
> 
> I understand that there are ongoing discussions with the Centos people
> regarding a suitable home for recompiled qemu-kvm packages.
> Given that the ovirt node is our own spin, is there any reason why that
> couldn't include the recompiled qemu-kvm packages that will then allow us to
> use live snapshots and do live migrations? Itamar recently mentioned that we
> already build these via a jenkins task.
> 
> Nodes built on top of a Centos install will still be an issue but I think its
> reasonable that the ovirt-node iso could include these custom packages.
> This way we don't have to potentially wait until 3.4.1 or 3.5 to get the live
> snapshot/migration features. The caveat would be that these features would
> only be supported if the nodes were all ovirt node iso based.
> 
> What are people's thoughts?
> 
> 

Sounds reasonable as long as you understand mix and match will become an issue.
The questions is how do we differentiate between the nodes to make sure no one
mixes them by mistake?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Markus Stockhausen
> Von: Itamar Heim [ih...@redhat.com]
> Gesendet: Sonntag, 6. April 2014 15:23
> An: Markus Stockhausen; ovirt-users
> Betreff: Re: [Users] Pseudo Guest Agent for unsupported VM distro
> 
> On 04/06/2014 12:19 PM, Markus Stockhausen wrote:
> > Hello,
> >
> > from my understanding it should be possible to provide an absolute
> > minimalistic guest agent functionality by writing a 5-liner that fills some
> > basic info into the virto serial device within the guest VM. At least from
> > what I can read in the source at github or the docs:
> >
> > https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
> > http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf
> >
> > Currently I'm interested to provide the most simple data: IP address
> > & FQDN for our SLES 11 guests (no guest agent yet). I tried to understand
> > what I must write into the serial device but there is no change in the VM
> > overview panel. Different combinations did not provide any success.
> >
> > Maybe someone can send the syntax for the two required echo commands.
> 
> what's the gap in SLES from the OpenSUSE one that does work iiuc?

My problem is, that generating a working agent on SLES 11 is more than just a 
make command. I drove into several errors (especially path specific) so I asked 
about its state in february and the negative answer was:  "... SLES was 
attempted ...". 
More see here:

http://lists.ovirt.org/pipermail/users/2014-February/021503.html

So I reduced my requirements and searched a way to populate the columns
IP and hostname in OVirt. This should be not more than doing an "echo ..."
into the serial port.

Markus

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] scheduling storage migration

2014-04-06 Thread Gilad Chaplik
- Original Message -
> From: "Itamar Heim" 
> To: "Jorick Astrego" 
> Cc: "users" 
> Sent: Friday, April 4, 2014 3:52:01 PM
> Subject: Re: [Users] scheduling storage migration
> 
> On 04/04/2014 03:34 PM, Jorick Astrego wrote:
> >
> > On Fri, 2014-04-04 at 15:02 +0300, Itamar Heim wrote:
> >> On 04/04/2014 10:51 AM, Jorick Astrego wrote:
> >> > Hi,
> >> >
> >> > I don't know if it's possible yet but can we schedule the (live) storage
> >> > migration?
> >> >
> >> > It would be awesome to have for example some VM data on SSD storage that
> >> > migrates to HDD storage when the VM is shutdown. Or have VM's with high
> >> > IO load during specific times migrate to a high IO storage domain during
> >> > these hours.
> >>
> >> if the VM is down, you can move it, not (live) storage migration.
> >> >
> >> > I realize it will generate extra load while migrating but this can be
> >> > planned for. Maybe the guys from glusterfs could enable storage
> >> > migration on their side so the migration can execute on the storage
> >> > server triggered by ovirt, that would be even better performance wise.
> >>
> >> in any case, you can script anything with the API...
> >>
> >
> > I was being lazy... So I can use the
> > http://www.ovirt.org/Features/oVirtSchedulerAPI for this? Or do I have
> > to hack around with the engine api. I will spend some time diving into it.
> 
> you can use the scheduler api, but I don't remember it having an event
> for OnVmStop.
> you can also use it for a periodic "balancing" call, but for that, you
> can also just use cron.
> in either case you will need to do the relevant api calls for moving the
> disks around. i'd go with the cron approach.

What about a vdsm hook?

Thanks, 
Gilad.

> 
> ___
> 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] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Sunday, April 6, 2014 5:01:19 PM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 3:37 PM, Alon Bar-Lev  wrote:
> 
> >
> >> How can I reset the password of ovirt-admin?
> >> (previously I used it only at certain times and watched the clear text
> >> file
> >> /usr/share/ovirt-engine-reports/reports/users/ovirt-002dadmin.xml
> >> I forgot it ;-)
> >
> > I think you can run:
> >
> > # engine-setup
> > --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:"
> 
> the command went ok but not able to login with ovirt-admin.
> And the select from db gives the same encrypted password for
> ovirt-admin user, so I think it din't change the password.

Well, there may be shortcuts... using jasper magics.

> suppose my password is the word changeme I used the command
> engine-setup
> --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:changeme"
> 
> is it ok?
> Also, it would be nice not to stop/reconfigure/start the whole engine
> only to change reports password
> 

Yes, can you please send me log file? I would like to see what happens, as far 
as I can see if this variable contain anything it should be put into database.

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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Gianluca Cecchi
On Sun, Apr 6, 2014 at 3:37 PM, Alon Bar-Lev  wrote:

>
>> How can I reset the password of ovirt-admin?
>> (previously I used it only at certain times and watched the clear text file
>> /usr/share/ovirt-engine-reports/reports/users/ovirt-002dadmin.xml
>> I forgot it ;-)
>
> I think you can run:
>
> # engine-setup 
> --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:"

the command went ok but not able to login with ovirt-admin.
And the select from db gives the same encrypted password for
ovirt-admin user, so I think it din't change the password.

suppose my password is the word changeme I used the command
engine-setup 
--otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:changeme"

is it ok?
Also, it would be nice not to stop/reconfigure/start the whole engine
only to change reports password


>> At the end of the e-mail what I wrote as a summary and if right I can
>> add into release notes...
>
> Well, better to wait for 3.4.1 I think.

OK, but I think something needs to be written into release notes for 3.4.
In fact at the moment you see this kind of index:
https://drive.google.com/file/d/0BwoPbcrMv8mvQTlQQU8zdVdDeDQ/edit?usp=sharing

but actually there is no reference at all to reports and dwh and
anyone who wants to setup and/or upgrade them would retain more than a
doubt...

>
> Thank you for your help!
>
> Alon.

To tell it with Kevin Spacey words in his great film:
When someone does you a big favor, don't pay it back... pay it forward
I think it could be valid in IT too... not only in real life ;-)

My forward will be to sponsor oVirt...
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Alon Bar-Lev


- Original Message -
> From: "Alon Bar-Lev" 
> To: "Gianluca Cecchi" 
> Cc: "users" 
> Sent: Sunday, April 6, 2014 4:37:01 PM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> 
> 
> - Original Message -
> > From: "Gianluca Cecchi" 
> > To: "Alon Bar-Lev" 
> > Cc: "users" 
> > Sent: Sunday, April 6, 2014 3:43:09 PM
> > Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> > 
> > On Sun, Apr 6, 2014 at 11:34 AM, Alon Bar-Lev  wrote:
> > 
> > >
> > > You need to remove and apply this[1] to fix that problem, I thought you
> > > applied it.
> > >
> > > [1] http://gerrit.ovirt.org/#/c/25998/
> > >
> > >>
> > >> Gianluca
> > >>
> > 
> > Ah ok, right. I forgot that.
> > Now all ended ok (see below)
> > I see that now the user is defined into the db instead of palin file as in
> > 3.3.
> 
> Great.
> 
> > How can I reset the password of ovirt-admin?
> > (previously I used it only at certain times and watched the clear text file
> > /usr/share/ovirt-engine-reports/reports/users/ovirt-002dadmin.xml
> > I forgot it ;-)
> 
> I think you can run:
> 
> # engine-setup
> --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:"
> 
> Or interactively:
> 
> # engine-setup
> --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=none:"

ּSorry, interactive will not work if there is existing installation.

> 
> > so that I can try and check previous data?
> > At the end of the e-mail what I wrote as a summary and if right I can
> > add into release notes...
> 
> Well, better to wait for 3.4.1 I think.
> 
> > 
> > after first tun of engine-setup, that updates only engine itself you have
> > to:
> > 
> > 1) yum update
> > and you will get
> > ovirt-engine-dwh-3.4.0-2.fc19.noarch
> > ovirt-engine-reports-3.4.0-2.fc19.noarch
> > 
> > and also these 2 new packages installed
> > ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
> > ovirt-engine-reports-setup-3.4.0-2.fc19.noarch
> > 
> > 2) patch as from
> > http://gerrit.ovirt.org/#/c/26118/
> > and
> > http://gerrit.ovirt.org/#/c/25998/
> > 
> > 3) engine-setup
> > (no more ovirt-engine-dwh-setup and ovirt-engine-reports-setup to run)
> > 
> > And if you have run 3) before 2) you have to remove the directory tree
> > under
> > /var/lib/ovirt-engine-reports/build-conf
> > and run 2) and 3) again
> > due to currently targeted for 3.4.1 bug:
> > https://bugzilla.redhat.com/show_bug.cgi?id=1084749
> 
> Thank you for your help!
> 
> Alon.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Sunday, April 6, 2014 3:43:09 PM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 11:34 AM, Alon Bar-Lev  wrote:
> 
> >
> > You need to remove and apply this[1] to fix that problem, I thought you
> > applied it.
> >
> > [1] http://gerrit.ovirt.org/#/c/25998/
> >
> >>
> >> Gianluca
> >>
> 
> Ah ok, right. I forgot that.
> Now all ended ok (see below)
> I see that now the user is defined into the db instead of palin file as in
> 3.3.

Great.

> How can I reset the password of ovirt-admin?
> (previously I used it only at certain times and watched the clear text file
> /usr/share/ovirt-engine-reports/reports/users/ovirt-002dadmin.xml
> I forgot it ;-)

I think you can run:

# engine-setup 
--otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=str:"

Or interactively:

# engine-setup --otopi-environment="OVESETUP_REPORTS_CONFIG/adminPassword=none:"

> so that I can try and check previous data?
> At the end of the e-mail what I wrote as a summary and if right I can
> add into release notes...

Well, better to wait for 3.4.1 I think.

> 
> after first tun of engine-setup, that updates only engine itself you have to:
> 
> 1) yum update
> and you will get
> ovirt-engine-dwh-3.4.0-2.fc19.noarch
> ovirt-engine-reports-3.4.0-2.fc19.noarch
> 
> and also these 2 new packages installed
> ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
> ovirt-engine-reports-setup-3.4.0-2.fc19.noarch
> 
> 2) patch as from
> http://gerrit.ovirt.org/#/c/26118/
> and
> http://gerrit.ovirt.org/#/c/25998/
> 
> 3) engine-setup
> (no more ovirt-engine-dwh-setup and ovirt-engine-reports-setup to run)
> 
> And if you have run 3) before 2) you have to remove the directory tree under
> /var/lib/ovirt-engine-reports/build-conf
> and run 2) and 3) again
> due to currently targeted for 3.4.1 bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1084749

Thank you for your help!

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


Re: [Users] Shrinking virtual size of VM

2014-04-06 Thread Maor Lipchuk
You should be able only to extend disk size, not shrinking it.

There was an idea to integrate virt-sprsify for thin provisioned disks,
(see
http://www.google-melange.com/gsoc/proposal/review/org/google/gsoc2014/utkarshsins/5629499534213120)
although this is not supported yet.

regards,
Maor

On 04/04/2014 10:54 AM, Yusufi M R wrote:
> Hello Everyone,
> 
>  
> 
> Is it possible to shrink the virtual disk size of VM.
> 
>  
> 
> Regards,
> 
> Yusuf
> 
> 
> 
> ___
> 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] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Itamar Heim

On 04/06/2014 12:19 PM, Markus Stockhausen wrote:

Hello,

from my understanding it should be possible to provide an absolute
minimalistic guest agent functionality by writing a 5-liner that fills some
basic info into the virto serial device within the guest VM. At least from
what I can read in the source at github or the docs:

https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf

Currently I'm interested to provide the most simple data: IP address
& FQDN for our SLES 11 guests (no guest agent yet). I tried to understand
what I must write into the serial device but there is no change in the VM
overview panel. Different combinations did not provide any success.

Maybe someone can send the syntax for the two required echo commands.


what's the gap in SLES from the OpenSUSE one that does work iiuc?

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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Gianluca Cecchi
On Sun, Apr 6, 2014 at 11:34 AM, Alon Bar-Lev  wrote:

>
> You need to remove and apply this[1] to fix that problem, I thought you 
> applied it.
>
> [1] http://gerrit.ovirt.org/#/c/25998/
>
>>
>> Gianluca
>>

Ah ok, right. I forgot that.
Now all ended ok (see below)
I see that now the user is defined into the db instead of palin file as in 3.3.

ovirtenginereports=# select * from jiuser;
 id  |   username| tenantid | fullname | emailaddress |
 password | externallydefined | enable
d | previouspasswordchangetime
-+---+--+--+--+--+---+---
--+
   5 | jasperadmin   |1 | jasperadmin User |  |
349AFAADD5C5A2BD477309618DCD58B9 | f | f
  | 2013-10-17 00:58:10.01
   6 | anonymousUser |1 | anonymousUser|  |
CF35D2E88192D6EB | f | f
  | 2013-10-17 00:58:10.346
 129 | ovirt-admin   |1 | ovirt-admin  |  |
D41B13B925B503A13CF5EBB35EB9BFF7 | f | t
  |
 130 | admin |1 | admin|  |
5C598ADA6CCE35AA | f | f
  |
(4 rows)

How can I reset the password of ovirt-admin?
(previously I used it only at certain times and watched the clear text file
/usr/share/ovirt-engine-reports/reports/users/ovirt-002dadmin.xml
I forgot it ;-)

)

so that I can try and check previous data?
At the end of the e-mail what I wrote as a summary and if right I can
add into release notes...

...
  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up database localhost:engine to
'/var/lib/ovirt-engine/backups/engine-20140406140343.eSKtje.sql'.
[ INFO  ] Updating Engine database schema
[ INFO  ] Backing up database localhost:ovirt_engine_history to
'/var/lib/ovirt-engine-dwh/backups/dwh-20140406140401.A6N4NM.sql'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Regenerating Jasper's build configuration files
[ INFO  ] Exporting data out of Jasper
[ INFO  ] Backing up database localhost:ovirtenginereports to
'/var/lib/ovirt-engine-reports/backups/reports-20140406140547.a7FquY.sql'.
[ INFO  ] Deploying Jasper
[ INFO  ] Importing data into Jasper
[ INFO  ] Configuring Jasper Java resources
[ INFO  ] Configuring Jasper Database resources
[ INFO  ] Customizing Jasper
[ INFO  ] Customizing Jasper metadata
[ INFO  ] Generating post install configuration file
'/etc/ovirt-engine-setup.conf.d/20-setup-ovirt-post.conf'
[ INFO  ] Stage: Transaction commit
[ INFO  ] Stage: Closing up

  --== SUMMARY ==--

  SSH fingerprint: FE:C6:E1:DE:5D:44:DC:30:CB:12:A3:F7:01:3A:49:83
  Internal CA
55:D5:F1:1F:1A:65:45:61:D5:17:A5:74:36:84:65:3B:E5:53:6E:84
  Web access is enabled at:
  http://tekkaman.localdomain.local:80/ovirt-engine
  https://tekkaman.localdomain.local:443/ovirt-engine

  --== END OF SUMMARY ==--

[ INFO  ] Starting engine service
[ INFO  ] Restarting httpd
[ INFO  ] Restarting nfs services
[ INFO  ] Starting dwh service
[ INFO  ] Generating answer file
'/var/lib/ovirt-engine/setup/answers/20140406140949-setup.conf'
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140406140253.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ INFO  ] Execution of setup completed successfully



The workflow for upgrade from configured 3.3 dwh and reports should be this
Coming from a 3.3.4 with dwh and reports already configured, in my
case I start with
ovirt-engine-dwh-3.3.4-1.fc19.noarch
ovirt-engine-reports-3.3.4-1.fc19.noarch

after first tun of engine-setup, that updates only engine itself you have to:

1) yum update
and you will get
ovirt-engine-dwh-3.4.0-2.fc19.noarch
ovirt-engine-reports-3.4.0-2.fc19.noarch

and also these 2 new packages installed
ovirt-engine-dwh-setup-3.4.0-2.fc19.noarch
ovirt-engine-reports-setup-3.4.0-2.fc19.noarch

2) patch as from
http://gerrit.ovirt.org/#/c/26118/
and
http://gerrit.ovirt.org/#/c/25998/

3) engine-setup
(no more ovirt-engine-dwh-setup and ovirt-engine-reports-setup to run)

And if you have run 3) before 2) you have to remove the directory tree under
/var/lib/ovirt-engine-reports/build-conf
and run 2) and 3) again
due to currently targeted for 3.4.1 bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1084749

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


Re: [Users] It is Ok using OVIRT in production environment ?

2014-04-06 Thread Dave Neary
Hi Marco,

On 04/05/2014 10:38 AM, tristan...@libero.it wrote:
> actually we have a cluster of RHEV nodes, and other one cluster with vmware 
> nodes.
> 
> I'm so excited about the works that community are doing with ovirt, but all 
> of 
> my sysadmin said me that cannot be used in production, because there is not a 
> very stable release and because they need to spend too much time in upgrading 
> node and manager.
> 
> What do you think? 

The decision to choose between RHEV and oVirt (or any other oVirt based
product) is a complex one:
* Do you want/need support?
* Do you need a certified platform for support of your other enterprise
applications (Oracle, SAP, etc)?
* Do you need a commitment to provide long term maintenance of the platform?

If you want or need any of these, then you will not not get them with
oVirt - however, you may get them with oVirt based products (and in
particular with RHEV). And while we work hard to ensure that oVirt works
well for our users, RHEV does have a much more rigorous QE cycle which
results in a more stable release which is supported by Red Hat than what
you get with oVirt.

That said, if you want to try newer features, you will get them 6 months
earlier in oVirt than in RHEV - so I would encourage people to use oVirt
for their test and preprod environments, and consider RHEV for
production, personally.


I hope this helps!

Cheers,
Dave.

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Sunday, April 6, 2014 11:57:27 AM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 10:26 AM, Alon Bar-Lev  wrote:
> >
> >
> > - Original Message -
> >> From: "Gianluca Cecchi" 
> >> To: "Alon Bar-Lev" 
> >> Cc: "users" 
> >> Sent: Sunday, April 6, 2014 10:57:42 AM
> >> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> >>
> >> On Sun, Apr 6, 2014 at 2:13 AM, Alon Bar-Lev  wrote:
> >>
> >> >
> >> > This is a progress... :)
> >>
> >> I have not understood in what sense, but I trust you...
> >>
> >> >
> >> > Now... do you have anything at:
> >> >
> >> > /usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties
> >> >
> >> > Do you have:
> >> >
> >> > /var/lib/ovirt-engine-reports/build-conf/master.properties
> >>
> >> yes see below. Note that I didn't complete the engine-setup process
> >> But if this influences only my reports/dwh installation and not engine
> >> itself is ok for me to run it again
> >> I suppose in case I have to drop before my preexisting reports/dwh
> >> rdbms and so loose my previous data?
> >
> > OK, this is a bug, as the
> > /var/lib/ovirt-engine-reports/build-conf/master.properties should been
> > left only on success, while I see that if fail it is left, I will open a
> > bug.
> >
> > Please remove /var/lib/ovirt-engine-reports/build-conf and re-run setup
> > should attempt to upgrade again.
> >
> > Thanks,
> > Alon
> 
> 
> ok, done. I see your opened bugzilla entry.
> 
> Now:
> [ INFO  ] Stage: Setup validation
>   During execution engine service will be stopped (OK, Cancel) [OK]:
> [ INFO  ] Cleaning stale zombie tasks
> 
>   --== CONFIGURATION PREVIEW ==--
> 
>   Engine database name: engine
>   Engine database secured connection  : False
>   Engine database host: localhost
>   Engine database user name   : engine
>   Engine database host name validation: False
>   Engine database port: 5432
>   NFS setup   : True
>   Firewall manager: iptables
>   Update Firewall : True
>   Configure WebSocket Proxy   : True
>   Host FQDN   :
>   tekkaman.localdomain.local
>   NFS mount point : /ISO
>   DWH installation: True
>   DWH database name   : ovirt_engine_history
>   DWH database secured connection : False
>   DWH database host   : localhost
>   DWH database user name  : engine_history
>   DWH database host name validation   : False
>   DWH database port   : 5432
>   Reports installation: True
>   Reports database name   : ovirtenginereports
>   Reports database secured connection : False
>   Reports database host   : localhost
>   Reports database user name  : engine_reports
>   Reports database host name validation   : False
>   Reports database port   : 5432
> 
>   Please confirm installation settings (OK, Cancel) [OK]:
> [ INFO  ] Cleaning async tasks and compensations
> [ INFO  ] Checking the Engine database consistency
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stopping engine service
> [ INFO  ] Stopping dwh service
> [ INFO  ] Stopping websocket-proxy service
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Backing up database localhost:engine to
> '/var/lib/ovirt-engine/backups/engine-20140406105216.IjEVb2.sql'.
> [ INFO  ] Updating Engine database schema
> [ INFO  ] Backing up database localhost:ovirt_engine_history to
> '/var/lib/ovirt-engine-dwh/backups/dwh-20140406105234.jk3lc9.sql'.
> [ INFO  ] Creating/refreshing DWH database schema
> [ INFO  ] Exporting data out of Jasper
> [ INFO  ] Regenerating Jasper's build configuration files
> [ ERROR ] Failed to execute stage 'Misc configuration': Command
> './js-ant' failed to execute
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Rolling back database schema
> [ INFO  ] Clearing Engine database engine
> [ INFO  ] Restoring Engine database engine
> [ INFO  ] Rolling back DWH database schema
> [ INFO  ] Clearing DWH database ovirt_engine_history
> [ INFO  ] Restoring DWH database ovirt_engine_history
> [ INFO  ] Stage: Clean up
>   Log file is located at
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20140406105032.log
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Term

[Users] Pseudo Guest Agent for unsupported VM distro

2014-04-06 Thread Markus Stockhausen
Hello,

from my understanding it should be possible to provide an absolute
minimalistic guest agent functionality by writing a 5-liner that fills some
basic info into the virto serial device within the guest VM. At least from
what I can read in the source at github or the docs:

https://github.com/oVirt/ovirt-guest-agent/tree/master/ovirt-guest-agent
http://www.ovirt.org/images/2/20/Ovirt-guest-agent.pdf

Currently I'm interested to provide the most simple data: IP address
& FQDN for our SLES 11 guests (no guest agent yet). I tried to understand
what I must write into the serial device but there is no change in the VM
overview panel. Different combinations did not provide any success.

Maybe someone can send the syntax for the two required echo commands.

Thanks in advance.

Markus


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.

Über das Internet versandte E-Mails können unter fremden Namen erstellt oder
manipuliert werden. Deshalb ist diese als E-Mail verschickte Nachricht keine
rechtsverbindliche Willenserklärung.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

Vorstand:
Kadir Akin
Dr. Michael Höhnerbach

Vorsitzender des Aufsichtsrates:
Hans Kristian Langva

Registergericht: Amtsgericht Köln
Registernummer: HRB 52 497

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

e-mails sent over the internet may have been written under a wrong name or
been manipulated. That is why this message sent as an e-mail is not a
legally binding declaration of intention.

Collogia
Unternehmensberatung AG
Ubierring 11
D-50678 Köln

executive board:
Kadir Akin
Dr. Michael Höhnerbach

President of the supervisory board:
Hans Kristian Langva

Registry office: district court Cologne
Register number: HRB 52 497


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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Gianluca Cecchi
On Sun, Apr 6, 2014 at 10:26 AM, Alon Bar-Lev  wrote:
>
>
> - Original Message -
>> From: "Gianluca Cecchi" 
>> To: "Alon Bar-Lev" 
>> Cc: "users" 
>> Sent: Sunday, April 6, 2014 10:57:42 AM
>> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
>>
>> On Sun, Apr 6, 2014 at 2:13 AM, Alon Bar-Lev  wrote:
>>
>> >
>> > This is a progress... :)
>>
>> I have not understood in what sense, but I trust you...
>>
>> >
>> > Now... do you have anything at:
>> >
>> > /usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties
>> >
>> > Do you have:
>> >
>> > /var/lib/ovirt-engine-reports/build-conf/master.properties
>>
>> yes see below. Note that I didn't complete the engine-setup process
>> But if this influences only my reports/dwh installation and not engine
>> itself is ok for me to run it again
>> I suppose in case I have to drop before my preexisting reports/dwh
>> rdbms and so loose my previous data?
>
> OK, this is a bug, as the 
> /var/lib/ovirt-engine-reports/build-conf/master.properties should been left 
> only on success, while I see that if fail it is left, I will open a bug.
>
> Please remove /var/lib/ovirt-engine-reports/build-conf and re-run setup 
> should attempt to upgrade again.
>
> Thanks,
> Alon


ok, done. I see your opened bugzilla entry.

Now:
[ INFO  ] Stage: Setup validation
  During execution engine service will be stopped (OK, Cancel) [OK]:
[ INFO  ] Cleaning stale zombie tasks

  --== CONFIGURATION PREVIEW ==--

  Engine database name: engine
  Engine database secured connection  : False
  Engine database host: localhost
  Engine database user name   : engine
  Engine database host name validation: False
  Engine database port: 5432
  NFS setup   : True
  Firewall manager: iptables
  Update Firewall : True
  Configure WebSocket Proxy   : True
  Host FQDN   : tekkaman.localdomain.local
  NFS mount point : /ISO
  DWH installation: True
  DWH database name   : ovirt_engine_history
  DWH database secured connection : False
  DWH database host   : localhost
  DWH database user name  : engine_history
  DWH database host name validation   : False
  DWH database port   : 5432
  Reports installation: True
  Reports database name   : ovirtenginereports
  Reports database secured connection : False
  Reports database host   : localhost
  Reports database user name  : engine_reports
  Reports database host name validation   : False
  Reports database port   : 5432

  Please confirm installation settings (OK, Cancel) [OK]:
[ INFO  ] Cleaning async tasks and compensations
[ INFO  ] Checking the Engine database consistency
[ INFO  ] Stage: Transaction setup
[ INFO  ] Stopping engine service
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Backing up database localhost:engine to
'/var/lib/ovirt-engine/backups/engine-20140406105216.IjEVb2.sql'.
[ INFO  ] Updating Engine database schema
[ INFO  ] Backing up database localhost:ovirt_engine_history to
'/var/lib/ovirt-engine-dwh/backups/dwh-20140406105234.jk3lc9.sql'.
[ INFO  ] Creating/refreshing DWH database schema
[ INFO  ] Exporting data out of Jasper
[ INFO  ] Regenerating Jasper's build configuration files
[ ERROR ] Failed to execute stage 'Misc configuration': Command
'./js-ant' failed to execute
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Rolling back database schema
[ INFO  ] Clearing Engine database engine
[ INFO  ] Restoring Engine database engine
[ INFO  ] Rolling back DWH database schema
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Restoring DWH database ovirt_engine_history
[ INFO  ] Stage: Clean up
  Log file is located at
/var/log/ovirt-engine/setup/ovirt-engine-setup-20140406105032.log
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

we come back with the problem you outlined with

BUILD FAILED
Target "gen-config-ce" does not exist in the project "buildomatic".

in setup log
see here:
https://drive.google.com/file/d/0BwoPbcrMv8mvM29QdXU2UUlHRHc/edit?usp=sharing

I suppose I have to remove again build-conf before proceedings with
other suggestions...

Gianluca
___
Users mailing list
U

Re: [Users] set computername and domain when vm is created from template.

2014-04-06 Thread Itamar Heim

On 04/06/2014 11:32 AM, Jeff Clay wrote:

What about joining to a domain?



should also work with sysprep.



On Sun, Apr 6, 2014 at 3:28 AM, Jeff Clay mailto:jeffc...@gmail.com>> wrote:

Ok, I hadn't tried that yet. Let me give it a shot. Thanks for the info.


On Sun, Apr 6, 2014 at 3:02 AM, Itamar Heim mailto:ih...@redhat.com>> wrote:

On 04/06/2014 09:48 AM, Jeff Clay wrote:

i'm needing to change the computer name to something based
on the vm's
name or something and add the system to an active directory
domain. this
needs to be done when i create new vm's from a template. any
suggestions? from what i'm reading, cloud-init is what i'm
needing to
use, i installed and ran it to check it out. it changed the
computer
name, but i can't find where to specify the computer name
value or how
to set domain info.


sysprep has this support, just create a teamplate from a VM
sealed with sysprep. ovirt will pass the sysprep file via a
floppy to the VM (vm name will be the vm name).





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


[Users] Network custom properties

2014-04-06 Thread Lior Vernia
Hello all,

Introducing the oVirt 3.5 feature of network custom properties:
http://www.ovirt.org/Features/Network_Custom_Properties

Essentially, this feature aims to solve two RFEs, that request the
ability to set bridge and ethtool options on host interfaces from the
GUI/REST:
https://bugzilla.redhat.com/show_bug.cgi?id=1080984
https://bugzilla.redhat.com/show_bug.cgi?id=1080987

It will do so by adding custom properties (key:value pairs) to networks
assigned to host interfaces, which can in turn be acted upon via hooks
when e.g. a Setup Networks command is triggered.

Two predefined keys will include bridge_opts and ethtool_opts, but any
arbitrary custom property could be supplied as well.

Please take a look at the detailed feature page and let me know if you
have any comments.

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


Re: [Users] Force certain VMs to be on different hosts

2014-04-06 Thread Gilad Chaplik
- Original Message -
> From: "Joop" 
> To: "Gilad Chaplik" 
> Cc: users@ovirt.org
> Sent: Friday, April 4, 2014 5:44:11 PM
> Subject: Re: [Users] Force certain VMs to be on different hosts
> 
> Gilad Chaplik wrote:
> > Hi Joop,
> >
> > You've created a positive enforcing affinity group -> means that VMs should
> > stay on the same host, no migration allowed while more than one VM is up.
> > What you're requesting is a useful RFE, some-kind of a 'follow me' positive
> > affinity group.
> > I'm +1 on that :-) can you please open a formal request/RFE for it?
> > https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
> >
> >   
> BZ opened: https://bugzilla.redhat.com/show_bug.cgi?id=1084518
> 
> Have read somewhere on the list that it should be possible to tag such a
> request as a FutureFeature but couldn't find it when creating the entry.
> Please feel free to move it and educate me!

np :-), check out the bug (thanks Itamar).

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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Alon Bar-Lev


- Original Message -
> From: "Gianluca Cecchi" 
> To: "Alon Bar-Lev" 
> Cc: "users" 
> Sent: Sunday, April 6, 2014 10:57:42 AM
> Subject: Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?
> 
> On Sun, Apr 6, 2014 at 2:13 AM, Alon Bar-Lev  wrote:
> 
> >
> > This is a progress... :)
> 
> I have not understood in what sense, but I trust you...
> 
> >
> > Now... do you have anything at:
> >
> > /usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties
> >
> > Do you have:
> >
> > /var/lib/ovirt-engine-reports/build-conf/master.properties
> 
> yes see below. Note that I didn't complete the engine-setup process
> But if this influences only my reports/dwh installation and not engine
> itself is ok for me to run it again
> I suppose in case I have to drop before my preexisting reports/dwh
> rdbms and so loose my previous data?

OK, this is a bug, as the 
/var/lib/ovirt-engine-reports/build-conf/master.properties should been left 
only on success, while I see that if fail it is left, I will open a bug.

Please remove /var/lib/ovirt-engine-reports/build-conf and re-run setup should 
attempt to upgrade again.

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


Re: [Users] set computername and domain when vm is created from template.

2014-04-06 Thread Itamar Heim

On 04/06/2014 09:48 AM, Jeff Clay wrote:

i'm needing to change the computer name to something based on the vm's
name or something and add the system to an active directory domain. this
needs to be done when i create new vm's from a template. any
suggestions? from what i'm reading, cloud-init is what i'm needing to
use, i installed and ran it to check it out. it changed the computer
name, but i can't find where to specify the computer name value or how
to set domain info.


sysprep has this support, just create a teamplate from a VM sealed with 
sysprep. ovirt will pass the sysprep file via a floppy to the VM (vm 
name will be the vm name).


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


Re: [Users] Hosted-Engine purpose for gateway check?

2014-04-06 Thread Itamar Heim

On 04/06/2014 10:20 AM, Andrew Lau wrote:

On Sun, Apr 6, 2014 at 4:55 PM, Yedidyah Bar David  wrote:

- Original Message -

From: "Andrew Lau" 
To: "users" 
Sent: Sunday, April 6, 2014 3:10:19 AM
Subject: [Users] Hosted-Engine purpose for gateway check?

Hi,

I was recently playing around with the new ovirt 3.4 ga, I'm very
happy all those issues I reported got fixed :D

I found a new issue regarding the use of PREFIX vs NETMASK which I've
uploaded here https://bugzilla.redhat.com/show_bug.cgi?id=1084685

Anyway -- I'm wondering what is the purpose for the gateway check in
the hosted-engine setup? In my test case, I had the following NIC
configuration

eth0 - public (has gateway)
eth1 - management
eth1.1 - storage
eth2 - vm data (no IP address)

So during the hosted engine install, it will not let me assign eth2 as
the NIC because it has no IP address or gateway. So I proceed to use
eth1 instead as, as it has an IP address but again that would fail
because no gateway. Luckily I have a L3 switch, so I put up a gateway
for eth1 and that solved that issue.

What is the gateway check supposed to achieve? I also tried to put in
my eth0's IP address as the gateway but it still failed because of
those config issues. If management/ovirtmgmt/vmdata are all on a L2
switch environment, effectively there becomes no gateway and it
prevents the installation.


It actually does not need to really be a gateway. It's used only as
part of a calculation trying to assess the liveliness of the host.
See [1] for details, especially pages 33-34.

[1] http://www.ovirt.org/images/8/88/Hosted_Engine_Deep_Dive.pdf
--
Didi


I've recall reading that pdf before - however my comments are a little
aimed towards why does the setup require the GATEWAY=x be in the
ifcfg-ethx file when it also asks for the gateway in the otopi setup.
It seems a little redundant and also prevents the ability to proceed
with the setup if you're in a L2 switch environment.

The hosted-engine VM will require a gateway as it only has one nic and
needs to be publicly accessible, so let's say we have:
eth1 -> ovirtmgmt (172.16.0.10) -> hosted-engine (192.168.100.10 w/
192.168.100.1 as gateway)

Isn't 192.168.100.1 the gateway we want to be checking for?

Although now that I think of it, I'm confused where the gateway check
has it's example scenario, is it just for checking to make sure the
hosted-engine will be externally accessible? Wouldn't it also work to
do something like ethtool and check the link exists instead.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



As didi explained the remote "gateway" for hosted engine liveliness is 
meant so the host running the hosted engine can also check it has 
network connectivity to some well known IP. if it doesn't have it, it 
will reduce its score, so if another host does have connectivity to that 
remote IP, it will become the preferred host to run hosted engine.

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


Re: [Users] Upgrading dwh and reports from 3.3.4 to 3.4.0?

2014-04-06 Thread Gianluca Cecchi
On Sun, Apr 6, 2014 at 2:13 AM, Alon Bar-Lev  wrote:

>
> This is a progress... :)

I have not understood in what sense, but I trust you...

>
> Now... do you have anything at:
>
> /usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties
>
> Do you have:
>
> /var/lib/ovirt-engine-reports/build-conf/master.properties

yes see below. Note that I didn't complete the engine-setup process
But if this influences only my reports/dwh installation and not engine
itself is ok for me to run it again
I suppose in case I have to drop before my preexisting reports/dwh
rdbms and so loose my previous data?

[g.cecchi@tekkaman ~]$ cat
/usr/share/jasperreports-server/buildomatic/build_conf/default/master.properties
appServerType=jboss7

# JBoss app server root dir
appServerDir=/usr/share/ovirt-engine

# database type
dbType=postgresql

# database location and connection settings
dbHost=localhost
dbPort=5432
dbUsername=engine_reports
dbPassword=

# JasperServer db name
js.dbName=ovirtenginereports

# web app name
# (set one of these to deploy to a non-default war file name)
webAppNameCE=ovirt-engine-reports

# JDBC driver
# (uncomment to change to a non-default setting)
#
# driver will be found here: /buildomatic/conf_source/db/postgresql/jdbc
#
# maven.jdbc.groupId=postgresql
# maven.jdbc.artifactId=postgresql
maven.jdbc.version=jdbc

# Skip JDBC Driver Deploy
# Flag used to skip JDBC driver deploying during deployment process
# (uncomment to change to a non-default setting)
deployJDBCDriver=false



[g.cecchi@tekkaman ~]$ sudo cat
/var/lib/ovirt-engine-reports/build-conf/master.properties
# File locations
reportsHome=/var/lib/ovirt-engine-reports
reportsWar=/var/lib/ovirt-engine-reports/ovirt-engine-reports.war
currentConf=/var/lib/ovirt-engine-reports/build-conf
appServerDir=/var/lib/ovirt-engine-reports

appServerType=jboss7

# database type
dbType=postgresql

# database location and connection settings
dbHost=localhost
dbPort=5432
dbUsername=engine_reports
dbPassword=
js.dbName=ovirtenginereports

# web app name
# (set one of these to deploy to a non-default war file name)
webAppNameCE=ovirt-engine-reports
webAppNamePro=ovirt-engine-reports

# Database
maven.jdbc.groupId=postgresql
maven.jdbc.artifactId=postgresql
maven.jdbc.version=9.2-1002.jdbc4
deployJDBCDriver=false
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] how do you manually add ovirtmgmt network to a node/host

2014-04-06 Thread Jeremiah Jahn
That's what I ended up doing, thanks.

The problem that really arose from all of this is that eth1.4 points
to br4 and ovirt comes in to ovirtmgmt and then fails, udevadm get
caught in an infinate loop as it bounces back and forth between br4
and ovirtmgmt since bringing up one seems to cause the other to go
down and they both take eth1.4 with them. Probably wouldn't be so bad,
but that's the the interface I'm using to configure them. takes a
killall -9 udevadm. then a rename of br4 to ovirtmgmt, then a reboot,
then we do it again as vdsm tries to roll things back and kills the
replaced ovirtmgmt.  fun. Thanks for the help.

-jj-

On Sun, Apr 6, 2014 at 1:36 AM, Moti Asayag  wrote:
> Under the assumption that the engine communicates with the
> host via 10.10.4.31, you should configure the 'ovirtmgmt'
> on top of eth1, with the following configuration (as used to be defined on 
> eth4):
> GATEWAY: 10.10.4.1
> IPADDR: 10.10.4.31
> NETMASK: 255.255.255.0
>
> The static boot protocol configuration should replace the 'DHCP' which led to
> the mentioned error in the logs. Note also that currently br4 is might be used
> by couple vms (based on vnet nics attached to it  'ports': ['eth1.4', 
> 'vnet3', 'vnet7', 'vnet19', 'vnet9'],),
> therefore it would be advisable to migrate those vms or to stop them (if they 
> exist).
>
> Once you drag the 'ovirtmgmt' to eth1, hover the attached 'ovirtmgmt' network
> and click on the 'pencil' icon that will appear by hovering.
> Next you should select the 'static' red button and fill the above ip address 
> details.
>
> If connectivity restored and action succeeded, make sure to click on the 
> 'save network
> configuration' to persist the network changes to the host.
>
> - Original Message -
>> From: "Jeremiah Jahn" 
>> To: "Moti Asayag" 
>> Cc: users@ovirt.org
>> Sent: Sunday, April 6, 2014 2:48:17 AM
>> Subject: Re: [Users] how do you manually add ovirtmgmt network to a node/host
>>
>> START
>> getVdsCaps==
>> [root@kvm01 multipath]# vdsClient -s localhost getVdsCaps
>> HBAInventory = {'FC': [{'model': 'QLA2462 - PCI-X 2.0 Dual Channel 4Gb
>> Fibre Channel HBA',
>>'wwnn': '201b329db9c8',
>>'wwpn': '211b329db9c8'},
>>   {'model': 'QLA2462 - PCI-X 2.0 Dual Channel 4Gb
>> Fibre Channel HBA',
>>'wwnn': '2001001b32bdb9c8',
>>'wwpn': '2101001b32bdb9c8'}],
>>'iSCSI': [{'InitiatorName':
>> 'iqn.1994-05.com.redhat:2f85cac0a96c'}]}
>> ISCSIInitiatorName = 'iqn.1994-05.com.redhat:2f85cac0a96c'
>> bondings = {'bond0': {'addr': '',
>>  'cfg': {},
>>  'hwaddr': '00:00:00:00:00:00',
>>  'ipv6addrs': [],
>>  'mtu': '1500',
>>  'netmask': '',
>>  'slaves': []},
>>'bond1': {'addr': '',
>>  'cfg': {},
>>  'hwaddr': '00:00:00:00:00:00',
>>  'ipv6addrs': [],
>>  'mtu': '1500',
>>  'netmask': '',
>>  'slaves': []},
>>'bond2': {'addr': '',
>>  'cfg': {},
>>  'hwaddr': '00:00:00:00:00:00',
>>  'ipv6addrs': [],
>>  'mtu': '1500',
>>  'netmask': '',
>>  'slaves': []},
>>'bond3': {'addr': '',
>>  'cfg': {},
>>  'hwaddr': '00:00:00:00:00:00',
>>  'ipv6addrs': [],
>>  'mtu': '1500',
>>  'netmask': '',
>>  'slaves': []},
>>'bond4': {'addr': '',
>>  'cfg': {},
>>  'hwaddr': '00:00:00:00:00:00',
>>  'ipv6addrs': [],
>>  'mtu': '1500',
>>  'netmask': '',
>>  'slaves': []}}
>> bridges = {';vdsmdummy;': {'addr': '',
>>   'cfg': {},
>>   'gateway': '',
>>   'ipv6addrs': [],
>>   'ipv6gateway': '::',
>>   'mtu': '1500',
>>   'netmask': '',
>>   'ports': [],
>>   'stp': 'off'},
>>   'br0': {'addr': '10.10.3.31',
>>   'cfg': {'BOOTPROTO': 'none',
>>   'DELAY': '0',
>>   'DEVICE': 'br0',
>>   'IPADDR': '10.10.3.31',
>>   'NETMASK': '255.255.255.0',
>>   'ONBOOT': 'yes',
>>   'PEERDNS': 'no',
>>   'STP': 'off',
>>   'TYPE': 'Bridge'},
>>   'gat

Re: [Users] Otopi pre-seeded Apache redirect directive ignored by engine-setup 3.4.0 GA

2014-04-06 Thread Yedidyah Bar David
- Original Message -
> From: "Giuseppe Ragusa" 
> To: "Yedidyah Bar David" 
> Cc: users@ovirt.org
> Sent: Sunday, April 6, 2014 8:31:53 AM
> Subject: RE: [Users] Otopi pre-seeded Apache redirect directive ignored by 
> engine-setup 3.4.0 GA
> 
> Hi Didi,
> I can confirm that your patch works: the
> /etc/httpd/conf.d/ovirt-engine-root-redirect.conf file does not get created.
> 
> Many thanks agin,
> Giuseppe
> 
> From: giuseppe.rag...@hotmail.com
> To: d...@redhat.com
> Date: Sat, 5 Apr 2014 23:59:58 +0200
> CC: users@ovirt.org
> Subject: Re: [Users] Otopi pre-seeded Apache redirect directive ignored by
> engine-setup 3.4.0 GA
> 
> 
> 
> 
> Hi Didi,
> I opened BZ#1084717 and added Gerrit change as external reference.
> 
> I will report back if I manage to try engine-setup again with your patch
> applied.

Thanks!

I updated the bug and the change.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] set computername and domain when vm is created from template.

2014-04-06 Thread Joop
Jeff Clay  wrote:
>i'm needing to change the computer name to something based on the vm's
>name
>or something and add the system to an active directory domain. this
>needs
>to be done when i create new vm's from a template. any suggestions?
>from
>what i'm reading, cloud-init is what i'm needing to use, i installed
>and
>ran it to check it out. it changed the computer name, but i can't find
>where to specify the computer name value or how to set domain info.
I think cloudinit is used for linux and sysprep is used for windows. There is a 
new project that has 'ported' cloudinit to windows. Google it.
That still leaves you with the problem to generate unique machine names and 
other unique stuff per machine. Maybe cloudinit,sysprep will do that 
automatically? I don't know that.

Joop


-- 
Sent from my Android tablet with K-9 Mail. Please excuse my brevity.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Shrinking virtual size of VM

2014-04-06 Thread Meital Bourvine
Hi, 

Could you please try to explain better what you mean? 
Maybe provide a use case? 

- Original Message -

> From: "Yusufi M R" 
> To: users@ovirt.org
> Sent: Friday, April 4, 2014 10:54:50 AM
> Subject: [Users] Shrinking virtual size of VM

> Hello Everyone,

> Is it possible to shrink the virtual disk size of VM.

> Regards,

> Yusuf

> ___
> 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] Hosted-Engine purpose for gateway check?

2014-04-06 Thread Andrew Lau
On Sun, Apr 6, 2014 at 4:55 PM, Yedidyah Bar David  wrote:
> - Original Message -
>> From: "Andrew Lau" 
>> To: "users" 
>> Sent: Sunday, April 6, 2014 3:10:19 AM
>> Subject: [Users] Hosted-Engine purpose for gateway check?
>>
>> Hi,
>>
>> I was recently playing around with the new ovirt 3.4 ga, I'm very
>> happy all those issues I reported got fixed :D
>>
>> I found a new issue regarding the use of PREFIX vs NETMASK which I've
>> uploaded here https://bugzilla.redhat.com/show_bug.cgi?id=1084685
>>
>> Anyway -- I'm wondering what is the purpose for the gateway check in
>> the hosted-engine setup? In my test case, I had the following NIC
>> configuration
>>
>> eth0 - public (has gateway)
>> eth1 - management
>> eth1.1 - storage
>> eth2 - vm data (no IP address)
>>
>> So during the hosted engine install, it will not let me assign eth2 as
>> the NIC because it has no IP address or gateway. So I proceed to use
>> eth1 instead as, as it has an IP address but again that would fail
>> because no gateway. Luckily I have a L3 switch, so I put up a gateway
>> for eth1 and that solved that issue.
>>
>> What is the gateway check supposed to achieve? I also tried to put in
>> my eth0's IP address as the gateway but it still failed because of
>> those config issues. If management/ovirtmgmt/vmdata are all on a L2
>> switch environment, effectively there becomes no gateway and it
>> prevents the installation.
>
> It actually does not need to really be a gateway. It's used only as
> part of a calculation trying to assess the liveliness of the host.
> See [1] for details, especially pages 33-34.
>
> [1] http://www.ovirt.org/images/8/88/Hosted_Engine_Deep_Dive.pdf
> --
> Didi

I've recall reading that pdf before - however my comments are a little
aimed towards why does the setup require the GATEWAY=x be in the
ifcfg-ethx file when it also asks for the gateway in the otopi setup.
It seems a little redundant and also prevents the ability to proceed
with the setup if you're in a L2 switch environment.

The hosted-engine VM will require a gateway as it only has one nic and
needs to be publicly accessible, so let's say we have:
eth1 -> ovirtmgmt (172.16.0.10) -> hosted-engine (192.168.100.10 w/
192.168.100.1 as gateway)

Isn't 192.168.100.1 the gateway we want to be checking for?

Although now that I think of it, I'm confused where the gateway check
has it's example scenario, is it just for checking to make sure the
hosted-engine will be externally accessible? Wouldn't it also work to
do something like ethtool and check the link exists instead.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users