Re: [ovirt-users] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Simone Tiraboschi
On Wed, Oct 21, 2015 at 4:43 PM, Gianluca Cecchi 
wrote:

> On Wed, Oct 21, 2015 at 4:08 PM, Yedidyah Bar David 
> wrote:
>
>> On Wed, Oct 21, 2015 at 5:00 PM, Gianluca Cecchi
>>  wrote:
>> > Hello,
>> > playing with an environment where I have a CentOS 7.1 + updates server
>> with
>> > 3.6 repos configured.
>> > no DNS resolution in place.
>> > running the command
>> > hosted-engine --deploy
>> >
>> > I initially get, during the prompts inside setup, the message if I want
>> to
>> > set hostname for the sh engine and if I want to setup /etc/hosts of
>> > hypervisor
>>
>> IIRC we only suggest to update /etc/hosts of the engine, not the host.
>>
>>
> Ok, I will crosscheck the output...
>

That question is:
 Add lines for the appliance itself and for this host to /etc/hosts on the
engine VM?
 Note: ensuring that this host could resolve the engine VM hostname is
still up to you

As Didi stated the properly way to use that is with a properly working
DHCP/DNS infrastructure having each host resolving each others and so on.
Then hosted-engine setup will ask you about engine VM mac address and you
have to create a reservation for that on your infrastructure.

For smaller/test deployment where a DHCP server is not present we are
providing also a static IP addressing option for the engine appliance:
you can specify an IP address for your new VM and it will be configured in
the appliance via cloud-init.
Then your host should be able to resolve it and so, if you don't have a
registering DNS,  it's up to you to configure it via /etc/hosts on your
host.

Cause the appliance deployment is fully automated you don't have the time
to do it on the appliance and so we provided a way to inject the host
address into /etc/hosts on the appliance.
It's still up to you to add other hosts there if you want to deploy
additional ones.
So having a properly working DNS and DHCP server is definitively a better
option.


> I run it through screen and I'm not able to scroll through the output of
> it
>

1. Hit your screen prefix combination ( C-a / control + A by default), then
hit Escape .
2. Move up/down with the arrow keys to scrool the output buffer.
3. When you're done, hit Return twice to get back to the end of the scroll
buffer.


> > Can I re-run using the answer file? In this case do I have to pre-insert
>> sh
>> > engine hostname inside /etc/hosts of hypervisor?
>>
>> Yes.
>>
>>
>>
> What is the supposed command for using answer file?
>

hosted-engine --deploy
--config-append=/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021154529.conf

Depending from where it stopped it could be that you have to manually
destroy your previous empty appliance instance and cleanup its storage
before being able to retry.


> What should have it put the generated output file? It seems there is
> nothing under /etc/ovirt-hosted-engine
>
> [root@ovc71 ovirt-hosted-engine-setup]# ll /etc/ovirt-hosted-engine
> total 4
> -rw-r--r--. 1 root root 222 Oct 15 10:37 10-appliance.conf
>
>
> [root@ovc71 ovirt-hosted-engine-setup]# cat
> /etc/ovirt-hosted-engine/10-appliance.conf
> description=The oVirt Engine Appliance image (OVA)
> version=20151015.0-1.el7.centos
>
> path=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-20151015.0-1.el7.centos.ova
> sha1sum=010c974c81aa45560002b0e3dfdf56fc81e31eb4
>
> AH ok.. I found it under
> /var/lib/ovirt-hosted-engine-setup/answers/answers-20151021154529.conf
>
> So it remains the question regarding syntax for using answer file..
>
> Thanks,
> Gianluca
>
>
>
> ___
> 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] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Gianluca Cecchi
Hello,
playing with an environment where I have a CentOS 7.1 + updates server with
3.6 repos configured.
no DNS resolution in place.
running the command
hosted-engine --deploy

I initially get, during the prompts inside setup, the message if I want to
set hostname for the sh engine and if I want to setup /etc/hosts of
hypervisor and sh engine so that it will add them with clud-init, that
translates in these lines inside log file:


2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_VM/cloudinitInstanceDomainName=str:'localdomain.local'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_VM/cloudinitInstanceHostName=str:'shengine.localdomain.local'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_VM/cloudinitRootPwd=str:'**FILTERED**'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_VM/cloudinitVMDNS=str:'192.168.122.1'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
OVEHOSTED_VM/cloudinitVMETCHOSTS=bool:'True'

But then I get the error related to failure of sh engine hostname
resolution and installation terminates, with these finale lines in log
file.

2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
SYSTEM/reboot=bool:'False'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
SYSTEM/rebootAllow=bool:'True'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
SYSTEM/rebootDeferTime=int:'10'
2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:514
ENVIRONMENT DUMP - END
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:148
condition False
2015-10-21 15:45:29 INFO otopi.context context.runSequence:427 Stage:
Termination
2015-10-21 15:45:29 DEBUG otopi.context context.runSequence:431 STAGE
terminate
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:148
condition False
2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate

and the message of a generated answer file.

Why does it ask and then fails?
Can I re-run using the answer file? In this case do I have to pre-insert sh
engine hostname inside /etc/hosts of hypervisor?

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


Re: [ovirt-users] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Yedidyah Bar David
On Wed, Oct 21, 2015 at 5:00 PM, Gianluca Cecchi
 wrote:
> Hello,
> playing with an environment where I have a CentOS 7.1 + updates server with
> 3.6 repos configured.
> no DNS resolution in place.
> running the command
> hosted-engine --deploy
>
> I initially get, during the prompts inside setup, the message if I want to
> set hostname for the sh engine and if I want to setup /etc/hosts of
> hypervisor

IIRC we only suggest to update /etc/hosts of the engine, not the host.

> and sh engine so that it will add them with clud-init, that
> translates in these lines inside log file:
>
>
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_VM/cloudinitInstanceDomainName=str:'localdomain.local'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_VM/cloudinitInstanceHostName=str:'shengine.localdomain.local'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_VM/cloudinitRootPwd=str:'**FILTERED**'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_VM/cloudinitVMDNS=str:'192.168.122.1'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> OVEHOSTED_VM/cloudinitVMETCHOSTS=bool:'True'
>
> But then I get the error related to failure of sh engine hostname resolution
> and installation terminates, with these finale lines in log file.
>
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> SYSTEM/reboot=bool:'False'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> SYSTEM/rebootAllow=bool:'True'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:510 ENV
> SYSTEM/rebootDeferTime=int:'10'
> 2015-10-21 15:45:29 DEBUG otopi.context context.dumpEnvironment:514
> ENVIRONMENT DUMP - END
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
> pre-terminate METHOD otopi.plugins.otopi.dialog.cli.Plugin._pre_terminate
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:148 condition
> False
> 2015-10-21 15:45:29 INFO otopi.context context.runSequence:427 Stage:
> Termination
> 2015-10-21 15:45:29 DEBUG otopi.context context.runSequence:431 STAGE
> terminate
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
> terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
> terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:148 condition
> False
> 2015-10-21 15:45:29 DEBUG otopi.context context._executeMethod:142 Stage
> terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
>
> and the message of a generated answer file.
>
> Why does it ask and then fails?

Generally speaking, you are supposed to take care of all name resolution
yourself. Changing /etc/hosts on the engine vm was added mainly to allow
unattended setup of it.

