Re: [ovirt-users] safest way to backup a VM

2014-07-18 Thread Niklas Fondberg
Anyone?


> On 17 jul 2014, at 19:20, "Niklas Fondberg"  wrote:
> 
> Hi
> 
> I have had problems with the export functionality, the qemu-img —convert 
> commands hangs after being orphaned and the VM is in LOCKED mode.
> I am therefor wondering if there is a command line tool to backup a VM, 
> possibly with snapshots and the OVF metadata file?
> 
> Niklas
> 
> 
> ___
> 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] safest way to backup a VM

2014-07-17 Thread Niklas Fondberg
Hi

I have had problems with the export functionality, the qemu-img -convert 
commands hangs after being orphaned and the VM is in LOCKED mode.
I am therefor wondering if there is a command line tool to backup a VM, 
possibly with snapshots and the OVF metadata file?

Niklas


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


Re: [ovirt-users] fileserver as a guest oVirt

2014-07-17 Thread Niklas Fondberg
Thanks for your thorough answer and explaination. I have gone with the direct 
lun to start with. I bought new Sata disks and added them to the storage chassi 
for the purpose of file sharing. 


Regards,
Niklas 

> On 17 jul 2014, at 14:33, "Daniel Helgenberger" 
>  wrote:
> 
> Hello,
> 
> for some reason the message was flagged spam; so there was a deplay.
> 
> oVirt supports direct LUNs. These LUNs are often already partitions of
> some RAID enclosure.
> AFAIK the MSA60 is a JBOD. You can use the p411 controller to create
> your partitions / LUNs.
> 
> The Virtio-SCSI paravirt driver supports a wide range of (=most) SCSI
> commands. This way clients can access them as 'real' SCSI devices.
> 
> If you did partition the LUN with parted, then the client(s) will see
> these partitions also, along with the file system on it. 
> 
> As you might know, you cannot have 'normal' file systems mounted rw on
> several machines at one, you need a cluster file system; see examples in
> [1]; there are several open source FS's around.
> 
> Also, nothing stops you from mounting a file system read only on several
> hosts.
> 
> One note on the subject, though:
> I consider shared disk file systems as 'old' approach. I support them in
> our setup because of historical reasons. 
> Today in a new deployment I would tend to use more 'modern' scale out
> file systems like GlusterFS (support in oVirt is quite well) or
> Ceph/Rados as object store file system. Using the native clients, you
> basically have a shared disk file system with less bottlenecks (MDC's in
> shared disk fs). Also, both examples have APIs - an application using
> this can greatly benefit in performance. Again, I consider using APIs
> for file storage the approach of the future.
> 
> If you need to attach NFS / CIFS clients, you can always reshare these
> file systems and use (p)NFS or CTDB if you want to cluster this.
> 
> Note, with one host and one JBOD this makes little sense to me.
> 
> [1] http://en.wikipedia.org/wiki/Clustered_file_system
> [2] https://ctdb.samba.org/
> 
>> On Mo, 2014-07-14 at 08:10 +, Niklas Fondberg wrote:
>> Thanks, after reading it makes sense. I suppose I need to drop my hope of
>> having sharing possibility with the host.
>> I have two questions that you might be able to answer:
>> 1. Does direct LUN support partitions or only whole devices
>> 2. Do you know of any open source way of making them shareable to Ovirt?
>> 
>> My setup is simple:
>> - HP DL380 with dual Xeon and lots of RAM. Boots from seperate disk (USB)
>> - MSA60 with p411 attached to the HP DL380
>> 
>> When we grow oVirt we will grow with DL360¹s and use all shared storage
>> from the guest fileserver on the first host.
>> 
>> 
>> 
>> On 14/07/14 08:57, "Daniel Helgenberger" 
>> wrote:
>> 
>>> Hello,
>>> 
>>> just add my 2ct: I did a lot of bench marking for our SAN (FC LUN's). I
>>> also need file servers for our SMB Clients.
>>> 
>>> I recommend using Direct Attached LUNs for your purpose and attach them
>>> to the VMs as VirtIO-SCSI disks. You can even added them as shareable to
>>> oVirt if you deploy some kind of SAN file system (we use Quantum's
>>> StorNext).
>>> 
>>> Bottom line, the implementation of VirtIO-SCSI is so well done and
>>> support in oVirt is great. I cound not see any bottlenecks in the
>>> visualization. For the foreseeable future I will not deploy bare metal
>>> file Servers again.
>>> 
>>> HTH,
>>> 
>>>> On So, 2014-07-13 at 15:47 +, Niklas Fondberg wrote:
>>>> 
>>>> From: Karli Sjöberg mailto:karli.sjob...@slu.se>>
>>>> Date: Sunday 13 July 2014 14:51
>>>> To: Niklas Fondberg mailto:nik...@vireone.com>>
>>>> Cc: "users@ovirt.org<mailto:users@ovirt.org>"
>>>> mailto:users@ovirt.org>>, Karli Sjöberg
>>>> mailto:karli.sjob...@slu.se>>
>>>> Subject: Re: [ovirt-users] fileserver as a guest oVirt
>>>> 
>>>> 
>>>> Den 12 jul 2014 22:49 skrev Niklas Fondberg
>>>> mailto:nik...@vireone.com>>:
>>>>> 
>>>>> 
>>>>> 
>>>>>> On 12 jul 2014, at 16:57, "Karli Sjöberg"
>>>>> mailto:karli.sjob...@slu.se>> wrote:
>>>>> 
>>>>>> 
>>>>>> Den 12 jul 2014 15:45 skrev Niklas Fondberg
>>>> mailto:nik...@vireone.com>>:
&

[ovirt-users] Log errors help

2014-07-15 Thread Niklas Fondberg
Sorry for almost spamming the list but I sincerely have problemsŠ

Could anyone help me with debugging some lines in my engine.log:

Here they are:
2014-07-15 16:05:43,650 INFO
[org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand]
(org.ovirt.thread.pool-6-thread-24) [797b0228] Running command:
DeactivateStorageDomainCommand internal: true. Entities affected :  ID:
5d6a9b56-e631-493b-8e71-569b5c8a193e Type: Storage
2014-07-15 16:05:43,657 INFO
[org.ovirt.engine.core.bll.storage.DeactivateStorageDomainCommand]
(org.ovirt.thread.pool-6-thread-24) [797b0228] Lock freed to object
EngineLock [exclusiveLocks= key: 5d6a9b56-e631-493b-8e71-569b5c8a193e
value: STORAGE
, sharedLocks= ]
2014-07-15 16:05:43,685 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-24) [797b0228] Correlation ID: 797b0228,
Job ID: 82089d0c-1956-474b-8b90-d24b3998e8b0, Call Stack: null, Custom
Event ID: -1, Message: Storage Domain ISO_DOMAIN (Data Center
local_datacenter) was deactivated by system because it's not visible by
any of the hosts.
2014-07-15 16:05:43,695 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(org.ovirt.thread.pool-6-thread-23) starting processDomainRecovery for
domain 6b08bd4d-b3dc-4cf7-8d61-06dfbb129172:IMPORT_EXPORT
2014-07-15 16:05:43,698 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(org.ovirt.thread.pool-6-thread-23) Domain
6b08bd4d-b3dc-4cf7-8d61-06dfbb129172:IMPORT_EXPORT was reported by all
hosts in status UP as problematic. Moving the domain to NonOperational.




