[ovirt-users] Timestamp offset in engine.log

2019-03-08 Thread Ian Fraser
Hello, 

I am trying to follow the instructions for installing the metrics store
and a prerequisite is ensuring the timestamps in /var/log/ovirt-
engine/engine.log include a UTC offset (at bottom of this page: 
https://www.ovirt.org/documentation/metrics-install-guide/Introduction.html
). Mine currently do not (i.e. they look like "2019-03-07
14:14:23,223Z").

"timedatectl | grep -i 'time zone'" shows "Time zone: Europe/London
(GMT, +)"

Can anyone please tell me how to change this timestamp format to
statisfy this prerequisite?

Thanks

Ian Fraser
Systems Administrator | Agency Sector Management (UK) Limited |
www.asm.org.uk[t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e] 
ian.fra...@asm.org.ukRegistered in England No. 2053849 | Registered
address: Ashford House  41-45 Church Road  Ashford  Middx  TW15
2TQFollow us on twitter @asmukltd
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2YQPM6EDOYCLXYZFRGOTBL7DZIN4PBVD/


[ovirt-users] Re: Upgrade from 4.1.9 to 4.2.3 fails to upgrade postgresql

2018-05-21 Thread Ian Fraser
Hi Alessandro, 

After adding that line to /opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup 
the upgrade completed without issues, thank you very much.

Best regards

Ian Fraser

-Original Message-
From: Alessandro De Salvo <alessandro.desa...@roma1.infn.it> 
Sent: 17 May 2018 14:04
To: Ian Fraser <ian.fra...@asm.org.uk>
Cc: users@ovirt.org
Subject: Re: [ovirt-users] Upgrade from 4.1.9 to 4.2.3 fails to upgrade 
postgresql

Hi Ian,
I had the very same problem, but the upgrade was complaining for a different 
locale.
Try to add the following line at the beginning of the file 
/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup, after the initial 
comments and before the code:


export PGSETUP_INITDB_OPTIONS="--lc-collate=en_GB.UTF-8"

Once done, please try again to run engine-setup, thus the upgrade.
You might need to add more options to PGSETUP_INITDB_OPTIONS, in case the 
upgrade procedure still complains.
Cheers,

Alessandro


On Wed, 2018-05-16 at 22:32 +, Ian Fraser wrote:
> Hi,
> 
> Could someone please provide advice on a production oVirt instance 
> that fails to upgrade to 4.2.3?
> 
>  
> 
> Engine and hosts are all running CentOS 7
> 
>  
> 
> As per the upgrade instructions in the release notes I run:
> 
> # yum install
> http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
> 
> # yum update "ovirt-*-setup*"
> 
> # engine-setup
> 
>  
> 
> Then I answer the questions and it fails with:
> 
> …
> 
> [ INFO  ] Upgrading PostgreSQL
> 
> [ ERROR ] Failed to execute stage 'Misc configuration': Command 
> '/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to 
> execute
> 
> [ INFO  ] Yum Performing yum transaction rollback
> 
> [ INFO  ] Rolling back to the previous PostgreSQL instance 
> (postgresql).
> 
> [ INFO  ] Stage: Clean up
> 
>   Log file is located
> at 
> /var/log/ovirt-engine/setup/ovirt-engine-setup-20180516231622-3giicb.l
> og
> 
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-engine/setup/answers/20180516231735-setup.conf'
> 
> [ INFO  ] Stage: Pre-termination
> 
> [ INFO  ] Stage: Termination
> 
> [ ERROR ] Execution of setup failed
> 
>  
> 
>  
> 
> When I check  /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log:
> 
>  
> 
> Performing Consistency Checks
> 
> -
> 
> Checking cluster versions   ok
> 
> Checking database user is the install user  ok
> 
> Checking database connection settings   ok
> 
> Checking for prepared transactions  ok
> 
> Checking for reg* system OID user data typesok
> 
> Checking for contrib/isn with bigint-passing mismatch   ok
> 
> Checking for invalid "line" user columnsok
> 
> Creating dump of global objects ok
> 
> Creating dump of database schemas
> 
>   engine
> 
>   ovirt_engine_history
> 
>   postgres
> 
>   template1
> 
> ok
> 
>  
> 
> lc_collate values for database "postgres" do not match:  old 
> "en_GB.UTF-8", new "en_US.UTF-8"
> 
> Failure, exiting
> 
>  
> 
>  
> 
> I have tried running the script here:
> https://gist.github.com/turboladen/6790847 and rerunning engine-setup 
> but it fails with the same error.
> 
>  
> 
> Can anyone offer any other suggestions?
> 
>  
> 
> Best regards
> 
>  
> 
> Ian Fraser
> 
>  
> 
> Systems Administrator | Agency Sector Management (UK) Limited | 
> www.asm.org.uk
> 
> [t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e] 
> ian.fra...@asm.org.uk
> 
> Registered in England No. 2053849 | Registered address: Ashford House
> 41-45 Church Road  Ashford  Middx  TW15 2TQ
> 
> Follow us on twitter @asmukltd
> 
>  
> 
> 
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org



__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
__
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


[ovirt-users] Upgrade from 4.1.9 to 4.2.3 fails to upgrade postgresql

2018-05-17 Thread Ian Fraser
Hi,
Could someone please provide advice on a production oVirt instance that fails 
to upgrade to 4.2.3?

Engine and hosts are all running CentOS 7

As per the upgrade instructions in the release notes I run:
# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
# yum update "ovirt-*-setup*"
# engine-setup

Then I answer the questions and it fails with:
...
[ INFO  ] Upgrading PostgreSQL
[ ERROR ] Failed to execute stage 'Misc configuration': Command 
'/opt/rh/rh-postgresql95/root/usr/bin/postgresql-setup' failed to execute
[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Rolling back to the previous PostgreSQL instance (postgresql).
[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20180516231622-3giicb.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20180516231735-setup.conf'
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed


When I check  /var/lib/pgsql/upgrade_rh-postgresql95-postgresql.log:

Performing Consistency Checks
-
Checking cluster versions   ok
Checking database user is the install user  ok
Checking database connection settings   ok
Checking for prepared transactions  ok
Checking for reg* system OID user data typesok
Checking for contrib/isn with bigint-passing mismatch   ok
Checking for invalid "line" user columnsok
Creating dump of global objects ok
Creating dump of database schemas
  engine
  ovirt_engine_history
  postgres
  template1
ok

lc_collate values for database "postgres" do not match:  old "en_GB.UTF-8", new 
"en_US.UTF-8"
Failure, exiting


I have tried running the script here: 
https://gist.github.com/turboladen/6790847 and rerunning engine-setup but it 
fails with the same error.

Can anyone offer any other suggestions?

Best regards

Ian Fraser

Systems Administrator | Agency Sector Management (UK) Limited | www.asm.org.uk
[t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e] ian.fra...@asm.org.uk
Registered in England No. 2053849 | Registered address: Ashford House  41-45 
Church Road  Ashford  Middx  TW15 2TQ
Follow us on twitter @asmukltd<https://twitter.com/asmukltd>

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] vmware import hangs after click load button on 3.5 rc5

2015-09-23 Thread Ian Fraser
Hi Nir,

I have created  a BZ (https://bugzilla.redhat.com/show_bug.cgi?id=1265556) for 
this and attached the vdsm.log.

Let me know if I should do anything else.

Thanks

Ian

From: Ian Fraser
Sent: 22 September 2015 07:09
To: 'Nir Soffer' <nsof...@redhat.com>
Cc: users@ovirt.org
Subject: RE: [ovirt-users] vmware import hangs after click load button on 3.5 
rc5

Thanks Nir,

File attached.

From: Nir Soffer [mailto:nsof...@redhat.com]
Sent: 21 September 2015 23:16
To: Ian Fraser <ian.fra...@asm.org.uk>
Cc: users@ovirt.org
Subject: Re: [ovirt-users] vmware import hangs after click load button on 3.5 
rc5

On Tue, Sep 22, 2015 at 12:14 AM, Ian Fraser <ian.fra...@asm.org.uk> wrote:
I did get a “VDSM  command failed: local variable 'capacity' 
referenced before assignment” error in the events I have just noticed, does 
that shed any more light?

This shed some light. Can you share the vdsm.log containing this error?

Look in /var/log/vdsm/vdsm.log*

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__



The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] vmware import hangs after click load button on 3.5 rc5

2015-09-21 Thread Ian Fraser
Hi,

I have tried several times to import a VMware VM from a vcenter installation 
but it just seems to hang when I hit the "load" button. I have had a  look at 
the vdsm.log but there is so much going on (presumably due to debug) it is hard 
to distinguish what is happening. Does anyone have any pointers on how to work 
out what is going on?

Best regards

Ian Fraser




The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
_
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] vmware import hangs after click load button on 3.5 rc5

2015-09-21 Thread Ian Fraser
I did get a "VDSM  command failed: local variable 'capacity' 
referenced before assignment" error in the events I have just noticed, does 
that shed any more light?

From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of Ian 
Fraser
Sent: 21 September 2015 22:02
To: users@ovirt.org
Subject: [ovirt-users] vmware import hangs after click load button on 3.5 rc5

Hi,

I have tried several times to import a VMware VM from a vcenter installation 
but it just seems to hang when I hit the "load" button. I have had a  look at 
the vdsm.log but there is so much going on (presumably due to debug) it is hard 
to distinguish what is happening. Does anyone have any pointers on how to work 
out what is going on?

Best regards

Ian Fraser




The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__



The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
_
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Windows 2012 R2 template deploy unable to login

2015-08-26 Thread Ian Fraser
Hi,
 I am failing to get a Windows Server 2012 R2 Template deploy successfully. It 
seems to go through the motions but I cannot log in with the password given in 
the initial run. It seems that something is failing in the sysprep part. The 
ovirt docs only mention Win 7/2008. Has anyone had any success in doing this?

Best regards

Ian Fraser

Systems Administrator | Agency Sector Management (UK) Limited | www.asm.org.uk
[t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e] ian.fra...@asm.org.uk
Ashford House  41-45 Church Road  Ashford  Middx  TW15 2TQ
Follow us on twitter @asmukltd



The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] iSCSI Bond fails

