Re: [ovirt-users] Network QOS not working for VM Outbound

2015-04-02 Thread Punit Dambiwal
Hi Michael,

Please find the full details :-

interface type='bridge'
  mac address='00:1a:4a:97:5d:a8'/
  source bridge='Internal1'/
  target dev='vnet4'/
  model type='virtio'/
  filterref filter='vdsm-no-mac-spoofing'/
  link state='up'/
  bandwidth
inbound average='12800' peak='12800' burst='102400'/
outbound average='12800' peak='12800' burst='102400'/
  /bandwidth
  alias name='net0'/
  address type='pci' domain='0x' bus='0x00' slot='0x04'
function='0x0'/
/interface
interface type='bridge'
  mac address='00:1a:4a:fa:f1:46'/
  source bridge='Network_601'/
  target dev='vnet5'/
  model type='virtio'/
  filterref filter='vdsm-no-mac-spoofing'/
  link state='up'/
  bandwidth
inbound average='256' peak='256' burst='102400'/
outbound average='256' peak='256' burst='102400'/
  /bandwidth
  alias name='net1'/
  address type='pci' domain='0x' bus='0x00' slot='0x03'
function='0x0'/
/interface

On Thu, Apr 2, 2015 at 3:02 PM, Punit Dambiwal hypu...@gmail.com wrote:

 Hi Michael,

 Sorry for the late reply...i just overlooked this mail because i received
 it in junk box...

 ---
 [root@cpu01 ~]# virsh -r dumpxml ef48648ac67f72e9fe79d5069444f7f5 | grep
 outbound
 outbound average='12800' peak='12800' burst='102400'/
 outbound average='256' peak='256' burst='102400'/
 [root@cpu01 ~]#
 -

 Thanks,
 Punit

 On Mon, Feb 16, 2015 at 3:33 PM, Michael Burman mbur...@redhat.com
 wrote:

 Which OS you have on your hosts and client?
 which libvirt version..
 libvirt logs

 run the next command on hosts:
 'virsh -r list' - for the vm's that are running on the host
 'virsh -r dumpxml $dom(name of the VM) | grep outbound'
 and check that you have the right values there for the outbound, the
 values in the xml are in Kilobytes.
 you should have there:
 outbound average='256' peak='256' burst='102400'/

 Thanks

 - Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Michael Burman mbur...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, February 16, 2015 9:04:09 AM
 Subject: Re: [ovirt-users] Network QOS not working for VM Outbound

 Hi Michael,

 No Both the VM's running on different Hosts ?? What details you required i
 will happy to share...

 Thanks,
 Punit

 On Sun, Feb 15, 2015 at 4:01 PM, Michael Burman mbur...@redhat.com
 wrote:

  Hi Punit,
 
  Network QoS for VM Outbound should work.
  Please provide some more info and details..are VM's running on the same
  host?
 
  Michael B
 
  - Original Message -
  From: Punit Dambiwal hypu...@gmail.com
  To: users@ovirt.org
  Sent: Friday, February 13, 2015 8:54:02 AM
  Subject: [ovirt-users] Network QOS not working for VM Outbound
 
  Hi,
 
  I have check and found that the Network QOS not working for VM
  outboundit's working fine for Inbound only...
 
 
 
 
 
 
 
 
  root@vm3:~# ./speedtest_cli.py
 
  Retrieving speedtest.net configuration...
 
  Retrieving speedtest.net server list...
 
  Testing from (103.4.X.X)...
 
  Selecting best server based on latency...
 
  Hosted by HKIX1 (Hong Kong) [3.70 km]: 3.153 ms
 
  Testing download speed
 
  Download: 1.95 Mbit/s
 
  Testing upload speed..
  Upload: 143.09 Mbit/s
 
  Thanks,
  Punit
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  --
  Michael Burman
  Intern in RedHat Israel, RHEV-M QE Network Team
 
  Mobile: 054-5355725
  IRC: mburman
 

 --
 Michael Burman
 Intern in RedHat Israel, RHEV-M QE Network Team

 Mobile: 054-5355725
 IRC: mburman



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


Re: [ovirt-users] ovirt 3.1 to 3.2 up-gradation problem