Note that you also have to make sure the engine can resolve the host, and
that the hosts can resolve each other. See also [1] about that.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1188675

> Can I re-run using the answer file? In this case do I have to pre-insert sh
> engine hostname inside /etc/hosts of hypervisor?

Yes.

Best regards,

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



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


Re: [ovirt-users] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Gianluca Cecchi
On Wed, Oct 21, 2015 at 4:08 PM, Yedidyah Bar David  wrote:

> On Wed, Oct 21, 2015 at 5:00 PM, Gianluca Cecchi
>  wrote:
> > Hello,
> > playing with an environment where I have a CentOS 7.1 + updates server
> with
> > 3.6 repos configured.
> > no DNS resolution in place.
> > running the command
> > hosted-engine --deploy
> >
> > I initially get, during the prompts inside setup, the message if I want
> to
> > set hostname for the sh engine and if I want to setup /etc/hosts of
> > hypervisor
>
> IIRC we only suggest to update /etc/hosts of the engine, not the host.
>
>
Ok, I will crosscheck the output...
I run it through screen and I'm not able to scroll through the output of
it


> > Can I re-run using the answer file? In this case do I have to pre-insert
> sh
> > engine hostname inside /etc/hosts of hypervisor?
>
> Yes.
>
>
>
What is the supposed command for using answer file?
What should have it put the generated output file? It seems there is
nothing under /etc/ovirt-hosted-engine

[root@ovc71 ovirt-hosted-engine-setup]# ll /etc/ovirt-hosted-engine
total 4
-rw-r--r--. 1 root root 222 Oct 15 10:37 10-appliance.conf


[root@ovc71 ovirt-hosted-engine-setup]# cat
/etc/ovirt-hosted-engine/10-appliance.conf
description=The oVirt Engine Appliance image (OVA)
version=20151015.0-1.el7.centos
path=/usr/share/ovirt-engine-appliance/ovirt-engine-appliance-20151015.0-1.el7.centos.ova
sha1sum=010c974c81aa45560002b0e3dfdf56fc81e31eb4

AH ok.. I found it under
/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021154529.conf

So it remains the question regarding syntax for using answer file..

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


Re: [ovirt-users] MacSpoof with multiple VM's -> bad/slow response on 3.5.3

2015-10-21 Thread Matt .
Hi Dan,

Yes it vanished from the gui.

The strange thing is I was looking using VdsClient and saw my
loadbalancers where not started with macspoof true, but my Firewalls
were.

In the time between they have been migrated and restarted also in
tests, so I cannot see if it has been running with macspoof true and
it vanished from the gui, but I'm 200% it was in there (GUI).

Now this is double checked etc all working fine again, I wonder if
macspoof can have issues with multiple VHID groups in between the same
hosts on the same vlan.

It's kinda guessing as I cannot show how it was setup, this came up
during some failover test after the machines have been moved to
dedicated hosts some while ago.

So, ask me, shoot me and maybe we can tackle if this could be a bug or so.

Thanks,

Matt

2015-10-21 14:44 GMT+02:00 Dan Kenigsberg :
> On Wed, Oct 21, 2015 at 07:51:28AM +0200, Matt . wrote:
>> Hi Guys,
>>
>> On a 3.5.3 updated cluster I see issues with macspoofed VM's.
>>
>> The cluster is a CcentOS 7 cluster which always performed well.
>>
>> I noticed that on my loadbalancers the macspoof true setting
>> disspeared in the engine and when I added it and rebooted some other
>> carp machines it was vanished at those machines.
>
> What do you mean by "vanished"? Does it not show on the UI? When did it
> happen? Can you share the domxml of the VMs that you start?
>
>>
>> It's a quite simple setup:
>>
>> 2 static nodes in a mutiple hosts cluster with carp machines on it,
>> per blade 1 Firewall, Pfsense, and one Loadbalancer ZEN.
>>
>> The cluster ID's differ on ZEN, and the carp IP's on pfsense have a
>> different VHID's so I wondered if this is a known issue with the
>> vanished macspoof true setting I found out (so the whole virtual IP
>> doesn't work in that case).
>>
>> Some other cluster works fine without any issue, the spoofed systems
>> here are on CentOS 6
>>
>> This setup has run for more than a year without any issues.
>>
>> I hope someone has some information if this issue is known.
>>
>> Thanks Matt
>>
>> (sorry for my bad typing it's kinda early/late ;))
>> ___
>> 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] schedule a VM backup in ovirt 3.5

2015-10-21 Thread Indunil Jayasooriya
Hi list,

I want to *schedule a VM backup* in ovirt 3.5. I read below URL.


http://www.ovirt.org/Features/Backup-Restore_API_Integration#Full_VM_Backups

It gives an below example of VM backup


Example for VM Backup

   - Use existing VM Snapshot/Create a vm snapshot (example):

 URL = SERVER:PORT/api/vms/VM_ID/snapshots
 Method = POST
 (with Content-Type:application/xml header)
 Body =
 
 Virtual Machine 1 - Snapshot For Backup
 



But, How can I find the *VM_ID* of the VM that I want to backup?

How can I write this below format?

 URL = SERVER:PORT/api/vms/VM_ID/snapshots

MY Ovirt Engine manager is running on another PC. (let's say
engine.example.com ) i can access it by typing
https://engine.example.com/

is it https://engine.example.com/api/vms/*VM_ID*/snapshots ? I can't
access it in firefox browser?


Should I write a script? is there any Youtube video or doc that makes
me to understand this?

Hope to hear from you.








-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt monitoring with libirt-snmp

2015-10-21 Thread Roman Mohr
Hi Kevin,


you should not change auth_unix_rw=sasl. I never used libvirt-snmp but it
is save to create another user like this:

> saslpasswd2 -a libvirt 

I did that several times on my hosts.


On Mon, Oct 19, 2015 at 4:43 PM, Kevin COUSIN 
wrote:

> Hi list,
>
> Is it safe to edit /etc/libvirt/libvirtd.conf? I need to change
> auth_unix_rw="sasl" because I want to allow libvirt-snmp to acess to VM
> informations. Perhaps I need to create a user in sasl instead ?
>
> Thanks a lot
>
> 
>
>COUSIN Kevin
> ___
> 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] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Gianluca Cecchi
On Wed, Oct 21, 2015 at 4:58 PM, Simone Tiraboschi 
wrote:

>
>> Ok, I will crosscheck the output...
>>
>
> That question is:
>  Add lines for the appliance itself and for this host to /etc/hosts on the
> engine VM?
>  Note: ensuring that this host could resolve the engine VM hostname is
> still up to you
>


You are right. I misunderstood the message meaning..



>
>
>> I run it through screen and I'm not able to scroll through the output of
>> it
>>
>
> 1. Hit your screen prefix combination ( C-a / control + A by default),
> then hit Escape .
> 2. Move up/down with the arrow keys to scrool the output buffer.
> 3. When you're done, hit Return twice to get back to the end of the scroll
> buffer.
>


Ok, thank you very much! I never used screen before and didn't find this
useful infromation.



>
>
>> > Can I re-run using the answer file? In this case do I have to
>>> pre-insert sh
>>> > engine hostname inside /etc/hosts of hypervisor?
>>>
>>> Yes.
>>>
>>>
>>>
>> What is the supposed command for using answer file?
>>
>
> hosted-engine --deploy
> --config-append=/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021154529.conf
>

