Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Moti Asayag


- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: Moti Asayag masa...@redhat.com
 Cc: users@oVirt.org users@ovirt.org
 Sent: Thursday, February 20, 2014 8:52:52 AM
 Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
 
 I'm not getting below class:
 
 import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;

Which version of ovirt-engine-sdk-java are you using ? 

I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml:

dependency
groupIdorg.ovirt.engine.sdk/groupId
artifactIdovirt-engine-sdk-java/artifactId
version3.4.0.1-1/version
typejar/type
scopecompile/scope
/dependency

 
 
 On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com
   To: users@oVirt.org users@ovirt.org
   Sent: Wednesday, February 19, 2014 3:24:40 PM
   Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
  
   Hi,
  
   Can someone share me sample java code for assigning IP address for VM on
  eth0
   through Java SDK via CloudInit ?
  
 
  Hi Tejesh,
 
  I've attached a sample code that sends the required request (as the output
  is demonstrated in debug mode).
  Note that the code is jdk-7 compliant.
  I haven't configured cloud-init and haven't tested it end-to-end.
  Please try to test it on your environment and provide a feedback for it.
 
  Thanks,
  Moti
 
   Something Like this but in Java:
   network_configuration
nics
  nic
nameeth0/name
boot_protocolSTATIC/boot_protocol
network
  ip address=192.168.2.11 netmask=255.255.0.0
  gateway=192.168.2.1 /
/network
on_boottrue/on_boot
  /nic
  nic
nameeth1/name
boot_protocolDHCP/boot_protocol
  /nic
  nic
nameeth2/name
boot_protocolNONE/boot_protocol
on_boottrue/on_boot
  /nic
/nics
dns
  servers
host
  address1.1.2.2/address
/host
host
  address1.2.3.4/address
/host
  /servers
  search_domains
host
  addressqa.lab/address
/host
host
  address google.com /address
/host
  /search_domains
/dns
  /network_configuration
  
  
  
   --
   Thanks  Regards
   Tejesh
  
   ___
   Users mailing list
   Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
 
 --
 Thanks  Regards
 Tejesh
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] about live snapshot and qemu-kvm

2014-02-20 Thread Karli Sjöberg
On Mon, 2014-02-17 at 09:59 -0500, Douglas Schilling Landgraf wrote:
 On 02/17/2014 02:00 AM, Karli Sjöberg wrote:
  On Thu, 2014-02-13 at 14:42 -0500, Douglas Schilling Landgraf wrote:
  On 01/01/2014 06:24 AM, Gianluca Cecchi wrote:
  On Wed, Jan 1, 2014 at 4:38 AM, R P Herrold  wrote:
 
 
  Out of curiousity, _what_ build environment 'flags' do you
  all, participating in this thread, refer to? -- the thread
  does not enumerate them explicitly, and one cannot expect to
  hit by 'indirect fire', a target not exposed
 
  With best regards, this New Year's eve
 
  I'm far from being a programmer, but as I went to compare build
  environments, between
  qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.src.rpm
  and
  qemu-kvm-0.12.1.2-2.415.el6_5.3.src.rpm
  in related spec file I see
  [g.cecchi@tekkaman SPECS]$ diff qemu-kvm.spec.upstream qemu-kvm.spec.rhev
  3c3
   %define rhev 0
  ---
  %define rhev 1
  12928a12929
  rhel-6.5
 
  and apart other probably not trivial implications, such as guest agent
  part, I see that the configure command takes one extra argument in
  base RH EL 6.5, that is
 
  --disable-rhev-features
 
  The only patch file containing this keyword is
 
  kvm-Block-streaming-disable-for-RHEL.patch
 
  and inside it there are these lines that impacts configure options and
  related built qemu-kvm:
 
  --- a/configure
  +++ b/configure
  @@ -286,6 +286,7 @@ spice=
 smartcard=
 smartcard_nss=
 live_snapshots=yes
  +block_stream=yes
 usb_redir=
 
 # OS specific
  @@ -686,10 +687,22 @@ for opt do
   ;;
   --enable-live-snapshots) live_snapshots=yes
   ;;
  +  --disable-block-stream) block_stream=no
  +  ;;
  +  --enable-block-stream) block_stream=yes
  +  ;;
   --disable-usb-redir) usb_redir=no
   ;;
   --enable-usb-redir) usb_redir=yes
   ;;
  +  --disable-rhev-features)
  +   live_snapshots=no;
  +   block_stream=no;
  +  ;;
  +  --enable-rhev-features)
  +   live_snapshots=yes;
  +   block_stream=yes;
  +  ;;
   *) echo ERROR: unknown option $opt; show_help=yes
   ;;
   esac
  @@ -863,8 +876,12 @@ echo   --disable-smartcard-nss  disable
  smartcard nss support
 echo   --enable-smartcard-nss   enable smartcard nss support
 echo   --disable-live-snapshots disable live block device snapshot 
  support
 echo   --enable-live-snapshots  enable live block device snapshot 
  support
  +echo   --disable-block-stream   disable block streaming support
  +echo   --enable-block-streamenable block streaming support
 echo   --disable-usb-redir  disable usb network redirection 
  support
 echo   --enable-usb-redir   enable usb network redirection 
  support
  +echo   --disable-rhev-features  disable RHEV-only features
  +echo   --enable-rhev-features   enable RHEV-only features
 echo 
 echo NOTE: The object files are built at the place where configure
  is launched
 exit 1
  @@ -2271,6 +2288,7 @@ echo Trace backend $trace_backend
 echo spice support $spice
 echo nss used  $smartcard_nss
 echo Live snapshots$live_snapshots
  +echo Block streaming   $block_stream
 echo xfsctl support$xfs
 echo usb net redir $usb_redir
 
  @@ -2526,6 +2544,10 @@ if test $live_snapshots = yes ; then
   echo CONFIG_LIVE_SNAPSHOTS=y  $config_host_mak
 fi
 
  +if test $block_stream = yes ; then
  +  echo CONFIG_BLOCK_STREAM=y  $config_host_mak
  +fi
  +
 if test $usb_redir = yes ; then
   echo CONFIG_USB_REDIR=y  $config_host_mak
 fi
 
  I don't think the rhev argument has instead implications in upstream
  source qemu-kvm-0.12.1.2.tar.gz
  So I think that if you want to dig more and if you have more
  competences, you have to see the full spec file and the full patch
  above.
 
  Files downloaded here:
 
  upstream
  http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/qemu-kvm-0.12.1.2-2.415.el6_5.3.src.rpm
 
  rhev
  http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.src.rpm
 
 
  Just for the record, we have setup a jenkins job to rebuild qemu-kvm for
  el6 until we get it officially from centos:
  http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/
 
  --
  Cheers
  Douglas
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  I think this calls for an oldschool question/statement;
 
  Who da man? ... You da man! :)
 
  Live snapshot now just works. Haven´t verified quiesce yet though, but
  looks good as far as the events in webadmin is concerned. Next to test
  is live disk migration.
 
 
 Thanks a lot for the feedback :)
 
 -- 
 Cheers
 Douglas

Hey,

have gone through the logs to verify quiescence and the only thing
actually mentioning it comes from vdsm.log:
Thread-127371::DEBUG::2014-02-19
14:54:15,612::BindingXMLRPC::977::vds::(wrapper) return vmSnapshot with

[Users] [QE] oVirt 3.3.4 beta / RC status

2014-02-20 Thread Sandro Bonazzola
Hi,
  we've released oVirt 3.3.4 beta on Wed 2014-02-19.

We're going to start building 3.3.4 RC on 2014-02-25 09:00 UTC
repository composition will follow as soon as all packages will be built.

A bug tracker is available at [1] and it shows no bugs blocking the release

The following is a list of the non-blocking bugs still open with target 3.3.4:

Whiteboard  Bug ID  Summary
infra   1053576 ASSIGNED[abrt] vdsm-python: 
libvirt.py:102:openAuth:libvirtError: Failed to connect socket to 
'/var/run/libvirt/libvirt-sock': No such
file or directory
integration 1026930 NEW Package virtio-win and put it in ovirt 
repositories
integration 1026933 NEW pre-populate ISO domain with virtio-win ISO
network 987917  NEW [oVirt] [glance] API version not specified in 
provider dialog
network 997197  NEW Some AppErrors messages are grammatically 
incorrect (singular vs plural)
1066654 NEW engine-cleanup does not cleanup everything

Maintainers / Assignee:
Please add the bugs to the tracker if you think that 3.3.4 should not be 
released without them fixed.
Please re-target all bugs you don't think that should block 3.3.4.
Bugs still targeted to 3.3.4 after RC announce will be re-targeted to 3.4.1

For those who want to help testing the bugs, I suggest to add yourself to the 
testing page [2].

Maintainers are welcomed to start filling release notes, the page has been 
created here [3]

[1] http://bugzilla.redhat.com/1064462
[2] http://www.ovirt.org/Testing/Ovirt_3.3.4_testing
[3] http://www.ovirt.org/OVirt_3.3.4_release_notes

Thanks,


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


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
I wrote this code to assign IP address to VM interface eth0, but not luck.
Also, have attached debug log.

*Java Code:*
  org.ovirt.engine.sdk.entities.User userData = new User();
  userData.setUserName(root);
  userData.setPassword(password);
  Users usersData = new Users();
  usersData.getUsers().add(userData);
  CloudInit cloudData = new CloudInit();


  cloudData.setUsers(usersData);
  Host hostData = new Host();
  hostData.setAddress(vmName);
  cloudData.setHost(hostData);

  org.ovirt.engine.sdk.entities.CloudInit.Network
networkConfiguration=new org.ovirt.engine.sdk.entities.CloudInit.Network();

  DNS dns = new DNS();
  dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
  dns.setSearchDomains(createServersList(google.com));
  networkConfiguration.setDns(dns);
  networkConfiguration.setNics(new Nics());

  Nics nics = networkConfiguration.getNics();
  nics.getNics().add(createNic(eth0, STATIC,
createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));

  networkConfiguration.setNics(nics);

  cloudData.setNetwork(networkConfiguration);

  Initialization initData = new Initialization();

  initData.setCloudInit(cloudData);

  VM vmDataForStart = new VM();
  vmDataForStart.setInitialization(initData);
  Action actionData = new Action();
  actionData.setVm(vmDataForStart);

  // Send the request to start the VM to the server:
  api.getVMs().get(vmName).start(actionData);






On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com wrote:



 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: Moti Asayag masa...@redhat.com
  Cc: users@oVirt.org users@ovirt.org
  Sent: Thursday, February 20, 2014 8:52:52 AM
  Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  I'm not getting below class:
 
  import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;

 Which version of ovirt-engine-sdk-java are you using ?

 I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml:

 dependency
 groupIdorg.ovirt.engine.sdk/groupId
 artifactIdovirt-engine-sdk-java/artifactId
 version3.4.0.1-1/version
 typejar/type
 scopecompile/scope
 /dependency

 
 
  On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com wrote:
 
  
  
   - Original Message -
From: Tejesh M tejes...@gmail.com
To: users@oVirt.org users@ovirt.org
Sent: Wednesday, February 19, 2014 3:24:40 PM
Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
   
Hi,
   
Can someone share me sample java code for assigning IP address for
 VM on
   eth0
through Java SDK via CloudInit ?
   
  
   Hi Tejesh,
  
   I've attached a sample code that sends the required request (as the
 output
   is demonstrated in debug mode).
   Note that the code is jdk-7 compliant.
   I haven't configured cloud-init and haven't tested it end-to-end.
   Please try to test it on your environment and provide a feedback for
 it.
  
   Thanks,
   Moti
  
Something Like this but in Java:
network_configuration
 nics
   nic
 nameeth0/name
 boot_protocolSTATIC/boot_protocol
 network
   ip address=192.168.2.11 netmask=255.255.0.0
   gateway=192.168.2.1 /
 /network
 on_boottrue/on_boot
   /nic
   nic
 nameeth1/name
 boot_protocolDHCP/boot_protocol
   /nic
   nic
 nameeth2/name
 boot_protocolNONE/boot_protocol
 on_boottrue/on_boot
   /nic
 /nics
 dns
   servers
 host
   address1.1.2.2/address
 /host
 host
   address1.2.3.4/address
 /host
   /servers
   search_domains
 host
   addressqa.lab/address
 /host
 host
   address google.com /address
 /host
   /search_domains
 /dns
   /network_configuration
   
   
   
--
Thanks  Regards
Tejesh
   
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
  
 
 
 
  --
  Thanks  Regards
  Tejesh
 




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


[Users] [QE] oVirt 3.4.0 RC status

2014-02-20 Thread Sandro Bonazzola
Hi,
oVirt 3.4.0 beta3 has been released and is actually on QA.
We're going to start building oVirt 3.4.0 RC this Monday 2014-02-24 09:00 UTC 
from 3.4 branches.
repository composition will follow as soon as all packages will be built.

This build will be used for a third Test Day scheduled for Wed 2014-02-27.