2015-07-28 Thread Ian Fraser
Hi All,

When I add a iSCSI bond to 2 interfaces that are pointing to 2 targets  I get 
an event iSCSI bond 'bondname' was successfully updated but some of the hosts 
encountered connection issues

What I believe is relevant in the engine.log:

2015-07-28 13:19:32,593 ERROR 
[org.ovirt.engine.core.bll.storage.AddIscsiBondCommand] 
(org.ovirt.thread.pool-8-thread-19) [5bd20956] Host vh-01 - 
8251e76f-6469-4fe0-9d63-2d5feacd8cc0 encounter problems to connect to the iSCSI 
Storage Server. The following connections
were problematic (connectionid=vdsm result): 
{c8485ac1-3b76-4cfe-af4a-20c2af91f43e=0, 
43cb0e74-000e-4a80-ad28-45d6ac6da223=0, 
ed8c65aa-8448-45dd-b2f3-7f880669ce05=465, 
2b5d8496-dc44-43f7-87a4-ec11c93e1291=0}
2015-07-28 13:19:32,706 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(org.ovirt.thread.pool-8-thread-17) [5bd20956] FINISH, 
ConnectStorageServerVDSCommand, return: 
{ed8c65aa-8448-45dd-b2f3-7f880669ce05=465, 2b5d8496-dc44-43f7-87a4-ec11
c93e1291=0, b9631bdd-52fa-485d-81ea-c26f0d6a0881=0, 
4cea7519-eeae-4215-99a9-7926b1bae271=0}, log id: 44abae2c
2015-07-28 13:19:32,706 ERROR 
[org.ovirt.engine.core.bll.storage.AddIscsiBondCommand] 
(org.ovirt.thread.pool-8-thread-17) [5bd20956] Host vh-02 - 
c0ed58d7-1116-4281-8f97-dc76695172b7 encounter problems to connect to the iSCSI 
Storage Server. The following connections
were problematic (connectionid=vdsm result): 
{ed8c65aa-8448-45dd-b2f3-7f880669ce05=465, 
2b5d8496-dc44-43f7-87a4-ec11c93e1291=0, b9631bdd-52fa-485d-81ea-c26f0d6a0881=0, 
4cea7519-eeae-4215-99a9-7926b1bae271=0}
2015-07-28 13:19:32,811 INFO  
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand] 
(org.ovirt.thread.pool-8-thread-49) [5bd20956] FINISH, 
ConnectStorageServerVDSCommand, return: 
{d7daaa08-889c-4efb-aa0f-92a2842fa493=0, bb96ef88-80d6-42a5-b4d1-96a4a1
29d7e6=0, ed8c65aa-8448-45dd-b2f3-7f880669ce05=465, 
2b5d8496-dc44-43f7-87a4-ec11c93e1291=0}, log id: 6d6e6f3a
2015-07-28 13:19:32,811 ERROR 
[org.ovirt.engine.core.bll.storage.AddIscsiBondCommand] 
(org.ovirt.thread.pool-8-thread-49) [5bd20956] Host vh-03 - 
0ca1f2ce-8c28-4954-9d9d-75519c3bf8a5 encounter problems to connect to the iSCSI 
Storage Server. The following connections
were problematic (connectionid=vdsm result): 
{d7daaa08-889c-4efb-aa0f-92a2842fa493=0, 
bb96ef88-80d6-42a5-b4d1-96a4a129d7e6=0, 
ed8c65aa-8448-45dd-b2f3-7f880669ce05=465, 
2b5d8496-dc44-43f7-87a4-ec11c93e1291=0}
2015-07-28 13:19:32,815 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(ajp--127.0.0.1-8702-9) [5bd20956] Correlation ID: 5bd20956, Call Stack: null, 
Custom Event ID: -1, Message: iSCSI bond 'bondname' was successfully created in 
Data Cent
er 'Default' but some of the hosts encountered connection issues.