OK. It went successfull fro engine point of view.

One note: I chose spice as protocol for the sh engine and while I was able
to connect to it using root user, I wasn't using a normal user.
I got:

  [g.cecchi@ovc71 ~]$ remote-viewer
--spice-ca-file=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
spice://localhost?tls-port=5900 --spice-host-subject="C=EN, L=Test, O=Test,
CN=Test"

** (remote-viewer:1633): WARNING **: Couldn't connect to accessibility bus:
Failed to connect to socket /tmp/dbus-1N7zvOm2Zf: Connection refused
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will
not be saved or shared with other applications.

(remote-viewer:1633): GSpice-WARNING **: loading ca certs from
/etc/pki/vdsm/libvirt-spice/ca-cert.pem failed
(/usr/bin/remote-viewer:1633): Spice-Warning **:
ssl_verify.c:428:openssl_verify: Error in certificate chain verification:
self signed certificate in certificate chain
(num=19:depth1:/C=EN/L=Test/O=Test/CN=TestCA)

(remote-viewer:1633): GSpice-WARNING **: main-1:0: SSL_connect:
error:0001:lib(0):func(0):reason(1)


It seems that the hypervisor phase was stalled in some way and then failed:

[ INFO  ] Engine is still not reachable, waiting...
[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ INFO  ] Connecting to the Engine
[ INFO  ] Waiting for the host to become operational in the engine. This
may take several minutes...
[ INFO  ] Still waiting for VDSM host to become operational...
[ INFO  ] Still waiting for VDSM host to become operational...
..
[ INFO  ] Still waiting for VDSM host to become operational...
[ ERROR ] Timed out while waiting for host to start. Please check the logs.
[ ERROR ] Unable to add hosted_engine_1 to the manager
[ INFO  ] Saving hosted-engine configuration on the shared storage domain
[ INFO  ] Shutting down the engine VM
[ INFO  ] Enabling and starting HA services
  Hosted Engine successfully set up
