Hello (Upgrade to 4.1)

2013-06-07 Thread Maurice Lawler
I just wanted to follow up, seems as though the communcation has 
stopped.


I am presetly utilizing CS 4.0.2 | KVM | CentOS 6.3

I would like to go ahead and upgrade to CS 4.1 / CentOS 6.4; however, 
prior to doing so, it would be suggested to pause all containers 
(instances) as it seems it will be also upgrading the qmenu.


Just wanted to make sure.

- Maurice


Re: vSphere 5.1 support

2013-06-07 Thread Chiradeep Vittal
https://cwiki.apache.org/confluence/x/lyrVAQ

On 6/7/13 10:22 AM, "Jake G."  wrote:

>I'm no expert here but I am running CS 4.1 on vsphere/vcenter 5.1u1 and
>it's working fine.
>
>Officially, I do not think its supported as CS still uses vsphere 4.1 API
>calls I believe but I could be wrong.
>
>
>On 2013/06/08, at 1:50, Gaspare A Silvestri 
>wrote:
>
>> Hello everybody,
>> 
>> does CS 4.1 support VMware vSphere 5.1 version?
>> 
>> Thanks in advance,
>> 
>> Gaspare



Re: Cloudmonkey Async Job Issue

2013-06-07 Thread Chiradeep Vittal
You might actually have an outdated cloud monkey (pip versioning issues)
See
http://markmail.org/thread/neprm4xrl4ydtqdy


On 6/7/13 2:06 PM, "Tim Schultheiss"  wrote:

>Hi all,
>
> 
>
>I'm testing Cloudstack 4.1 on a Xen 6.1 system with a CentOS 6.4
>management
>server. I installed Cloudmonkey 4.1.0-0 through pip, and started testing
>our
>deployment scripts.
>
>I've found that Cloudmonkey hangs on asynchronous job commands- it
>continues
>to poll the status of the job once it's completed. If I turn off
>asyncblock
>I can confirm that the jobs are completing fine, but our scripts are built
>dependent on the job return status.
>
> 
>
>Is anyone else seeing this?
>



Re: Bug in updateUser API in CS 4.1.0

2013-06-07 Thread Chiradeep Vittal
See this discussion
http://markmail.org/thread/7r6ia3ckkt6fzlic

You might have to install the MD5Authenticator as the default
authenticator.

On 6/7/13 3:44 PM, "Anoop Rajendra"  wrote:

>Hi, When I try to run the updateUser API for the admin user, the
>password field requires a cleartext unhashed password.
>
>With previous versions I could provide the hashed  MD5 password, and
>the admin password would get updated.
>
>-a



Re: CloudStack 4.1.0 Install, but -bash: cloud-setup-databases: command not found

2013-06-07 Thread Pierre-Luc Dion
try : cloudstack-setup-databases



Pierre-Luc Dion
Responsable technique - infrastructure | Technical lead - infrastructure
514-447-3456, 1101
- - -*
CloudOps
*420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_


On Fri, Jun 7, 2013 at 12:40 PM, wq meng  wrote:

> Hello,
>
> Have you installed CS4.1.0 from RPM repo,
>
> I have tried it,
>
> But there is no cloud-setup-database script.
>
> -bash: cloud-setup-databases: command not found
>
>
> What's the matter?
>
>
> Thanks
>


Bug in updateUser API in CS 4.1.0

2013-06-07 Thread Anoop Rajendra
Hi, When I try to run the updateUser API for the admin user, the
password field requires a cleartext unhashed password.

With previous versions I could provide the hashed  MD5 password, and
the admin password would get updated.

-a


Re: problem in key generation and in adding the host

2013-06-07 Thread Ahmad Emneina
Hey Ram, can you post full logs at pastebin.com or paste.cloudstack.org?


On Mon, Jun 3, 2013 at 5:18 AM, ram kumar wrote:

> Other log in management directory is as follows:
>
> root@krishna-S1200RP:/var/log/cloud/management# grep -Rin Error *
> awsapi.log:1:2013-06-03 17:31:47,691 ERROR [controller.s3.ServiceProvider]
> (Timer-3:null) Unexpected exception DB Exception on: null
> awsapi.log:20:at
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1013)
> awsapi.log:21:at
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:987)
> awsapi.log:22:at
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:982)
> awsapi.log:23:at
> com.mysql.jdbc.SQLError.createSQLException(SQLError.java:927)
> management-server.log:788:2013-06-03 17:33:02,882 ERROR
> [cloud.cluster.ClusterManagerImpl] (main:null) Unable to ping management
> server at 10.223.169.154:9090 due to ConnectException
> management-server.log:980:2013-06-03 17:33:03,033 INFO
> [xen.resource.XenServerConnectionPool] (main:null) XenServer Connection
> Pool Configs: manage.xenserver.pool.master=true;
> sleep.interval.on.error=1
> management-server.log:1499:at
>
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> root@krishna-S1200RP:/var/log/cloud/management#
>
>
>
> On Mon, Jun 3, 2013 at 5:43 PM, ram kumar  >wrote:
>
> > While trying to add the host I got following error in
> > management-server.log file:
> >
> > 2013-06-03 17:39:32,954 DEBUG
> > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
> 2
> > is not ready to launch secondary storage VM yet
> > 2013-06-03 17:39:32,996 DEBUG
> [cloud.consoleproxy.ConsoleProxyManagerImpl]
> > (consoleproxy-1:null) Skip capacity scan due to there is no Primary
> Storage
> > UPintenance mode
> > 2013-06-03 17:39:33,429 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 routers.
> > 2013-06-03 17:40:02,960 DEBUG
> > [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
> 2
> > is not ready to launch secondary storage VM yet
> > 2013-06-03 17:40:03,002 DEBUG
> [cloud.consoleproxy.ConsoleProxyManagerImpl]
> > (consoleproxy-1:null) Skip capacity scan due to there is no Primary
> Storage
> > UPintenance mode
> > 2013-06-03 17:40:03,428 DEBUG
> > [network.router.VirtualNetworkApplianceManagerImpl]
> > (RouterStatusMonitor-1:null) Found 0 routers.
> > 2013-06-03 17:40:06,577 DEBUG [kvm.discoverer.KvmServerDiscoverer]
> > (catalina-exec-21:null) Timeout, to wait for the host connecting to mgt
> > svr, assuming it is failed
> > 2013-06-03 17:40:06,584 WARN  [cloud.resource.ResourceManagerImpl]
> > (catalina-exec-21:null) Unable to find the server resources at
> > http://10.223.169.166
> > 2013-06-03 17:40:06,588 WARN  [api.commands.AddHostCmd]
> > (catalina-exec-21:null) Exception:
> > com.cloud.exception.DiscoveryException: Unable to add the host
> > at
> >
> com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:737)
> > at
> >
> com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:544)
> > at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
> > at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
> > at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
> >
> >
> >
> >
> > On Mon, Jun 3, 2013 at 5:14 PM, ram kumar  >wrote:
> >
> >> Hi All,
> >>
> >> I am new to cloudstack and trying to configure it on Ubuntu 12.04 with
> >> Cloudstack 1:4.0.2. My tomcat version is 6.0.35. I am facing following
> >> problem during the key generation and adding the host. When I tried to
> >> generate the key I got following values:
> >>
> >> curl --globoff "
> >>
> http://localhost:8096/?command=createSSHKeyPair&name=keypair-doc&account=admin&domainid=a883af06-d6c6-4427-b5bf-c88154b46e28
> >> "
> >>  >>
> cloud-stack-version="4.0.2.20130501180711">keypair-doc9a:ae:3f:9c:6e:eb:4a:bb:4a:fb:75:9d:1e:60:f5:f8root@kri0RP
> :/var/log/cloud#
> >>
> >>
> >> But I didn't get any private key on the console. I tried to search
> >> keypair-doc file but I didn't get it. Can anyone help me here to get the
> >> key ? If I am trying to run the same command it is telling that key has
> >> already generated in keypair-doc. Can I regenerate the key with other
> >> domain id and what is the command to get other domain id ?
> >>
> >> When I tried to add the host I am not able to add the host in a cluster.
> >> Is it due to SSH-key generation problem ? I have checked individual SSH
> >> login, PORT status  and PING of host. Everything seems fine to me.
> Please
> >> tell me which log I should refer to further debug this.
> >>
> >> Is there any global setting available by which I can bypass all the key
> >> related authentication and I should be able to add the host ?
> >>
> >> Please help me on above points.
> >>
> >> Best Regards,
> >> Ram
> >>
> >>
> >
>


