Re: [Users] Broken Snapshots

2014-01-01 Thread Meital Bourvine
What is the error that you're getting? 
What do you mean by broken snapshot? How did it happen? 
Can you please attach some logs? 

- Original Message -

> From: "Maurice James" 
> To: users@ovirt.org
> Sent: Thursday, January 2, 2014 1:16:19 AM
> Subject: [Users] Broken Snapshots

> How do I get rid of broken snapshots? I cannot delete them from the web gui
> or the shell

> ___
> 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] Broken Snapshots

2014-01-01 Thread Maurice James
How do I get rid of broken snapshots? I cannot delete them from the web gui or 
the shell  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error on Setting up VLAN

2014-01-01 Thread Assaf Muller
Looks like bridge public_10 still has vNICs connected to it.

What is the output for:
brctl show public_10

If you select the host and enter the Setup Networks dialog, does the physical 
NIC
have a network on it? If so, remove it (I know you said you did this but it 
looks like
that operation somehow silently failed). After removing all networks on the 
host,
the public_10 bridge shouldn't exist. Also, virsh net-list shouldn't list the 
public_10 network.

If setupNetworks shows a blank NIC, but the public_10 bridge or libvirt 
networks exist, try:
Removing /etc/sysconfig/network-scripts/ifcfg-public_10
Type virsh , then:
virsh net-undefine public_10
virsh net-destroy public_10
Login details:
vdsm@ovirt
shibboleth

After the ifcfg file and libvirt networks are removed, go back to the GUI and 
select 'Save network config',
then restart the host.

At this point the host should come up - No ifcfg file for the network, no 
libvirt network, no bridge.
The setup networks dialog in the GUI should show no network on the physical NIC.
Now make sure (again) that the public_10 network is a VLAN network, and attach 
public_10 to the NIC.
That operation should succeed.


Assaf Muller, Cloud Networking Engineer 
Red Hat 

- Original Message -
From: "Alessandro Bianchi" 
To: users@ovirt.org
Sent: Wednesday, January 1, 2014 7:01:17 PM
Subject: [Users] Error on Setting up VLAN

Hi everyone and happy new year first !

I'm setting up a test host using VLAN

It holds 2 VM's so I

- Stopped the two VMs and removed the "public_10" network from the NIC
- edited the "public_10" network, checked "enable VLAN tagging" and set 
10 as VLAN identifier
- assigned the "new" edited network to the VMs NIC
- edited the HOST network, clicked the pencil on the relevant NIC and 
clicked "sync network" since it showed the network as "not synced"

Ovirt tried to setup the network but ended with "cannot up interface" 
error and I lost contact with the node

Ovirt is 3.3.2 on Fedora 19 (it is AIO)

Here is the log:

53244 Thread-52989::DEBUG::2014-01-01 
16:58:16,938::BindingXMLRPC::974::vds::(wrapper) client 
[172.16.0.5]::call setupNetworks with ({'public_10': {'nic': 'p5p1', 
'vlan': '10', 'ipaddr': '10.0.0.5', 'netmask': '255.255.255.0', 'STP': 
'no', 'bridged': 'true', 'gateway': '10.0.0.254'}}, {}, 
{'connectivityCheck': 'true', 'connectivityTimeout': 120}) {} flowID 
[49756c97]
53245 Thread-52925::DEBUG::2014-01-01 
16:56:39,737::BindingXMLRPC::974::vds::(wrapper) client 
[172.16.0.5]::call ping with () {} flowID [64a8776]
   53246 Thread-52925::DEBUG::2014-01-01 
16:56:39,738::BindingXMLRPC::981::vds::(wrapper) return ping with 
{'status': {'message': 'Done', 'code': 0}}
   53247 Thread-52924::ERROR::2014-01-01 
16:56:39,802::API::1262::vds::(setupNetworks) bridge public_10 has 
interfaces set(['vnet0', 'vnet2']) connected
   53248 Traceback (most recent call last):
   53249   File "/usr/share/vdsm/API.py", line 1260, in setupNetworks
   53250 supervdsm.getProxy().setupNetworks(networks, bondings, options)
   53251   File "/usr/share/vdsm/supervdsm.py", line 50, in __call__
   53252 return callMethod()
   53253   File "/usr/share/vdsm/supervdsm.py", line 48, in 
   53254 **kwargs)
   53255   File "", line 2, in setupNetworks
   53256   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 