2014-07-15 16:04:45,773 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand
] (DefaultQuartzScheduler_Worker-74) HostName = local_host
2014-07-15 16:04:45,773 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand
] (DefaultQuartzScheduler_Worker-74) Command
HSMGetAllTasksStatusesVDSCommand(HostName = local_host, HostId =
1d734ebb-f32f-41ca-8da8-86cfae93b1e6) execution failed. Exception:
IRSNonOperationalException: IRSGenericException: IRSErrorException:
IRSNonOperationalException: Not SPM: ()
2014-07-15 16:04:45,782 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler_Worker-74) hostFromVds::selectedVds - local_host,
spmStatus Unknown_Pool, storage pool local_datacenter
2014-07-15 16:04:45,784 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(DefaultQuartzScheduler_Worker-74) START,
ConnectStoragePoolVDSCommand(HostName = local_host, HostId =
1d734ebb-f32f-41ca-8da8-86cfae93b1e6, storagePoolId =
deb50055-1955-4993-bfcb-a642d71e84ce, vds_spm_id = 1, masterDomainId =
c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e, masterVersion = 1), log id: 4556b6d3
2014-07-15 16:04:50,747 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(DefaultQuartzScheduler_Worker-74) Command
org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand
return value 
 StatusOnlyReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=304,
mMessage=Cannot find master domain:
'spUUID=deb50055-1955-4993-bfcb-a642d71e84ce,
msdUUID=c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e']]
2014-07-15 16:04:50,747 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(DefaultQuartzScheduler_Worker-74) HostName = local_host
2014-07-15 16:04:50,748 ERROR
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(DefaultQuartzScheduler_Worker-74) Command
ConnectStoragePoolVDSCommand(HostName = local_host, HostId =
1d734ebb-f32f-41ca-8da8-86cfae93b1e6, storagePoolId =
deb50055-1955-4993-bfcb-a642d71e84ce, vds_spm_id = 1, masterDomainId =
c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e, masterVersion = 1) execution failed.
Exception: IRSNoMasterDomainException: IRSGenericException:
IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
'spUUID=deb50055-1955-4993-bfcb-a642d71e84ce,
msdUUID=c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e'
2014-07-15 16:04:50,749 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStoragePoolVDSCommand]
(DefaultQuartzScheduler_Worker-74) FINISH, ConnectStoragePoolVDSCommand,
log id: 4556b6d3
2014-07-15 16:04:50,749 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler_Worker-74) IrsBroker::Failed::GetStoragePoolInfoVDS
2014-07-15 16:04:50,749 ERROR
[org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand]
(DefaultQuartzScheduler_Worker-74) Exception: IRSGenericException:
IRSErrorException: IRSNoMasterDomainException: Cannot find master domain:
'spUUID=deb50055-1955-4993-bfcb-a642d71e84ce,
msdUUID=c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e'