Seemingly this part is relevant : ed8c65aa-8448-45dd-b2f3-7f880669ce05=465

I looked up result 465 in vdsm/storage/storage_exception.py which is Failed to 
setup iSCSI subsystem. I have checked what I can for the connection 
ed8c65aa-8448-45dd-b2f3-7f880669ce05 and all seems well so I don't know what it 
is trying to tell me.

Does anyone know what might be wrong?

Best regards

Ian Fraser

Systems Administrator | Agency Sector Management (UK) Limited | 
www.asm.org.ukhttp://www.asm.org.uk
[t] +44 (0)1784 242200 | [f] +44 (0)1784 242012 | [e] 
ian.fra...@asm.org.ukmailto:ian.fra...@asm.org.uk
Ashford House  41-45 Church Road  Ashford  Middx  TW15 2TQ
Follow us on twitter @asmukltdhttps://twitter.com/asmukltd




The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
_
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Lower CPU for specific VMs

2015-06-24 Thread Ian Fraser
Hi,

How do I set the CPU for a particular VM to be a lower family than the cluster 
is set to?

The problem I am having is that In order to install a Windows 10 VM to run on 
my oVirt lab that uses Sandybridge CPUs I am having to change the cluster CPU 
family to Intel Westmere Family before I launch the Windows 10 VM otherwise it 
will throw a SYSTEM THREAD EXCEPTION NOT HANDLED. I then change the cluster's 
CPU family back and all is well, except I would rather not have to do that.