773, in _callmethod
   53257 raise convert_to_error(kind, result)
   53258 ConfigNetworkError: (28, "bridge public_10 has interfaces 
set(['vnet0', 'vnet2']) connected")
   53259 Thread-52924::DEBUG::2014-01-01 
16:56:39,808::BindingXMLRPC::981::vds::(wrapper) return setupNetworks 
with {'status': {'message': "bridge public_10 has interfaces 
set(['vnet0', 'vnet2']) connected", 'code': 28}}

ifcfg-p5p1 (before loosing connection)
[root@hypervisor ~]# cat /etc/sysconfig/network-scripts/ifcfg-p5p1
DEVICE=p5p1
ONBOOT=yes
HWADDR=00:50:fc:85:9b:76
BRIDGE=public_10
NM_CONTROLLED=no
STP=no


ifcfg-public_10
DEVICE=public_10
ONBOOT=yes
TYPE=Bridge
DELAY=0
NM_CONTROLLED=no
STP=no
IPADDR=10.0.0.5
NETMASK=255.255.255.0
DEFROUTE=yes
GATEWAY=10.0.0.254
PEERDNS=yes
DNS1=8.8.8.8
DNS2=8.8.4.4

How may I amend the configuration files?

Any hint?

Thank you

Best regards


___
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] Map disk UUID to guest or disk name?

2014-01-01 Thread Blaster

On 12/29/2013 12:38 AM, Daniel Erez wrote:

Disks main-tab contains an ID column for disks' GUIDs,
try mapping the disk name using that.


Doh.  How did I miss that?

But I see in the disks maintab a disk I deleted several weeks ago. It's 
gone from the physical storage but still shows up here.  Wonder why that 
is?

I've tried updating disk's description with latest bits and it seems to work 
fine..
Can you please attach the relevant engine logs for further investigation.



Did you check the .meta file on physical storage?  It seems to be 
getting updated in the GUI, but not getting written out to the .meta 
file on physical storage.  I just updated to 3.3.2 and still seeing the 
same issue when I update the Description field.

What logs do you need?


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


Re: [Users] VM restart

2014-01-01 Thread Itamar Heim

On 01/01/2014 06:56 PM, Maurice James wrote:

Does anyone know why there isn’t a vm reset or restart option in the web
gui? Or did I miss it?


martin betak is working on adding that option (based on guest agent 
collaborating with a guest side reboot iirc)
vdsm side seems to be merged, not sure on engine/ui side 
http://gerrit.ovirt.org/#/c/22440/







___
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] Error on Setting up VLAN

2014-01-01 Thread Alessandro Bianchi

Hi everyone and happy new year first !

I'm setting up a test host using VLAN

It holds 2 VM's so I

- Stopped the two VMs and removed the "public_10" network from the NIC
- edited the "public_10" network, checked "enable VLAN tagging" and set 
10 as VLAN identifier

- assigned the "new" edited network to the VMs NIC
- edited the HOST network, clicked the pencil on the relevant NIC and 
clicked "sync network" since it showed the network as "not synced"


Ovirt tried to setup the network but ended with "cannot up interface" 
error and I lost contact with the node


Ovirt is 3.3.2 on Fedora 19 (it is AIO)

Here is the log:

53244 Thread-52989::DEBUG::2014-01-01 
16:58:16,938::BindingXMLRPC::974::vds::(wrapper) client 
[172.16.0.5]::call setupNetworks with ({'public_10': {'nic': 'p5p1', 
'vlan': '10', 'ipaddr': '10.0.0.5', 'netmask': '255.255.255.0', 'STP': 
'no', 'bridged': 'true', 'gateway': '10.0.0.254'}}, {}, 
{'connectivityCheck': 'true', 'connectivityTimeout': 120}) {} flowID 
[49756c97]
53245 Thread-52925::DEBUG::2014-01-01 
16:56:39,737::BindingXMLRPC::974::vds::(wrapper) client 
[172.16.0.5]::call ping with () {} flowID [64a8776]
  53246 Thread-52925::DEBUG::2014-01-01 
16:56:39,738::BindingXMLRPC::981::vds::(wrapper) return ping with 
{'status': {'message': 'Done', 'code': 0}}
  53247 Thread-52924::ERROR::2014-01-01 
16:56:39,802::API::1262::vds::(setupNetworks) bridge public_10 has 
interfaces set(['vnet0', 'vnet2']) connected

  53248 Traceback (most recent call last):
  53249   File "/usr/share/vdsm/API.py", line 1260, in setupNetworks
  53250 supervdsm.getProxy().setupNetworks(networks, bondings, options)
  53251   File "/usr/share/vdsm/supervdsm.py", line 50, in __call__
  53252 return callMethod()
  53253   File "/usr/share/vdsm/supervdsm.py", line 48, in 
  53254 **kwargs)
  53255   File "", line 2, in setupNetworks
  53256   File "/usr/lib64/python2.7/multiprocessing/managers.py", line 