If there are any expert companies that perform professional services I
would be very grateful for links.







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


[ovirt-users] Snapshot error

2014-07-15 Thread Niklas Fondberg
Hi all,
i¹ve encountered an issue with snapshots on running VM¹s.
I¹ve searched the forums but can¹t find anything that would be wrong with
my setup.

Environment:
CentOS release 6.5 (Final

Linux dl380.dmz.vireone.com 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19
21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Ovirt : 3.4.2-1
qemu-kvm-0.12.1.2-2.415.el6_5.10.x86_64
vdsm-cli-4.14.9-0.el6.noarch






Log from engine log:

2014-07-15 20:46:38,197 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand]
(org.ovirt.thread.pool-6-thread-28) [5201147a] START,
GetImageInfoVDSCommand( storagePoolId =
deb50055-1955-4993-bfcb-a642d71e84ce, ignoreFailoverLimit = false,
storageDomainId = c5ad71bf-e7a9-4ea0-b7a5-89afd5c2a61e, imageGroupId =
a9210478-e9f8-4cae-a074-9cb49b1445eb, imageId =
0df50d34-157f-4272-9326-f8f8d4beab0d), log id: 74fde04
2014-07-15 20:46:38,230 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand]
(org.ovirt.thread.pool-6-thread-28) [5201147a] FINISH,
GetImageInfoVDSCommand, return:
org.ovirt.engine.core.common.businessentities.DiskImage@298f6049, log id:
74fde04
2014-07-15 20:46:38,245 INFO
[org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand]
(org.ovirt.thread.pool-6-thread-28) Lock freed to object EngineLock
[exclusiveLocks= key: 6a507e40-3d0d-48cc-8507-677921f3fd04 value: VM
, sharedLocks= ]
2014-07-15 20:46:38,257 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(org.ovirt.thread.pool-6-thread-28) Correlation ID: 6bc2972a, Job ID:
b32e4c57-6255-4398-8e58-bd5053fbec01, Call Stack:
org.ovirt.engine.core.common.errors.VdcBLLException: VdcBLLException:
org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
VDSGenericException: VDSErrorException: Failed to SnapshotVDS, error =
Snapshot failed, code = 48 (Failed with error SNAPSHOT_FAILED and code 48)
at 
org.ovirt.engine.core.bll.VdsHandler.handleVdsResult(VdsHandler.java:116)
at 
org.ovirt.engine.core.bll.VDSBrokerFrontendImpl.RunVdsCommand(VDSBrokerFron
tendImpl.java:33)
at 
org.ovirt.engine.core.bll.CommandBase.runVdsCommand(CommandBase.java:1981)
at 
org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand$2.runInTransactio
n(CreateAllSnapshotsFromVmCommand.java:354)
at 
org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand$2.runInTransactio
n(CreateAllSnapshotsFromVmCommand.java:351)
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppres
sed(TransactionSupport.java:174)
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(T
ransactionSupport.java:116)
at 
org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand.performLiveSnapsh
ot(CreateAllSnapshotsFromVmCommand.java:351)
at 
org.ovirt.engine.core.bll.CreateAllSnapshotsFromVmCommand.endVmCommand(Crea
teAllSnapshotsFromVmCommand.java:273)
at 
org.ovirt.engine.core.bll.VmCommand.endSuccessfully(VmCommand.java:304)
at 
org.ovirt.engine.core.bll.CommandBase.internalEndSuccessfully(CommandBase.j
ava:614)
at 
org.ovirt.engine.core.bll.CommandBase.endActionInTransactionScope(CommandBa
se.java:560)
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:189
6)
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInNewTran
saction(TransactionSupport.java:210)
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInRequire
d(TransactionSupport.java:149)
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(T
ransactionSupport.java:118)
at org.ovirt.engine.core.bll.CommandBase.endAction(CommandBase.java:492)
at org.ovirt.engine.core.bll.Backend.endAction(Backend.java:446)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:5
7)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.jboss.as.ee.component.ManagedReferenceMethodInterceptorFactory$ManagedR
eferenceMethodInterceptor.processInvocation(ManagedReferenceMethodIntercept
orFactory.java:72)
at 
org.jboss.invocation.InterceptorContext.proceed(InterceptorContext.java:288
)
at 
org.jboss.invocation.InterceptorContext$Invocation.proceed(InterceptorConte
xt.java:374)
at 
org.ovirt.engine.core.bll.interceptors.ThreadLocalSessionCleanerInterceptor
.injectWebContextToThreadLocal(ThreadLocalSessionCleanerInterceptor.java:13
)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
l.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at 
org.jboss.as.ee.component.ManagedReferenceLifecycleMethodInterceptorFactory
$ManagedReferenceLifecycleMethod

