Removing a Secondary Storage Host from a Zone which has Two Secondary Storage Hosts

2015-08-07 Thread Valerio Guaglianone

Hello,
Is this procedure valid for CS 4.1.1?
link: http://support.citrix.com/article/CTX132022
I suppose that's the perfect way.

Thanks in advance.

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: Insufficient capacity to restart Virtualrouter

2015-08-05 Thread Valerio Guaglianone

Yess,
vlan tag was missing.
Obviously no power loss before this happened

Fixed :)


Il 05/08/2015 15:40, Sam Ceylani ha scritto:

Check vlan tag from database for this network, mine was missing once :) enter 
it and you should be all set.

Have you experienced power loss before this happened?

-Original Message-
From: Valerio Guaglianone [mailto:v.guaglian...@midhgard.it]
Sent: Wednesday, August 05, 2015 9:33 AM
To: users@cloudstack.apache.org
Subject: Re: Insufficient capacity to restart Virtualrouter

Oops, sorry
CS 4.1.1
Centos 6.5
KVM

Il 05/08/2015 15:32, Daan Hoogland ha scritto:

Valerio,

can you add some version numbers for us (asc version, ms-host
platform, hypervisor types and version, etc)?

On Wed, Aug 5, 2015 at 3:23 PM, Valerio Guaglianone <
v.guaglian...@midhgard.it> wrote:


Here the rows inside management-server.log at restart about r-252-VM:

2015-08-05 14:19:08,924 INFO  [cloud.server.ManagementServerImpl]
(Timer-1:null) Startup CloudStack management server...
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) SimpleInvestigator found
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) XenServerInvestigator found
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) VMwareInvestigator found
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be
alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be
alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer null returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer KVMFenceBuilder returned false
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer OvmFenceBuilder returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer VMwareFenceBuilder returned null
2015-08-05 14:19:09,326 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Rescheduling
HAWork[168-HA-252-Running-Investigating] to try again at Wed Aug 05
14:29:22 CEST 2015
2015-08-05 14:19:09,658 INFO  [cloud.api.ApiServer]
(http-44300-6:null) Current user logged in under CET timezone
2015-08-05 14:19:09,659 INFO  [cloud.api.ApiServer]
(http-44300-6:null) Timezone offset from UTC is: 2.0


Il 05/08/2015 15:15, Erik Weber ha scritto:


On Wed, Aug 5, 2015 at 3:02 PM, Valerio Guaglianone <
v.guaglian...@midhgard.it> wrote:

When I restart my CS manager I read this error:

Insufficient capacity to restart VM, name: r-252-VM, id: 252 which
was running on host name: node-2.mydomain.it(id:18), availability zone:
Z1MDH, pod: P1Z1MDH

but the Virtualrouter work fine.

Suggestions?


Post some management logs and we might be able to help you hunt it down.

As Daan said, Insufficient capacity exception can mean just about
anything..



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: Insufficient capacity to restart Virtualrouter

2015-08-05 Thread Valerio Guaglianone

Oops, sorry
CS 4.1.1
Centos 6.5
KVM

Il 05/08/2015 15:32, Daan Hoogland ha scritto:

Valerio,

can you add some version numbers for us (asc version, ms-host platform,
hypervisor types and version, etc)?

On Wed, Aug 5, 2015 at 3:23 PM, Valerio Guaglianone <
v.guaglian...@midhgard.it> wrote:


Here the rows inside management-server.log at restart about r-252-VM:

2015-08-05 14:19:08,924 INFO  [cloud.server.ManagementServerImpl]
(Timer-1:null) Startup CloudStack management server...
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) SimpleInvestigator found VM[DomainRouter|r-252-VM]to
be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) XenServerInvestigator found
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) VMwareInvestigator found VM[DomainRouter|r-252-VM]to
be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer null returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer KVMFenceBuilder returned false
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer OvmFenceBuilder returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Fencer VMwareFenceBuilder returned null
2015-08-05 14:19:09,326 INFO  [cloud.ha.HighAvailabilityManagerImpl]
(HA-Worker-3:work-168) Rescheduling
HAWork[168-HA-252-Running-Investigating] to try again at Wed Aug 05
14:29:22 CEST 2015
2015-08-05 14:19:09,658 INFO  [cloud.api.ApiServer] (http-44300-6:null)
Current user logged in under CET timezone
2015-08-05 14:19:09,659 INFO  [cloud.api.ApiServer] (http-44300-6:null)
Timezone offset from UTC is: 2.0