Re: Format of images in sharedmountpoint

2013-06-07 Thread Ahmad Emneina
I dont think this is supported at the moment, I know ceph requires raw
images and converts qcow's to raw when deploying. If you can, please file a
feature enhancement here:
https://issues.apache.org/jira/secure/Dashboard.jspa


On Mon, Jun 3, 2013 at 5:22 AM, Alexey Samarin  wrote:

> Hello list!
>
> By default in shared mount point is qcow2.
> How can i use raw format?
>
> All the best Alex.
>


Re: CloudStack 4.1.0 Install, but -bash: cloud-setup-databases: command not found

2013-06-07 Thread Ahmad Emneina
can you file a bug for a doc fix? we should be filing any doc issues as
soon as one runs across them:

https://issues.apache.org/jira/secure/Dashboard.jspa


On Fri, Jun 7, 2013 at 2:36 PM, wq meng  wrote:

> Yeah,
>
> I have already found it, my bad as I always modify my install script from
> the old versions.
>
> It is better to add a note in the install guide on CS4.1.0 which start
> changing many cloud to cloudstack.
>
>
> Thank you very much.
>
>
> On Sat, Jun 8, 2013 at 5:19 AM, Patrick Miller
> wrote:
>
> > try cloudstack-setup-databases
> >
> >  They have been converting from cloud- to cloudstack-
> >
> >  Hope this helps
> >
> >  Patrick
> >
> >
> > On Fri, Jun 7, 2013 at 9:40 AM, wq meng  wrote:
> >
> > > Hello,
> > >
> > > Have you installed CS4.1.0 from RPM repo,
> > >
> > > I have tried it,
> > >
> > > But there is no cloud-setup-database script.
> > >
> > > -bash: cloud-setup-databases: command not found
> > >
> > >
> > > What's the matter?
> > >
> > >
> > > Thanks
> > >
> >
>


Re: CloudStack 4.1.0 Install, but -bash: cloud-setup-databases: command not found

2013-06-07 Thread wq meng
Yeah,

I have already found it, my bad as I always modify my install script from
the old versions.

It is better to add a note in the install guide on CS4.1.0 which start
changing many cloud to cloudstack.


Thank you very much.


On Sat, Jun 8, 2013 at 5:19 AM, Patrick Miller
wrote:

> try cloudstack-setup-databases
>
>  They have been converting from cloud- to cloudstack-
>
>  Hope this helps
>
>  Patrick
>
>
> On Fri, Jun 7, 2013 at 9:40 AM, wq meng  wrote:
>
> > Hello,
> >
> > Have you installed CS4.1.0 from RPM repo,
> >
> > I have tried it,
> >
> > But there is no cloud-setup-database script.
> >
> > -bash: cloud-setup-databases: command not found
> >
> >
> > What's the matter?
> >
> >
> > Thanks
> >
>


Re: CloudStack 4.1.0 Install, but -bash: cloud-setup-databases: command not found

2013-06-07 Thread Patrick Miller
try cloudstack-setup-databases

 They have been converting from cloud- to cloudstack-

 Hope this helps

 Patrick