Re: [ovirt-users] iptables question

2014-07-15 Thread Niklas Fondberg
Thanks. It is on my centos host which is located deep in my NW. 


Regards,
Niklas 

> On 15 jul 2014, at 16:41, "White Hat"  wrote:
> 
> Yes it can be disabled, but why not just add the rules you need to
> make it work properly?
> 
> Are you asking about iptables on the host or the guest?  Are you
> actually using firewalld, or is it really iptables?
> 
> You can add a log statement before the reject rule in
> /etc/sysconfig/iptables to log a message to /var/log/messages to show
> what is being blocked.
> 
> Then you can open those ports that show up in your log as necessary.
> 
> For example: 
> http://stackoverflow.com/questions/21771684/iptables-log-and-drop-in-one-rule
> 
> HTH
> 
>> On Tue, Jul 15, 2014 at 10:34 AM, Niklas Fondberg  wrote:
>> Correction of my bad english...
>> "can iptables be disabled if I never plan to use NAT:d guests?"
>> 
>> 
>> ___
>> 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] iptables question

2014-07-15 Thread Niklas Fondberg
Correction of my bad english...
"can iptables be disabled if I never plan to use NAT:d guests?"

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


[ovirt-users] iptables question

2014-07-15 Thread Niklas Fondberg
Hi all,
I have a simple question, is iptables if I never plan to use NAT:d guests?

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


Re: [ovirt-users] JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

2014-07-14 Thread Niklas Fondberg


From: Niklas Fondberg mailto:nik...@vireone.com>>
Date: Monday 14 July 2014 19:30
To: users mailto:users@ovirt.org>>
Subject: [ovirt-users] JBAS010151: Unable to get transaction state: 
java.lang.IllegalStateException

Does anyone know how this error can be dealt with?

Manifestation: After reboot of the server ovirt doesn't start properly


[root@dl380 ovirt-engine]# uname -a

Linux dl380.dmz.vireone.com 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 
21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


[root@dl380 ovirt-engine]# rpm -qa | grep ovirt

ovirt-engine-setup-plugin-websocket-proxy-3.4.2-1.el6.noarch

ovirt-host-deploy-java-1.2.2-1.el6.noarch

ovirt-engine-tools-3.4.2-1.el6.noarch

ovirt-engine-backend-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-allinone-3.4.2-1.el6.noarch

ovirt-release34-1.0.1-1.noarch

ovirt-iso-uploader-3.4.2-1.el6.noarch

ovirt-engine-lib-3.4.2-1.el6.noarch

ovirt-log-collector-3.4.3-1.el6.noarch

ovirt-engine-webadmin-portal-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-ovirt-engine-3.4.2-1.el6.noarch

ovirt-engine-3.4.2-1.el6.noarch

ovirt-engine-setup-base-3.4.2-1.el6.noarch

ovirt-engine-userportal-3.4.2-1.el6.noarch

ovirt-engine-restapi-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-ovirt-engine-common-3.4.2-1.el6.noarch

ovirt-engine-cli-3.4.0.5-1.el6.noarch

ovirt-engine-dbscripts-3.4.2-1.el6.noarch

ovirt-host-deploy-offline-1.2.2-1.el6.x86_64

ovirt-engine-sdk-python-3.4.1.1-1.el6.noarch

ovirt-host-deploy-1.2.2-1.el6.noarch

ovirt-image-uploader-3.4.2-1.el6.noarch

ovirt-engine-websocket-proxy-3.4.2-1.el6.noarch

ovirt-engine-setup-3.4.2-1.el6.noarch


Fault in server.log

[root@dl380 ovirt-engine]# grep ERROR server.log

2014-07-14 19:18:55,613 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the 
deployment operation within the allowed timeout period [60 seconds]. Check the 
server configuration file and the server logs to find more about the status of 
the deployment.

2014-07-14 19:19:13,987 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]]
 (ajp--127.0.0.1-8702-3) Exception while dispatching incoming RPC call: 
java.lang.NoClassDefFoundError: 
com/google/gwt/rpc/server/CommandServerSerializationStreamWriter