Il 05/08/2015 15:15, Erik Weber ha scritto:


On Wed, Aug 5, 2015 at 3:02 PM, Valerio Guaglianone <
v.guaglian...@midhgard.it> wrote:

When I restart my CS manager I read this error:

Insufficient capacity to restart VM, name: r-252-VM, id: 252 which was
running on host name: node-2.mydomain.it(id:18), availability zone:
Z1MDH, pod: P1Z1MDH

but the Virtualrouter work fine.

Suggestions?


Post some management logs and we might be able to help you hunt it down.

As Daan said, Insufficient capacity exception can mean just about
anything..



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/






--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: Insufficient capacity to restart Virtualrouter

2015-08-05 Thread Valerio Guaglianone

Here the rows inside management-server.log at restart about r-252-VM:

2015-08-05 14:19:08,924 INFO  [cloud.server.ManagementServerImpl] 
(Timer-1:null) Startup CloudStack management server...
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) SimpleInvestigator found 
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) XenServerInvestigator found 
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) VMwareInvestigator found 
VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,970 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) null found VM[DomainRouter|r-252-VM]to be alive? null
2015-08-05 14:19:08,977 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) Fencer null returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) Fencer KVMFenceBuilder returned false
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) Fencer OvmFenceBuilder returned null
2015-08-05 14:19:08,984 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) Fencer VMwareFenceBuilder returned null
2015-08-05 14:19:09,326 INFO  [cloud.ha.HighAvailabilityManagerImpl] 
(HA-Worker-3:work-168) Rescheduling 
HAWork[168-HA-252-Running-Investigating] to try again at Wed Aug 05 
14:29:22 CEST 2015
2015-08-05 14:19:09,658 INFO  [cloud.api.ApiServer] (http-44300-6:null) 
Current user logged in under CET timezone
2015-08-05 14:19:09,659 INFO  [cloud.api.ApiServer] (http-44300-6:null) 
Timezone offset from UTC is: 2.0



Il 05/08/2015 15:15, Erik Weber ha scritto:

On Wed, Aug 5, 2015 at 3:02 PM, Valerio Guaglianone <
v.guaglian...@midhgard.it> wrote:


When I restart my CS manager I read this error:
Insufficient capacity to restart VM, name: r-252-VM, id: 252 which was
running on host name: node-2.mydomain.it(id:18), availability zone:
Z1MDH, pod: P1Z1MDH

but the Virtualrouter work fine.

Suggestions?



Post some management logs and we might be able to help you hunt it down.

As Daan said, Insufficient capacity exception can mean just about anything..



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Insufficient capacity to restart Virtualrouter

2015-08-05 Thread Valerio Guaglianone

When I restart my CS manager I read this error:
Insufficient capacity to restart VM, name: r-252-VM, id: 252 which was running 
on host name: node-2.mydomain.it(id:18), availability zone: Z1MDH, pod: P1Z1MDH

but the Virtualrouter work fine.

Suggestions?

--



Re: How to delete a zone in database

2015-08-05 Thread Valerio Guaglianone

Hi,
your installation has one or two Secondary Storage Hosts?

Il 05/08/2015 13:33, Amir Abbasi ha scritto:

Hi All,

  


All accounts, Domains and then hosts, clusters, pods, Primary Storage have
been removed but secondary storage could not be removed and I face the
following error:

  


Cannot delete image store with active templates backup!

  


I can see old templates of deleted accounts. How can I delete them off from
cloud database and then remove old zone?

  


Thanks in advance




--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



VM migration ovirt -> CS

2015-05-26 Thread Valerio Guaglianone

Hi all,
what is the best way for migrate two VMs from ovirt to Cloudstack (with 
KVM obviously)


Regards.

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: Patches for cloudstack 4.1.1??

2015-05-21 Thread Valerio Guaglianone

Thanks Erik,

Il 21/05/2015 13:24, Erik Weber ha scritto:

2015-05-21 13:13 GMT+02:00 Valerio Guaglianone :


Hi all,

Is there a list of the patches for Cloudstack 4.1.1?



This I think: https://github.com/apache/cloudstack/compare/4.1.1...4.1




--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Patches for cloudstack 4.1.1??

2015-05-21 Thread Valerio Guaglianone

Hi all,