The bug tracker [1] shows the following bugs blocking the release:
Whiteboard  Bug ID  Status  Summary
infra   1055881 POSTREST API: Search for an user in active 
directory by upn doesn't return any results ...
infra   1059258 POSTREST API: Create user user@domain actually 
creates user only
infra   1060528 POSTError response to DELETE request of 'Everyone' 
group doesn't contains 'detail' field
infra   1064829 POSTRegression: Add data center permission to user 
causes to internal error
integration 1058018 POSTupgrade from 3.3 overwrites exports with acl 
None
network 1066953 POSTCannot edit network is setup networks dialog
network 1066956 POSTCannot create a bond in 'Setup networks' dialog
storage 1057761 NEW Can't discover iSCSI target
storage 1066466 POSTDisk name doesn't get assigned automatically 
after a CREATE command.
ux  1066489 POSTEvent list not updating when events happen. 
ux  1066827 NEW [webadmin] incorrect behavior of manual refresh 
in Host Main Tab
virt1062615 POSTutc_diff not updated according to a change in 
VM settings   

Maintainers / Assignee:
- Please provide ETA on blockers bugs
- Please fix them ASAP

There are still 347 bugs [2] targeted to 3.4.0.
Excluding node and documentation bugs we still have 222 bugs [3] targeted to 
3.4.0.
Please review them as soon as possible.

Maintainers / Assignee:
- Please remember to rebuild your packages before 2014-02-24 09:00 UTC if you 
want them to be included in 3.4.0 RC.
- Please add the bugs to the tracker if you think that 3.4.0 should not be 
released without them fixed.
- Please update the target to 3.4.1 or any next release for bugs that won't be 
in 3.4.0:
  it will ease gathering the blocking bugs for next releases.
- Please fill release notes, the page has been created here [4]
- Please update http://www.ovirt.org/OVirt_3.4_TestDay before 2014-02-27


Be prepared for upcoming oVirt 3.4.0 Test Day on 2014-02-27!
Thanks to all people already testing 3.4.0 beta 3!

[1] https://bugzilla.redhat.com/1024889
[2] http://red.ht/1eIRZXM
[3] http://red.ht/1auBU3r
[4] http://www.ovirt.org/OVirt_3.4.0_release_notes

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


[Users] Creating Logical Network issue - API

2014-02-20 Thread Tejesh M
Hi ,

I'm trying to create Logical Network and assign it to cluster  want to
bond this to one of the Network Interface on Host. so that i can isolate my
VM from other networks.

The issue is even if i set Cluster while creating Logical Network, it is
not setting the cluster. In Web Admin it is in unset state.

Also, let me know how do i bind this Logical network on Host Interface.

*Java code:*

Network nw1=new Network();
  VLAN vlan = new VLAN();
  vlan.setId(2000);
  nw1.setVlan(vlan);
  IP ip = new IP();
  ip.setAddress(192.168.1.151);
  ip.setGateway(192.168.1.1);
  ip.setNetmask(255.255.255.0);
  nw1.setIp(ip);
  nw1.setName(apiNetwork);

  nw1.setDataCenter(api.getDataCenters().get(testDC));
  nw1.setCluster(api.getClusters().get(testCluster));

  org.ovirt.engine.sdk.decorators.Network nw2 =
api.getNetworks().add(nw1);

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


Re: [Users] Last Updated shows current time instead of last update

2014-02-20 Thread Nir Soffer
- Original Message -
 From: Yedidyah Bar David d...@redhat.com
 To: infra in...@ovirt.org, users users@ovirt.org
 Sent: Monday, February 17, 2014 2:43:42 PM
 Subject: [Users] Last Updated shows current time instead of last update
 
 Hi all,
 
 Sorry for cross-posting. Not sure what's the correct address to discuss this.
 
 Almost all of the pages on the ovirt.org wiki that have Last Updated:,
 actually have:
 
 Last updated: {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}!--This is
 markup for current date, do not change--
 
 thus showing the current date and not the last change date. When searching
 google you see the last time its robot happened to fetch the page.
 
 See e.g. [1] for a (possibly non-complete) list.
 
 Not sure if that's intended or not, but I personally find it useless and
 misleading.

This is indeed useless and wrong and should be removed.

Does this work?

Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by 
{{REVISIONUSER}}

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


Re: [Users] Host installation failed. SSH session closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

2014-02-20 Thread Dafna Ron

all installation failures will log the ssh issue in engine.
this is why debugging host deployment should be done from the 
host-deploy/logs and not from the engine log.
Please look under /var/log/ovirt-engine/host-deploy/ and paste the error 
from the appropriate log.


Thanks,
Dafna

On 02/20/2014 07:02 AM, Udaya Kiran P wrote:

Hi Meital,

I have added the Host by entering oVirt Engine Details in the Host and 
then trying to approve the Host from the oVirt Management.


Engine - oVirt Engine 3.3, on Fedora 19
Host - oVirtNode Hypervisor (ovirt-node-iso-3.0.3-1.1.fc19)

Initially, I was not able ssh from the Engine to Host. After 
setenforce 0 at Host,  I was able to do ssh.


However, I was able to do ssh from Host to Engine without any trouble.

Appreciate your inputs.

Thank You,

Regards,
Udaya Kiran


On Wednesday, 19 February 2014 5:13 PM, Meital Bourvine 
mbour...@redhat.com wrote:

Hi,

It seems that it's not related to the bug that you mentioned.
Can you please answer what I asked (about how did you add the host)?

Also, please try SSH from the engine to the host - is it working?




*From: *Udaya Kiran P ukiran...@yahoo.in
*To: *Nir Soffer nsof...@redhat.com, mbour...@redhat.com,
Itamar Heim ih...@redhat.com
*Cc: *users users@ovirt.org
*Sent: *Wednesday, February 19, 2014 1:26:15 PM
*Subject: *Re: [Users] Host installation failed. SSH session
closedduringconnection (ovirt-node-iso-3.0.3-1.1.fc19)

Hi All,

I have disabled the selinux by setenforce 0.

Not sure if its related to the bug apache-sshd downgrading
mentioned in - https://bugzilla.redhat.com/show_bug.cgi?id=1021273

Below are the errors logged in engine.log.

Appreciate your help.



2014-02-19 05:06:45,232 INFO
 [org.ovirt.engine.core.register.RegisterServlet]
(ajp--127.0.0.1-8702-7) [1cb2fef] Succeeded to run RegisterVds.
2014-02-19 05:58:01,374 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:04,397 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:09,433 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:14,428 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:14,909 ERROR
[org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery]
(ajp--127.0.0.1-8702-11) Could not fetch fingerprint of host
10.10.155.240 with message: IOException: SSH session closed during
connection '10.10.155.240'
2014-02-19 05:58:19,436 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
in: /usr/share/ovirt-node-iso
2014-02-19 05:58:24,572 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:29,337 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:34,379 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:39,335 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:44,340 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-6) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:49,337 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:54,327 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:58:59,328 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:59:04,331 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
/usr/share/ovirt-node-iso
2014-02-19 05:59:09,338 ERROR
[org.ovirt.engine.core.bll.GetoVirtISOsQuery]
(ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:

Re: [Users] Host installation failed. SSH session closed during connection (ovirt-node-iso-3.0.3-1.1.fc19)

2014-02-20 Thread Alon Bar-Lev


- Original Message -
 From: Dafna Ron d...@redhat.com
 To: Udaya Kiran P ukiran...@yahoo.in, Meital Bourvine 
 mbour...@redhat.com
 Cc: users users@ovirt.org
 Sent: Thursday, February 20, 2014 1:32:16 PM
 Subject: Re: [Users] Host installation failed. SSH session closed during  
 connection (ovirt-node-iso-3.0.3-1.1.fc19)
 
 all installation failures will log the ssh issue in engine.
 this is why debugging host deployment should be done from the
 host-deploy/logs and not from the engine log.
 Please look under /var/log/ovirt-engine/host-deploy/ and paste the error
 from the appropriate log.

In this case, as the ssh session is not initiated, the host-deploy log will not 
be created, as the process did not begin.

You will see an error in engine.log that ssh session was terminated.

 
 Thanks,
 Dafna
 
 On 02/20/2014 07:02 AM, Udaya Kiran P wrote:
  Hi Meital,
 
  I have added the Host by entering oVirt Engine Details in the Host and
  then trying to approve the Host from the oVirt Management.
 
  Engine - oVirt Engine 3.3, on Fedora 19
  Host - oVirtNode Hypervisor (ovirt-node-iso-3.0.3-1.1.fc19)
 
  Initially, I was not able ssh from the Engine to Host. After
  setenforce 0 at Host,  I was able to do ssh.
 
  However, I was able to do ssh from Host to Engine without any trouble.
 
  Appreciate your inputs.
 
  Thank You,
 
  Regards,
  Udaya Kiran
 
 
  On Wednesday, 19 February 2014 5:13 PM, Meital Bourvine
  mbour...@redhat.com wrote:
  Hi,
 
  It seems that it's not related to the bug that you mentioned.
  Can you please answer what I asked (about how did you add the host)?
 
  Also, please try SSH from the engine to the host - is it working?
 
 
  
 
  *From: *Udaya Kiran P ukiran...@yahoo.in
  *To: *Nir Soffer nsof...@redhat.com, mbour...@redhat.com,
  Itamar Heim ih...@redhat.com
  *Cc: *users users@ovirt.org
  *Sent: *Wednesday, February 19, 2014 1:26:15 PM
  *Subject: *Re: [Users] Host installation failed. SSH session
  closedduringconnection (ovirt-node-iso-3.0.3-1.1.fc19)
 
  Hi All,
 
  I have disabled the selinux by setenforce 0.
 
  Not sure if its related to the bug apache-sshd downgrading
  mentioned in - https://bugzilla.redhat.com/show_bug.cgi?id=1021273
 
  Below are the errors logged in engine.log.
 
  Appreciate your help.
 
 
 
  2014-02-19 05:06:45,232 INFO
   [org.ovirt.engine.core.register.RegisterServlet]
  (ajp--127.0.0.1-8702-7) [1cb2fef] Succeeded to run RegisterVds.
  2014-02-19 05:58:01,374 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:04,397 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:09,433 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:14,428 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:14,909 ERROR
  [org.ovirt.engine.core.bll.GetServerSSHKeyFingerprintQuery]
  (ajp--127.0.0.1-8702-11) Could not fetch fingerprint of host
  10.10.155.240 with message: IOException: SSH session closed during
  connection '10.10.155.240'
  2014-02-19 05:58:19,436 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-11) ovirt ISOs directory not found. Search
  in: /usr/share/ovirt-node-iso
  2014-02-19 05:58:24,572 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:29,337 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:34,379 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:39,335 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-7) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:44,340 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-6) ovirt ISOs directory not found. Search in:
  /usr/share/ovirt-node-iso
  2014-02-19 05:58:49,337 ERROR
  [org.ovirt.engine.core.bll.GetoVirtISOsQuery]
  (ajp--127.0.0.1-8702-8) ovirt ISOs directory not found. Search in:
  

Re: [Users] API read-only access / roles

2014-02-20 Thread Jiří Sléžka

Hello Sander,

where can I find more informations about your zabbix monitoring plugin? 
We are using zabbix and also rhev and ovirt so I can (and would like to) 
test it.


thanks

Jiri


Dne 18.11.2013 16:46, Sander Grendelman napsal(a):

I'm working on (Zabbix) monitoring through the RESTful API.

Which role should I assign to the monitoring user?

The user only needs read access to the data but it looks like
I nead to assign at least an Admin role to the user to be
able to read data through the API.

For this I've created a AdminLoginOnly role that only has
System-Configure System-Login Permissions access.

Is this the way to go for this king of configuration? Or is there
a way to further minimize the permissions of this user?

Another issue is that a Login event is generated every time
the user connects through the API. This makes the Events
pane less useful / readable. Is there a way to disable this for
some users/roles?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users



attachment: jiri_slezka.vcf

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] new oVirt look-and-feel -- feature page

2014-02-20 Thread Greg Sheremeta


- Original Message -
 From: Karli Sjöberg karli.sjob...@slu.se
 To: gsher...@redhat.com
 Cc: users@ovirt.org, a...@ovirt.org
 Sent: Wednesday, February 19, 2014 8:17:07 AM
 Subject: Re: [Users] new oVirt look-and-feel -- feature page
 
 On Wed, 2014-02-19 at 07:22 -0500, Greg Sheremeta wrote:
  
  - Original Message -
   From: Karli Sjöberg karli.sjob...@slu.se
   To: gsher...@redhat.com
   Cc: users@ovirt.org, a...@ovirt.org
   Sent: Wednesday, February 19, 2014 1:43:43 AM
   Subject: Re: [Users] new oVirt look-and-feel -- feature page
   
   On Tue, 2014-02-18 at 16:19 -0500, Greg Sheremeta wrote:
Hi,

Please check out the feature page for the new oVirt look-and-feel,
PatternFly based:
http://www.ovirt.org/Features/NewLookAndFeelPatternFlyPhase1.

Comments are welcome.

Thanks,
Greg