773, in _callmethod

  53257 raise convert_to_error(kind, result)
  53258 ConfigNetworkError: (28, "bridge public_10 has interfaces 
set(['vnet0', 'vnet2']) connected")
  53259 Thread-52924::DEBUG::2014-01-01 
16:56:39,808::BindingXMLRPC::981::vds::(wrapper) return setupNetworks 
with {'status': {'message': "bridge public_10 has interfaces 
set(['vnet0', 'vnet2']) connected", 'code': 28}}


ifcfg-p5p1 (before loosing connection)
[root@hypervisor ~]# cat /etc/sysconfig/network-scripts/ifcfg-p5p1
DEVICE=p5p1
ONBOOT=yes
HWADDR=00:50:fc:85:9b:76
BRIDGE=public_10
NM_CONTROLLED=no
STP=no


ifcfg-public_10
DEVICE=public_10
ONBOOT=yes
TYPE=Bridge
DELAY=0
NM_CONTROLLED=no
STP=no
IPADDR=10.0.0.5
NETMASK=255.255.255.0
DEFROUTE=yes
GATEWAY=10.0.0.254
PEERDNS=yes
DNS1=8.8.8.8
DNS2=8.8.4.4

How may I amend the configuration files?

Any hint?

Thank you

Best regards


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


[Users] VM restart

2014-01-01 Thread Maurice James
Does anyone know why there isn't a vm reset or restart option in the web
gui? Or did I miss it?

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


Re: [Users] Fwd: Your stand proposal for oVirt has been accepted

2014-01-01 Thread René Koch
-Original message-
> From:Dave Neary 
> Sent: Tuesday 17th December 2013 10:01
> To: users ; arch 
> Subject: [Users] Fwd: Your stand proposal for oVirt has been accepted
> 
> Hi everyone,
> 
> Great news! We will have an oVirt stand at FOSDEM in Brussels this year!
> 
> Brian and I will be looking for volunteers to man the stand and spread
> the love about oVirt over the next few weeks - please let us know if you
> plan to attend FOSDEM, we would love to see you there!


I'll attend and can also help at the stand.


> 
> Also, I would love to have an oVirt community meet-up for beers on
> Saturday evening - if we did, would you be interested in attending? Let
> us know!


This would be really great! Of course I would be interested in meeting (and 
beer ;) )...


> 
> Thanks,
> Dave.
> 
> 
>  Original Message 
> Subject: Your stand proposal for oVirt has been accepted
> Date: Mon, 16 Dec 2013 22:28:20 +0100 (CET)
> From: FOSDEM Stands Team 
> To: Dave Neary 
> 
> Hi Dave,
> 
> The FOSDEM stands team is glad to be able to inform you that your request
> for a stand for oVirt has been accepted.
> There will be one table reserved for you.
> 
> You will receive further information about what's expected of you closer
> to the event date.
> 
> Looking forward to seeing you at FOSDEM 2014!
> 
> 
> Kind regards,
> 
> Wynke Stulemeijer
> FOSDEM stands team
> 
> 
> ___
> 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] VM payload

2014-01-01 Thread René Koch

-Original message-
> From:Shahar Havivi 
> Sent: Tuesday 31st December 2013 22:41
> To: René Koch 
> Cc: ovirt-users ; Michal Skrivanek ; 
> Itamar Heim 
> Subject: Re: [Users] VM payload
> 
> Hi René,
> I think the flow is wrong...
> 
> You have a VM that its initial resources such as network, cdroms etc are
> stored in the oVirt engine database.
> The engine is sending this data to vdsm to run the VM.
> You are using the one of the vdsm hooks to add a cdrom (before the vm start) 
> for that VM but you are not
> modifying the current VM xml - instead you are sending the payload data back
> to the engine which store this new data in its database,
> This is not effect the current running VM but the next cycle as you notice.
> 
> Please take a look at the floppy hook:
> http://gerrit.ovirt.org/gitweb?p=vdsm.git;a=blob;f=vdsm_hooks/floppy/before_vm_start.py;h=7616ac6927935da85833f6a574a4039fb3b04b4d;hb=refs/heads/master
> Look how its modifying the domxml set it via:
> hooking.write_domxml(domxml)


Thanks a lot for the reply, Shahar.

I wrote a hook based on the floppy hook first, but it didn't work with oVirt 
3.2 and changed the script then to REST-API calls.
I'll test my old Python script, which does manipulate the DOM XML again against 
oVirt 3.3.


Thanks,
René


> 
> I think you can use this hook as a template.
> 
> Shahar Havivi.
> 
> 
> On 31.12.13 18:51, Itamar Heim wrote:
> > On 12/20/2013 05:04 PM, René Koch (ovido) wrote:
> > >Hi,
> > >
> > >I created a vdsm hook script for passing payload information (vm name)
> > >to a virtual machine, which is placed in before_vm_start folder on my
> > >hypervisor (CentOS 6.5).
> > >
> > >If I create a new virtual machine out of a template some strange things
> > >happen:
> > >When starting the vm the first time I can see that the vdsm script is
> > >executed, but no additional cd drive is shown in this vm. But after
> > >shutting down the vm and powering on again, the cd drive appears.
> > >
> > >Here's the vdsm hook I use:
> > >https://raw.github.com/ovido/ovirt-stuff/master/hooks/50_payload
> > >
> > >I don't really get why the payload isn't working when starting a vm the
> > >first time.
> > >This happen on oVirt 3.2 and 3.3.
> > >
> > >Thanks a lot for help!
> > >
> > >
> > 
> > shahar - thoughts?
> 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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

2014-01-01 Thread Gianluca Cecchi
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

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