On Fri, Jun 7, 2013 at 9:40 AM, wq meng  wrote:

> Hello,
>
> Have you installed CS4.1.0 from RPM repo,
>
> I have tried it,
>
> But there is no cloud-setup-database script.
>
> -bash: cloud-setup-databases: command not found
>
>
> What's the matter?
>
>
> Thanks
>


Cloudmonkey Async Job Issue

2013-06-07 Thread Tim Schultheiss
Hi all,

 

I'm testing Cloudstack 4.1 on a Xen 6.1 system with a CentOS 6.4 management
server. I installed Cloudmonkey 4.1.0-0 through pip, and started testing our
deployment scripts.

I've found that Cloudmonkey hangs on asynchronous job commands- it continues
to poll the status of the job once it's completed. If I turn off asyncblock
I can confirm that the jobs are completing fine, but our scripts are built
dependent on the job return status.

 

Is anyone else seeing this?



Re: vSphere 5.1 support

2013-06-07 Thread Jake G.
I'm no expert here but I am running CS 4.1 on vsphere/vcenter 5.1u1 and it's 
working fine.

Officially, I do not think its supported as CS still uses vsphere 4.1 API calls 
I believe but I could be wrong.


On 2013/06/08, at 1:50, Gaspare A Silvestri  wrote:

> Hello everybody,
> 
> does CS 4.1 support VMware vSphere 5.1 version?
> 
> Thanks in advance,
> 
> Gaspare


Unable to adjust firewall rules on VR since upgrade

2013-06-07 Thread Francois Gaudreault

Hi,

Before posting a bug report for this, I am curious to see if anyone else 
faced that issue.


We were running on 4.0.0, and we had couple isolated networks (hence 
couple VRs) with firewall rules.  When we upgraded to 4.1.0, we were not 
able to adjust/delete firewall rules for the existing VRs.  The error in 
the log was:
WARN  [network.firewall.FirewallManagerImpl] (Job-Executor-83:job-461) 
Failed to apply firewall rules due to
com.cloud.exception.ResourceUnavailableException: Resource 
[DataCenter:1] is unreachable: Unable to apply firewall rules on router
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3431)
at 
com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyFirewallRules(VirtualNetworkApplianceManagerImpl.java:3287)
at 
com.cloud.network.element.VirtualRouterElement.applyFWRules(VirtualRouterElement.java:229)
at 
com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:544)
at 
com.cloud.network.NetworkManagerImpl.applyRules(NetworkManagerImpl.java:2344)
at 
com.cloud.network.firewall.FirewallManagerImpl.applyRules(FirewallManagerImpl.java:500)
at 
com.cloud.network.firewall.FirewallManagerImpl.applyFirewallRules(FirewallManagerImpl.java:630)
at 
com.cloud.network.firewall.FirewallManagerImpl.revokeFirewallRule(FirewallManagerImpl.java:670)
at 
com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125)
at 
com.cloud.network.firewall.FirewallManagerImpl.revokeFirewallRule(FirewallManagerImpl.java:683)
at 
org.apache.cloudstack.api.command.user.firewall.DeleteEgressFirewallRuleCmd.execute(DeleteEgressFirewallRuleCmd.java:97)

at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
at 
com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

at java.lang.Thread.run(Thread.java:679)

Thanks!

--
Francois Gaudreault
Architecte de Solution Cloud | Cloud Solutions Architect
fgaudrea...@cloudops.com
514-629-6775
- - -
CloudOps
420 rue Guy
Montréal QC  H3J 1S6
www.cloudops.com
@CloudOps_



Re: vSphere 5.1 support

2013-06-07 Thread Gaspare A Silvestri



Hello everybody,

does CS 4.1 support VMware vSphere 5.1 version?

Thanks in advance,

Gaspare 







vSphere 5.1 support

2013-06-07 Thread Gaspare A Silvestri

Hello everybody,

does CS 4.1 support VMware vSphere 5.1 version?