Greg Sheremeta
Red Hat, Inc.
Sr. Software Engineer, RHEV
Cell: 919-807-1086
gsher...@redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
   
   Looks really nice! Is the background canvas vectorized? Isn´t it going
   to become rather slow loading such a big picture otherwise... And how is
   it going to handle scaling of browser windows? How´d it look on smaller
   resolutions e.g 960x640?
   
   
   
   --
   
   Med Vänliga Hälsningar
   
   ---
   Karli Sjöberg
   Swedish University of Agricultural Sciences Box 7079 (Visiting Address
   Kronåsvägen 8)
   S-750 07 Uppsala, Sweden
   Phone:  +46-(0)18-67 15 66
   karli.sjob...@slu.se
   
  
  It's not vectorized. It's a PNG, size is 248.0 kB ... which isn't horrible.
  After the first load, it'll be stored in browser cache.
  
  It's set to scale in such a way that the aspect ratio is maintained. It
  uses the CSS3 property background-size to achieve this. I think it looks
  pretty perfect at any resolution.
  
  Here's the full CSS for it:
  
  .obrand_loginPageBackground {
  background-image: url(images/ovirt_bg.png);
  background-size: 100% auto;
  background-repeat: repeat-x;
  background-color: #1d2226;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  }
  
  Thanks!
  Greg
 
 Yupp, just checking, since it´s not made to tile like a parallax, I was
 just curious if you had some special trick up your sleave.
 
 And maybe I´m just nit-picking here, but I made a quick test, just to
 demonstrate what I would percieve as a problem of having one big picture
 as background.
 
 obrand.html:
 html
   head
 link rel=stylesheet href=obrand.css /
   /head
   body class=obrand_loginPageBackground/body
 /html
 
 obrand.css:
 .obrand_loginPageBackground {
 background-image: url(ovirt_bg.png);
 background-size: 100% auto;
 background-repeat: repeat-x;
 background-color: #1d2226;
 position: absolute;
 bottom: 0;
 left: 0;
 right: 0;
 top: 0;
 }
 
 I attached a snapshot of how scaling your browser window in the wrong
 way breaks it´s aspect ratio and how that´s just handled by
 background-color in a rather...boring way. Of course scaling the
 window _that_ small is ridiculous, it´s just to demonstrate the aspect
 issue that would be for smartphones e.g, on this welcome screen.
 
 So my concern here is most of all about the aspect ratio issues involved
 with having just one big picture as a background. Most sites I´ve seen
 have either just code, a lot of small pics, parallaxing ones, or one
 insanely big picture, talking Ultra-HD 4k big, just to be absolutely
 sure it´s not going to scale in this unwanted way.
 
 Am I wrong?
 
 
 
 --
 
 Med Vänliga Hälsningar
 
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences Box 7079 (Visiting Address
 Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se
 
There is a new CSS trick in PatternFly that deals with this. Once I implement 
that, it should fix the tall-skinny resolution issue. I'll reply back.

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


Re: [Users] vmware image conversion

2014-02-20 Thread Ted Miller

On 2/19/2014 8:54 PM, Bob Doolittle wrote:

Yes.
So:

VMware non-ESX - ESX, using VMware's tool, then
ESX - RHEV using virt-v2v

no?

NO!!!

You apparently have not done this, only talk about it?  The last step (ESX - 
RHEV using virt-v2v) doesn't work.  It had problems with some images, and 
they pulled it completely from current versions of virt-v2v.  See 
https://rhn.redhat.com/errata/RHBA-2013-1749.html


Ted Miller

If this is viable, it's easy to understand why nobody wants to put effort 
into supporting a bevy of VMware VM formats, when there's a tool already 
available to convert to one and they can focus on it.


-Bob

On 02/19/2014 05:52 PM, Maurice James wrote:

I want to change it from VMware to RHEV/oVirt

-Original Message-
From: Bob Doolittle [mailto:b...@doolittle.us.com]
Sent: Wednesday, February 19, 2014 8:51 PM
To: Maurice James; 'Ted Miller'; users@ovirt.org
Subject: Re: [Users] vmware image conversion

My recollection is that VMware provides a converter to change your VMware
non-ESX VMs into ESX format.
Do you have to buy ESX to gain access to it?

-Bob

On 02/19/2014 05:46 PM, Maurice James wrote:

I even open a feature request that they closed pretty quickly with
WONTFIX
https://bugzilla.redhat.com/show_bug.cgi?id=1062910 . Why is this such
a touchy issue?

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
Behalf Of Ted Miller
Sent: Wednesday, February 19, 2014 7:28 PM
To: users@ovirt.org
Subject: Re: [Users] vmware image conversion


On 2/9/2014 4:27 PM, Itamar Heim wrote:

On 02/09/2014 10:28 PM, Maurice James wrote:

The instructions assume that I have an ESX instance to connect to.
How do I do this with an already exported vmware image with no esx
available to connect to? I have a turnkey drupal vm in ovf format

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 2:24 PM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/09/2014 07:02 PM, Maurice James wrote:

According to this https://rhn.redhat.com/errata/RHBA-2013-1749.html
It does not do it

please review:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterpris
e _Virtua lization/3.3/html-single/V2V_Guide/index.html


-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 4:52 AM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/08/2014 04:18 PM, Maurice James wrote:

I submitted an RFE to have vmware image conversion added to 3.5. I
think that is a key feature that is lacking. Im just trying to get
some eyes on it here.

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



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


can you comment on the gaps from virt-v2v which does this today (in
the bug as well).

thanks,
Itamar


iirc, you need an ESX currently.

Some of us are stuck without a way to try out ovirt because of this.
ESX is not the only platform that people run VMWare on.  I am trying
to bring over VMs from an old VMWare Server setup on Centos 5.  Works
fine, but there is no migration path.  Other people may have VMs on
VMWare Workstation or other, older products.  We just get told to go fly a

kite?

If the only choice is to bring up a full-blown, working ESX instance,
I may bring up ESXi and stay there.

Ted Miller
Elkhart, IN

___
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




--
He is no fool who gives what he cannot keep, to gain what he cannot lose. - - 
Jim Elliot
For more information about Jim Elliot and his unusual life, see 
http://www.christianliteratureandliving.com/march2003/carolyn.html.

Ted Miller
Design Engineer
HCJB Global Technology Center
2830 South 17th St
Elkhart, IN  46517
574--970-4272 my desk
574--970-4252 receptionist

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


Re: [Users] Last Updated shows current time instead of last update

2014-02-20 Thread Yedidyah Bar David
- Original Message -
 From: Nir Soffer nsof...@redhat.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: infra in...@ovirt.org, users users@ovirt.org
 Sent: Thursday, February 20, 2014 12:15:42 PM
 Subject: Re: [Users] Last Updated shows current time instead of last update
 
 - Original Message -
  From: Yedidyah Bar David d...@redhat.com
  To: infra in...@ovirt.org, users users@ovirt.org
  Sent: Monday, February 17, 2014 2:43:42 PM
  Subject: [Users] Last Updated shows current time instead of last update
  
  Hi all,
  
  Sorry for cross-posting. Not sure what's the correct address to discuss
  this.
  
  Almost all of the pages on the ovirt.org wiki that have Last Updated:,
  actually have:
  
  Last updated: {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}!--This
  is
  markup for current date, do not change--
  
  thus showing the current date and not the last change date. When searching
  google you see the last time its robot happened to fetch the page.
  
  See e.g. [1] for a (possibly non-complete) list.
  
  Not sure if that's intended or not, but I personally find it useless and
  misleading.
 
 This is indeed useless and wrong and should be removed.
 
 Does this work?
 
 Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by
 {{REVISIONUSER}}

If I Edit, then Show preview, it's already updated, even before Save page.
I personally find it a bit weird. Anyway, I did this on a test page and it
seems to work, but I have to wait a day to make sure the date does not change...

In any case, it does affect performance. Not sure it's very significant, though.

I now changed the following pages (picked up randomly):

http://www.ovirt.org/Features/Minimum_guaranteed_memory
http://www.ovirt.org/Features/MultiHostNetworkConfiguration
http://www.ovirt.org/Features/Node/PluginLiveInstall
http://www.ovirt.org/Features/Node/PackageRefactoring
http://www.ovirt.org/Features/Automatic_scaling

I changed it to:

Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by 
{{REVISIONUSER}}

That is, ISO date.

If we do not see a significant impact in a few days, we should probably edit
all pages, probably with some bot.
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] (no subject)

2014-02-20 Thread Koen Vanoppen
Hey Guys,

I'm back ;-). This time I have a question from one of our programmers.
He's trying this:
http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API

But he bumps into this:

Connect to the client again (again, r-v will ask for the password in a
pop-up window):

 bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject
${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*

Now, the question is What's the password? Or where can I find it?

Kind regards,

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


Re: [Users] (no subject)

2014-02-20 Thread Yedidyah Bar David
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: users@ovirt.org
 Sent: Thursday, February 20, 2014 4:56:10 PM
 Subject: [Users] (no subject)

 Hey Guys,

 I'm back ;-). This time I have a question from one of our programmers.
 He's trying this:
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API

 But he bumps into this:

 Connect to the client again (again, r-v will ask for the password in a pop-up
 window):
 bash$ remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject
 ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}
 Now, the question is What's the password? Or where can I find it?

I think you need to set it with setVmTicket - see that page for an example. 
-- 
Didi 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] (no subject)

2014-02-20 Thread Koen Vanoppen
Thanx, for the answer. But he successfully created a ticket and received a
number, but when he then starts the client again, as asked ( Connect to
the client again (again, r-v will ask for the password in a pop-up
window): ) He has to give a password. Maybe important. The username field
is empty and can't be modified.


Kind regards,

Koen


2014-02-20 16:03 GMT+01:00 Yedidyah Bar David d...@redhat.com:

 *From: *Koen Vanoppen vanoppen.k...@gmail.com
 *To: *users@ovirt.org
 *Sent: *Thursday, February 20, 2014 4:56:10 PM
 *Subject: *[Users] (no subject)

 Hey Guys,

 I'm back ;-). This time I have a question from one of our programmers.
 He's trying this:

 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API

 But he bumps into this:

 Connect to the client again (again, r-v will ask for the password in a
 pop-up window):

  bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject 
 ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*

 Now, the question is What's the password? Or where can I find it?


 I think you need to set it with setVmTicket - see that page for an example.
 --
 Didi


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


[Users] How to See Ovirt Console From a Remote Windows Host

2014-02-20 Thread Jon Forrest

I know that this is simple for some of you, but I also
know from Googling around that lots of people have had
trouble seeing their ovirt console from a remote Windows
host. Below I describe what finally worked for me. I hope
this helps somebody avoid wasting as much time as I did
today.

I'm a fairly experienced VMWare user who's learning ovirt.
I just installed an all-in-one ovirt server and copied a
CentOS 6.5 iso into it. I then tried to boot a new VM
but soon learned that console access is different in ovirt
than on VMWare.

I then spent over an hour trying the various documented
ways to view a remote console using Spice on my Windows 7
desktop. I even tried using a Linux VM to see if the Firefox
plugin for Spice would work. Nothing.

What finally worked was installing the virt-viewer Windows
client (http://virt-manager.org/download/). Then, I opened
the ovirt Administration Portal in Firefox running on my
Windows 7 desktop. I created a new VM and configured it
the way I wanted. Then, from the Virtual Machines tab, I started
the new VM. Pretty soon the little console icon turned green so
I clicked on it. I got the prompt from Firefox asking me what
app I wanted to associate with the .vv URL that opened when
I clicked on the console icon. I browsed around and selected

\Program Files\VirtViewer\bin\remote-viewer.exe

which is from the virt-viewer client package I installed above.
I told Firefox to always use this app for this kind of file.

This works great! I was able to boot the CentOS system and
install it with no problems.

Good luck!
Jon Forrest
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] spice password

2014-02-20 Thread Yedidyah Bar David
 From: Koen Vanoppen vanoppen.k...@gmail.com
 To: Yedidyah Bar David d...@redhat.com, users@ovirt.org
 Sent: Thursday, February 20, 2014 5:06:37 PM
 Subject: Re: [Users] (no subject)

 Thanx, for the answer. But he successfully created a ticket

With setVmTicket? So he supplied some password there, right? 

 and received a number, but when he then starts the client again, as asked (
 Connect to the client again (again, r-v will ask for the password in a
 pop-up window): ) He has to give a password.

Yes - the password set with setVmTicket... 

E.g.: 
vdsClient localhost setVmTicket $vmid topsecret 120 
then start the spice client and input as password: topsecret 
(and it will expire in 120 seconds). 

 Maybe important. The username field is empty and can't be modified.

Indeed. 

 Kind regards,

 Koen

 2014-02-20 16:03 GMT+01:00 Yedidyah Bar David  d...@redhat.com  :

   From: Koen Vanoppen  vanoppen.k...@gmail.com 
  
 
   To: users@ovirt.org
  
 
   Sent: Thursday, February 20, 2014 4:56:10 PM
  
 
   Subject: [Users] (no subject)
  
 

   Hey Guys,
  
 

   I'm back ;-). This time I have a question from one of our programmers.
  
 
   He's trying this:
  
 
   http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API
  
 

   But he bumps into this:
  
 

   Connect to the client again (again, r-v will ask for the password in a
   pop-up
   window):
  
 
   bash$ remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject
   ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}
  
 
   Now, the question is What's the password? Or where can I find it?
  
 

  I think you need to set it with setVmTicket - see that page for an example.
 
  --
 
  Didi
 

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


[Users] API read-only access / roles

2014-02-20 Thread Sven Kieske
Hi,

is nobody interested in this feature at all?
it would be a huge security gain, while lowering
the bars for having a read only user if this could get shipped with 3.4:

Am 19.02.2014 15:32, schrieb Sven Kieske: I just looked into my test vm
with the 3.4 beta
 and I can't see such an user there.

 I created an RFE at: https://bugzilla.redhat.com/show_bug.cgi?id=1067036


 I really hope this can get included in 3.4 (I know it's late)
 as it should be a very very minor change at engine-setup.

 Thanks

 Am 19.02.2014 14:55, schrieb Sven Kieske:
 Hi,

 reiterating on this somewhat old mail:

 Is there a read only user integrated in 3.4?

 Because it's a huge overhead to install somewhere
 e.g. a freeipa server just to get read only access.

 Am 21.11.2013 09:52, schrieb Sander Grendelman:
 Hi Doron,

 The user I've defined in [1] works for me.
 A built-in login-/read-only role would be nice,
 but it's quite easy to define a custom role so
 more of a nice-to-have instead of a must-have.

 Thanks for asking!

 Sander.

 On Wed, Nov 20, 2013 at 5:40 PM, Doron Fediuck dfedi...@redhat.com
wrote:
 Hi Sander,
 We're closing the ovirt 3.4 scope, and wondering if you're handling
 Zabbix based on [1].
 If so please let me know and I'll update the 3.4 features list.

 Thanks,
 Doron

 [1] http://lists.ovirt.org/pipermail/users/2013-November/017946.html


-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
On 02/20/2014 10:40 AM, Tejesh M wrote:
 I wrote this code to assign IP address to VM interface eth0, but not
 luck. Also, have attached debug log.
 

I'm attaching a complete examaple of how to do this. However, I think
that setting the DNS information doesn't currently work. Apparently
cloud-init is expecting a network configuration containing the DNS
settings inside the network interface, something like this:

iface eth0 inet static
  dns-nameservers 1.1.2.2 1.2.3.4
  dns-search google.com
  address 192.168.1.102
  netmask 255.255.0.0
  gateway 192.168.2.1
auto eth0

But we actually pass them outside of the network interface, like this:

dns-nameservers 1.1.2.2 1.2.3.4
dns-search google.com
iface eth0 inet static
  address 192.168.1.102
  netmask 255.255.0.0
  gateway 192.168.2.1
auto eth0

I need to check it.

 _*Java Code:*_
   org.ovirt.engine.sdk.entities.User userData = new User();
   userData.setUserName(root);
   userData.setPassword(password);
   Users usersData = new Users();
   usersData.getUsers().add(userData);
   CloudInit cloudData = new CloudInit();
  
  
   cloudData.setUsers(usersData);
   Host hostData = new Host();
   hostData.setAddress(vmName);
   cloudData.setHost(hostData);
 
   org.ovirt.engine.sdk.entities.CloudInit.Network
 networkConfiguration=new org.ovirt.engine.sdk.entities.CloudInit.Network();

   DNS dns = new DNS();
   dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
   dns.setSearchDomains(createServersList(google.com
 http://google.com));
   networkConfiguration.setDns(dns);
   networkConfiguration.setNics(new Nics());
  
   Nics nics = networkConfiguration.getNics();
   nics.getNics().add(createNic(eth0, STATIC,
 createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));

   networkConfiguration.setNics(nics);
  
   cloudData.setNetwork(networkConfiguration);
  
   Initialization initData = new Initialization();
  
   initData.setCloudInit(cloudData);
  
   VM vmDataForStart = new VM();
   vmDataForStart.setInitialization(initData);
   Action actionData = new Action();
   actionData.setVm(vmDataForStart);
 
   // Send the request to start the VM to the server:
   api.getVMs().get(vmName).start(actionData);
 
 
 
 
 
 
 On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:
 
 
 
 - Original Message -
  From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
  To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com
  Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
  Sent: Thursday, February 20, 2014 8:52:52 AM
  Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  I'm not getting below class:
 
  import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;
 
 Which version of ovirt-engine-sdk-java are you using ?
 
 I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml:
 
 dependency
 groupIdorg.ovirt.engine.sdk/groupId
 artifactIdovirt-engine-sdk-java/artifactId
 version3.4.0.1-1/version
 typejar/type
 scopecompile/scope
 /dependency
 
 
 
  On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:
 
  
  
   - Original Message -
From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
Sent: Wednesday, February 19, 2014 3:24:40 PM
Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
   
Hi,
   
Can someone share me sample java code for assigning IP address
 for VM on
   eth0
through Java SDK via CloudInit ?
   
  
   Hi Tejesh,
  
   I've attached a sample code that sends the required request (as
 the output
   is demonstrated in debug mode).
   Note that the code is jdk-7 compliant.
   I haven't configured cloud-init and haven't tested it end-to-end.
   Please try to test it on your environment and provide a feedback
 for it.
  
   Thanks,
   Moti
  
Something Like this but in Java:
network_configuration
 nics
   nic
 nameeth0/name
 boot_protocolSTATIC/boot_protocol
 network
   ip address=192.168.2.11 netmask=255.255.0.0
   gateway=192.168.2.1 /
 /network
 on_boottrue/on_boot
   /nic
   nic
 

Re: [Users] Last Updated shows current time instead of last update

2014-02-20 Thread Sandro Bonazzola
Il 20/02/2014 15:27, Yedidyah Bar David ha scritto:
 - Original Message -
 From: Nir Soffer nsof...@redhat.com
 To: Yedidyah Bar David d...@redhat.com
 Cc: infra in...@ovirt.org, users users@ovirt.org
 Sent: Thursday, February 20, 2014 12:15:42 PM
 Subject: Re: [Users] Last Updated shows current time instead of last update

 - Original Message -
 From: Yedidyah Bar David d...@redhat.com
 To: infra in...@ovirt.org, users users@ovirt.org
 Sent: Monday, February 17, 2014 2:43:42 PM
 Subject: [Users] Last Updated shows current time instead of last update

 Hi all,

 Sorry for cross-posting. Not sure what's the correct address to discuss
 this.

 Almost all of the pages on the ovirt.org wiki that have Last Updated:,
 actually have:

 Last updated: {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}}!--This
 is
 markup for current date, do not change--

 thus showing the current date and not the last change date. When searching
 google you see the last time its robot happened to fetch the page.

 See e.g. [1] for a (possibly non-complete) list.

 Not sure if that's intended or not, but I personally find it useless and
 misleading.

 This is indeed useless and wrong and should be removed.

 Does this work?

 Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by
 {{REVISIONUSER}}
 
 If I Edit, then Show preview, it's already updated, even before Save page.
 I personally find it a bit weird. Anyway, I did this on a test page and it
 seems to work, but I have to wait a day to make sure the date does not 
 change...
 
 In any case, it does affect performance. Not sure it's very significant, 
 though.
 
 I now changed the following pages (picked up randomly):
 
 http://www.ovirt.org/Features/Minimum_guaranteed_memory
 http://www.ovirt.org/Features/MultiHostNetworkConfiguration
 http://www.ovirt.org/Features/Node/PluginLiveInstall
 http://www.ovirt.org/Features/Node/PackageRefactoring
 http://www.ovirt.org/Features/Automatic_scaling
 
 I changed it to:
 
 Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by 
 {{REVISIONUSER}}
 
 That is, ISO date.
 
 If we do not see a significant impact in a few days, we should probably edit
 all pages, probably with some bot.
 

+1

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


Re: [Users] about live snapshot and qemu-kvm

2014-02-20 Thread Itamar Heim

On 02/20/2014 11:28 AM, Karli Sjöberg wrote:

On Mon, 2014-02-17 at 09:59 -0500, Douglas Schilling Landgraf wrote:

On 02/17/2014 02:00 AM, Karli Sjöberg wrote:

On Thu, 2014-02-13 at 14:42 -0500, Douglas Schilling Landgraf wrote:

On 01/01/2014 06:24 AM, Gianluca Cecchi wrote:

On Wed, Jan 1, 2014 at 4:38 AM, R P Herrold  wrote:



Out of curiousity, _what_ build environment 'flags' do you
all, participating in this thread, refer to? -- the thread
does not enumerate them explicitly, and one cannot expect to
hit by 'indirect fire', a target not exposed

With best regards, this New Year's eve


I'm far from being a programmer, but as I went to compare build
environments, between
qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.src.rpm
and
qemu-kvm-0.12.1.2-2.415.el6_5.3.src.rpm
in related spec file I see
[g.cecchi@tekkaman SPECS]$ diff qemu-kvm.spec.upstream qemu-kvm.spec.rhev
3c3
 %define rhev 0
---

%define rhev 1

12928a12929

rhel-6.5


and apart other probably not trivial implications, such as guest agent
part, I see that the configure command takes one extra argument in
base RH EL 6.5, that is

--disable-rhev-features

The only patch file containing this keyword is

kvm-Block-streaming-disable-for-RHEL.patch

and inside it there are these lines that impacts configure options and
related built qemu-kvm:

--- a/configure
+++ b/configure
@@ -286,6 +286,7 @@ spice=
smartcard=
smartcard_nss=
live_snapshots=yes
+block_stream=yes
usb_redir=

# OS specific
@@ -686,10 +687,22 @@ for opt do
  ;;
  --enable-live-snapshots) live_snapshots=yes
  ;;
+  --disable-block-stream) block_stream=no
+  ;;
+  --enable-block-stream) block_stream=yes
+  ;;
  --disable-usb-redir) usb_redir=no
  ;;
  --enable-usb-redir) usb_redir=yes
  ;;
+  --disable-rhev-features)
+   live_snapshots=no;
+   block_stream=no;
+  ;;
+  --enable-rhev-features)
+   live_snapshots=yes;
+   block_stream=yes;
+  ;;
  *) echo ERROR: unknown option $opt; show_help=yes
  ;;
  esac
@@ -863,8 +876,12 @@ echo   --disable-smartcard-nss  disable
smartcard nss support
echo   --enable-smartcard-nss   enable smartcard nss support
echo   --disable-live-snapshots disable live block device snapshot support
echo   --enable-live-snapshots  enable live block device snapshot support
+echo   --disable-block-stream   disable block streaming support
+echo   --enable-block-streamenable block streaming support
echo   --disable-usb-redir  disable usb network redirection support
echo   --enable-usb-redir   enable usb network redirection support
+echo   --disable-rhev-features  disable RHEV-only features
+echo   --enable-rhev-features   enable RHEV-only features
echo 
echo NOTE: The object files are built at the place where configure
is launched
exit 1
@@ -2271,6 +2288,7 @@ echo Trace backend $trace_backend
echo spice support $spice
echo nss used  $smartcard_nss
echo Live snapshots$live_snapshots
+echo Block streaming   $block_stream
echo xfsctl support$xfs
echo usb net redir $usb_redir

@@ -2526,6 +2544,10 @@ if test $live_snapshots = yes ; then
  echo CONFIG_LIVE_SNAPSHOTS=y  $config_host_mak
fi

+if test $block_stream = yes ; then
+  echo CONFIG_BLOCK_STREAM=y  $config_host_mak
+fi
+
if test $usb_redir = yes ; then
  echo CONFIG_USB_REDIR=y  $config_host_mak
fi

I don't think the rhev argument has instead implications in upstream
source qemu-kvm-0.12.1.2.tar.gz
So I think that if you want to dig more and if you have more
competences, you have to see the full spec file and the full patch
above.

Files downloaded here:

upstream
http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/os/SRPMS/qemu-kvm-0.12.1.2-2.415.el6_5.3.src.rpm

rhev
http://ftp.redhat.com/redhat/linux/enterprise/6Server/en/RHEV/SRPMS/qemu-kvm-rhev-0.12.1.2-2.415.el6_5.3.src.rpm



Just for the record, we have setup a jenkins job to rebuild qemu-kvm for
el6 until we get it officially from centos:
http://jenkins.ovirt.org/view/Packaging/job/qemu-kvm-rhev_create_rpms_el6/

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


I think this calls for an oldschool question/statement;

Who da man? ... You da man! :)

Live snapshot now just works. Haven´t verified quiesce yet though, but
looks good as far as the events in webadmin is concerned. Next to test
is live disk migration.



Thanks a lot for the feedback :)

--
Cheers
Douglas


Hey,

have gone through the logs to verify quiescence and the only thing
actually mentioning it comes from vdsm.log:
Thread-127371::DEBUG::2014-02-19
14:54:15,612::BindingXMLRPC::977::vds::(wrapper) return vmSnapshot with
{'status': {'message': 'Done', 'code': 0}, 'quiesce': False}

What is it saying really? That quiescing failed, or that it was
deliberately taken without it, or what?

Nothing in qemu-ga.log 

Re: [Users] spice password