2014-07-14 19:19:13,987 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]]
 (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: 
java.lang.NoClassDefFoundError: 
com/google/gwt/rpc/server/CommandServerSerializationStreamWriter

2014-07-14 19:19:14,000 ERROR [org.jboss.as.txn] (ajp--127.0.0.1-8702-3) 
JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

2014-07-14 19:19:14,010 ERROR [org.jboss.as.txn] (ajp--127.0.0.1-8702-7) 
JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

Remedy:

/etc/init.d/ovirt-engine restart


More information:
VM that were started doesn't start automatically.

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


[ovirt-users] JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

2014-07-14 Thread Niklas Fondberg
Does anyone know how this error can be dealt with?

Manifestation: After reboot of the server ovirt doesn't start properly


[root@dl380 ovirt-engine]# uname -a

Linux dl380.dmz.vireone.com 2.6.32-431.20.3.el6.x86_64 #1 SMP Thu Jun 19 
21:14:45 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


[root@dl380 ovirt-engine]# rpm -qa | grep ovirt

ovirt-engine-setup-plugin-websocket-proxy-3.4.2-1.el6.noarch

ovirt-host-deploy-java-1.2.2-1.el6.noarch

ovirt-engine-tools-3.4.2-1.el6.noarch

ovirt-engine-backend-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-allinone-3.4.2-1.el6.noarch

ovirt-release34-1.0.1-1.noarch

ovirt-iso-uploader-3.4.2-1.el6.noarch

ovirt-engine-lib-3.4.2-1.el6.noarch

ovirt-log-collector-3.4.3-1.el6.noarch

ovirt-engine-webadmin-portal-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-ovirt-engine-3.4.2-1.el6.noarch

ovirt-engine-3.4.2-1.el6.noarch

ovirt-engine-setup-base-3.4.2-1.el6.noarch

ovirt-engine-userportal-3.4.2-1.el6.noarch

ovirt-engine-restapi-3.4.2-1.el6.noarch

ovirt-engine-setup-plugin-ovirt-engine-common-3.4.2-1.el6.noarch

ovirt-engine-cli-3.4.0.5-1.el6.noarch

ovirt-engine-dbscripts-3.4.2-1.el6.noarch

ovirt-host-deploy-offline-1.2.2-1.el6.x86_64

ovirt-engine-sdk-python-3.4.1.1-1.el6.noarch

ovirt-host-deploy-1.2.2-1.el6.noarch

ovirt-image-uploader-3.4.2-1.el6.noarch

ovirt-engine-websocket-proxy-3.4.2-1.el6.noarch

ovirt-engine-setup-3.4.2-1.el6.noarch


Fault in server.log

[root@dl380 ovirt-engine]# grep ERROR server.log

2014-07-14 19:18:55,613 ERROR [org.jboss.as.server.deployment.scanner] 
(DeploymentScanner-threads - 1) JBAS015052: Did not receive a response to the 
deployment operation within the allowed timeout period [60 seconds]. Check the 
server configuration file and the server logs to find more about the status of 
the deployment.

2014-07-14 19:19:13,987 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]]
 (ajp--127.0.0.1-8702-3) Exception while dispatching incoming RPC call: 
java.lang.NoClassDefFoundError: 
com/google/gwt/rpc/server/CommandServerSerializationStreamWriter

2014-07-14 19:19:13,987 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]]
 (ajp--127.0.0.1-8702-7) Exception while dispatching incoming RPC call: 
java.lang.NoClassDefFoundError: 
com/google/gwt/rpc/server/CommandServerSerializationStreamWriter

2014-07-14 19:19:14,000 ERROR [org.jboss.as.txn] (ajp--127.0.0.1-8702-3) 
JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

2014-07-14 19:19:14,010 ERROR [org.jboss.as.txn] (ajp--127.0.0.1-8702-7) 
JBAS010151: Unable to get transaction state: java.lang.IllegalStateException

Remedy:

/etc/init.d/ovirt-engine restart
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] backup.sh fails

2014-07-14 Thread Niklas Fondberg
Thanks! This did the trick.

On 14/07/14 17:10, "Sven Kieske"  wrote:

>
>
>Am 14.07.2014 16:55, schrieb Niklas Fondberg:
>> Hi all,
>> I might be of a tangent but I tried to follow the steps in
>> http://www.ovirt.org/User_talk:Stkeimond/Backing_Up_And_Restoring_OVirt
>> for a backup.
>> I get an error because of the postgres user password that I never set in
>> the installation of oVirt (as far as I know.)
>> Does anyone know of another way to backup or is this a bug/fault_by_me?
>> The command line and error is:
>> 
>> [root@dl380 dbscripts]# ./backup.sh -u postgres -l /mnt/msa60/backups/
>> Backup of database engine to
>> /mnt/msa60/backups//engine_Mon_Jul_14_16:50:45_CEST_2014.sql started...
>> pg_dump: [archiver (db)] connection to database "engine" failed: FATAL:
>> Ident authentication failed for user "postgres"
>> pg_dump: *** aborted because of error
>> Backup of database engine failed.
>
>I'm pretty sure this procedure is obsolete.
>You should use the provisioned engine-backup tool
>to do backups and restore the ovirt-engine:
>
>http://www.ovirt.org/Ovirt-engine-backup
>
>HTH
>
>
>-- 
>Mit freundlichen Grüßen / Regards
>
>Sven Kieske
>
>Systemadministrator
>Mittwald CM Service GmbH & Co. KG
>Königsberger Straße 6
>32339 Espelkamp
>T: +49-5772-293-100
>F: +49-5772-293-333
>https://www.mittwald.de
>Geschäftsführer: Robert Meyer
>St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
>Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad
>Oeynhausen
>___
>Users mailing list
>Users@ovirt.org
>http://lists.ovirt.org/mailman/listinfo/users

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