[ INFO  ] Stage: Clean up
[ INFO  ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021173522.conf'
[ INFO  ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination

During this waiting phase on hypervisor I got:

[root@ovc71 ~]# systemctl status vdsmd
vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
   Active: active (running) since Wed 2015-10-21 17:10:55 CEST; 22min ago
 Main PID: 506 (vdsm)
   CGroup: /system.slice/vdsmd.service
   ├─319 /usr/libexec/ioprocess --read-pipe-fd 29 --write-pipe-fd
23 --max-threads 10 --m...
   ├─506 /usr/bin/python /usr/share/vdsm/vdsm
   └─943 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd
56 --max-threads 10 --m...

Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client step
1
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
ask_user_info()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client step
1
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
ask_user_info()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
make_client_response()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client step
2
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
parse_server_challenge()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
ask_user_info()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
make_client_response()
Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client step
3

Inside vdsm.log under /var/log/vdsm/ I saw many loops of type

Thread-160::DEBUG::2015-10-21
17:31:23,084::fileSD::173::Storage.Misc.excCmd::(getReadDelay) /usr/bi
n/dd

Re: [ovirt-users] Testing self hosted engine in 3.6: hostname not resolved error

2015-10-21 Thread Simone Tiraboschi
On Wed, Oct 21, 2015 at 5:44 PM, Gianluca Cecchi 
wrote:

> On Wed, Oct 21, 2015 at 4:58 PM, Simone Tiraboschi 
> wrote:
>
>>
>>> Ok, I will crosscheck the output...
>>>
>>
>> That question is:
>>  Add lines for the appliance itself and for this host to /etc/hosts on
>> the engine VM?
>>  Note: ensuring that this host could resolve the engine VM hostname is
>> still up to you
>>
>
>
> You are right. I misunderstood the message meaning..
>
>
>
>>
>>
>>> I run it through screen and I'm not able to scroll through the output of
>>> it
>>>
>>
>> 1. Hit your screen prefix combination ( C-a / control + A by default),
>> then hit Escape .
>> 2. Move up/down with the arrow keys to scrool the output buffer.
>> 3. When you're done, hit Return twice to get back to the end of the
>> scroll buffer.
>>
>
>
> Ok, thank you very much! I never used screen before and didn't find this
> useful infromation.
>
>
>
>>
>>
>>> > Can I re-run using the answer file? In this case do I have to
 pre-insert sh
 > engine hostname inside /etc/hosts of hypervisor?

 Yes.



>>> What is the supposed command for using answer file?
>>>
>>
>> hosted-engine --deploy
>> --config-append=/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021154529.conf
>>
>
> OK. It went successfull fro engine point of view.
>
> One note: I chose spice as protocol for the sh engine and while I was able
> to connect to it using root user, I wasn't using a normal user.
> I got:
>
>   [g.cecchi@ovc71 ~]$ remote-viewer
> --spice-ca-file=/etc/pki/vdsm/libvirt-spice/ca-cert.pem
> spice://localhost?tls-port=5900 --spice-host-subject="C=EN, L=Test, O=Test,
> CN=Test"
>
> ** (remote-viewer:1633): WARNING **: Couldn't connect to accessibility
> bus: Failed to connect to socket /tmp/dbus-1N7zvOm2Zf: Connection refused
> GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings
> will not be saved or shared with other applications.
>
> (remote-viewer:1633): GSpice-WARNING **: loading ca certs from
> /etc/pki/vdsm/libvirt-spice/ca-cert.pem failed
> (/usr/bin/remote-viewer:1633): Spice-Warning **:
> ssl_verify.c:428:openssl_verify: Error in certificate chain verification:
> self signed certificate in certificate chain
> (num=19:depth1:/C=EN/L=Test/O=Test/CN=TestCA)
>
> (remote-viewer:1633): GSpice-WARNING **: main-1:0: SSL_connect:
> error:0001:lib(0):func(0):reason(1)
>
>
> It seems that the hypervisor phase was stalled in some way and then failed:
>
> [ INFO  ] Engine is still not reachable, waiting...
> [ INFO  ] Engine replied: DB Up!Welcome to Health Status!
> [ INFO  ] Connecting to the Engine
> [ INFO  ] Waiting for the host to become operational in the engine. This
> may take several minutes...
> [ INFO  ] Still waiting for VDSM host to become operational...
> [ INFO  ] Still waiting for VDSM host to become operational...
> ..
> [ INFO  ] Still waiting for VDSM host to become operational...
> [ ERROR ] Timed out while waiting for host to start. Please check the logs.
> [ ERROR ] Unable to add hosted_engine_1 to the manager
> [ INFO  ] Saving hosted-engine configuration on the shared storage domain
> [ INFO  ] Shutting down the engine VM
> [ INFO  ] Enabling and starting HA services
>   Hosted Engine successfully set up
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151021173522.conf'
> [ INFO  ] Generating answer file '/etc/ovirt-hosted-engine/answers.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
>
> During this waiting phase on hypervisor I got:
>
> [root@ovc71 ~]# systemctl status vdsmd
> vdsmd.service - Virtual Desktop Server Manager
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
>Active: active (running) since Wed 2015-10-21 17:10:55 CEST; 22min ago
>  Main PID: 506 (vdsm)
>CGroup: /system.slice/vdsmd.service
>├─319 /usr/libexec/ioprocess --read-pipe-fd 29 --write-pipe-fd
> 23 --max-threads 10 --m...
>├─506 /usr/bin/python /usr/share/vdsm/vdsm
>└─943 /usr/libexec/ioprocess --read-pipe-fd 57 --write-pipe-fd
> 56 --max-threads 10 --m...
>
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client
> step 1
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> ask_user_info()
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client
> step 1
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> ask_user_info()
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> make_client_response()
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5 client
> step 2
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> parse_server_challenge()
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> ask_user_info()
> Oct 21 17:10:56 ovc71.localdomain.local python[506]: DIGEST-MD5
> make_client_response()
> 

Re: [ovirt-users] Failed to start virtual machine due to internal error withsanlock

2015-10-21 Thread Joris Dobbelsteen
>-Original Message-
>From: Maor Lipchuk [mailto:mlipc...@redhat.com]
>Sent: Wednesday, October 21, 2015 13:51
>To: Joris Dobbelsteen
>Cc: users@ovirt.org
>Subject: Re: [ovirt-users] Failed to start domain due to internal error
>withsanlock
[snip]

>> Please attach the engine, VDSM and sanlock logs
>(/var/log/sanlock.log).
>> Which Storage Domains does this setup contains? Can you create a disk?
>

Hi Maor,
Thanks for your help.

Please find the logs attached. I cut them a bit, so I hope they contain 
everything you need.

The server was started about 6 months ago.
There are 2 DCs: "default", which is empty and "Tilburg" with 1 cluster and 1 
host.
There are 4 storage domains. 1 ISO (NFS) and 3 "Local on Host".

It's a bit of a too-lite setup for oVirt, but the interface is great.

>I got confused here, you wrote that you can't start a domain in the mail
>subject, but you mentioned that you have tried to run a VM.
>did you try also to reconstruct your DC?

It was morning in Europe. And I was sloppy with terms. Sorry for the confusion.
Domain is supposed to be "Virtual Machine".

I created it fresh, and allocated a thinly provisioned disk on one of the 
"Local on Host" storage domains.

Pressing "Run" or "RunOnce" for the virtual machine consistently results in:
"
VM build-arm-mcu is down with error. Exit message: internal error unsupported 
flags (0x1) in function virLockManagerSanlockNew.
"

 [snip]
>>
>> - Original Message -
>> > From: "Joris Dobbelsteen" 
>> > To: users@ovirt.org
>> > Sent: Wednesday, October 21, 2015 11:52:29 AM
>> > Subject: [ovirt-users] Failed to start domain due to internal error
>with
>> >sanlock
>> >
>> > Failed to start domain due to internal error with sanlock
>> >
>> > Hi all,
>> >
>> > I'm currently using oVirt 3.5.4.2 on Centos 6 (single system, not a
>> > cluster setup). After running for a long while (months), it has run
>> > into an issue where it current cannot start a new VM.
>> > An internal error happens due to feature (0x01) from
>> > libvirt...SanLock...New.
>> >
>> > If there are request for specific log files for analysis, please let
>> > me know and I will include these.
>> >
>> > Does anyone recognize this issue or know a resolution?
>> >
>> > Best regards,
>> >
>> > - Joris Dobbelsteen
>> >
>> > ___
>> > Users mailing list
>> > Users@ovirt.org
>> > http://lists.ovirt.org/mailman/listinfo/users
>> >


log.7z
Description: log.7z
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Issue with kernel 2.6.32-573.3.1.el6.x86_64?

2015-10-21 Thread Michael Kleinpaste
VMs are on different VLANs and use a central Vyos VM as the firewall and
default gateway.  The only indication I had that the packets were getting
dropped or being sent out of order was by tshark'ing the traffic.  Tons and
tons of resends.

The problem was definitely resolved after I dropped back to the prior
kernel (2.6.32-504.12.2.el6.x86_64).

On Tue, Oct 20, 2015 at 11:51 PM Ido Barkan  wrote:

> Hi Michael,
> Can you describe your network architecture for this vm (inside the host).
> Do you know where are the packets get dropped?
> Ido
>
> On Tue, Sep 22, 2015 at 1:19 AM, Michael Kleinpaste
>  wrote:
> > Nobody's seen this?
> >
> > On Wed, Sep 16, 2015 at 9:08 AM Michael Kleinpaste
> >  wrote:
> >>
> >> So I patched my vhosts and updated the kernel to
> >> 2.6.32-573.3.1.el6.x86_64.  Afterwards the networking became unstable
> for my
> >> vyatta firewall vm.  Lots of packet loss and out of order packets
> (based on
> >> my tshark at the time).
> >>
> >> Has anybody else experienced this?
> >> --
> >> Michael Kleinpaste
> >> Senior Systems Administrator
> >> SharperLending, LLC.
> >> www.SharperLending.com
> >> michael.kleinpa...@sharperlending.com
> >> (509) 324-1230   Fax: (509) 324-1234
> >
> > --
> > Michael Kleinpaste
> > Senior Systems Administrator
> > SharperLending, LLC.
> > www.SharperLending.com
> > michael.kleinpa...@sharperlending.com
> > (509) 324-1230   Fax: (509) 324-1234
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
>
> --
> Thanks,
> Ido Barkan
>
-- 
*Michael Kleinpaste*
Senior Systems Administrator
SharperLending, LLC.
www.SharperLending.com
michael.kleinpa...@sharperlending.com
(509) 324-1230   Fax: (509) 324-1234
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] How to change the hosted engine VM RAM size after deploying

2015-10-21 Thread Bond, Darryl
When I try to change the RAM settings I get the following in a popup box.

Cannot edit virtual machine disk. This VM is not managed by the engine.


After some fiddling it seemed to accept the memory setting even though the 
dialog was showing the error.

Restarting the via hosted-engine -vm-shutdown & --startup, the Vm still had the 
old memory settings even though the engine GUI shows the new setting.


Darryl




From: Simone Tiraboschi 
Sent: Wednesday, 21 October 2015 10:06 PM
To: Bond, Darryl
Cc: users@ovirt.org
Subject: Re: [ovirt-users] How to change the hosted engine VM RAM size after 
deploying



On Wed, Oct 21, 2015 at 7:10 AM, Bond, Darryl 
> wrote:
?I am testing 3.6 and created the hosted engine with too little RAM.

How can I increase the RAM for the VM without re-deploying it?

Please try manually importing the hosted-engine storage domain into the engine 
(it should work automatically but currently it's still non there).
At that point the engine VM should come up into the engine and you should be 
able to edit some parameters including its memory.
When done shutdown the engine VM. The hosted-engine HA agent will bring it up 
for you with the new configuration.



Regards

Darryl

?





The contents of this electronic message and any attachments are intended only 
for the addressee and may contain legally privileged, personal, sensitive or 
confidential information. If you are not the intended addressee, and have 
received this email, any transmission, distribution, downloading, printing or 
photocopying of the contents of this message or attachments is strictly 
prohibited. Any legal privilege or confidentiality attached to this message and 
attachments is not waived, lost or destroyed by reason of delivery to any 
person other than intended addressee. If you have received this message and are 
not the intended addressee you should notify the sender by return email and 
destroy all copies of the message and any attachments. Unless expressly 
attributed, the views expressed in this email do not necessarily represent the 
views of the company.
___
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] Can´t use a VM Network VLAN, because the Virtual Machines inside can't reach the Gateway