2014-02-20 Thread Koen Vanoppen
No, it wasn't asked...
On Feb 20, 2014 4:17 PM, Yedidyah Bar David d...@redhat.com wrote:

 *From: *Koen Vanoppen vanoppen.k...@gmail.com
 *To: *Yedidyah Bar David d...@redhat.com, users@ovirt.org
 *Sent: *Thursday, February 20, 2014 5:06:37 PM
 *Subject: *Re: [Users] (no subject)

 Thanx, for the answer. But he successfully created a ticket


 With setVmTicket? So he supplied some password there, right?

 and received a number, but when he then starts the client again, as asked
 ( Connect to the client again (again, r-v will ask for the password in a
 pop-up window): ) He has to give a password.


 Yes - the password set with setVmTicket...

 E.g.:
 vdsClient localhost setVmTicket $vmid topsecret 120
 then start the spice client and input as password: topsecret
 (and it will expire in 120 seconds).

 Maybe important. The username field is empty and can't be modified.


 Indeed.




 Kind regards,

 Koen


 2014-02-20 16:03 GMT+01:00 Yedidyah Bar David d...@redhat.com:

 *From: *Koen Vanoppen vanoppen.k...@gmail.com
 *To: *users@ovirt.org
 *Sent: *Thursday, February 20, 2014 4:56:10 PM
 *Subject: *[Users] (no subject)

 Hey Guys,

 I'm back ;-). This time I have a question from one of our programmers.
 He's trying this:

 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API

 But he bumps into this:

 Connect to the client again (again, r-v will ask for the password in a
 pop-up window):

  bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject 
 ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*

 Now, the question is What's the password? Or where can I find it?


 I think you need to set it with setVmTicket - see that page for an
 example.
 --
 Didi



 --
 Didi


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


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
I'm using rhevm 3.3 java sdk,which doesn't have NetworkConfiguration class.
On 20 Feb 2014 20:58, Juan Hernandez jhern...@redhat.com wrote:

 On 02/20/2014 10:40 AM, Tejesh M wrote:
  I wrote this code to assign IP address to VM interface eth0, but not
  luck. Also, have attached debug log.
 

 I'm attaching a complete examaple of how to do this. However, I think
 that setting the DNS information doesn't currently work. Apparently
 cloud-init is expecting a network configuration containing the DNS
 settings inside the network interface, something like this:

 iface eth0 inet static
   dns-nameservers 1.1.2.2 1.2.3.4
   dns-search google.com
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0

 But we actually pass them outside of the network interface, like this:

 dns-nameservers 1.1.2.2 1.2.3.4
 dns-search google.com
 iface eth0 inet static
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0

 I need to check it.

  _*Java Code:*_
org.ovirt.engine.sdk.entities.User userData = new User();
userData.setUserName(root);
userData.setPassword(password);
Users usersData = new Users();
usersData.getUsers().add(userData);
CloudInit cloudData = new CloudInit();
 
 
cloudData.setUsers(usersData);
Host hostData = new Host();
hostData.setAddress(vmName);
cloudData.setHost(hostData);
 
org.ovirt.engine.sdk.entities.CloudInit.Network
  networkConfiguration=new
 org.ovirt.engine.sdk.entities.CloudInit.Network();
 
DNS dns = new DNS();
dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
dns.setSearchDomains(createServersList(google.com
  http://google.com));
networkConfiguration.setDns(dns);
networkConfiguration.setNics(new Nics());
 
Nics nics = networkConfiguration.getNics();
nics.getNics().add(createNic(eth0, STATIC,
  createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));
 
networkConfiguration.setNics(nics);
 
cloudData.setNetwork(networkConfiguration);
 
Initialization initData = new Initialization();
 
initData.setCloudInit(cloudData);
 
VM vmDataForStart = new VM();
vmDataForStart.setInitialization(initData);
Action actionData = new Action();
actionData.setVm(vmDataForStart);
 
// Send the request to start the VM to the server:
api.getVMs().get(vmName).start(actionData);
 
 
 
 
 
 
  On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com
  mailto:masa...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
   To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com
   Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
   Sent: Thursday, February 20, 2014 8:52:52 AM
   Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
  
   I'm not getting below class:
  
   import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;
 
  Which version of ovirt-engine-sdk-java are you using ?
 
  I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's
 pom.xml:
 
  dependency
  groupIdorg.ovirt.engine.sdk/groupId
  artifactIdovirt-engine-sdk-java/artifactId
  version3.4.0.1-1/version
  typejar/type
  scopecompile/scope
  /dependency
 
  
  
   On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com
  mailto:masa...@redhat.com wrote:
  
   
   
- Original Message -
 From: Tejesh M tejes...@gmail.com mailto:
 tejes...@gmail.com
 To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
 
 Sent: Wednesday, February 19, 2014 3:24:40 PM
 Subject: [Users] Fwd: Sample code for setting NIC - CloudInit

 Hi,

 Can someone share me sample java code for assigning IP address
  for VM on
eth0
 through Java SDK via CloudInit ?

   
Hi Tejesh,
   
I've attached a sample code that sends the required request (as
  the output
is demonstrated in debug mode).
Note that the code is jdk-7 compliant.
I haven't configured cloud-init and haven't tested it end-to-end.
Please try to test it on your environment and provide a feedback
  for it.
   
Thanks,
Moti
   
 Something Like this but in Java:
 network_configuration
  nics
nic
  nameeth0/name
  boot_protocolSTATIC/boot_protocol
  network
ip address=192.168.2.11 

Re: [Users] API read-only access / roles

2014-02-20 Thread Itamar Heim

On 02/20/2014 05:24 PM, Sven Kieske wrote:

Hi,

is nobody interested in this feature at all?
it would be a huge security gain, while lowering
the bars for having a read only user if this could get shipped with 3.4:


we are very interested, but we want to do this based on the 
authentication re-factoring, which in itself, barely made the 3.4 timeline.
Yair - are we pluggable yet, that someone could add such a user by 
dropping a jar somewhere, or still on going work towards 3.5?




Am 19.02.2014 15:32, schrieb Sven Kieske: I just looked into my test vm
with the 3.4 beta

and I can't see such an user there.

I created an RFE at: https://bugzilla.redhat.com/show_bug.cgi?id=1067036


I really hope this can get included in 3.4 (I know it's late)
as it should be a very very minor change at engine-setup.

Thanks

Am 19.02.2014 14:55, schrieb Sven Kieske:

Hi,

reiterating on this somewhat old mail:

Is there a read only user integrated in 3.4?

Because it's a huge overhead to install somewhere
e.g. a freeipa server just to get read only access.

Am 21.11.2013 09:52, schrieb Sander Grendelman:

Hi Doron,

The user I've defined in [1] works for me.
A built-in login-/read-only role would be nice,
but it's quite easy to define a custom role so
more of a nice-to-have instead of a must-have.

Thanks for asking!

Sander.

On Wed, Nov 20, 2013 at 5:40 PM, Doron Fediuck dfedi...@redhat.com

wrote:

Hi Sander,
We're closing the ovirt 3.4 scope, and wondering if you're handling
Zabbix based on [1].
If so please let me know and I'll update the 3.4 features list.

Thanks,
Doron

[1] http://lists.ovirt.org/pipermail/users/2013-November/017946.html






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


Re: [Users] (no subject)

2014-02-20 Thread Juan Hernandez
On 02/20/2014 04:06 PM, Koen Vanoppen wrote:
 Thanx, for the answer. But he successfully created a ticket and received
 a number, but when he then starts the client again, as asked ( Connect
 to the client again (again, r-v will ask for the password in a pop-up
 window): ) He has to give a password. Maybe important. The username
 field is empty and can't be modified.
 
 
 Kind regards,
 
 Koen
 

Find attached a complete example of how to do this with the python SDK.
This generates a remote-viewer configuration file like the GUI does.

Note that you will need the latest version of the SKD, 3.4.0.4, as
otherwise the all_content parameter required to get the subject of the
certificate of the host isn't available.

 
 2014-02-20 16:03 GMT+01:00 Yedidyah Bar David d...@redhat.com
 mailto:d...@redhat.com:
 
 *From: *Koen Vanoppen vanoppen.k...@gmail.com
 mailto:vanoppen.k...@gmail.com
 *To: *users@ovirt.org mailto:users@ovirt.org
 *Sent: *Thursday, February 20, 2014 4:56:10 PM
 *Subject: *[Users] (no subject)
 
 Hey Guys,
 
 I'm back ;-). This time I have a question from one of our
 programmers.
 He's trying this:
 
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API
 
 But he bumps into this:
 
 Connect to the client again (again, r-v will ask for the
 password in a pop-up window):
 
  bash$ *remote-viewer --spice-ca-file ${CA_FILE} --spice-host-subject 
 ${SUBJECT} spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*
 
 Now, the question is What's the password? Or where can I find it?
 
 
 I think you need to set it with setVmTicket - see that page for an
 example.
 -- 
 Didi
 
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
#!/usr/bin/python

import os
import ovirtsdk.api
import ovirtsdk.xml
import subprocess
import tempfile
import urllib


# The parameters to connect to the engine:
engine_host = rhel.example.com
engine_port = 443
engine_user = admin@internal
engine_password = redhat123

# The name of the vm:
vm_name = myvm

# A template to generate the viewer configuration file:
config_template = \
[virt-viewer]
type={type}
host={host}
port={port}
password={password}
tls-port={tls_port}
fullscreen=0
title={title}
enable-smartcard=0
enable-usb-autoshare=1
delete-this-file=1
usb-filter=-1,-1,-1,-1,0
tls-ciphers=DEFAULT
host-subject={tls_subject}
ca={ca}
toggle-fullscreen=shift+f11
release-cursor=shift+f12
secure-channels=main;inputs;cursor;playback;record;display;usbredir;smartcard


# Connect to the API:
api_url = https://{host}:{port}/api.format(
host=engine_host,
port=engine_port
)
api = ovirtsdk.api.API(
  url=api_url,
  username=engine_user,
  password=engine_password,
  insecure=True,
  debug=True
)

# Download the CA certificate, as we need to pass this to the viewer so that it
# will trust the SSL certificate of the host:
ca_url = https://{host}:{port}/ca.crt.format(
host=engine_host,
port=engine_port
)
ca_path, _ = urllib.urlretrieve(ca_url)
with open(ca_path, r) as ca_file:
ca_content = ca_file.read()
ca_content = ca_content.replace(\n, \\n)

# Find the VM and get the display details:
vm = api.vms.get(name=vm_name, all_content=True)
display = vm.get_display()

# Request a ticket for the display of the VM:
ticket_result = vm.ticket()
ticket = ticket_result.get_ticket()

# Create the viewer configuration:
config_content = config_template.format(
type=display.get_type(),
host=display.get_address(),
port=display.get_port(),
password=ticket.get_value(),
tls_port=display.get_secure_port(),
title=vm_name,
tls_subject=display.get_certificate().get_subject(),
ca=ca_content
)
config_fd, config_path = tempfile.mkstemp()
with os.fdopen(config_fd, w) as config_file:
config_file.write(config_content)

# Run the viewer:
subprocess.call([remote-viewer, config_path])
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] (no subject)

2014-02-20 Thread Koen Vanoppen
Ok. Thanx. I'll forward this!! Big thanks!!
On Feb 20, 2014 5:42 PM, Juan Hernandez jhern...@redhat.com wrote:

 On 02/20/2014 04:06 PM, Koen Vanoppen wrote:
  Thanx, for the answer. But he successfully created a ticket and received
  a number, but when he then starts the client again, as asked ( Connect
  to the client again (again, r-v will ask for the password in a pop-up
  window): ) He has to give a password. Maybe important. The username
  field is empty and can't be modified.
 
 
  Kind regards,
 
  Koen
 

 Find attached a complete example of how to do this with the python SDK.
 This generates a remote-viewer configuration file like the GUI does.

 Note that you will need the latest version of the SKD, 3.4.0.4, as
 otherwise the all_content parameter required to get the subject of the
 certificate of the host isn't available.

 
  2014-02-20 16:03 GMT+01:00 Yedidyah Bar David d...@redhat.com
  mailto:d...@redhat.com:
 
  *From: *Koen Vanoppen vanoppen.k...@gmail.com
  mailto:vanoppen.k...@gmail.com
  *To: *users@ovirt.org mailto:users@ovirt.org
  *Sent: *Thursday, February 20, 2014 4:56:10 PM
  *Subject: *[Users] (no subject)
 
  Hey Guys,
 
  I'm back ;-). This time I have a question from one of our
  programmers.
  He's trying this:
 
 http://www.ovirt.org/How_to_Connect_to_SPICE_Console_Without_Portal#Connecting_Using_REST_API
 
  But he bumps into this:
 
  Connect to the client again (again, r-v will ask for the
  password in a pop-up window):
 
   bash$ *remote-viewer --spice-ca-file ${CA_FILE}
 --spice-host-subject ${SUBJECT}
 spice://${HOST}/?port=${PORT}\tls-port=${SPORT}*
 
  Now, the question is What's the password? Or where can I
 find it?
 
 
  I think you need to set it with setVmTicket - see that page for an
  example.
  --
  Didi
 
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 


 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.

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


[Users] repo status

2014-02-20 Thread Jimmy Dorff

What is going on with the EL repos. I'm getting this message:

http://resources.ovirt.org/releases/3.3.3/rpm/Fedora/6.5/repodata/repomd.xml: 
[Errno 14] PYCURL ERROR 22 - The requested URL returned error: 404 Not 
Found

Trying other mirror.
http://ovirt.org/releases/stable/rpm/Fedora/6.5/repodata/repomd.xml: 
[Errno 14] PYCURL ERROR 22 - The requested URL returned error: 404 Not 
Found

Trying other mirror.

This is on a fresh install with only EPEL and 
http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm



Thanks,
Jimmy



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
On 02/20/2014 05:09 PM, Tejesh M wrote:
 I'm using rhevm 3.3 java sdk,which doesn't have NetworkConfiguration class.
 