Is there a list of the patches for Cloudstack 4.1.1?



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: SSVM RAM on CS 4.1.1

2015-05-13 Thread Valerio Guaglianone

Thanks a lot!

Il 13/05/2015 12:00, Glenn Wagner ha scritto:

Hi Valerio,

You will need to make a change in the cloud DB for the system service offering.

Example:

UPDATE cloud.service_offering SET ram_size='128', speed='128' WHERE 
vm_type='secondarystoragevm';

Regards


Glenn Wagner
Senior Consultant, South Africa



Phone: +27 21 527 0091 | Mobile: +27 73 917 4111

glenn.wag...@shapeblue.com | www.shapeblue.com | Twitter:@shapeBlue
ShapeBlue SA (Pty) Ltd, 2nd Floor, Oudehuis Centre, 122 Main Rd, Somerset West, 
Cape Town 7130

-----Original Message-
From: Valerio Guaglianone [mailto:v.guaglian...@midhgard.it]
Sent: 13 May 2015 11:33 AM
To: users@cloudstack.apache.org
Subject: SSVM RAM on CS 4.1.1

Hi,
where I found (for changing) secstorage.vm.ram.size parameter in CS 4.1.1?
It is present/available?

Regards,

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/

Find out more about ShapeBlue and our range of CloudStack related services

IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Software 
Engineering<http://shapeblue.com/cloudstack-software-engineering/>
CloudStack Infrastructure 
Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>

This email and any attachments to it may be confidential and are intended solely 
for the use of the individual to whom it is addressed. Any views or opinions 
expressed are solely those of the author and do not necessarily represent those of 
Shape Blue Ltd or related companies. If you are not the intended recipient of this 
email, you must neither take any action based upon its contents, nor copy or show 
it to anyone. Please contact the sender if you believe you have received this email 
in error. Shape Blue Ltd is a company incorporated in England & Wales. 
ShapeBlue Services India LLP is a company incorporated in India and is operated 
under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company 
incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue 
SA Pty Ltd is a company registered by The Republic of South Africa and is traded 
under license from Shape Blue Ltd. ShapeBlue is a registered trademark.


--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/




SSVM RAM on CS 4.1.1

2015-05-13 Thread Valerio Guaglianone

Hi,
where I found (for changing) secstorage.vm.ram.size parameter in CS 4.1.1?
It is present/available?

Regards,

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: Problem with SSVM ?

2015-05-13 Thread Valerio Guaglianone

Ok,
there are results for execution:

root@s-245-VM:~# sh  /usr/local/cloud/systemvm/ssvm-check.sh

First DNS server is  10.110.1.1
PING 10.110.1.1 (10.110.1.1): 56 data bytes
--- 10.110.1.1 ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
WARNING: cannot ping DNS server
route follows
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.110.1.2  192.168.64.1255.255.255.255 UGH   0 00 eth1
10.110.1.1  192.168.64.1255.255.255.255 UGH   0 00 eth1
192.168.4.1 192.168.64.1255.255.255.255 UGH   0 00 eth1
192.168.4.2 192.168.64.1255.255.255.254 UG0 00 eth1
192.168.4.4 192.168.64.1255.255.255.252 UG0 00 eth1
192.168.4.8 192.168.64.1255.255.255.248 UG0 00 eth1
192.168.4.16192.168.64.1255.255.255.240 UG0 00 eth1
192.168.4.32192.168.64.1255.255.255.224 UG0 00 eth1
192.168.4.64192.168.64.1255.255.255.192 UG0 00 eth1
192.168.4.0 0.0.0.0 255.255.255.0   U 0 00 eth3
192.168.64.00.0.0.0 255.255.255.0   U 0 00 eth1
194.116.72.00.0.0.0 255.255.255.0   U 0 00 eth2
169.254.0.0 0.0.0.0 255.255.0.0 U 0 00 eth0
0.0.0.0 192.168.64.10.0.0.0 UG0 00 eth1

Good: DNS resolves download.cloud.com

NFS is currently mounted
Mount point is /mnt/SecStorage/0621d59b-30ed-3f99-8424-94e207a16285
Good: Can write to mount point
Mount point is /mnt/SecStorage/ef345b7b-4a4d-3093-bd26-a14e83df2f56
Good: Can write to mount point

Management server is 192.168.64.11. Checking connectivity.
Good: Can connect to management server port 8250

Good: Java process is running