2015-04-02 Thread Yedidyah Bar David
- Original Message -
 From: suvra roy suvraroy@gmail.com
 To: users@ovirt.org
 Sent: Thursday, April 2, 2015 4:39:26 AM
 Subject: [ovirt-users] ovirt 3.1 to 3.2 up-gradation problem
 
 after upgradation ovirt engine 3.1 to 3.2 all of my vdsm node goes to
 non responding.
 Error message showing
 This host is in non responding state. Try to Activate it; If the
 problem persists, switch Host to Maintenance mode and try to reinstall
 it.
 
 I have tried to reinstall multiple times but still no success .
 
 Please help .

Please check/post relevant logs:

engine:
/var/log/ovirt-engine/*
/var/log/ovirt-engine/host-deploy/*

hosts:
/var/log/vdsm/*

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


[ovirt-users] Cannot add Posix Storage

2015-04-02 Thread shimano
Hi everyone...

I have a little strange situation... I'm trying to add Posix Compliant FS
Storage Domain based on MooseFS. As You can read below, oVirt is mounting
it correctly but it cannot make a Storage Domain. Anybody could help?



// Quick investigation

Is /posix mounted?

root@host008:/tmp mount |grep fuse
root@host008:/tmp

Nope.
Add Storage Domain via Web Panel with parameters:

Name: MooseFS
Domain Function / Storage Type: Data / POSIX Compliant FS
Use Host: HOST008
Path: mfsmount
VFS Type: fuse
Mount Options:
mfsmaster=mfsmaster,mfsport=9421,mfssubfolder=/posix,_netdev

Debug logs from task:

JsonRpc (StompReactor)::DEBUG::2015-04-02
08:52:58,231::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message StompFrame command='SEND'
JsonRpcServer::DEBUG::2015-04-02
08:52:58,232::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-549209::DEBUG::2015-04-02
08:52:58,232::__init__::469::jsonrpc.JsonRpcServer::(_serveRequest) Calling
'StoragePool.connectStorageServer' in bridge with {'connectionParams':
[{'password': '', 'id': '----',
'connection': 'mfsmount', 'mnt_options':
'mfsmaster=mfsmaster,mfsport=9421,mfssubfolder=/posix,_netdev', 'user': '',
'tpgt': '1', 'vfs_type': 'fuse', 'iqn': '', 'port': ''}], 'storagepoolID':
'----', 'domainType': 6}
Thread-549209::DEBUG::2015-04-02
08:52:58,234::task::595::Storage.TaskManager.Task::(_updateState)
Task=`9bb09583-d8f7-4189-b9ab-81b925f8fc13`::moving from state init -
state preparing
Thread-549209::INFO::2015-04-02
08:52:58,234::logUtils::44::dispatcher::(wrapper) Run and protect:
connectStorageServer(domType=6,
spUUID='----', conList=[{'iqn': '', 'port':
'', 'connection': 'mfsmount', 'mnt_options':
'mfsmaster=mfsmaster,mfsport=9421,mfssubfolder=/posix,_netdev', 'user': '',
'tpgt': '1', 'vfs_type': 'fuse', 'password': '**', 'id':
'----'}], options=None)
Thread-549209::DEBUG::2015-04-02
08:52:58,237::fileUtils::142::Storage.fileUtils::(createdir) Creating
directory: /rhev/data-center/mnt/mfsmount
Thread-549209::WARNING::2015-04-02
08:52:58,237::fileUtils::149::Storage.fileUtils::(createdir) Dir
/rhev/data-center/mnt/mfsmount already exists
Thread-549209::DEBUG::2015-04-02
08:52:58,238::mount::227::Storage.Misc.excCmd::(_runcmd) /usr/bin/sudo -n
/bin/mount -t fuse -o
mfsmaster=mfsmaster,mfsport=9421,mfssubfolder=/posix,_netdev mfsmount
/rhev/data-center/mnt/mfsmount (cwd None)
JsonRpc (StompReactor)::DEBUG::2015-04-02
08:52:58,271::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message StompFrame command='SEND'
JsonRpcServer::DEBUG::2015-04-02
08:52:58,273::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-549210::DEBUG::2015-04-02
08:52:58,276::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
JsonRpc (StompReactor)::DEBUG::2015-04-02
08:52:58,279::stompReactor::98::Broker.StompAdapter::(handle_frame)
Handling message StompFrame command='SEND'
JsonRpcServer::DEBUG::2015-04-02
08:52:58,280::__init__::506::jsonrpc.JsonRpcServer::(serve_requests)
Waiting for request
Thread-549211::DEBUG::2015-04-02
08:52:58,282::stompReactor::163::yajsonrpc.StompServer::(send) Sending
response
Thread-549209::ERROR::2015-04-02
08:52:58,523::hsm::2424::Storage.HSM::(connectStorageServer) Could not
connect to storageServer
Traceback (most recent call last):
File /usr/share/vdsm/storage/hsm.py, line 2421, in
connectStorageServer
conObj.connect()
File /usr/share/vdsm/storage/storageServer.py, line 222, in connect
self.getMountObj().getRecord().fs_file)
File /usr/share/vdsm/storage/mount.py, line 278, in getRecord
(self.fs_spec, self.fs_file))
OSError: [Errno 2] Mount of `mfsmount` at
`/rhev/data-center/mnt/mfsmount` does not exist
Thread-549209::DEBUG::2015-04-02
08:52:58,524::hsm::2443::Storage.HSM::(connectStorageServer) knownSDs:
{2df46204-217e-416f-a072-ab8ef17cd8d2: storage.nfsSD.findDomain,
316c3e1c-4e61-4b0a-b2f6-63cc22d3ab25: storage.nfsSD.findDomain,
6c348f77-bb02-4135-b629-2c9cacb0b85c: storage.nfsSD.findDomain,
00697722-a1ce-4911-a84c-c4688e5076fe: storage.nfsSD.findDomain,
6ac038d7-969d-45b5-be5f-c58a66a78a90: storage.nfsSD.findDomain}
Thread-549209::INFO::2015-04-02
08:52:58,524::logUtils::47::dispatcher::(wrapper) Run and protect:
connectStorageServer, Return response: {'statuslist': [{'status': 100,
'id': '----'}]}
Thread-549209::DEBUG::2015-04-02
08:52:58,525::task::1191::Storage.TaskManager.Task::(prepare)
Task=`9bb09583-d8f7-4189-b9ab-81b925f8fc13`::finished: {'statuslist':
[{'status': 100, 'id': '----'}]}
Thread-549209::DEBUG::2015-04-02
08:52:58,525::task::595::Storage.TaskManager.Task::(_updateState)

Re: [ovirt-users] Storage domain not in pool issue

2015-04-02 Thread VONDRA Alain
Hi,
Have you any news to tell me ?
Thanks
Alain





Alain VONDRA
Chargé d'exploitation des Systèmes d'Information
Direction Administrative et Financière
+33 1 44 39 77 76
UNICEF France
3 rue Duguay Trouin  75006 PARIS
www.unicef.fr




-Message d'origine-
De : Adam Litke [mailto:ali...@redhat.com]
Envoyé : mercredi 1 avril 2015 17:06
À : VONDRA Alain
Cc : Elad Ben Aharon; users@ovirt.org; Federico Simoncelli; Maor Lipchuk
Objet : Re: [ovirt-users] Storage domain not in pool issue

On 31/03/15 08:43 +, VONDRA Alain wrote:
Hi,
Here is the logs.
Thanks

Federico, Maor: tldr; Can you offer some advice for recovering this block SD 
after a DC disaster?

Hi Alain,

After looking at your logs, it's clear that the metadata on the storage domain 
itself says that the domain is attached to pool
c58a44b1-1c98-450e-97e1-3347eeb28f86 while engine thinks the domain is attached 
to pool f422de63-8869-41ef-a782-8b0c9ee03c41.

Can you please explain the process you used to recover from your datacenter 
disaster?  My guess is you:
  1. Reinstalled the engine host with a blank oVirt DB
  2. Created a new data center
  3. Created a new master domain
  4. Attached some storage domains which were not attached at the time
 of your previous disaster
  5. Tried to attach sd:d7b9d7cc-f7d6-43c7-ae13-e720951657c9 which was
 attached to your old storage pool at the time of the disaster.

#5 failed because the metadata on the storage shows the old storage pool.  At 
this point I see two possible options to recover your storage.  PLEASE DO NOT 
DO ANYTHING YET (until we confirm what the best approach for recovery will be).

Option 1: Use the new import storage domain feature to import this domain into 
your new datacenter.

Option 2: Modify the storage domain metadata to remove the reference to the old 
storage pool.

I am adding some other oVirt storage experts to the thread in order to offer 
you the best advice.  Federico, Maor: can you offer some expert advice on this 
matter?

I did notice this wiki page which talks about clearing the storage pool 
metadata from an export domain.  Since this SD is iSCSI, it will be a bit more 
difficult to manually edit the md but I'd guess someone has a script or some 
instructions on how to do it.

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


Re: [ovirt-users] Basic export/import question (KVM to oVirt)

2015-04-02 Thread Alexandr Krivulya
01.04.2015 23:08, Bellamy, Peter пишет:
 Is it necessary to export VMs that are straight libvirt/KVM (raw) images 
 before importing them into oVirt?

 I have a working oVirt 3.5 lab environment up  I’d like to try and bring in 
 some of my existing VMs from my straight KVM/libvirt setup.  Those VMs are in 
 raw image format.

 I *think* I need to export the VMs (using virt-v2v) from the KVM hosts to an 
 export domain, then import those VM images into oVirt (using oVirt admin 
 GUI).  Is that correct, or is it simpler than that?

Yes, you are absolutely right. We moved all our infrastructure from pure
KVM (VM disks inside LVM) to oVirt in this way, except of FreeBSD VM's
that we moved via zfs send/recv.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [DISCUSSION] oVirt Weekly Sync Goals and Future.

2015-04-02 Thread Sandro Bonazzola
Il 01/04/2015 17:28, Yaniv Dary ha scritto:
 Hi,
 In my opinion the current format can be replaced by a etherpad update that is 
 sent as a newsletter every week. The current format doesn't add a lot of
 value to the project work and doesn't create a real sync on the ongoing 
 topics. No decisions are done today there as well.
 
 What do you think should be the goal of the weekly meeting? How can we 
 improve it? Is a newsletter a good enough update?

I think a newsletter can replace the current sync format.


 
 
 Thanks!
 
 -- 
 Yaniv Dary
 Technical Product Manager
 Red Hat Israel Ltd.
 34 Jerusalem Road
 Building A, 4th floor
 Ra'anana, Israel 4350109
 
 Tel : +972 (9) 7692306
   8272306
 Email: yd...@redhat.com
 IRC : ydary
 
 
 
 ___
 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


Re: [ovirt-users] Network QOS not working for VM Outbound

2015-04-02 Thread Punit Dambiwal
Hi Michael,

Sorry for the late reply...i just overlooked this mail because i received
it in junk box...

---
[root@cpu01 ~]# virsh -r dumpxml ef48648ac67f72e9fe79d5069444f7f5 | grep
outbound
outbound average='12800' peak='12800' burst='102400'/
outbound average='256' peak='256' burst='102400'/
[root@cpu01 ~]#
-

Thanks,
Punit

On Mon, Feb 16, 2015 at 3:33 PM, Michael Burman mbur...@redhat.com wrote:

 Which OS you have on your hosts and client?
 which libvirt version..
 libvirt logs

 run the next command on hosts:
 'virsh -r list' - for the vm's that are running on the host
 'virsh -r dumpxml $dom(name of the VM) | grep outbound'
 and check that you have the right values there for the outbound, the
 values in the xml are in Kilobytes.
 you should have there:
 outbound average='256' peak='256' burst='102400'/

 Thanks

 - Original Message -
 From: Punit Dambiwal hypu...@gmail.com
 To: Michael Burman mbur...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, February 16, 2015 9:04:09 AM
 Subject: Re: [ovirt-users] Network QOS not working for VM Outbound

 Hi Michael,

 No Both the VM's running on different Hosts ?? What details you required i
 will happy to share...

 Thanks,
 Punit

 On Sun, Feb 15, 2015 at 4:01 PM, Michael Burman mbur...@redhat.com
 wrote:

  Hi Punit,
 
  Network QoS for VM Outbound should work.
  Please provide some more info and details..are VM's running on the same
  host?
 
  Michael B
 
  - Original Message -
  From: Punit Dambiwal hypu...@gmail.com
  To: users@ovirt.org
  Sent: Friday, February 13, 2015 8:54:02 AM
  Subject: [ovirt-users] Network QOS not working for VM Outbound
 
  Hi,
 
  I have check and found that the Network QOS not working for VM
  outboundit's working fine for Inbound only...
 
 
 
 
 
 
 
 
  root@vm3:~# ./speedtest_cli.py
 
  Retrieving speedtest.net configuration...
 
  Retrieving speedtest.net server list...
 
  Testing from (103.4.X.X)...
 
  Selecting best server based on latency...
 
  Hosted by HKIX1 (Hong Kong) [3.70 km]: 3.153 ms
 
  Testing download speed
 
  Download: 1.95 Mbit/s
 
  Testing upload speed..
  Upload: 143.09 Mbit/s
 
  Thanks,
  Punit
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
  --
  Michael Burman
  Intern in RedHat Israel, RHEV-M QE Network Team
 
  Mobile: 054-5355725
  IRC: mburman
 

 --
 Michael Burman
 Intern in RedHat Israel, RHEV-M QE Network Team

 Mobile: 054-5355725
 IRC: mburman

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


Re: [ovirt-users] ovirt-node 3.5 iso and rpm are finaly available

2015-04-02 Thread Fabian Deutsch
- Original Message -
 Hi
 
 Nightly builds of ovirt node iso for 3.5 and master branches are now
 available on jenkins.
 http://jenkins.ovirt.org/user/tlitovsk/my-views/view/Node/
 
 They are also available as RPMs for use from your engine.
 And those RPM will be available on http://resources.ovirt.org/pub/
 repositories

Tolik,

those are great news! Finally we have regular ovirt-node builds again,
that means stable ovirt-node-iso buidls are in sight!

Nice to see this happen.

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


Re: [ovirt-users] Basic export/import question (KVM to oVirt)

2015-04-02 Thread Bellamy, Peter
Thank you kindly!  My first few test exports from KVM  imports into oVirt 
worked smoothly.


 On Apr 2, 2015, at 2:19 AM, Alexandr Krivulya shur...@shurik.kiev.ua wrote:
 
 01.04.2015 23:08, Bellamy, Peter пишет:
 Is it necessary to export VMs that are straight libvirt/KVM (raw) images 
 before importing them into oVirt?
 
 I have a working oVirt 3.5 lab environment up  I’d like to try and bring in 
 some of my existing VMs from my straight KVM/libvirt setup.  Those VMs are 
 in raw image format.
 
 I *think* I need to export the VMs (using virt-v2v) from the KVM hosts to an 
 export domain, then import those VM images into oVirt (using oVirt admin 
 GUI).  Is that correct, or is it simpler than that?
 
 Yes, you are absolutely right. We moved all our infrastructure from pure
 KVM (VM disks inside LVM) to oVirt in this way, except of FreeBSD VM's
 that we moved via zfs send/recv.
 ___
 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


[ovirt-users] ovirt-node 3.5 iso and rpm are finaly available

2015-04-02 Thread Tolik Litovsky
Hi

Nightly builds of ovirt node iso for 3.5 and master branches are now available 
on jenkins. 
http://jenkins.ovirt.org/user/tlitovsk/my-views/view/Node/

They are also available as RPMs for use from your engine.
And those RPM will be available on http://resources.ovirt.org/pub/ repositories

Best Regards

Tolik Litovsky
RHEV-H Team
Red Hat

Red Hat: trustworthy, transformative technology. Powered by the community.
Connect at redhat.com

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


Re: [ovirt-users] accessing SPICE console when host not on management network

2015-04-02 Thread Jason Keltz
You call all of that configuration for accessing consoles, easy? :) :)  
Engine should be able to set up the proxy automatically...   I haven't 
used squid, so I have to look in more detail at the configuration that 
you've provided.


I did find some other functionality which would have been much much 
(much!)  easier for me to use had it worked.  I was able to Edit each 
host, go to the Console tab, then click Override display address, 
and for display address enter the name of the node.  I did this for each 
of my 3 nodes.  In theory, this should solve the problem.  Now, when 
accessing the console via remote viewer, the file that is sent from the 
engine includes the external IP of the node, so everything should work, 
but it does not...

Here's what I see:

(remote-viewer:20327): remote-viewer-DEBUG: Couldn't load 
configuration: File is empty


(remote-viewer:20327): GSpice-WARNING **: Connection refused

(firefox:20235): Gtk-WARNING **: Unable to retrieve the file info for 
`file:///tmp/console.vv': Error stating file '/tmp/console.vv': No 
such file or directory


If I choose to save the file instead of opening it directly via remote 
viewer, it does contain the proper hostname.   I can't telnet to port 
5900 on the virt host though, which is odd.  I thought it might be 
because the hypervisor firewall restricted the access, so I temporarily 
cleared all the firewall rules on the one host.  That didn't work either.


If I could make this work, it would solve the problem for me.

Jason.


On 04/02/2015 01:59 PM, shimano wrote:
You can use Spice Proxy. The easiest way is to run proxy on Squid. I 
recommend connect via VPN.


Here is a part of my Squid's configuration to connect Spice consoles 
from VPN 10.25.0.0/16 http://10.25.0.0/16 and LAN 192.168.0.0/16 
http://192.168.0.0/16 to oVirt's hosts on 192.168.2.0/24 
http://192.168.2.0/24:


acl manager proto cache_object
acl localhost src 127.0.0.1/32 http://127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 http://127.0.0.0/8 0.0.0.0/32 
http://0.0.0.0/32 ::1

acl localnet src 192.168.0.0/16 http://192.168.0.0/16
acl localnet src 10.25.0.0/16 http://10.25.0.0/16
acl Safe_ports port 80 # http
acl CONNECT method CONNECT
http_access allow localnet
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
acl spice_servers dst 192.168.2.0/24 http://192.168.2.0/24
http_access allow spice_servers
http_access allow localnet
http_access allow localhost
http_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 100 16 256
cache_mem 32 MB
coredump_dir /var/spool/squid
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern .   0   20% 4320
cache_effective_user squid
cache_effective_group squid

You have to configure Spice Proxy on oVirt Engine by `engine-config -s 
SpiceProxyDefault=someProxy`. Here is my solution:


root@host021:~ engine-config -a |grep SpiceProxyDefault
SpiceProxyDefault: http://10.25.2.21:3128/ version: general

You can use Proxy on your public IP if you don't like to use VPN, but 
remember to make sure that your machines are secured enough.


2015-04-02 18:06 GMT+02:00 Jason Keltz j...@cse.yorku.ca 
mailto:j...@cse.yorku.ca:


I'm trying to figure out the most reasonable method for me to
access the console on my ovirt installation.
Each node has ovirtmgmt, storage, and external network connectivity.
The standalone engine host has ovirtmgmt, and external network.
I connect to engine via the external network, right click on a VM
and try to access the console.  If I use the Remote Viewer
method, the connection fails.  This is because my client on the
external network doesn't have access to ovirtmgmt.
I can access the spice-html5 client, and that basically works,
though it's crashed more than once.  I suspect that Remote Viewer
will be more stable.
So my question is - what is the best way for me to connect to the
console from the external network?
Either, I have to start up my client on a machine that has an IP
on ovirtmgmt (eg. remote login to engine, and run firefox there?)
or I have to route external packets from my host to say, the
engine host, and run IP forwarding there? probably not too secure...
or I have to figure out a way to make ovirt use the external
network for display traffic... that would probably be best (?) but
I can't seem to figure out whether it's possible.
In particular since the external network is a VM network (it's
actually 2 x 1 G links bound via LACP), and not part of ovirt
infrastructure, it's not clear if I can use it for display and VM
external connectivity as well.

Any thoughts would be much appreciated.

Jason.

___
Users mailing list

[ovirt-users] oVirt Community Newsletter: April 2015

2015-04-02 Thread Brian Proffitt
April is here, and residents of the Eastern Seaboard in the US are feeling a 
rising hope that Winter is finally on its way out. In the oVirt community, work 
on oVirt 3.6 is ramping up, even as more people in the virtualization sector 
are talking us up.


Software Milestones and Features


Take a look at the upcoming Cinder/Ceph feature in in oVort 3.6! 
http://www.ovirt.org/Features/Cinder_Integration

It was no April Fool's joke--oVirt 3.5.2 RC3 was released and is ready to test! 
http://t.co/fZhSQhadZV

Arch Linux now has the ovirt-guest-agent available 
https://aur.archlinux.org/packages/ovirt-guest-agent/


In the Community


Two Hypervisors, One Great Collaboration 
http://community.redhat.com/blog/2015/04/two-hypervisors-one-great-collaboration/

CeBIT 2015 retrospective 
http://dummdida.tumblr.com/post/113959092885/cebit-2015-retrospective

VDI Lives On with Help from oVirt 
http://community.redhat.com/blog/2015/03/vdi-lives-on-with-help-from-ovirt/

FOSSAsia Opens Doors For Many Open Source Projects 
http://community.redhat.com/blog/2015/03/fossasia-opens-doors-for-many-open-source-projects/

Disaster Recovery in oVirt - FOSSAsia 2015 https://youtu.be/mEiFVeS_6ck


Deep Dives and Technical Discussions


Progress on oVirt Node 3.6 
http://dummdida.tumblr.com/post/112893789355/what-a-week-to-get-ovirt-node-3-6-on-track-we

Install oVirt on CentOS 7 http://jensd.be/?p=550

Installing oVirt Hosted Engine [Video] [Spanish] https://youtu.be/W8ErWHXY66A

Introducing vmcreate, a RHEV / oVirt Python API VM creation script 
http://www.clevernetsystems.com/rhev-ovirt-python-api-vm-creation-script/

Updates on the oVirt Appliances (installation of engine and node) 
http://dummdida.tumblr.com/post/114039260970/updates-on-the-ovirt-appliances-installation-of

Virtualisation avec oVirt 
https://blog.yvonet.com/2015/03/27/virtualisation-avec-ovirt-1-introduction/

(With thanks to Itamar Heim for the links!)


-- 
Brian Proffitt

Community Liaison
oVirt
Open Source and Standards, Red Hat - http://community.redhat.com
Phone: +1 574 383 9BKP
IRC: bkp @ OFTC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] accessing SPICE console when host not on management network

2015-04-02 Thread Jason Keltz
I'm trying to figure out the most reasonable method for me to access the 
console on my ovirt installation.

Each node has ovirtmgmt, storage, and external network connectivity.
The standalone engine host has ovirtmgmt, and external network.
I connect to engine via the external network, right click on a VM and 
try to access the console.  If I use the Remote Viewer method, the 
connection fails.  This is because my client on the external network 
doesn't have access to ovirtmgmt.
I can access the spice-html5 client, and that basically works, though 
it's crashed more than once.  I suspect that Remote Viewer will be more 
stable.
So my question is - what is the best way for me to connect to the 
console from the external network?
Either, I have to start up my client on a machine that has an IP on 
ovirtmgmt (eg. remote login to engine, and run firefox there?)
or I have to route external packets from my host to say, the engine 
host, and run IP forwarding there? probably not too secure...
or I have to figure out a way to make ovirt use the external network for 
display traffic... that would probably be best (?) but I can't seem to 
figure out whether it's possible.
In particular since the external network is a VM network (it's actually 
2 x 1 G links bound via LACP), and not part of ovirt infrastructure, 
it's not clear if I can use it for display and VM external connectivity 
as well.


Any thoughts would be much appreciated.

Jason.

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


Re: [ovirt-users] Anyone using YAML support in the RESTAPI?

2015-04-02 Thread Sven Kieske


On 31/03/15 15:34, Juan Hernández wrote:
 Hello,
 
 Does anyone have a good reason to not remove the YAML support from the
 RESTAPI? As far as I know it isn't used or tested in any reasonable way,
 so I would like to remove it completely for 3.6. If anyone is using it
 and can't move to JSON or XML please speak up.

I didn't even _know_ there was YAML support.
I don't use it atm, but what is the intention of removal?
Code cleanup? can't this get auto generated?

 
 Regards,
 Juan Hernandez
 

-- 
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


[ovirt-users] virtual machine does not boot from its hard disk

2015-04-02 Thread Jason Keltz
I have kickstarted my first CentOS 6 host under ovirt.  When it boots, 
the VM tries to PXE boot again rather than going to the hard disk.


If I look under Boot Options in my VM, there's only:

  * First Device: Hard Disk
  * Second Device: [None]

If I  Enable boot menu then I can Hit F12 when the machine boots and 
select the disk.


I suspect this is a bug, or am I missing something?

In addition, can you configure which of the network interface does PXE 
boot? or ovirt will always try all of them until it finds one that 
works?  It would seem natural to me to have another column under 
Network Interfaces labelled PXE where you decide which of the 
interfaces have PXE enabled.


Jason.


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


Re: [ovirt-users] virtual machine does not boot from its hard disk

2015-04-02 Thread Jason Keltz
This is not the problem because I can hit F12, choose the disk, and the 
machine boots fine.
I *had* set the machine to PXE boot before hard disk, but after undoing 
that, the configuration seems to have held.


Jason.

On 04/02/2015 02:05 PM, shimano wrote:
Make sure that KickStart installed correct boot sector (on correct 
partition). For example boot Hiren's CD on VM and check that Grub 
trying to boot correct /boot partition and your /boot partition is 
active (bootable).



2015-04-02 18:28 GMT+02:00 Jason Keltz j...@cse.yorku.ca 
mailto:j...@cse.yorku.ca:


I have kickstarted my first CentOS 6 host under ovirt.  When it
boots, the VM tries to PXE boot again rather than going to the
hard disk.

If I look under Boot Options in my VM, there's only:

  * First Device: Hard Disk
  * Second Device: [None]

If I  Enable boot menu then I can Hit F12 when the machine boots
and select the disk.

I suspect this is a bug, or am I missing something?

In addition, can you configure which of the network interface does
PXE boot? or ovirt will always try all of them until it finds one
that works?  It would seem natural to me to have another column
under Network Interfaces labelled PXE where you decide which
of the interfaces have PXE enabled.

Jason.


___
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


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


Re: [ovirt-users] virtual machine does not boot from its hard disk

2015-04-02 Thread shimano
Make sure that KickStart installed correct boot sector (on correct
partition). For example boot Hiren's CD on VM and check that Grub trying to
boot correct /boot partition and your /boot partition is active (bootable).


2015-04-02 18:28 GMT+02:00 Jason Keltz j...@cse.yorku.ca:

 I have kickstarted my first CentOS 6 host under ovirt.  When it boots, the
 VM tries to PXE boot again rather than going to the hard disk.

 If I look under Boot Options in my VM, there's only:

   * First Device: Hard Disk
   * Second Device: [None]

 If I  Enable boot menu then I can Hit F12 when the machine boots and
 select the disk.

 I suspect this is a bug, or am I missing something?

 In addition, can you configure which of the network interface does PXE
 boot? or ovirt will always try all of them until it finds one that works?
 It would seem natural to me to have another column under Network
 Interfaces labelled PXE where you decide which of the interfaces have
 PXE enabled.

 Jason.


 ___
 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: [ovirt-users] accessing SPICE console when host not on management network

2015-04-02 Thread shimano
You can use Spice Proxy. The easiest way is to run proxy on Squid. I
recommend connect via VPN.

Here is a part of my Squid's configuration to connect Spice consoles from
VPN 10.25.0.0/16 and LAN 192.168.0.0/16 to oVirt's hosts on 192.168.2.0/24:

acl manager proto cache_object
acl localhost src 127.0.0.1/32 ::1
acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1
acl localnet src 192.168.0.0/16
acl localnet src 10.25.0.0/16
acl Safe_ports port 80 # http
acl CONNECT method CONNECT
http_access allow localnet
http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
acl spice_servers dst 192.168.2.0/24
http_access allow spice_servers
http_access allow localnet
http_access allow localhost
http_access allow all
http_port 3128
hierarchy_stoplist cgi-bin ?
cache_dir ufs /var/spool/squid 100 16 256
cache_mem 32 MB
coredump_dir /var/spool/squid
refresh_pattern ^ftp:   144020% 10080
refresh_pattern ^gopher:14400%  1440
refresh_pattern -i (/cgi-bin/|\?) 0 0%  0
refresh_pattern .   0   20% 4320
cache_effective_user squid
cache_effective_group squid

You have to configure Spice Proxy on oVirt Engine by `engine-config -s
SpiceProxyDefault=someProxy`. Here is my solution:

root@host021:~ engine-config -a |grep SpiceProxyDefault
SpiceProxyDefault: http://10.25.2.21:3128/ version: general

You can use Proxy on your public IP if you don't like to use VPN, but
remember to make sure that your machines are secured enough.

2015-04-02 18:06 GMT+02:00 Jason Keltz j...@cse.yorku.ca:

 I'm trying to figure out the most reasonable method for me to access the
 console on my ovirt installation.
 Each node has ovirtmgmt, storage, and external network connectivity.
 The standalone engine host has ovirtmgmt, and external network.
 I connect to engine via the external network, right click on a VM and try
 to access the console.  If I use the Remote Viewer method, the connection
 fails.  This is because my client on the external network doesn't have
 access to ovirtmgmt.
 I can access the spice-html5 client, and that basically works, though
 it's crashed more than once.  I suspect that Remote Viewer will be more
 stable.
 So my question is - what is the best way for me to connect to the console
 from the external network?
 Either, I have to start up my client on a machine that has an IP on
 ovirtmgmt (eg. remote login to engine, and run firefox there?)
 or I have to route external packets from my host to say, the engine host,
 and run IP forwarding there? probably not too secure...
 or I have to figure out a way to make ovirt use the external network for
 display traffic... that would probably be best (?) but I can't seem to
 figure out whether it's possible.
 In particular since the external network is a VM network (it's actually 2
 x 1 G links bound via LACP), and not part of ovirt infrastructure, it's not
 clear if I can use it for display and VM external connectivity as well.

 Any thoughts would be much appreciated.

 Jason.

 ___
 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