In that case you will have to use CloudInit.Network. That was an error
in that version of the SDK, which will be fixed with the next release.

 On 20 Feb 2014 20:58, Juan Hernandez jhern...@redhat.com
 mailto:jhern...@redhat.com wrote:
 
 On 02/20/2014 10:40 AM, Tejesh M wrote:
  I wrote this code to assign IP address to VM interface eth0, but not
  luck. Also, have attached debug log.
 
 
 I'm attaching a complete examaple of how to do this. However, I think
 that setting the DNS information doesn't currently work. Apparently
 cloud-init is expecting a network configuration containing the DNS
 settings inside the network interface, something like this:
 
 iface eth0 inet static
   dns-nameservers 1.1.2.2 1.2.3.4
   dns-search google.com http://google.com
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0
 
 But we actually pass them outside of the network interface, like this:
 
 dns-nameservers 1.1.2.2 1.2.3.4
 dns-search google.com http://google.com
 iface eth0 inet static
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0
 
 I need to check it.
 
  _*Java Code:*_
org.ovirt.engine.sdk.entities.User userData = new User();
userData.setUserName(root);
userData.setPassword(password);
Users usersData = new Users();
usersData.getUsers().add(userData);
CloudInit cloudData = new CloudInit();
 
 
cloudData.setUsers(usersData);
Host hostData = new Host();
hostData.setAddress(vmName);
cloudData.setHost(hostData);
 
org.ovirt.engine.sdk.entities.CloudInit.Network
  networkConfiguration=new
 org.ovirt.engine.sdk.entities.CloudInit.Network();
 
DNS dns = new DNS();
dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
dns.setSearchDomains(createServersList(google.com
 http://google.com
  http://google.com));
networkConfiguration.setDns(dns);
networkConfiguration.setNics(new Nics());
 
Nics nics = networkConfiguration.getNics();
nics.getNics().add(createNic(eth0, STATIC,
  createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));
 
networkConfiguration.setNics(nics);
 
cloudData.setNetwork(networkConfiguration);
 
Initialization initData = new Initialization();
 
initData.setCloudInit(cloudData);
 
VM vmDataForStart = new VM();
vmDataForStart.setInitialization(initData);
Action actionData = new Action();
actionData.setVm(vmDataForStart);
 
// Send the request to start the VM to the server:
api.getVMs().get(vmName).start(actionData);
 
 
 
 
 
 
  On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com
  mailto:masa...@redhat.com mailto:masa...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com
 mailto:tejes...@gmail.com mailto:tejes...@gmail.com
 mailto:tejes...@gmail.com
   To: Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com mailto:masa...@redhat.com
 mailto:masa...@redhat.com
   Cc: users@oVirt.org users@ovirt.org
 mailto:users@ovirt.org mailto:users@ovirt.org
 mailto:users@ovirt.org
   Sent: Thursday, February 20, 2014 8:52:52 AM
   Subject: Re: [Users] Fwd: Sample code for setting NIC -
 CloudInit
  
   I'm not getting below class:
  
   import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;
 
  Which version of ovirt-engine-sdk-java are you using ?
 
  I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's
 pom.xml:
 
  dependency
  groupIdorg.ovirt.engine.sdk/groupId
  artifactIdovirt-engine-sdk-java/artifactId
  version3.4.0.1-1/version
  typejar/type
  scopecompile/scope
  /dependency
 
  
  
   On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag
 masa...@redhat.com mailto:masa...@redhat.com
  mailto:masa...@redhat.com mailto:masa...@redhat.com wrote:
  
   
   
- Original Message -
 From: Tejesh M tejes...@gmail.com
 mailto:tejes...@gmail.com mailto:tejes...@gmail.com
 mailto:tejes...@gmail.com
 

Re: [Users] Last Updated shows current time instead of last update

2014-02-20 Thread Nir Soffer
- Original Message -
 From: Yedidyah Bar David d...@redhat.com
 To: Nir Soffer nsof...@redhat.com
 Cc: infra in...@ovirt.org, users users@ovirt.org
 Sent: Thursday, February 20, 2014 4:27:21 PM
 Subject: Re: [Users] Last Updated shows current time instead of last update
 
 - Original Message -
  From: Nir Soffer nsof...@redhat.com
  To: Yedidyah Bar David d...@redhat.com
  Cc: infra in...@ovirt.org, users users@ovirt.org
  Sent: Thursday, February 20, 2014 12:15:42 PM
  Subject: Re: [Users] Last Updated shows current time instead of last
  update
  
  - Original Message -
   From: Yedidyah Bar David d...@redhat.com
   To: infra in...@ovirt.org, users users@ovirt.org
   Sent: Monday, February 17, 2014 2:43:42 PM
   Subject: [Users] Last Updated shows current time instead of last update
   
   Hi all,
   
   Sorry for cross-posting. Not sure what's the correct address to discuss
   this.
   
   Almost all of the pages on the ovirt.org wiki that have Last Updated:,
   actually have:
   
   Last updated: {{CURRENTMONTHNAME}} {{CURRENTDAY}},
   {{CURRENTYEAR}}!--This
   is
   markup for current date, do not change--
   
   thus showing the current date and not the last change date. When
   searching
   google you see the last time its robot happened to fetch the page.
   
   See e.g. [1] for a (possibly non-complete) list.
   
   Not sure if that's intended or not, but I personally find it useless and
   misleading.
  
  This is indeed useless and wrong and should be removed.
  
  Does this work?
  
  Last updated on {{REVISIONDAY}}/{{REVISIONMONTH}}/{{REVISIONYEAR}} by
  {{REVISIONUSER}}
 
 If I Edit, then Show preview, it's already updated, even before Save page.
 I personally find it a bit weird. Anyway, I did this on a test page and it
 seems to work, but I have to wait a day to make sure the date does not
 change...
 
 In any case, it does affect performance. Not sure it's very significant,
 though.
 
 I now changed the following pages (picked up randomly):
 
 http://www.ovirt.org/Features/Minimum_guaranteed_memory
 http://www.ovirt.org/Features/MultiHostNetworkConfiguration
 http://www.ovirt.org/Features/Node/PluginLiveInstall
 http://www.ovirt.org/Features/Node/PackageRefactoring
 http://www.ovirt.org/Features/Automatic_scaling
 
 I changed it to:
 
 Last updated on {{REVISIONYEAR}}-{{REVISIONMONTH}}-{{REVISIONDAY}} by
 {{REVISIONUSER}}
 
 That is, ISO date.

Better! 

But see Dave version, which uses zero-padded day {{REVISIONDAY2}}

 
 If we do not see a significant impact in a few days, we should probably edit
 all pages, probably with some bot.

I don't see any reason why this should effect performance. The expensive 
warning
is about showing revision meta data for another page.

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


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
Also, any workaround to assign ip?
On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com wrote:



 - Original Message -
  From: Tejesh M tejes...@gmail.com
  To: users@oVirt.org users@ovirt.org
  Sent: Wednesday, February 19, 2014 3:24:40 PM
  Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  Hi,
 
  Can someone share me sample java code for assigning IP address for VM on
 eth0
  through Java SDK via CloudInit ?
 

 Hi Tejesh,

 I've attached a sample code that sends the required request (as the output
 is demonstrated in debug mode).
 Note that the code is jdk-7 compliant.
 I haven't configured cloud-init and haven't tested it end-to-end.
 Please try to test it on your environment and provide a feedback for it.

 Thanks,
 Moti

  Something Like this but in Java:
  network_configuration
   nics
 nic
   nameeth0/name
   boot_protocolSTATIC/boot_protocol
   network
 ip address=192.168.2.11 netmask=255.255.0.0
 gateway=192.168.2.1 /
   /network
   on_boottrue/on_boot
 /nic
 nic
   nameeth1/name
   boot_protocolDHCP/boot_protocol
 /nic
 nic
   nameeth2/name
   boot_protocolNONE/boot_protocol
   on_boottrue/on_boot
 /nic
   /nics
   dns
 servers
   host
 address1.1.2.2/address
   /host
   host
 address1.2.3.4/address
   /host
 /servers
 search_domains
   host
 addressqa.lab/address
   /host
   host
 address google.com /address
   /host
 /search_domains
   /dns
 /network_configuration
 
 
 
  --
  Thanks  Regards
  Tejesh
 
  ___
  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] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
On 02/20/2014 05:56 PM, Tejesh M wrote:
 Ok. Will it take long time for that sdk to release?
 

No, it should be released soon.

Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is
almost identical to the RHEV-M Jaa SDK.

If you are using maven these are the coordinates of the artifact:

dependency
groupIdorg.ovirt.engine.sdk/groupId
artifactIdovirt-engine-sdk-java/artifactId
version3.3.3.0/version
/dependency

If you aren't using maven you can still download the .jar file from here:

http://search.maven.org/#artifactdetails|org.ovirt.engine.sdk|ovirt-engine-sdk-java|3.3.3.0|jar

 On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:
 
 
 
 - Original Message -
  From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
  To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
  Sent: Wednesday, February 19, 2014 3:24:40 PM
  Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  Hi,
 
  Can someone share me sample java code for assigning IP address for
 VM on eth0
  through Java SDK via CloudInit ?
 
 
 Hi Tejesh,
 
 I've attached a sample code that sends the required request (as the
 output is demonstrated in debug mode).
 Note that the code is jdk-7 compliant.
 I haven't configured cloud-init and haven't tested it end-to-end.
 Please try to test it on your environment and provide a feedback for it.
 
 Thanks,
 Moti
 
  Something Like this but in Java:
  network_configuration
   nics
 nic
   nameeth0/name
   boot_protocolSTATIC/boot_protocol
   network
 ip address=192.168.2.11 netmask=255.255.0.0
 gateway=192.168.2.1 /
   /network
   on_boottrue/on_boot
 /nic
 nic
   nameeth1/name
   boot_protocolDHCP/boot_protocol
 /nic
 nic
   nameeth2/name
   boot_protocolNONE/boot_protocol
   on_boottrue/on_boot
 /nic
   /nics
   dns
 servers
   host
 address1.1.2.2/address
   /host
   host
 address1.2.3.4/address
   /host
 /servers
 search_domains
   host
 addressqa.lab/address
   /host
   host
 address google.com http://google.com /address
   /host
 /search_domains
   /dns
 /network_configuration
 
 
 
  --
  Thanks  Regards
  Tejesh
 
  ___
  Users mailing list
  Users@ovirt.org mailto:Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 


-- 
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Juan Hernandez
On 02/20/2014 04:28 PM, Juan Hernandez wrote:
 On 02/20/2014 10:40 AM, Tejesh M wrote:
 I wrote this code to assign IP address to VM interface eth0, but not
 luck. Also, have attached debug log.

 
 I'm attaching a complete examaple of how to do this. However, I think
 that setting the DNS information doesn't currently work. Apparently
 cloud-init is expecting a network configuration containing the DNS
 settings inside the network interface, something like this:
 
 iface eth0 inet static
   dns-nameservers 1.1.2.2 1.2.3.4
   dns-search google.com
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0
 
 But we actually pass them outside of the network interface, like this:
 
 dns-nameservers 1.1.2.2 1.2.3.4
 dns-search google.com
 iface eth0 inet static
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
 auto eth0
 
 I need to check it.
 

I have modified the code that generates the cloud-init files to put the
DNS configuration inside the iface configuration, and then it works:

http://gerrit.ovirt.org/24850