Tests Complete. Look for ERROR or WARNING above.


Il 08/05/2015 12:30, Andrei Mikhailovsky ha scritto:

Valerio,

Please login to SSVM and check if it is running and that the check-ssvm.sh (i believe 
this is what the script is called, but you can double check by doing "find / -type f 
|grep ssvm" ) does not give you any errors.

Andrei


- Original Message -----
From: "Valerio Guaglianone" 
To: users@cloudstack.apache.org
Sent: Friday, 8 May, 2015 11:09:31 AM
Subject: Problem with SSVM ?

Hi All,
my secondary storage seems died, ISO and templates not appearing correctly from 
management web UI.
Secondary Storage VM  is running.

CS 4.1.1 on Centos 6.4, on manager log I see:

Add host failed due to ModifyStoragePoolCommand 
failedjava.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094)
at com.cloud.agent.Agent.processRequest(Agent.java:525)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
at com.cloud.utils.nio.Task.run(Task.java:83)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(

Does anyone have a workaround or solution for this?

Regards,



--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



ERROR [cloud.api.ApiServlet]

2015-05-13 Thread Valerio Guaglianone

Hi all,
on management-server.log i read:
ERROR [cloud.api.ApiServlet] (http-44300-1:null) unknown exception 
writing api response

java.lang.NullPointerException

What's happening?

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Problem with SSVM ?

2015-05-08 Thread Valerio Guaglianone

Hi All,
my secondary storage seems died, ISO and templates not appearing correctly from 
management web UI.
Secondary Storage VM  is running.

CS 4.1.1 on Centos 6.4, on manager log I see:

Add host failed due to ModifyStoragePoolCommand 
failedjava.lang.NullPointerException
at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:540)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:111)
at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:104)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2304)
at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1094)
at com.cloud.agent.Agent.processRequest(Agent.java:525)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
at com.cloud.utils.nio.Task.run(Task.java:83)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(

Does anyone have a workaround or solution for this?

Regards,

--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: CS 4.1.1 & Centos 6.6

2015-05-07 Thread Valerio Guaglianone

Many thanks!

Il 07/05/2015 12:59, Nux! ha scritto:

http://www.nux.ro/archive/2014/01/Taking_KVM_volume_snapshots_with_Cloudstack_4_2_on_CentOS_6_5.html

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

- Original Message -

From: "Andrija Panic" 
To: users@cloudstack.apache.org, "Nux!" 
Sent: Thursday, 7 May, 2015 11:53:27
Subject: Re: CS 4.1.1 & Centos 6.6
Acually there is a way to downgrade (you remove... and rpm -Uvh older
packages... - but better solution is...

Cant find link - Lucian had some nice workarround on his site - using
custom paths for qemu-img etc...


On 7 May 2015 at 12:42, Valerio Guaglianone 
wrote:


Thank Andrija,
is true, snapshots fail, how can I make downgrade of libvirt/qemu on my
COS 6.6, it is possible?

Il 07/05/2015 12:31, Andrija Panic ha scritto:


I can tell you disk snapshots will fail ( "-s" glag was removed from
Qemu-IMG in CEntos 6.5) - other than that - there are some unsupported
features like disk throtling (via Compute offerings), no CEPH support (you
maybe dont want it  anyway) etc


--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/




--

Andrija Panić


--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



Re: CS 4.1.1 & Centos 6.6

2015-05-07 Thread Valerio Guaglianone

Thank Andrija,
is true, snapshots fail, how can I make downgrade of libvirt/qemu on my 
COS 6.6, it is possible?


Il 07/05/2015 12:31, Andrija Panic ha scritto:

I can tell you disk snapshots will fail ( "-s" glag was removed from
Qemu-IMG in CEntos 6.5) - other than that - there are some unsupported
features like disk throtling (via Compute offerings), no CEPH support (you
maybe dont want it  anyway) etc


--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/



CS 4.1.1 & Centos 6.6

2015-05-07 Thread Valerio Guaglianone

Hi all,
is CS 4.1.1 compatible with Centos 6.6 and his libvirt/kvm version?


--
Valerio Guaglianone

Midhgard S.r.l.
C/so Svizzera 185 bis
c/o centro Piero Della Francesca
10149 - Torino
tel: +39-0117575375 Int. 16
mobile: +39-3386935328
fax:  +39-0117768576
sito web: http://www.midhgard.it/