2015-10-21 Thread Julián Tete
Hello Friends of oVirt

I'm glad to get your help. I'm trying to build a community of oVirt in
Colombia.

This is the data requested:

#HOST

Software

OS Version: RHEL - 7 - 1.1503.el7.centos.2.8
Kernel Version: 3.10.0 - 229.14.1.el7.x86_64
KVM Version: 3.10.0 - 229.14.1.el7.x86_64
LIBVIRT Version: libvirt-1.2.8-16.el7_1.4
VDSM Version: vdsm-4.17.9-0.el7.centos
SPICE Version: 0.12.4 - 9.el7_1.3
GlusterFS Version: glusterfs-3.7.5-1.el7
CEPH Version: librbd1-0.80.7-2.el7

Hardware

Manufacturer: HP
Family: ProLiant
Product Name: ProLiant BL460c Gen8
Version: [N/A]
UUID: 2197C286-BC9C-4CF3-99CB-..
Serial Number: VCX.
CPU Model: Intel(R) Xeon(R) CPU E5-2667 v2 @ 3.30GHz
CPU Type: Intel SandyBridge Family
CPU Sockets: 2
CPU Cores per Socket: 8
CPU Threads per Core: 2 (SMT Enabled)

Model name: QMH2572 - PCI-Express Dual Channel 8Gb Fibre Channel Mezzanine
HBA, NFF
Device type: FC
Model name: QMH2572 - PCI-Express Dual Channel 8Gb Fibre Channel Mezzanine
HBA, NFF
Device type: FC

The rest of the data is here:

http://pastebin.com/Snc27Jgn

Thank very much

I love oVirt 3.6, so far so good.

This is the last detail to dump VMware

:)



2015-10-13 2:43 GMT-05:00 Ido Barkan :

> Julian,
> Lets try a more systematic approach (similar to what Donny suggests):
>
> Please disable your arp script, and reproduce the situation where your vm
> cannot connect to the outside.
> It will be also a good idea to have the failing machine be the only
> powered on machine connected to the network (bridge).
>
> * from the machine os run a ping to a pingable destination outside of your
> network (8.8.8.8?)
> * run tcpdump on the hypervisor on several interfaces:
>   * the vm tap device (vnet0? vnet1?)
>   * the vm network bridge device (hosting?), where the tap device is
> attached to. This should be visible via brctl.
>   * the vlan device underneath the bridge (this one should have a name
> like 'eno1.50' where eno1 is the physical nic and 50 is the vlan tag)
>   * the physical device (the ethernet nic)
>
> The tcpdump command requires root privileges and looks like this: "sudo
> tcpdump -n -i  icmp or arp"
>
> What I assume we will see are only icmp requests (pings) and no icmp
> replies (pongs). There might be also be only arp requests and
> no arp replies.
> What I am interested at is the arp broadcasts, as the vm should broadcast
> an arp request (who-is ).
> My first guess is that is no response or there is one but the vm cannot
> hear it. This is why I used the arp filter in the tcpdump command.
>
> This should shed some light on where the problem is and in which layer.
> find out where the traffic is not forwarded.
>
> Also, when you locate the point of failure, try and wait for the traffic
> to 'suddenly work' as you said and then figure out what was changed.
>
> We would love to see the dumps and coontinue to help.
>
> Thanks,
> Ido
>
>
> On Thu, Oct 8, 2015 at 7:29 PM, Julián Tete 
> wrote:
>
>> I found the reason of my Problem: the virtual machines can't write the
>> ARP table ¡¡¿?!!
>>
>> When I manually use the command:
>>
>> arp -s 192.168.XXX.XX 00:09:XX:XX:XX:XX
>>
>> I can reach the gateway
>>
>> I can't reach anything from my net segment but i can reach Internet
>> (Double ¡¡¿?!!)
>>
>> For the moment I wrote a script, but is awful to do this.
>>
>> Any idea ?
>>
>> Thanks in advance :)
>>
>> 2015-07-10 11:26 GMT-05:00 Julián Tete :
>>
>>> Perhaps us are affected by the following error :
>>>
>>> http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04267968
>>>
>>> I will keep you informed
>>>
>>> Thanks Friends
>>>
>>> 2015-07-06 12:06 GMT-05:00 Julián Tete :
>>>
 Hi Friends of oVirt

 This the data required:

 I have a HP Enclosure with a HP SAN.
 I can't change the net settings in the switch because we have VMware
 Virtual Machines in production in the same enclosure.
 The switch is in Trunk Mode and all the traffic are in Tagged VLAN's
 with ID's: 1,50,90,91 and 100.
 I can play with 6 blades.
 I in the first Blade I installed oVirt in hosted engine mode.
 The only S.O is CentOS 7.1

 I used inxi to brig the data for you:

 My First Host is the only host until now (SPM) is the first data domain
 (NFS) and contains the hosted engine machine.
 I installed oVirt with ovirtmgmt in VLAN 1, over the interface eno1,
 without any VLAN Tagged configuration.

 This the data for my first host:

 http://pastebin.com/dfC0XTQM

 This the data for the Engine:

 http://pastebin.com/JdrMSbj0

 This the data for the Virtual Machine created in VLAN 50:

 S.O : CentOS 7.1
 SELinux: Permissive
 IP ADDRESS: 192.168.50.8
 PREFIX: 27
 GATEWAY: 192.168.50.1
 Interface: eth0

 The Virtual Machine hasn´t any VLAN configuration.

 In the 3 S.O, 

Re: [ovirt-users] required info

2015-10-21 Thread Yaniv Dary
You can look at:
http://www.ovirt.org/Features/ImportStorageDomain

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


On Fri, Sep 18, 2015 at 4:49 PM, Budur Nagaraju  wrote:

> HI
>
> Need some info on how to re register the vms on the new Engine  ? if the
> old Engine got corrupted.
>
> Thanks,
> Nagaraju
>
>
> ___
> 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] oVirt 3.5.4.2-1 - Snapshot Failure

2015-10-21 Thread Yaniv Dary
Can you open a bug with the details to make sure this is addressed?

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


On Mon, Sep 21, 2015 at 5:38 PM, Christian Rebel 
wrote:

> Hi Greg,
>
> attached both logs, I real hope you can help me to fix it, because it´s my
> Production Katello VM...
>
> Thanks,
> Christian
>
> -Original Message-
> From: Greg Padgett [mailto:gpadg...@redhat.com]
> Sent: Samstag, 19. September 2015 03:40
> To: Christian Rebel
> Cc: users@ovirt.org
> Subject: Re: [ovirt-users] oVirt 3.5.4.2-1 - Snapshot Failure
>
> On 09/18/2015 04:55 AM, Christian Rebel wrote:
> > Dear all,
> >
> > I upgraded to 3.5.4.2-1.el7.centos, but I have still the Problem that I
> > can´t create  a snapshot!
> >
> > Below some parts of the vdsm logs, does anyone have an idea to fix it,
> > please help...
>
> Hi Christian, can you attach the full engine and vdsm log?  They may
> provide further clues about what went wrong.
>
> > ###
> >
> > 167fb52d-0a51-4fea-9517-c668933ef4e2::ERROR::2015-09-18
> > 09:33:33,957::task::866::Storage.TaskManager.Task::(_setError)
> > Task=`167fb52d-0a51-4fea-9517-c668933ef4e2`::Unexpected error
> >
> > efb2447e-db4c-4dbd-84e4-5f8039949000::ERROR::2015-09-18
> > 09:33:34,433::task::866::Storage.TaskManager.Task::(_setError)
> > Task=`efb2447e-db4c-4dbd-84e4-5f8039949000`::Unexpected error
> >
> > 167fb52d-0a51-4fea-9517-c668933ef4e2::ERROR::2015-09-18
> > 09:33:34,802::task::866::Storage.TaskManager.Task::(_setError)
> > Task=`167fb52d-0a51-4fea-9517-c668933ef4e2`::Unexpected error
> >
> > efb2447e-db4c-4dbd-84e4-5f8039949000::ERROR::2015-09-18
> > 09:33:34,987::task::866::Storage.TaskManager.Task::(_setError)
> > Task=`efb2447e-db4c-4dbd-84e4-5f8039949000`::Unexpected error
> >
> > VolumeDoesNotExist: Volume does not exist:
> > ('36fd2e26-31a3-4284-8193-abd11c01a0f4',)
> >
> > VolumeDoesNotExist: Volume does not exist:
> > ('786e719d-7f54-4501-9e8d-688c1e482309',)
> >
> > 167fb52d-0a51-4fea-9517-c668933ef4e2::ERROR::2015-09-18
> > 09:33:32,883::volume::264::Storage.Volume::(clone) cannot clone image
> > 6281b597-020d-4ea7-a954-bb798a0ca4f1 volume
> > 2a2015a1-f62c-4e32-8b04-77ece2ba4cc1 to
> >
> /rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/6281b597-020d-4ea7-a954-bb798a0ca4f1/4e522ef0-279f-4c02-b581-c233d666eee1
> >
> > efb2447e-db4c-4dbd-84e4-5f8039949000::ERROR::2015-09-18
> > 09:33:34,375::volume::264::Storage.Volume::(clone) cannot clone image
> > e7e99288-ad83-406e-9cb6-7a5aa443de9b volume
> > c5762dec-d9d1-4842-84d1-05896d4d27fb to
> >
> /rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/e7e99288-ad83-406e-9cb6-7a5aa443de9b/c60aa316-a16a-413e-81f3-e24858c3c7a7
> >
> > CannotCloneVolume: Cannot clone volume:
> >
> u"src=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/6281b597-020d-4ea7-a954-bb798a0ca4f1/2a2015a1-f62c-4e32-8b04-77ece2ba4cc1,
> >
> dst=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/6281b597-020d-4ea7-a954-bb798a0ca4f1/4e522ef0-279f-4c02-b581-c233d666eee1:
> > Volume does not exist: ('36fd2e26-31a3-4284-8193-abd11c01a0f4',)"
> >
> > CannotCloneVolume: Cannot clone volume:
> >
> u"src=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/e7e99288-ad83-406e-9cb6-7a5aa443de9b/c5762dec-d9d1-4842-84d1-05896d4d27fb,
> >
> dst=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/e7e99288-ad83-406e-9cb6-7a5aa443de9b/c60aa316-a16a-413e-81f3-e24858c3c7a7:
> > Volume does not exist: ('786e719d-7f54-4501-9e8d-688c1e482309',)"
> >
> > VolumeCreationError: Error creating a new volume: (u'Volume creation
> > 4e522ef0-279f-4c02-b581-c233d666eee1 failed: Cannot clone volume:
> >
> u"src=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/6281b597-020d-4ea7-a954-bb798a0ca4f1/2a2015a1-f62c-4e32-8b04-77ece2ba4cc1,
> >
> dst=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/6281b597-020d-4ea7-a954-bb798a0ca4f1/4e522ef0-279f-4c02-b581-c233d666eee1:
> > Volume does not exist: (\'36fd2e26-31a3-4284-8193-abd11c01a0f4\',)"',)
> >
> > VolumeCreationError: Error creating a new volume: (u'Volume creation
> > c60aa316-a16a-413e-81f3-e24858c3c7a7 failed: Cannot clone volume:
> >
> u"src=/rhev/data-center/0002-0002-0002-0002-0021/937822d9-8a59-490f-95b7-48371ae32253/images/e7e99288-ad83-406e-9cb6-7a5aa443de9b/c5762dec-d9d1-4842-84d1-05896d4d27fb,
> >
> 

Re: [ovirt-users] Issue with kernel 2.6.32-573.3.1.el6.x86_64?

2015-10-21 Thread Ido Barkan
Hi Michael,
Can you describe your network architecture for this vm (inside the host).
Do you know where are the packets get dropped?
Ido

On Tue, Sep 22, 2015 at 1:19 AM, Michael Kleinpaste
 wrote:
> Nobody's seen this?
>
> On Wed, Sep 16, 2015 at 9:08 AM Michael Kleinpaste
>  wrote:
>>
>> So I patched my vhosts and updated the kernel to
>> 2.6.32-573.3.1.el6.x86_64.  Afterwards the networking became unstable for my
>> vyatta firewall vm.  Lots of packet loss and out of order packets (based on
>> my tshark at the time).
>>
>> Has anybody else experienced this?
>> --
>> Michael Kleinpaste
>> Senior Systems Administrator
>> SharperLending, LLC.
>> www.SharperLending.com
>> michael.kleinpa...@sharperlending.com
>> (509) 324-1230   Fax: (509) 324-1234
>
> --
> Michael Kleinpaste
> Senior Systems Administrator
> SharperLending, LLC.
> www.SharperLending.com
> michael.kleinpa...@sharperlending.com
> (509) 324-1230   Fax: (509) 324-1234
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>



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


Re: [ovirt-users] Backup storage domain for the meta data ONLY?

2015-10-21 Thread Yaniv Dary
You can backup the engine only.
http://www.ovirt.org/Ovirt-engine-backup
But without the disks, you will not be able to start any VM.

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


On Thu, Sep 24, 2015 at 11:38 AM, Nicolas Ecarnot 
wrote:

> Hi,
>
> In a lab, I have an oVirt test datacenter using a very old SAN (iSCSI
> setup).
> There are very few VM on it, and none of them are in critical.
>
> Some risky maintenance is to be planned on the SAN, and the risk is to
> lose it all.
> To be honnest, to lose these VMs is bearable, but to lose the setup would
> be painful (quite long to set everything back up).
>
> This is not an hosted setup, so I guess most of the config lies in the
> manager, and this part will stay untouched.
>
> My question : Is there any benefit to add an small additionnal temporary
> storage domain where (some unknown by me) meta datas could be duplicated
> (knowing that I have not enough room to export the VM)?
> What additionnal setup would be saved this way?
>
> --
> Nicolas ECARNOT
> ___
> 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] stange behavious on virtual machine wilt multiple snapshots

2015-10-21 Thread Roel de Rooy
I managed to stop the failed messages from being logged within the event log.
I used the clear async task option within vdsClient  to remove the task from 
the host.

After restarting the engine daemon, the error message within the events and the 
finalizing subtasks stopped.
The task itself is still visible as running, so my best guess is that  I have 
to manually remove it from the database, correct?
Already updated the specific tables within the database to unlock the VM and 
the disk inside VM.

Unfortunately I am still puzzled on how to proceed with the error message the 
VM is producing:

"down with error. Exit message: internal error: early end of file from monitor: 
possible problem:
2015-10-20T00:06:08.134352Z qemu-system-x86_64: -drive 
file=/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b,if=none,id=drive-virtio-disk0,format=qcow2,serial=bb5d12ce-1845-42c8-8a6c-abbb73999f5d,cache=none,werror=stop,rerror=stop,aio=threads:
 could not open disk image 
/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b:
 Could not open backing file: Could not open backing file: Could not open 
backing file: Could not open backing file: Could not open backing file: Could 
not open backing file: Could not open backing file: Could not open backing 
file: Could not open backing file: Could not open backing file: Could not open 
backing file: Could not open backing file: Could not open backing file: Could 
not open backing file."


When looking within the vdsm log; before the attempt is made to start the VM, 
the following messages are visible for all images within the specific VM folder:
"Thread-670750::DEBUG::2015-10-21 
10:15:12,775::fileSD::499::Storage.StorageDomain::(activateVolumes) Fixing 
permissions on /rhev/data-center/mnt/ ."

Could this be permissions related?

Kind regards,
Roel


Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens Roel de 
Rooy
Verzonden: 21 October 2015 09:45
Aan: users@ovirt.org
Onderwerp: [ovirt-users] stange behavious on virtual machine wilt multiple 
snapshots

Hi all,

One of our VM's is behaving strangely.
We are using oVirt Engine 3.5.4.
The host where the VM is located is F20 with virt-preview repository installed.

When trying to start the VM, the following error message is visible:

"down with error. Exit message: internal error: early end of file from monitor: 
possible problem:
2015-10-20T00:06:08.134352Z qemu-system-x86_64: -drive 
file=/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b,if=none,id=drive-virtio-disk0,format=qcow2,serial=bb5d12ce-1845-42c8-8a6c-abbb73999f5d,cache=none,werror=stop,rerror=stop,aio=threads:
 could not open disk image 
/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b:
 Could not open backing file: Could not open backing file: Could not open 
backing file: Could not open backing file: Could not open backing file: Could 
not open backing file: Could not open backing file: Could not open backing 
file: Could not open backing file: Could not open backing file: Could not open 
backing file: Could not open backing file: Could not open backing file: Could 
not open backing file."

After investigating this issue, we found out that the VM had 25 disk snapshots 
attached.
We tried to remove 2 of them, which succeeded, but due to the time it would 
take to remove them all, we figured it would also be possible to just export 
the vm to the exportdisk and reimport it again.

Unfortunately now the attached screenshot is happening.

Each of the 'finalizing' subtasks corresponds with a 'Failed to export Vm  
to ' message within the event log.

Is there a possibility  to stop this task?

The vdsClient on the host gives the following info about the task:

5c2763ce-21b7-4669-b66d-5f5ea075be4a :
    verb = moveImage
    code = 0
    state = finished
    tag = spm
    result =
    message = 1 jobs completed successfully
    id = 5c2763ce-21b7-4669-b66d-5f5ea075be4a

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


Re: [ovirt-users] How to change the hosted engine VM RAM size after deploying

2015-10-21 Thread Simone Tiraboschi
On Wed, Oct 21, 2015 at 7:10 AM, Bond, Darryl  wrote:

> ?I am testing 3.6 and created the hosted engine with too little RAM.
>
> How can I increase the RAM for the VM without re-deploying it?
>

Please try manually importing the hosted-engine storage domain into the
engine (it should work automatically but currently it's still non there).
At that point the engine VM should come up into the engine and you should
be able to edit some parameters including its memory.
When done shutdown the engine VM. The hosted-engine HA agent will bring it
up for you with the new configuration.



>
> Regards
>
> Darryl
>
> ?
>
>
>
> 
>
> The contents of this electronic message and any attachments are intended
> only for the addressee and may contain legally privileged, personal,
> sensitive or confidential information. If you are not the intended
> addressee, and have received this email, any transmission, distribution,
> downloading, printing or photocopying of the contents of this message or
> attachments is strictly prohibited. Any legal privilege or confidentiality
> attached to this message and attachments is not waived, lost or destroyed
> by reason of delivery to any person other than intended addressee. If you
> have received this message and are not the intended addressee you should
> notify the sender by return email and destroy all copies of the message and
> any attachments. Unless expressly attributed, the views expressed in this
> email do not necessarily represent the views of the company.
> ___
> 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] MacSpoof with multiple VM's -> bad/slow response on 3.5.3

2015-10-21 Thread Dan Kenigsberg
On Wed, Oct 21, 2015 at 07:51:28AM +0200, Matt . wrote:
> Hi Guys,
> 
> On a 3.5.3 updated cluster I see issues with macspoofed VM's.
> 
> The cluster is a CcentOS 7 cluster which always performed well.
> 
> I noticed that on my loadbalancers the macspoof true setting
> disspeared in the engine and when I added it and rebooted some other
> carp machines it was vanished at those machines.

What do you mean by "vanished"? Does it not show on the UI? When did it
happen? Can you share the domxml of the VMs that you start?

> 
> It's a quite simple setup:
> 
> 2 static nodes in a mutiple hosts cluster with carp machines on it,
> per blade 1 Firewall, Pfsense, and one Loadbalancer ZEN.
> 
> The cluster ID's differ on ZEN, and the carp IP's on pfsense have a
> different VHID's so I wondered if this is a known issue with the
> vanished macspoof true setting I found out (so the whole virtual IP
> doesn't work in that case).
> 
> Some other cluster works fine without any issue, the spoofed systems
> here are on CentOS 6
> 
> This setup has run for more than a year without any issues.
> 
> I hope someone has some information if this issue is known.
> 
> Thanks Matt
> 
> (sorry for my bad typing it's kinda early/late ;))
> ___
> 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] Failed to start domain due to internal error with sanlock

2015-10-21 Thread Maor Lipchuk




- Original Message -
> From: "Maor Lipchuk" 
> To: "Joris Dobbelsteen" 
> Cc: users@ovirt.org
> Sent: Wednesday, October 21, 2015 2:49:35 PM
> Subject: Re: [ovirt-users] Failed to start domain due to internal error with  
> sanlock
> 
> Hi Joris,
> 
> Please attach the engine, VDSM and sanlock logs (/var/log/sanlock.log).
> Which Storage Domains does this setup contains? Can you create a disk?

I got confused here, you wrote that you can't start a domain in the mail 
subject, but you mentioned that you have tried to run a VM.
did you try also to reconstruct your DC?

> 
> Thanks,
> Maor
> 
> 
> 
> 
> - Original Message -
> > From: "Joris Dobbelsteen" 
> > To: users@ovirt.org
> > Sent: Wednesday, October 21, 2015 11:52:29 AM
> > Subject: [ovirt-users] Failed to start domain due to internal error with
> > sanlock
> > 
> > Failed to start domain due to internal error with sanlock
> > 
> > Hi all,
> > 
> > I'm currently using oVirt 3.5.4.2 on Centos 6 (single system, not a cluster
> > setup). After running for a long while (months), it has run into an issue
> > where it current cannot start a new VM.
> > An internal error happens due to feature (0x01) from
> > libvirt...SanLock...New.
> > 
> > If there are request for specific log files for analysis, please let me
> > know
> > and I will include these.
> > 
> > Does anyone recognize this issue or know a resolution?
> > 
> > Best regards,
> > 
> > - Joris Dobbelsteen
> > 
> > ___
> > 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] stange behavious on virtual machine wilt multiple snapshots