So this is probably a bug, either in our side or in cloud-init itself.
Greg, Shahar, you know cloud-init better, what do you think?

 _*Java Code:*_
   org.ovirt.engine.sdk.entities.User userData = new User();
   userData.setUserName(root);
   userData.setPassword(password);
   Users usersData = new Users();
   usersData.getUsers().add(userData);
   CloudInit cloudData = new CloudInit();
  
  
   cloudData.setUsers(usersData);
   Host hostData = new Host();
   hostData.setAddress(vmName);
   cloudData.setHost(hostData);

   org.ovirt.engine.sdk.entities.CloudInit.Network
 networkConfiguration=new org.ovirt.engine.sdk.entities.CloudInit.Network();

   DNS dns = new DNS();
   dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
   dns.setSearchDomains(createServersList(google.com
 http://google.com));
   networkConfiguration.setDns(dns);
   networkConfiguration.setNics(new Nics());
  
   Nics nics = networkConfiguration.getNics();
   nics.getNics().add(createNic(eth0, STATIC,
 createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));

   networkConfiguration.setNics(nics);
  
   cloudData.setNetwork(networkConfiguration);
  
   Initialization initData = new Initialization();
  
   initData.setCloudInit(cloudData);
  
   VM vmDataForStart = new VM();
   vmDataForStart.setInitialization(initData);
   Action actionData = new Action();
   actionData.setVm(vmDataForStart);

   // Send the request to start the VM to the server:
   api.getVMs().get(vmName).start(actionData);






 On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:



 - Original Message -
  From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
  To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com
  Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
  Sent: Thursday, February 20, 2014 8:52:52 AM
  Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  I'm not getting below class:
 
  import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;

 Which version of ovirt-engine-sdk-java are you using ?

 I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml:

 dependency
 groupIdorg.ovirt.engine.sdk/groupId
 artifactIdovirt-engine-sdk-java/artifactId
 version3.4.0.1-1/version
 typejar/type
 scopecompile/scope
 /dependency

 
 
  On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:
 
  
  
   - Original Message -
From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
Sent: Wednesday, February 19, 2014 3:24:40 PM
Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
   
Hi,
   
Can someone share me sample java code for assigning IP address
 for VM on
   eth0
through Java SDK via CloudInit ?
   
  
   Hi Tejesh,
  
   I've attached a sample code that sends the required request (as
 the output
   is demonstrated in debug mode).
   Note that the code is jdk-7 compliant.
   I haven't configured cloud-init and haven't tested it end-to-end.
   Please try to test it on your environment and provide a feedback
 for it.
  
   Thanks,
   Moti
  
Something Like this but in Java:
network_configuration
 nics
 

Re: [Users] Why choose glusterfs over iscsi for oVirt storage?

2014-02-20 Thread Steve Dainard
On Mon, Feb 17, 2014 at 3:50 AM, Justin Clacherty jus...@redfish.com.auwrote:

 Hi,



 I'm just setting up some storage for use with oVirt and am wondering why I
 might choose glusterfs rather than just exporting a raid array as iscsi.
 The oVirt team seem to be pushing gluster (though that could just be
 because it's a Red Hat product).  Can anyone answer this one?


If you're contemplating software iscsi then you probably aren't working on
a production setup that requires high availability or data consistency. If
you are, you should take a deep dive on what your single point of failures
are. If you're actually talking about a SAN lun, then I would imagine you
aren't the storage admin, and can leave the particulars in their hands.

Its funny, in RH's current supported version of RHEV, native gluster
storage isn't even an option. This is a pretty new project, and if you
follow the bread crumbs on distributed file systems like glusterfs or ceph
you'll start to see the future advantages. You can also figure that seeing
as both projects are spearheaded by RH dev's that there is likely a lot of
cross-talk and feature requests making both projects better, and who
wouldn't promote a better solution?




 What I have come up with is as follows.



 For:


There is too much to cover in any of these advantages, you're going to need
to do a lot of research on each of these 'features' if you want to use them
successfully.

 -  easy to expand

 -  redundancy across storage devices/easy replication

 -  high availablility

 -  performance

 -  it's kind of cool J

 -  maintenance?



 Against (these are guesses):

 -  performance? (multiple layers of filesystems everywhere - fs
 in vm + image on gluster + gluster + block filesystem)

Its worse than just a ton of software layers. NAS protocols seem to be
focused on data consistency, which means they don't write async to storage.
iscsi is typically async and has much better throughput, but also a greater
chance for data loss or corruption. Technically you can achieve the same
level of performance as iscsi using NFS (backed by glusterfs if you like)
but you need to set options on the volume to allow async writes.


 -  complexity

If you're doing storage properly, the underpinnings are always complex
unless you're paying someone else to do it (read: SAN / managed service
provider). Research multipath and HA on software iscsi and you'll see what
I mean.


 -  maintenance?



 Any help here is appreciated.  Also, does the underlying block level
 filesystem matter here?  VMs running under ovirt would be typical business
 applications - file serving (samba4), email, databases, web servers, etc.


There is a lot to answer here and I don't have all the answers. Take a look
at the gluster docs for underlying file system requirements. Any block
device should work. Specifically I'll mention that the glusterfs team
doesn't suggest hosting db's on glusterfs - many small reads/writes are not
one of glusters strong points.




 Cheers,

 Justin.







 ___
 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] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Greg Padgett

On 02/20/2014 02:26 PM, Juan Hernandez wrote:

On 02/20/2014 04:28 PM, Juan Hernandez wrote:

On 02/20/2014 10:40 AM, Tejesh M wrote:

I wrote this code to assign IP address to VM interface eth0, but not
luck. Also, have attached debug log.



I'm attaching a complete examaple of how to do this. However, I think
that setting the DNS information doesn't currently work. Apparently
cloud-init is expecting a network configuration containing the DNS
settings inside the network interface, something like this:

iface eth0 inet static
   dns-nameservers 1.1.2.2 1.2.3.4
   dns-search google.com
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
auto eth0

But we actually pass them outside of the network interface, like this:

dns-nameservers 1.1.2.2 1.2.3.4
dns-search google.com
iface eth0 inet static
   address 192.168.1.102
   netmask 255.255.0.0
   gateway 192.168.2.1
auto eth0

I need to check it.



I have modified the code that generates the cloud-init files to put the
DNS configuration inside the iface configuration, and then it works:

http://gerrit.ovirt.org/24850

So this is probably a bug, either in our side or in cloud-init itself.
Greg, Shahar, you know cloud-init better, what do you think?



It looks like our bug.  Cloud-init wants to see a standard debian/ubuntu 
style /etc/network/interfaces, and the documentation for that format 
supports your change.  Thanks for posting the patch!



_*Java Code:*_
   org.ovirt.engine.sdk.entities.User userData = new User();
   userData.setUserName(root);
   userData.setPassword(password);
   Users usersData = new Users();
   usersData.getUsers().add(userData);
   CloudInit cloudData = new CloudInit();


   cloudData.setUsers(usersData);
   Host hostData = new Host();
   hostData.setAddress(vmName);
   cloudData.setHost(hostData);

   org.ovirt.engine.sdk.entities.CloudInit.Network
networkConfiguration=new org.ovirt.engine.sdk.entities.CloudInit.Network();

   DNS dns = new DNS();
   dns.setServers(createServersList(1.1.2.2, 1.2.3.4));
   dns.setSearchDomains(createServersList(google.com
http://google.com));
   networkConfiguration.setDns(dns);
   networkConfiguration.setNics(new Nics());

   Nics nics = networkConfiguration.getNics();
   nics.getNics().add(createNic(eth0, STATIC,
createNetwork(192.168.1.102, 255.255.0.0, 192.168.2.1), true));

   networkConfiguration.setNics(nics);

   cloudData.setNetwork(networkConfiguration);

   Initialization initData = new Initialization();

   initData.setCloudInit(cloudData);

   VM vmDataForStart = new VM();
   vmDataForStart.setInitialization(initData);
   Action actionData = new Action();
   actionData.setVm(vmDataForStart);

   // Send the request to start the VM to the server:
   api.getVMs().get(vmName).start(actionData);






On Thu, Feb 20, 2014 at 1:39 PM, Moti Asayag masa...@redhat.com
mailto:masa...@redhat.com wrote:



 - Original Message -
  From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
  To: Moti Asayag masa...@redhat.com mailto:masa...@redhat.com
  Cc: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
  Sent: Thursday, February 20, 2014 8:52:52 AM
  Subject: Re: [Users] Fwd: Sample code for setting NIC - CloudInit
 
  I'm not getting below class:
 
  import org.ovirt.engine.sdk.entities.*NetworkConfiguration*;

 Which version of ovirt-engine-sdk-java are you using ?

 I used ovirt-engine-sdk-java-3.4.0.1-1, added to my project's pom.xml:

 dependency
 groupIdorg.ovirt.engine.sdk/groupId
 artifactIdovirt-engine-sdk-java/artifactId
 version3.4.0.1-1/version
 typejar/type
 scopecompile/scope
 /dependency

 
 
  On Thu, Feb 20, 2014 at 4:11 AM, Moti Asayag masa...@redhat.com
 mailto:masa...@redhat.com wrote:
 
  
  
   - Original Message -
From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
Sent: Wednesday, February 19, 2014 3:24:40 PM
Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
   
Hi,
   
Can someone share me sample java code for assigning IP address
 for VM on
   eth0
through Java SDK via CloudInit ?
   
  
   Hi Tejesh,
  
   I've attached a sample code that sends the required request (as
 the output
   is demonstrated in debug mode).
   Note that the code is jdk-7 compliant.
   I haven't configured cloud-init and haven't tested it end-to-end.
   Please try to test it on your environment and provide a feedback
 for it.
  
   

[Users] Opinions needed: 3 node gluster replica 3 | NFS async | snapshots for consistency

2014-02-20 Thread Steve Dainard
I'm looking for some opinions on this configuration in an effort to
increase write performance:

3 storage nodes using glusterfs in replica 3, quorum.
Ovirt storage domain via NFS
Volume set nfs.trusted-sync on
On Ovirt, taking snapshots often enough to recover from a storage crash
Using CTDB to manage NFS storage domain IP, moving it to another storage
node when necessary

Something along the lines of EC2's data consistency model, where only
snapshots can be considered reliable. The Ovirt added advantage would be
memory consistency at time of snapshot as well.

Feedback appreciated, including 'you are insane for thinking this is a good
idea' (and some supported reasoning would be great).

Thanks,



*Steve Dainard *
IT Infrastructure Manager
Miovision http://miovision.com/ | *Rethink Traffic*

*Blog http://miovision.com/blog  |  **LinkedIn
https://www.linkedin.com/company/miovision-technologies  |  Twitter
https://twitter.com/miovision  |  Facebook
https://www.facebook.com/miovision*
--
 Miovision Technologies Inc. | 148 Manitou Drive, Suite 101, Kitchener, ON,
Canada | N2C 1L3
This e-mail may contain information that is privileged or confidential. If
you are not the intended recipient, please delete the e-mail and any
attachments and notify us immediately.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] oVirt 3.4 pre-release and GlusterFS support (F19)

2014-02-20 Thread Brad House

I've been testing the 3.4 prerelease on Fedora 19.  When I create a GlusterFS
(not POSIXFS) storage group and create a VM with a disk image on the storage
group, I see a POSIX mount created on the host.  Upon further investigation,
when evaluating the executed qemu command line, it doesn't appear qemu is
being told to use libgfapi but rather that previously observed POSIX mount.

One other note, I'm specifically testing the hosted engine, and haven't
tested using the non-hosted variant.

The question is  is this expected behavior, and if so, is it because
of the hosted engine?  Or is this some form of regression from the
advertised feature list of oVirt 3.3?  Anything I should try or look at?
I'm obviously concerned about the FUSE overhead with Gluster and would
like to avoid that if possible.

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


Re: [Users] oVirt 3.4 pre-release and GlusterFS support (F19)

2014-02-20 Thread Gianluca Cecchi
On Thu, Feb 20, 2014 at 9:23 PM, Brad House wrote:

 The question is  is this expected behavior, and if so, is it because
 of the hosted engine?  Or is this some form of regression from the
 advertised feature list of oVirt 3.3?  Anything I should try or look at?
 I'm obviously concerned about the FUSE overhead with Gluster and would
 like to avoid that if possible.


See this thread I started and the answers.
HIH understanding better,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] oVirt 3.4 pre-release and GlusterFS support (F19)

2014-02-20 Thread Gianluca Cecchi
On Thu, Feb 20, 2014 at 11:19 PM, Gianluca Cecchi wrote:
 On Thu, Feb 20, 2014 at 9:23 PM, Brad House wrote:

 The question is  is this expected behavior, and if so, is it because
 of the hosted engine?  Or is this some form of regression from the
 advertised feature list of oVirt 3.3?  Anything I should try or look at?
 I'm obviously concerned about the FUSE overhead with Gluster and would
 like to avoid that if possible.


 See this thread I started and the answers.
 HIH understanding better,
 Gianluca

Missed the thread link ;-)

http://lists.ovirt.org/pipermail/users/2014-January/019797.html
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Creating Logical Network issue - API

2014-02-20 Thread Moti Asayag


- Original Message -
 From: Tejesh M tejes...@gmail.com
 To: users@oVirt.org users@ovirt.org
 Sent: Thursday, February 20, 2014 11:48:56 AM
 Subject: [Users] Creating Logical Network issue - API
 
 Hi ,
 
 I'm trying to create Logical Network and assign it to cluster  want to bond
 this to one of the Network Interface on Host. so that i can isolate my VM
 from other networks.
 
 The issue is even if i set Cluster while creating Logical Network, it is not
 setting the cluster. In Web Admin it is in unset state.
 
 Also, let me know how do i bind this Logical network on Host Interface.
 
 Java code:
 
 Network nw1=new Network();
 VLAN vlan = new VLAN();
 vlan.setId(2000);
 nw1.setVlan(vlan);
 IP ip = new IP();
 ip.setAddress(192.168.1.151);
 ip.setGateway(192.168.1.1);
 ip.setNetmask(255.255.255.0);
 nw1.setIp(ip);
 nw1.setName(apiNetwork);
 
 nw1.setDataCenter(api.getDataCenters().get(testDC));
 nw1.setCluster(api.getClusters().get(testCluster));
 
 org.ovirt.engine.sdk.decorators.Network nw2 = api.getNetworks().add(nw1);

This part will only add the network in the data-center.
In order to attach it to a cluster, there is a need for a specific action:

api.getClusters().get(testCluster).getNetworks().add(nw2);

 
 --
 Thanks  Regards
 Tejesh
 
 ___
 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] vmware image conversion

2014-02-20 Thread Blaster


I have used this method successfully several times, but the problem is, 
this only converts the format of the image, it doesn't do any tweaks to 
the actual image needed to boot it in the new environment.  Windows for 
example, is likely to blue screen because it's not very good at 
detecting boot disk controller changes.


This is what the merge-ide script does, it relaxes the Windows checks on 
boot for new disk controllers.  Search for my post about how I converted 
my Windows guest from ESX to ovirt.



On 2/19/2014 9:23 PM, Lei Cui wrote:

Or used #qemu-img convert es.vmdk imagexxx.img to finish the conversion

-Lei

- Original Message -
From: Lei Cui l...@redhat.com
To: Maurice James midnightst...@msn.com
Cc: users@ovirt.org
Sent: Thursday, February 20, 2014 10:49:39 AM
Subject: Re: [Users] vmware image conversion

Hi, Maurice,
Have you tried virt-convert to convert vmx image to virt-image(raw or qcow2) 
format?
Which support off-line conversion without a running ESX server

-Lei