Thanks in advance,

Gaspare


CloudStack 4.1.0 Install, but -bash: cloud-setup-databases: command not found

2013-06-07 Thread wq meng
Hello,

Have you installed CS4.1.0 from RPM repo,

I have tried it,

But there is no cloud-setup-database script.

-bash: cloud-setup-databases: command not found


What's the matter?


Thanks


Re: system templates in 4.1

2013-06-07 Thread Valery Ciareszka
I had figured out reason of template lookup failure.
I added some logging
to server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java and recompiled
it,
Then I got following results:
2013-06-07 11:07:32,130 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer starting findSystemVMTemplate2 call
2013-06-07 11:07:32,130 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer templateType:SYSTEM
2013-06-07 11:07:32,130 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer tmplHyper type:Routing
2013-06-07 11:07:32,130 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer tmplHyper zoneId:1
2013-06-07 11:07:32,132 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer tmplt.getHypervisorType:KVM
2013-06-07 11:07:32,132 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer hType:BareMetal
2013-06-07 11:07:32,132 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer tmplt.getHypervisorType:KVM
2013-06-07 11:07:32,132 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer hType:BareMetal
2013-06-07 11:07:32,132 DEBUG [storage.dao.VMTemplateDaoImpl]
(consoleproxy-1:null) sukaslayer tmplts.size is:2

I have 2 clusters configured at my zone 1: KVM cluster  and Baremetal(not
really used, just tried to create Baremetal cluster, no hosts there).
For some reason VMTemplateDaoImpl tried to look for Baremetal
ssvm/consoleproxy templates instead of KVM.

I removed Baremetal cluster from CS, and now ssvm and cpvm are up and
running :)

On Fri, Jun 7, 2013 at 2:11 PM, Valery Ciareszka
wrote:

> I have looked into mysql log:
>
> mysql> SELECT template_host_ref.id, template_host_ref.host_id,
> template_host_ref.template_id, template_host_ref.created,
> template_host_ref.last_updated, template_host_ref.download_pct,
> template_host_ref.size, template_host_ref.physical_size,
> template_host_ref.download_state, template_host_ref.local_path,
> template_host_ref.error_str, template_host_ref.job_id,
> template_host_ref.install_path, template_host_ref.url,
> template_host_ref.is_copy, template_host_ref.destroyed FROM
> template_host_ref WHERE template_host_ref.host_id = 39  AND
> template_host_ref.template_id = 3  AND template_host_ref.destroyed = 0
>  ORDER BY RAND() LIMIT 1 \G
> *** 1. row ***
> id: 81
>host_id: 39
>template_id: 3
>created: 2013-05-14 15:07:20
>   last_updated: 2013-06-04 09:08:55
>   download_pct: 100
>   size: 2097152000
>  physical_size: 725811200
> download_state: DOWNLOADED
> local_path:
> /mnt/SecStorage/e0224990-efe1-3639-b003-9606b3c1503c/template/tmpl/1/3/dnld1781418341561836563tmp_
>  error_str: Install completed successfully at 5/14/13 3:17 PM
> job_id: 721cb827-0fdd-48da-ad02-be2a833962eb
>   install_path:
> template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2
>url:
> http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2
>is_copy: 0
>   destroyed: 0
> 1 row in set (0.00 sec)
>
>
> file template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2 is
> present on secondary storage 39:
>
> -rw-r--r-- 1 root root 725811200 Jun  6 09:50
> template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2
>
> However I still get "Can't find a template to start" messages in
> management server log.
>
> I suppose, this error is been generated at
> server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java:
>
> HypervisorType hypeType =
> _resourceMgr.getAvailableHypervisor(dataCenterId);
>
> VMTemplateVO template =
> _templateDao.findSystemVMTemplate(dataCenterId, hypeType);
> if (template == null) {
> s_logger.debug("Can't find a template to start");
> throw new CloudRuntimeException("Insufficient capacity
> exception");
> }
>
> and server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java
>
> public VMTemplateVO findSystemVMTemplate(long zoneId,
> HypervisorType hType) {
> SearchCriteria sc =
> tmpltTypeHyperSearch.create();
> sc.setParameters("templateType", Storage.TemplateType.SYSTEM);
> sc.setJoinParameters("tmplHyper",  "type", Host.Type.Routing);
> sc.setJoinParameters("tmplHyper", "zoneId", zoneId);
>
> //order by descending order of id
> List tmplts = listBy(sc, new
> Filter(VMTemplateVO.class, "id", false, null, null));
>
> for (VMTemplateVO tmplt: tmplts) {
> if (tmplt.getHypervisorType() == hType) {
> return tmplt;
> }
> }
> if (tmplts.size() > 0 && hType == HypervisorType.Any) {
> return tmplts.get(0);
> }
> return null;
> }
>
>
>
> On Thu, Jun 6, 2013 at 10:08 PM, Valery Ciareszka <
> valery.teres...@gmail.com> wrote:
>
>> Hello,
>>
>> Afte

Re: system templates in 4.1

2013-06-07 Thread Valery Ciareszka
I have looked into mysql log:

mysql> SELECT template_host_ref.id, template_host_ref.host_id,
template_host_ref.template_id, template_host_ref.created,
template_host_ref.last_updated, template_host_ref.download_pct,
template_host_ref.size, template_host_ref.physical_size,
template_host_ref.download_state, template_host_ref.local_path,
template_host_ref.error_str, template_host_ref.job_id,
template_host_ref.install_path, template_host_ref.url,
template_host_ref.is_copy, template_host_ref.destroyed FROM
template_host_ref WHERE template_host_ref.host_id = 39  AND
template_host_ref.template_id = 3  AND template_host_ref.destroyed = 0
 ORDER BY RAND() LIMIT 1 \G
*** 1. row ***
id: 81
   host_id: 39
   template_id: 3
   created: 2013-05-14 15:07:20
  last_updated: 2013-06-04 09:08:55
  download_pct: 100
  size: 2097152000
 physical_size: 725811200
download_state: DOWNLOADED
local_path:
/mnt/SecStorage/e0224990-efe1-3639-b003-9606b3c1503c/template/tmpl/1/3/dnld1781418341561836563tmp_
 error_str: Install completed successfully at 5/14/13 3:17 PM
job_id: 721cb827-0fdd-48da-ad02-be2a833962eb
  install_path: template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2
   url:
http://download.cloud.com/templates/acton/acton-systemvm-02062012.qcow2.bz2
   is_copy: 0
  destroyed: 0
1 row in set (0.00 sec)


file template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2 is
present on secondary storage 39:

-rw-r--r-- 1 root root 725811200 Jun  6 09:50
template/tmpl/1/3/75b07fdd-f23f-4481-aebb-ecbade8fd1dc.qcow2

However I still get "Can't find a template to start" messages in management
server log.

I suppose, this error is been generated at
server/src/com/cloud/storage/secondary/SecondaryStorageManagerImpl.java:

HypervisorType hypeType =
_resourceMgr.getAvailableHypervisor(dataCenterId);

VMTemplateVO template =
_templateDao.findSystemVMTemplate(dataCenterId, hypeType);
if (template == null) {
s_logger.debug("Can't find a template to start");
throw new CloudRuntimeException("Insufficient capacity
exception");
}

and server/src/com/cloud/storage/dao/VMTemplateDaoImpl.java

public VMTemplateVO findSystemVMTemplate(long zoneId,
HypervisorType hType) {
SearchCriteria sc = tmpltTypeHyperSearch.create();
sc.setParameters("templateType", Storage.TemplateType.SYSTEM);
sc.setJoinParameters("tmplHyper",  "type", Host.Type.Routing);
sc.setJoinParameters("tmplHyper", "zoneId", zoneId);

//order by descending order of id
List tmplts = listBy(sc, new
Filter(VMTemplateVO.class, "id", false, null, null));

for (VMTemplateVO tmplt: tmplts) {
if (tmplt.getHypervisorType() == hType) {
return tmplt;
}
}
if (tmplts.size() > 0 && hType == HypervisorType.Any) {
return tmplts.get(0);
}
return null;
}



On Thu, Jun 6, 2013 at 10:08 PM, Valery Ciareszka  wrote:

> Hello,
>
> After upgrading from 4.0.2 to 4.1.0 (centos 6.4, kvm), console proxy
> stopped working.
>
> I destroyed ssvm and cpvm, and now ssvm could not be created:
>
> 2013-06-05 11:35:28,940 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1
> is ready to launch secondary storage VM
> 2013-06-05 11:35:28,965 INFO
>  [cloud.secstorage.PremiumSecondaryStorageManagerImpl] (secstorage-1:null)
> No running secondary storage vms found in datacenter id=1, starting one
> 2013-06-05 11:35:28,990 INFO
>  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) No
> stopped secondary storage vm is available, need to allocate a new secondary
> storage vm
> 2013-06-05 11:35:28,993 DEBUG
> [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Assign
> secondary storage vm from a newly started instance for request from data
> center : 1
> 2013-06-05 11:35:29,155 DEBUG [cloud.network.NetworkManagerImpl]
> (secstorage-1:null) Found existing network configuration for offering
> [Network Offering [1-Public-System-Public-Network]: Ntwk[200|Public|1]
> 2013-06-05 11:35:29,156 DEBUG [cloud.network.NetworkManagerImpl]
> (secstorage-1:null) Releasing lock for Acct[1-system]
> 2013-06-05 11:35:29,162 DEBUG [cloud.network.NetworkManagerImpl]
> (secstorage-1:null) Found existing network configuration for offering
> [Network Offering [3-Control-System-Control-Network]: Ntwk[202|Control|3]
> 2013-06-05 11:35:29,162 DEBUG [cloud.network.NetworkManagerImpl]
> (secstorage-1:null) Releasing lock for Acct[1-system]
> 2013-06-05 11:35:29,167 DEBUG [cloud.network.NetworkManagerImpl]
> (secstorage-1:null) Found existing network configuration for offering
> [Network Offering [2-Management-System-Management-Network]:
> Ntwk[201|Management|2]
> 2013-06-05 11:35:29,167 DEBUG [cloud.network.

Re: Hello (Upgrade to 4.1)

2013-06-07 Thread Ove Ewerlid

We have done all ACS4.1 testing using OEL64 (which effectively is RHEL64).
/Ove

On 06/07/2013 05:40 AM, Kirk Kosinski wrote:

The install guide [1] says "6.3+" so I would assume 6.4 would work.
Hopefully someone else on the list has tried it and can confirm.

Operating system:
Preferred: CentOS/RHEL 6.3+ or Ubuntu 12.04(.1)

Best regards,
Kirk

[1]
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html-single/Installation_Guide/index.html#minimum-system-requirements

On 06/06/2013 06:47 PM, Maurice Lawler wrote:

Greetings,

I am utilizing KVM / CentOS 6.3. / CS 4.0.2 Upon issuing yum update, I
am getting a slue of updates for the OS it's self. Previously I was
informed that CentOS 6.4 was NOT supported, so I have backed off on
updated my OS due to this fact.

I have taken a paste bin of what my system is attempting to update:
http://pastebin.com/3NtHrUVd

Is it okay if I proceed with this upgrade, then I notice the cloud
upgrade: http://pastebin.com/b2Th18SB seems very easy/small.

Please tell me if I can proceed with both, without issues on my VM's. It
seems easy, but I just like to double check.

Appreciate your time!

- Maurice



--
Ove Everlid
System Administrator / Architect / SDN & Linux hacker
Mobile: +46706662363
Office: +4618656913 (note EMEA Time Zone)