2015-10-21 Thread Maor Lipchuk
Regarding the clean tasks please see the following wiki :
http://www.ovirt.org/OVirt-DB-Issues/HelperUtilities#taskcleaner

Regarding the VM, can please share the following output from the folder 
/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/:

1) ls -ls

2) also what is the output of each volume in the folder:
 Please try to execute qemu-img info {Guid of each volume in the image folder}

Thanks,
Maor

- Original Message -
> From: "Roel de Rooy" 
> To: users@ovirt.org
> Sent: Wednesday, October 21, 2015 12:22:20 PM
> Subject: Re: [ovirt-users] stange behavious on virtual machine wilt   
> multiplesnapshots
> 
> I managed to stop the failed messages from being logged within the event log.
> I used the clear async task option within vdsClient  to remove the task from
> the host.
> 
> After restarting the engine daemon, the error message within the events and
> the finalizing subtasks stopped.
> The task itself is still visible as running, so my best guess is that  I have
> to manually remove it from the database, correct?
> Already updated the specific tables within the database to unlock the VM and
> the disk inside VM.
> 
> Unfortunately I am still puzzled on how to proceed with the error message the
> VM is producing:
> 
> "down with error. Exit message: internal error: early end of file from
> monitor: possible problem:
> 2015-10-20T00:06:08.134352Z qemu-system-x86_64: -drive
> file=/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b,if=none,id=drive-virtio-disk0,format=qcow2,serial=bb5d12ce-1845-42c8-8a6c-abbb73999f5d,cache=none,werror=stop,rerror=stop,aio=threads:
> could not open disk image
> /rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file: Could not open backing file:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file: Could not open backing file:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file."
> 
> 
> When looking within the vdsm log; before the attempt is made to start the VM,
> the following messages are visible for all images within the specific VM
> folder:
> "Thread-670750::DEBUG::2015-10-21
> 10:15:12,775::fileSD::499::Storage.StorageDomain::(activateVolumes) Fixing
> permissions on /rhev/data-center/mnt/ ."
> 
> Could this be permissions related?
> 
> Kind regards,
> Roel
> 
> 
> Van: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] Namens Roel de
> Rooy
> Verzonden: 21 October 2015 09:45
> Aan: users@ovirt.org
> Onderwerp: [ovirt-users] stange behavious on virtual machine wilt multiple
> snapshots
> 
> Hi all,
> 
> One of our VM's is behaving strangely.
> We are using oVirt Engine 3.5.4.
> The host where the VM is located is F20 with virt-preview repository
> installed.
> 
> When trying to start the VM, the following error message is visible:
> 
> "down with error. Exit message: internal error: early end of file from
> monitor: possible problem:
> 2015-10-20T00:06:08.134352Z qemu-system-x86_64: -drive
> file=/rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b,if=none,id=drive-virtio-disk0,format=qcow2,serial=bb5d12ce-1845-42c8-8a6c-abbb73999f5d,cache=none,werror=stop,rerror=stop,aio=threads:
> could not open disk image
> /rhev/data-center/124ae76f-8acb-412e-91cc-dff9f6ec665d/7be6092d-fce1-45b5-a383-3ead3cdfe457/images/bb5d12ce-1845-42c8-8a6c-abbb73999f5d/941ba152-9bc7-4aaa-8dfa-f1b9f7c3281b:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file: Could not open backing file:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file: Could not open backing file:
> Could not open backing file: Could not open backing file: Could not open
> backing file: Could not open backing file."
> 
> After investigating this issue, we found out that the VM had 25 disk
> snapshots attached.
> We tried to remove 2 of them, which succeeded, but due to the time it would
> take to remove them all, we figured it would also be possible to just export
> the vm to the exportdisk and reimport it again.
> 
> Unfortunately now the attached screenshot is happening.
> 
> Each of the 'finalizing' subtasks corresponds with a 'Failed to export Vm
>  to ' message within the event log.
> 
> Is there a possibility  to stop this task?
> 
> The 