- Original Message -
From: Maurice James midnightst...@msn.com
To: Bob Doolittle b...@doolittle.us.com, Ted Miller tmil...@hcjb.org, 
users@ovirt.org
Sent: Thursday, February 20, 2014 9:59:07 AM
Subject: Re: [Users] vmware image conversion

Forgive my noobness, but are you telling me that I can convert an ESX image
without the existence of a running ESX server? If someone gave me an ESX
image on a DVD or hard drive I could then use virt-v2v to convert it?

-Original Message-
From: Bob Doolittle [mailto:b...@doolittle.us.com]
Sent: Wednesday, February 19, 2014 8:54 PM
To: Maurice James; 'Ted Miller'; users@ovirt.org
Subject: Re: [Users] vmware image conversion

Yes.
So:

VMware non-ESX - ESX, using VMware's tool, then ESX - RHEV using virt-v2v

no?

If this is viable, it's easy to understand why nobody wants to put effort
into supporting a bevy of VMware VM formats, when there's a tool already
available to convert to one and they can focus on it.

-Bob

On 02/19/2014 05:52 PM, Maurice James wrote:

I want to change it from VMware to RHEV/oVirt

-Original Message-
From: Bob Doolittle [mailto:b...@doolittle.us.com]
Sent: Wednesday, February 19, 2014 8:51 PM
To: Maurice James; 'Ted Miller'; users@ovirt.org
Subject: Re: [Users] vmware image conversion

My recollection is that VMware provides a converter to change your
VMware non-ESX VMs into ESX format.
Do you have to buy ESX to gain access to it?

-Bob

On 02/19/2014 05:46 PM, Maurice James wrote:

I even open a feature request that they closed pretty quickly with
WONTFIX
https://bugzilla.redhat.com/show_bug.cgi?id=1062910 . Why is this
such a touchy issue?

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
Behalf Of Ted Miller
Sent: Wednesday, February 19, 2014 7:28 PM
To: users@ovirt.org
Subject: Re: [Users] vmware image conversion


On 2/9/2014 4:27 PM, Itamar Heim wrote:

On 02/09/2014 10:28 PM, Maurice James wrote:

The instructions assume that I have an ESX instance to connect to.
How do I do this with an already exported vmware image with no esx
available to connect to? I have a turnkey drupal vm in ovf format

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 2:24 PM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/09/2014 07:02 PM, Maurice James wrote:

According to this
https://rhn.redhat.com/errata/RHBA-2013-1749.html
It does not do it

please review:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterpri
s e _Virtua lization/3.3/html-single/V2V_Guide/index.html


-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 4:52 AM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/08/2014 04:18 PM, Maurice James wrote:

I submitted an RFE to have vmware image conversion added to 3.5.
I think that is a key feature that is lacking. Im just trying to
get some eyes on it here.

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



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


can you comment on the gaps from virt-v2v which does this today
(in the bug as well).

thanks,
 Itamar


iirc, you need an ESX currently.

Some of us are stuck without a way to try out ovirt because of this.
ESX is not the only platform that people run VMWare on.  I am trying
to bring over VMs from an old VMWare Server setup on Centos 5.  Works
fine, but there is no migration path.  Other people may have VMs on
VMWare Workstation or other, older products.  We just get told to go
fly a

kite?

If the only choice is to bring up a full-blown, working ESX instance,
I may bring up ESXi and stay there.

Ted Miller
Elkhart, IN

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

Re: [Users] vmware image conversion

2014-02-20 Thread Blaster


One of the issues I have with virt-v2v is that it requires an import 
storage domain on your ovirt server to import the image to, then you 
need to copy that image again into your vm datastore. Lots of data 
moving around slow gigabit networks.


oVirt still needs a way to easily add a vm disk image w/o having to go 
through the silly import method.


On 2/19/2014 7:54 PM, Bob Doolittle wrote:

Yes.
So:

VMware non-ESX - ESX, using VMware's tool, then
ESX - RHEV using virt-v2v

no?

If this is viable, it's easy to understand why nobody wants to put 
effort into supporting a bevy of VMware VM formats, when there's a 
tool already available to convert to one and they can focus on it.


-Bob

On 02/19/2014 05:52 PM, Maurice James wrote:

I want to change it from VMware to RHEV/oVirt

-Original Message-
From: Bob Doolittle [mailto:b...@doolittle.us.com]
Sent: Wednesday, February 19, 2014 8:51 PM
To: Maurice James; 'Ted Miller'; users@ovirt.org
Subject: Re: [Users] vmware image conversion

My recollection is that VMware provides a converter to change your 
VMware

non-ESX VMs into ESX format.
Do you have to buy ESX to gain access to it?

-Bob

On 02/19/2014 05:46 PM, Maurice James wrote:

I even open a feature request that they closed pretty quickly with
WONTFIX
https://bugzilla.redhat.com/show_bug.cgi?id=1062910 . Why is this such
a touchy issue?

-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On
Behalf Of Ted Miller
Sent: Wednesday, February 19, 2014 7:28 PM
To: users@ovirt.org
Subject: Re: [Users] vmware image conversion


On 2/9/2014 4:27 PM, Itamar Heim wrote:

On 02/09/2014 10:28 PM, Maurice James wrote:

The instructions assume that I have an ESX instance to connect to.
How do I do this with an already exported vmware image with no esx
available to connect to? I have a turnkey drupal vm in ovf format

-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 2:24 PM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/09/2014 07:02 PM, Maurice James wrote:

According to this https://rhn.redhat.com/errata/RHBA-2013-1749.html
It does not do it

please review:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterpris
e _Virtua lization/3.3/html-single/V2V_Guide/index.html


-Original Message-
From: Itamar Heim [mailto:ih...@redhat.com]
Sent: Sunday, February 09, 2014 4:52 AM
To: Maurice James; 'users'
Subject: Re: [Users] vmware image conversion

On 02/08/2014 04:18 PM, Maurice James wrote:

I submitted an RFE to have vmware image conversion added to 3.5. I
think that is a key feature that is lacking. Im just trying to get
some eyes on it here.

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



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


can you comment on the gaps from virt-v2v which does this today (in
the bug as well).

thanks,
Itamar


iirc, you need an ESX currently.

Some of us are stuck without a way to try out ovirt because of this.
ESX is not the only platform that people run VMWare on.  I am trying
to bring over VMs from an old VMWare Server setup on Centos 5.  Works
fine, but there is no migration path.  Other people may have VMs on
VMWare Workstation or other, older products.  We just get told to go 
fly a

kite?

If the only choice is to bring up a full-blown, working ESX instance,
I may bring up ESXi and stay there.

Ted Miller
Elkhart, IN

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


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



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


Re: [Users] Host Non-Operational from sanlock and VM fails to migrate

2014-02-20 Thread Nir Soffer
- Original Message -
 From: Trey Dockendorf treyd...@gmail.com
 To: Nir Soffer nsof...@redhat.com
 Cc: users users@ovirt.org, Michal Skrivanek mskri...@redhat.com, 
 Ayal Baron aba...@redhat.com, Itamar
 Heim ih...@redhat.com
 Sent: Wednesday, February 19, 2014 2:20:52 AM
 Subject: Re: [Users] Host Non-Operational from sanlock and VM fails to migrate
 
 Thanks for the thorough response!
 
  This looks like an error in the kernel. You should consult kernel/rpcrdma
  folks with this error.
 
 Mind pointing me in the direction of how to get in contact with the
 appropriate mailing list to begin a dialog with the kernel/rpcrdma
 folks?

Probably using the kernel mailing list, irc channel or bug tracking system of
your distribution.

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


[Users] Problems with Scientific Linux and ovirt-release-11.0.0

2014-02-20 Thread Jimmy Dorff

Hi Folks,

I've found a bug in ovirt-release-11.0.0. In ovirt-release.spec
#Handling EL exception only (for now)
if grep -qFi 'CentOS' /etc/system-release; then
DIST=EL
elif grep -qFi 'Red Hat' /etc/system-release; then
DIST=EL
fi

This causes all kinds unhappiness on Scientific Linux :) Perhaps another 
elif line can be added.


Cheers,
Jimmy Dorff



smime.p7s
Description: S/MIME Cryptographic Signature
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Problems with Scientific Linux and ovirt-release-11.0.0

2014-02-20 Thread Meital Bourvine
Hi Jimmy,

As far as I know, scientific linux isn't supported by ovirt.

But you can always try submitting a patch ;)

- Original Message -
 From: Jimmy Dorff jdo...@phy.duke.edu
 To: users@ovirt.org
 Sent: Friday, February 21, 2014 7:49:59 AM
 Subject: [Users] Problems with Scientific Linux and ovirt-release-11.0.0
 
 Hi Folks,
 
 I've found a bug in ovirt-release-11.0.0. In ovirt-release.spec
 #Handling EL exception only (for now)
 if grep -qFi 'CentOS' /etc/system-release; then
  DIST=EL
 elif grep -qFi 'Red Hat' /etc/system-release; then
  DIST=EL
 fi
 
 This causes all kinds unhappiness on Scientific Linux :) Perhaps another
 elif line can be added.
 
 Cheers,
 Jimmy Dorff
 
 
 ___
 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] Fwd: Sample code for setting NIC - CloudInit

2014-02-20 Thread Tejesh M
When i try to execute with the ovirt sdk 3.3.3 and do operations on RHEV-M
3.3, it fails with below error

Exception in thread main java.lang.UnsupportedClassVersionError:
org/ovirt/engine/sdk/Api
at rhvm.callAPI(rhvm.java:238)
at rhvm.main(rhvm.java:278)


On Fri, Feb 21, 2014 at 12:19 AM, Juan Hernandez jhern...@redhat.comwrote:

 On 02/20/2014 05:56 PM, Tejesh M wrote:
  Ok. Will it take long time for that sdk to release?
 

 No, it should be released soon.

 Meanwhile you may want to use the latest ovirt 3.3 Java SDK, it is
 almost identical to the RHEV-M Jaa SDK.

 If you are using maven these are the coordinates of the artifact:

 dependency
 groupIdorg.ovirt.engine.sdk/groupId
 artifactIdovirt-engine-sdk-java/artifactId
 version3.3.3.0/version
 /dependency

 If you aren't using maven you can still download the .jar file from here:


 http://search.maven.org/#artifactdetails|org.ovirt.engine.sdk|ovirt-engine-sdk-java|3.3.3.0|jar

  On 20 Feb 2014 04:11, Moti Asayag masa...@redhat.com
  mailto:masa...@redhat.com wrote:
 
 
 
  - Original Message -
   From: Tejesh M tejes...@gmail.com mailto:tejes...@gmail.com
   To: users@oVirt.org users@ovirt.org mailto:users@ovirt.org
   Sent: Wednesday, February 19, 2014 3:24:40 PM
   Subject: [Users] Fwd: Sample code for setting NIC - CloudInit
  
   Hi,
  
   Can someone share me sample java code for assigning IP address for
  VM on eth0
   through Java SDK via CloudInit ?
  
 
  Hi Tejesh,
 
  I've attached a sample code that sends the required request (as the
  output is demonstrated in debug mode).
  Note that the code is jdk-7 compliant.
  I haven't configured cloud-init and haven't tested it end-to-end.
  Please try to test it on your environment and provide a feedback for
 it.
 
  Thanks,
  Moti
 
   Something Like this but in Java:
   network_configuration
nics
  nic
nameeth0/name
boot_protocolSTATIC/boot_protocol
network
  ip address=192.168.2.11 netmask=255.255.0.0
  gateway=192.168.2.1 /
/network
on_boottrue/on_boot
  /nic
  nic
nameeth1/name
boot_protocolDHCP/boot_protocol
  /nic
  nic
nameeth2/name
boot_protocolNONE/boot_protocol
on_boottrue/on_boot
  /nic
/nics
dns
  servers
host
  address1.1.2.2/address
/host
host
  address1.2.3.4/address
/host
  /servers
  search_domains
host
  addressqa.lab/address
/host
host
  address google.com http://google.com /address
/host
  /search_domains
/dns
  /network_configuration
  
  
  
   --
   Thanks  Regards
   Tejesh
  
   ___
   Users mailing list
   Users@ovirt.org mailto:Users@ovirt.org
   http://lists.ovirt.org/mailman/listinfo/users
  
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 


 --
 Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
 3ºD, 28016 Madrid, Spain
 Inscrita en el Reg. Mercantil de Madrid - C.I.F. B82657941 - Red Hat S.L.




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


Re: [Users] repo status

2014-02-20 Thread Sandro Bonazzola
Il 20/02/2014 17:46, Jimmy Dorff ha scritto:
 What is going on with the EL repos. I'm getting this message:
 
 http://resources.ovirt.org/releases/3.3.3/rpm/Fedora/6.5/repodata/repomd.xml: 
 [Errno 14] PYCURL ERROR 22 - The requested URL returned error: 404 Not
 Found
 Trying other mirror.
 http://ovirt.org/releases/stable/rpm/Fedora/6.5/repodata/repomd.xml: [Errno 
 14] PYCURL ERROR 22 - The requested URL returned error: 404 Not Found
 Trying other mirror.
 
 This is on a fresh install with only EPEL and 
 http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm

It seems we've a bug in latest ovirt-release rpm.
Can you attach the content of /etc/system-release on your system?

To workaround your issue, please install 
http://resources.ovirt.org/releases/3.3.3/rpm/EL/6/noarch/ovirt-release-el6-10.0.1-3.noarch.rpm
Thanks,

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


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