[ovirt-users] backup.sh fails

2014-07-14 Thread Niklas Fondberg
Hi all,
I might be of a tangent but I tried to follow the steps in
http://www.ovirt.org/User_talk:Stkeimond/Backing_Up_And_Restoring_OVirt
for a backup.
I get an error because of the postgres user password that I never set in
the installation of oVirt (as far as I know.)
Does anyone know of another way to backup or is this a bug/fault_by_me?
The command line and error is:

[root@dl380 dbscripts]# ./backup.sh -u postgres -l /mnt/msa60/backups/
Backup of database engine to
/mnt/msa60/backups//engine_Mon_Jul_14_16:50:45_CEST_2014.sql started...
pg_dump: [archiver (db)] connection to database "engine" failed: FATAL:
Ident authentication failed for user "postgres"
pg_dump: *** aborted because of error
Backup of database engine failed.

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


Re: [ovirt-users] fileserver as a guest oVirt

2014-07-14 Thread Niklas Fondberg
Thanks, after reading it makes sense. I suppose I need to drop my hope of
having sharing possibility with the host.
I have two questions that you might be able to answer:
1. Does direct LUN support partitions or only whole devices
2. Do you know of any open source way of making them shareable to Ovirt?

My setup is simple:
- HP DL380 with dual Xeon and lots of RAM. Boots from seperate disk (USB)
- MSA60 with p411 attached to the HP DL380

When we grow oVirt we will grow with DL360¹s and use all shared storage
from the guest fileserver on the first host.



On 14/07/14 08:57, "Daniel Helgenberger" 
wrote:

>Hello,
>
>just add my 2ct: I did a lot of bench marking for our SAN (FC LUN's). I
>also need file servers for our SMB Clients.
>
>I recommend using Direct Attached LUNs for your purpose and attach them
>to the VMs as VirtIO-SCSI disks. You can even added them as shareable to
>oVirt if you deploy some kind of SAN file system (we use Quantum's
>StorNext).
>
>Bottom line, the implementation of VirtIO-SCSI is so well done and
>support in oVirt is great. I cound not see any bottlenecks in the
>visualization. For the foreseeable future I will not deploy bare metal
>file Servers again.
>
>HTH,
>
>On So, 2014-07-13 at 15:47 +, Niklas Fondberg wrote:
>> 
>> From: Karli Sjöberg mailto:karli.sjob...@slu.se>>
>> Date: Sunday 13 July 2014 14:51
>> To: Niklas Fondberg mailto:nik...@vireone.com>>
>> Cc: "users@ovirt.org<mailto:users@ovirt.org>"
>>mailto:users@ovirt.org>>, Karli Sjöberg
>>mailto:karli.sjob...@slu.se>>
>> Subject: Re: [ovirt-users] fileserver as a guest oVirt
>> 
>> 
>> Den 12 jul 2014 22:49 skrev Niklas Fondberg
>>mailto:nik...@vireone.com>>:
>> >
>> >
>> >
>> > On 12 jul 2014, at 16:57, "Karli Sjöberg"
>>mailto:karli.sjob...@slu.se>> wrote:
>> >
>> >>
>> >> Den 12 jul 2014 15:45 skrev Niklas Fondberg
>>mailto:nik...@vireone.com>>:
>> >> >
>> >> > Hi,
>> >> >
>> >> > I'm new to oVirt but I must say I am impressed!
>> >> > I am running it on a HP DL380 with an external SAS chassi.
>> >> > Linux dist is Centos 6.5 and oVirt is 3.4 running all-in-one (for
>>now until we need to have a second host).
>> >> >
>> >> > Our company (www.vireone.com) deals with system architecture for
>>many telco and media operators and is now setting up a small own
>>datacenter for our internal tests as well as our IT infrastructure.
>> >> > We are in the process of installing Zentyal for the SMB purposes
>>on a guest and it would be great to have that guest also serving a fs
>>path directory with NFS + SMB (which is semi crippled on the host after
>>oVirt installation with version 3 et.c.).
>> >> >
>> >> > Does anyone have an idea of how I can through oVirt (seen several
>>solutions using virsh and kvm) letting my Zentyal Ubuntu guest have
>>access to a host mount point or if necessary (second best) a seperate
>>partition?
>> >> >
>> >> > Best regards
>> >> > Niklas
>> >> >
>> >>
>> >> Why not just give the guest a thin provision virtual hard drive and
>>expand it on a demand basis?
>> >>
>> >> /K
>> >
>> > Thanks for the advise but this would not suite us I'm afraid. It
>>would be difficult wrt incremental backups as well as host machine
>>file-routines.
>> >
>> >
>> 
>> Well, going by Occam's raizor; the simplest answer is usually correct.
>>Can't really tell what you mean by file-routines but backups would be
>>well served by snapshots (can't get more incremental than that) and
>>disaster recovery could be as easy as a rsync from inside the guest to a
>>remote machine.
>> 
>> The biggest pros here is the ease of being able to setup an export
>>domain, attach, export the VM, detach domain, and then attach and import
>>to a "real" setup when the AIO starts feeling crowded later on. Thinking
>>ahead is never a bad thing, no?
>> 
>> /K
>> 
>> Thanks for your suggestions!
>> The thing also is that the performance will be very bad if we have the
>>25TB SAS array shared for our purposes (lots of media streaming) using a
>>virtual disk.
>> What I am after (after more reading) is support for virtio-9p-pci
>>(http://www.linux-kvm.org/page/9p_virtio) using oVirt. Alternative is
>>the Direct LUN hook (http://www.ovirt.org/VDSM-Hooks/directlun, if I can
>>figure out how to work with hooks...)
>> Any chance anybody has an answer for these questions?
>> 
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>-- 
>
>Daniel Helgenberger
>m box bewegtbild GmbH
>
>P: +49/30/2408781-22
>F: +49/30/2408781-10
>
>ACKERSTR. 19 
>D-10115 BERLIN 
>
>
>www.m-box.de  www.monkeymen.tv
>
>Geschäftsführer: Martin Retschitzegger / Michaela Göllner
>Handeslregister: Amtsgericht Charlottenburg / HRB 112767 

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


Re: [ovirt-users] fileserver as a guest oVirt

2014-07-13 Thread Niklas Fondberg


From: Karli Sjöberg mailto:karli.sjob...@slu.se>>
Date: Sunday 13 July 2014 14:51
To: Niklas Fondberg mailto:nik...@vireone.com>>
Cc: "users@ovirt.org<mailto:users@ovirt.org>" 
mailto:users@ovirt.org>>, Karli Sjöberg 
mailto:karli.sjob...@slu.se>>
Subject: Re: [ovirt-users] fileserver as a guest oVirt


Den 12 jul 2014 22:49 skrev Niklas Fondberg 
mailto:nik...@vireone.com>>:
>
>
>
> On 12 jul 2014, at 16:57, "Karli Sjöberg" 
> mailto:karli.sjob...@slu.se>> wrote:
>
>>
>> Den 12 jul 2014 15:45 skrev Niklas Fondberg 
>> mailto:nik...@vireone.com>>:
>> >
>> > Hi,
>> >
>> > I'm new to oVirt but I must say I am impressed!
>> > I am running it on a HP DL380 with an external SAS chassi.
>> > Linux dist is Centos 6.5 and oVirt is 3.4 running all-in-one (for now 
>> > until we need to have a second host).
>> >
>> > Our company (www.vireone.com) deals with system architecture for many 
>> > telco and media operators and is now setting up a small own datacenter for 
>> > our internal tests as well as our IT infrastructure.
>> > We are in the process of installing Zentyal for the SMB purposes on a 
>> > guest and it would be great to have that guest also serving a fs path 
>> > directory with NFS + SMB (which is semi crippled on the host after oVirt 
>> > installation with version 3 et.c.).
>> >
>> > Does anyone have an idea of how I can through oVirt (seen several 
>> > solutions using virsh and kvm) letting my Zentyal Ubuntu guest have access 
>> > to a host mount point or if necessary (second best) a seperate partition?
>> >
>> > Best regards
>> > Niklas
>> >
>>
>> Why not just give the guest a thin provision virtual hard drive and expand 
>> it on a demand basis?
>>
>> /K
>
> Thanks for the advise but this would not suite us I'm afraid. It would be 
> difficult wrt incremental backups as well as host machine file-routines.
>
>

Well, going by Occam's raizor; the simplest answer is usually correct. Can't 
really tell what you mean by file-routines but backups would be well served by 
snapshots (can't get more incremental than that) and disaster recovery could be 
as easy as a rsync from inside the guest to a remote machine.

The biggest pros here is the ease of being able to setup an export domain, 
attach, export the VM, detach domain, and then attach and import to a "real" 
setup when the AIO starts feeling crowded later on. Thinking ahead is never a 
bad thing, no?

/K

Thanks for your suggestions!
The thing also is that the performance will be very bad if we have the 25TB SAS 
array shared for our purposes (lots of media streaming) using a virtual disk.
What I am after (after more reading) is support for virtio-9p-pci 
(http://www.linux-kvm.org/page/9p_virtio) using oVirt. Alternative is the 
Direct LUN hook (http://www.ovirt.org/VDSM-Hooks/directlun, if I can figure out 
how to work with hooks...)
Any chance anybody has an answer for these questions?

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


Re: [ovirt-users] fileserver as a guest oVirt

2014-07-13 Thread Niklas Fondberg



Regards,
Niklas

On 12 jul 2014, at 22:49, "Niklas Fondberg" 
mailto:nik...@vireone.com>> wrote:



On 12 jul 2014, at 16:57, "Karli Sjöberg" 
mailto:karli.sjob...@slu.se>> wrote:


Den 12 jul 2014 15:45 skrev Niklas Fondberg 
mailto:nik...@vireone.com>>:
>
> Hi,
>
> I'm new to oVirt but I must say I am impressed!
> I am running it on a HP DL380 with an external SAS chassi.
> Linux dist is Centos 6.5 and oVirt is 3.4 running all-in-one (for now until 
> we need to have a second host).
>
> Our company (www.vireone.com<http://www.vireone.com>) deals with system 
> architecture for many telco and media operators and is now setting up a small 
> own datacenter for our internal tests as well as our IT infrastructure.
> We are in the process of installing Zentyal for the SMB purposes on a guest 
> and it would be great to have that guest also serving a fs path directory 
> with NFS + SMB (which is semi crippled on the host after oVirt installation 
> with version 3 et.c.).
>
> Does anyone have an idea of how I can through oVirt (seen several solutions 
> using virsh and kvm) letting my Zentyal Ubuntu guest have access to a host 
> mount point or if necessary (second best) a seperate partition?
>
> Best regards
> Niklas
>

Why not just give the guest a thin provision virtual hard drive and expand it 
on a demand basis?

/K

Thanks for the advise but this would not suite us I'm afraid. It would be 
difficult wrt incremental backups as well as host machine file-routines.


I read that virtio has virtfs that can be used for pass through and host path 
sharing. Is it possible to set this up using a hook or something in oVirt?

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


Re: [ovirt-users] fileserver as a guest oVirt

2014-07-12 Thread Niklas Fondberg


On 12 jul 2014, at 16:57, "Karli Sjöberg" 
mailto:karli.sjob...@slu.se>> wrote:


Den 12 jul 2014 15:45 skrev Niklas Fondberg 
mailto:nik...@vireone.com>>:
>
> Hi,
>
> I'm new to oVirt but I must say I am impressed!
> I am running it on a HP DL380 with an external SAS chassi.
> Linux dist is Centos 6.5 and oVirt is 3.4 running all-in-one (for now until 
> we need to have a second host).
>
> Our company (www.vireone.com<http://www.vireone.com>) deals with system 
> architecture for many telco and media operators and is now setting up a small 
> own datacenter for our internal tests as well as our IT infrastructure.
> We are in the process of installing Zentyal for the SMB purposes on a guest 
> and it would be great to have that guest also serving a fs path directory 
> with NFS + SMB (which is semi crippled on the host after oVirt installation 
> with version 3 et.c.).
>
> Does anyone have an idea of how I can through oVirt (seen several solutions 
> using virsh and kvm) letting my Zentyal Ubuntu guest have access to a host 
> mount point or if necessary (second best) a seperate partition?
>
> Best regards
> Niklas
>

Why not just give the guest a thin provision virtual hard drive and expand it 
on a demand basis?

/K

Thanks for the advise but this would not suite us I'm afraid. It would be 
difficult wrt incremental backups as well as host machine file-routines.


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


[ovirt-users] fileserver as a guest oVirt

2014-07-12 Thread Niklas Fondberg
Hi,

I'm new to oVirt but I must say I am impressed!
I am running it on a HP DL380 with an external SAS chassi.
Linux dist is Centos 6.5 and oVirt is 3.4 running all-in-one (for now until we 
need to have a second host).

Our company (www.vireone.com) deals with system architecture for many telco and 
media operators and is now setting up a small own datacenter for our internal 
tests as well as our IT infrastructure.
We are in the process of installing Zentyal for the SMB purposes on a guest and 
it would be great to have that guest also serving a fs path directory with NFS 
+ SMB (which is semi crippled on the host after oVirt installation with version 
3 et.c.).

Does anyone have an idea of how I can through oVirt (seen several solutions 
using virsh and kvm) letting my Zentyal Ubuntu guest have access to a host 
mount point or if necessary (second best) a seperate partition?

Best regards
Niklas

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