Re: [ovirt-users] Failed to start domain due to internal error with sanlock

2015-10-21 Thread Maor Lipchuk
Hi Joris,

Please attach the engine, VDSM and sanlock logs (/var/log/sanlock.log).
Which Storage Domains does this setup contains? Can you create a disk?

Thanks,
Maor




- Original Message -
> From: "Joris Dobbelsteen" 
> To: users@ovirt.org
> Sent: Wednesday, October 21, 2015 11:52:29 AM
> Subject: [ovirt-users] Failed to start domain due to internal error with  
> sanlock
> 
> Failed to start domain due to internal error with sanlock
> 
> Hi all,
> 
> I'm currently using oVirt 3.5.4.2 on Centos 6 (single system, not a cluster
> setup). After running for a long while (months), it has run into an issue
> where it current cannot start a new VM.
> An internal error happens due to feature (0x01) from libvirt...SanLock...New.
> 
> If there are request for specific log files for analysis, please let me know
> and I will include these.
> 
> Does anyone recognize this issue or know a resolution?
> 
> Best regards,
> 
> - Joris Dobbelsteen
> 
> ___
> 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] [CentOS-virt] CEPH rbd support in EL7 libvirt

2015-10-21 Thread Sandro Bonazzola
On Tue, Oct 13, 2015 at 9:02 AM, Christoph  wrote:

> hi
>
> is ovirt useable with xen? is there any doc/howto how to use it?


There have been experiments in such direction, you can find more info here:
http://www.ovirt.org/Xen



>
>
> Am 2015-10-12 15:04, schrieb Sven Kieske:
>
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>>
>>
>> On 12/10/15 10:13, Nux! wrote:
>>
>>> Hi Nir,
>>>
>>> I have not tried to use Ovirt with Ceph, my question was about
>>> libvirt and was directed to ask the question here, sorry for the
>>> noise; I understand libvirt is not really ovirt's people concern.
>>>
>>> The thing is qemu can do ceph rbd in EL7, libvirt does not,
>>> although support seems to be there and a simple rebuild enables
>>> it. Was hoping you guys know more.
>>>
>>> Lucian
>>>
>>
>> I'd suggest to ask this on the virt-sig of centOS (cc'ed).
>>
>> Why is there no rbd support in el7 libvirt? I don't know, maybe the
>> virt repo guys from centos can rebuild it (they already do rebuild
>> libvirt afaik, another flag might not hurt them ).
>>
>> HTH
>>
>>
>> - --
>> Mit freundlichen Grüßen / Regards
>>
>> Sven Kieske
>>
>>
>
> --
> -
> Greetz
>
> ___
> CentOS-virt mailing list
> centos-v...@centos.org
> https://lists.centos.org/mailman/listinfo/centos-virt
>



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


[ovirt-users] Failed to start domain due to internal error with sanlock

2015-10-21 Thread Joris Dobbelsteen
Hi all,

I'm currently using oVirt 3.5.4.2 on Centos 6 (single system, not a cluster 
setup). After running for a long while (months), it has run into an issue where 
it current cannot start a new VM.
An internal error happens due to feature (0x01) from libvirt...SanLock...New.

If there are request for specific log files for analysis, please let me know 
and I will include these.

Does anyone recognize this issue or know a resolution?

Best regards,

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