Seemingly a known problem: 
https://social.technet.microsoft.com/Forums/en-US/695c8997-52cf-4c30-a3f7-f26a40dc703a/failed-install-of-build-10041-in-the-kvm-virtual-machine-system-thread-exception-not-handled?forum=WinPreview2014Setup

Thanks for any assistance.

Ian




The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirt 3.5.2 cannot start windows vms

2015-05-06 Thread Ian Fraser
Hi,
I am also experiencing this problem but disabling selinux makes no difference 
for me. I can only run the VM if I Run once and add a floppy image. Does 
anyone else have a more elegant work around for this?

Best regards,

Ian Fraser
-Original Message-
From: users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] On Behalf Of 
Francesco Romani
Sent: 05 May 2015 16:08
To: Michal Skrivanek
Cc: users@ovirt.org (users@ovirt.org)
Subject: Re: [ovirt-users] ovirt 3.5.2 cannot start windows vms

- Original Message -
 From: Michal Skrivanek mskri...@redhat.com
 To: Francesco Romani from...@redhat.com
 Cc: Wolfgang Bucher wolfgang.buc...@netland-mn.de,
 users@ovirt.org (users@ovirt.org) users@ovirt.org
 Sent: Tuesday, May 5, 2015 9:33:03 AM
 Subject: Re: [ovirt-users] ovirt 3.5.2 cannot start windows vms

  here are the logfiles from libvirt
  May 4 19:08:22 ovirt kernel: ovirtmgmt: port 2(vnet0) entered
  forwarding state May 4 19:08:22 ovirt kernel: ovirtmgmt: port
  2(vnet0) entered forwarding state May 4 19:08:23 ovirt
  sanlock[638]: 2015-05-04 19:08:23+0200 5077 [638]:
  cmd 9
  target pid 10182 not found
  May 4 19:08:23 ovirt systemd: Starting Virtual Machine qemu-testwin.
  May 4 19:08:23 ovirt systemd-machined: New machine qemu-testwin.
  May 4 19:08:23 ovirt systemd: Started Virtual Machine qemu-testwin.
  May 4 19:08:23 ovirt kvm: 1 guest now active May 4 19:08:23 ovirt
  kernel: ovirtmgmt: port 2(vnet0) entered disabled state May 4
  19:08:23 ovirt kernel: device vnet0 left promiscuous mode May 4
  19:08:23 ovirt kernel: ovirtmgmt: port 2(vnet0) entered disabled
  state May 4 19:08:23 ovirt kvm: 0 guests now active May 4 19:08:23
  ovirt systemd-machined: Machine qemu-testwin terminated.
  May 4 19:08:23 ovirt libvirtd: 9183: error : qemuMonitorOpenUnix:309 :
  Verbindung mit Monitor-Socket gescheitert: Kein passender Prozess
  gefunden May 4 19:08:23 ovirt libvirtd: 9183: error :
  qemuProcessWaitForMonitor:2131 :
  Interner Fehler: Prozess während der Verbindungsaufnahme zum
  Monitor beendet
 
  This is the translation of the well-known 'internal error: monitor
  disconbected'
  QEMU error (not literal transaltion)! which is in turn caused by...
 
  :2015-05-04T17:08:23.274206Z qemu-kvm: -drive
  file=/var/run/vdsm/payload/c07772b8-6369-44cf-b554-b8dcb0e0e09b.0a41ac3e81bce0429e32b725fbf3ba5d.img,if=none,id=drive-fdc0-0-0,format=raw,serial=:
  could not open disk image
  /var/run/vdsm/payload/c07772b8-6369-44cf-b554-b8dcb0e0e09b.0a41ac3e81bce0429e32b725fbf3ba5d.img:
  Could not open file: Permission denied
 
  ... this error, and so the root cause seems indeed very much the
  same of
  https://bugzilla.redhat.com/show_bug.cgi?id=1213410#c7
 
  because of this:
 
  May 4 19:08:23 ovirt libvirtd: 9183: warning :
  virSecuritySELinuxRestoreSecurityFileLabel:1034 : cannot lookup
  default selinux label for
  /rhev/data-center/d5e8a32f-35ed-4dec-bf9d-3c818c2780a4/66f8876c-089
  8-4ff2-9325-a14835f2a872/images/b329d34e-78b3-46a5-9df8-00b83c2c982
  a/c79a596b-5701-4afd-a5b5-d37cf412095c
 
  From the data gathered so far, it seems a selinux issue.

 This is from Wolfgang's issue or the bug 1213410 or is it the same thing?

From Wolfgang's issue, this thread

 In the bug the floppy creation failed
 In logs attached earlier to this thread it seems the floppy was
 created but libvirt access failed

I believe is the same root cause for bz1213410, it was just more hidden

Bests,

--
Francesco Romani
RedHat Engineering Virtualization R  D
Phone: 8261328
IRC: fromani
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com 
__



The information in this message and any attachment is intended for the 
addressee and is confidential. If you are not that addressee, no action should 
be taken in reliance on the information and you should please reply to this 
message immediately to inform us of incorrect receipt and destroy this message 
and any attachments.

For the purposes of internet level email security incoming and outgoing emails 
may be read by personnel other than the named recipient or sender.

Whilst all reasonable efforts are made, ASM (UK) Ltd cannot guarantee that 
emails and attachments are virus free or compatible with your systems. You 
should make your own checks and ASM (UK) Ltd does not accept liability in 
respect of viruses or computer problems experienced.
Registered address: Agency Sector Management (UK) Ltd. Ashford House, 41-45 
Church Road, Ashford, Middlesex, TW15 2TQ
Registered in England No.2053849

__
This email has been