好像cs4.2.1发布了哦

2014-01-08 Thread 陈珂
最感兴趣的是这个功能
Acquiring IP Without Enabling SourceNAT Service:
The SourceNAT dependency for acquiring IPs has been removed. Therefore, an IP 
can now be
acquired and LB rules can be created on it without enabling the SourceNAT 
service in a network.
In both shared and isolated networks, DNS, DHCP and LB services provided by 
CloudStack is a
valid service combination. In this case gateway is defined

2014-01-09 



陈珂 


Re: Change host password

2014-01-08 Thread Fernando Guillén Camba

Hi.
Maybe this mail helps you:
http://mail-archives.apache.org/mod_mbox/cloudstack-users/201309.mbox/%3C522753C9.8030400%40usc.es%3E




El 07/01/14 06:21, Kirk Kosinski escribió:

Hi, the API command only supports XenServer hosts.  For KVM and vSphere
hosts you need to modify the database directly.  It is partially
documented and this bug has the needed details:

https://issues.apache.org/jira/browse/CLOUDSTACK-3990

Best regards,
Kirk

On 01/06/2014 07:15 AM, Carlos Miranda Molina (Mstaaravin) wrote:

Hello!
Someone know how change host password in Cloudstack..?

With cloudmonkey does not work


update hostpassword clusterid=de88338c-9ed4-4e84-9659-c6ef477de40b

hostid=106e381f-7d21-44a3-b897-b8b1a7474133 username=root
password='PASSWORD'
: This operation is not supported for this hypervisor type

(i'm using KVM as a hypervisor)


I find in table host_details

mysql select * from host_details where host_id=73;
++-++--+
| id | host_id | name   |
value|
++-++--+
| 225405 |  73 | com.cloud.network.Networks.RouterPrivateIpStrategy |
HostLocal|
| 225403 |  73 | Host.OS|
CentOS   |
| 225402 |  73 | Host.OS.Kernel.Version |
2.6.32-431.1.2.0.1.el6.x86_64|
| 225404 |  73 | Host.OS.Version|
6.5  |
| 225411 |  73 | password   |
w4Ou/etXfInGh+1T3mVj/W+fE4QG5Ock |
| 225408 |  73 | username   |
root |
++-++--+
6 rows in set (0.00 sec)

Counting password characters i think is encrypted with MD5 but is not.

Can anyone help me please...?

Regards




--
Fernando Guillén Camba
Unidade de Xestión de Infraestruturas TIC
Centro de Investigación en Tecnoloxías da Información (CITIUS)
Teléfono: 8818 16409
Correo: citius@usc.es



Re: Research areas in cloudstack

2014-01-08 Thread manas biswal
Hi Jitendra

why dont you go for Auto scaling in Cloudstack. Both horizontal and
vertical scaling.
Currently scale-out(horizontal scale) is supported by third party
tools like Scalr .

We are also doing some RD in these areas.



On Tue, Jan 7, 2014 at 2:23 PM, sebgoa run...@gmail.com wrote:

 On Jan 6, 2014, at 6:42 PM, Ignazio Cassano ignaziocass...@gmail.com wrote:

 Hi all, my suggestion concerns Desktop as a Service (DaaS) based on linux
 kvm and Spice.
 Spice protocol is opensource and could be included to expand cloudstack
 features.
 Ignazio

 That could be very interesting




 2014/1/6 manas biswal manas.biswa...@gmail.com

 virtual disk inter- operability , may be another area, means study
 about different disk formats that CloudStack is supporting.
 like qucow, vhd etc.

 On Mon, Jan 6, 2014 at 9:14 PM, sebgoa run...@gmail.com wrote:

 On Jan 6, 2014, at 5:33 AM, jitendra shelar 
 jitendra.shelar...@gmail.com wrote:

 Hi All,

 I am pursuing with my MS at BITs, Pilani, India.
 I am planning of doing my final sem project in cloudstack.

 Can somebody please suggest me some research areas in cloudstack?


 Hi Jitendra, it depends what you mean by 'research', but there are a lot
 of interesting projects to do IMHO:

 -Integration testing: Develop the Marvin framework and write tests to
 continuously check the support for CloudStack clients (libcloud, AWS,
 jclouds etc) this would require learning jenkins, understanding continuous
 integration pipeline and finding ways to tests these clients automatically.

 -Investigating Xen GPU passthrough and setting up a demo where Xen
 hypervisors are tagged specifically for VM that need access to GPUs, run
 CUDA code on them…

 -Investigate Mesos framework and develop deployments scripts to
 automatically deploy Mesos on a CloudStack infrastructure, the end goal
 being to demo running mixed workloads (MPI, hadoop, spark) on a virtualized
 infrastructure in cloudstack

 -Docker integration/use, a few of us have been talking about this and
 you would be likely to get some help from the community.

 -Review of configuration management systems (chef, puppet, ansible,
 saltstack...) develop recipes for deploying cloudstack for all systems
 (some already exist), from source and from packages. Include management
 server and hypervisor setup. Ideally had a wrapper to link to the
 hypervisor and the mgt server together automatically using Marvin.

 -Investigate PaaS solutions and their integration with CloudStack.
 Software like cloudify, openshift, cloudfoundry, appscale…some of it is
 already done but a thorough analysis of pros and cons as well as code
 writing to finish the integration of some would be great.

 You can also check out JIRA:
 https://issues.apache.org/jira/browse/CLOUDSTACK , browse through the
 long list of 'bugs' and pick what seems interesting to you.

 This all depends of course on your skills and interest, are you more of
 a java developer or a sys admin ? Are you interested in integration with
 third party software or core java development ?

 Cheers,

 -sebastien

 Thanks,
 Jitendra




 --
 Thanks and Regards
 Manas Ranjan Biswal
 Research Scientist,
 OpenTechnology Center,
 NIC,Chennai
 08015698191,9776349149
 manas.bis...@nic.in





-- 
Thanks and Regards
Manas Ranjan Biswal
Research Scientist,
OpenTechnology Center,
NIC,Chennai
08015698191,9776349149
manas.bis...@nic.in


Re: suspend/pause cloudstack VM (kvm hypervisor)

2014-01-08 Thread Nevo
So I was probably wrong or making some confusion here. I could indeed suspend a 
VM from the command line via virsh save  (not virsh suspend) and restore its 
state. It's just cloudstack default admin UI doesn't have an option to do that.

Check out openstack: https://wiki.openstack.org/wiki/Kvm-Pause-Suspend


Nevo

On Jan 7, 2014, at 10:22 PM, Nux! n...@li.nux.ro wrote:

 On 07.01.2014 10:10, Nevo wrote:
 
   Probably the real question is whether kvm could/will support vm snapshot?
 
 I'm sure it will support it. We just need to push for it. :)
 
 -- 
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro



awsapi s3 Implementation not functioning on 4.2.0 installation on centos 6.3

2014-01-08 Thread Alok Menon
Hi ,

I have installed cloudstack-manangent server on centos 6.3 and I have added
couple of hosts . Everything is working fine as expected apart from
enabling Cloudstack AWS s3 implementation.

Request you to kindly help me fix the issue. Please go through the issue
details below.

*Steps completed to enable awsapi S3 implementation *
==
1) Below settings have been enabled Using Cloudstack_management UI
enable.s3.api enable Amazon S3 API on CloudStack true
s3.rrs.enabled enable s3 reduced redundancy storage true
2 Modified cloud-bridge.properties to storage.root to a valid directory.
3) restarted Cloudstack_management service.
4) Executed below command and received User registration is successful
Message,
cloudstack-aws-api-register
--apikey=1cn1BBE9aaA1FSHij3ee6YS4orlsid-EfXaWBXMtX-BsqjtQwEj8UDANzzdQobBrGjTmKnny2sQF_GYRMNBDSA
--secretkey=-guBDlSM2OC18wAK_Kj5WGnlq3P1NluChq52jBDcSudOKQ637fh17imMHETkQC5ZIjtaEKuxajos3yADGLIVwA
--cert=cert.pem --


*Problem Statement  *=
Tried to access : http://localhost:7080/awsapi/rest/AmazonS3
its resulting in below exception and got 500 response The endpoint
reference (EPR) for the Operation not found is /awsapi/services/AmazonEC2/
and the WSA Action = null

SEVERE: Allocate exception for servlet CloudBridgeS3Servlet
javax.servlet.ServletException: Error initializing awsapi: null
at
com.cloud.bridge.service.S3RestServlet.init(S3RestServlet.java:128)
at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
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:701)
Jan 8, 2014 6:39:00 PM org.apache.axis2.engine.AxisEngine receive
SEVERE: The endpoint reference (EPR) for the Operation not found is
/awsapi/services/AmazonEC2/ and the WSA Action = null
org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
not found is /awsapi/services/AmazonEC2/ and the WSA Action = null
at
org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at
org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
at
org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
at
org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:825)
at
org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:271)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


*Observation: *

I am seeing below  exception in catalina.out file during
cloudstack-management server start-up

2014 6:11:00 PM org.apache.axis2.deployment.ModuleDeployer deploy
SEVERE: The addressing-1.5.4.mar module, which is not valid, caused The
module.xml file cannot be found for the module:
/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/modules/addressing-1.5.4.mar
org.apache.axis2.deployment.DeploymentException: The module.xml file cannot
be found for the module:
/usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/modules/addressing-1.5.4.mar
/module
at
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:964)
at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:502)
at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
at

Re: limit setting firewall

2014-01-08 Thread Hollman Enciso R.
On Tue, Jan 7, 2014 at 10:41 PM, Dave Hoffman david.hoff...@appcore.comwrote:

 You can edit what each user type can view by adding/removing options from

 /usr/share/cloudstack-management/webapps/client/scripts/cloudStack.js

 Default:

   else { //normal user
 return [dashboard, instances, storage, network,
 templates, accounts, events];

 Without Network:

   else { //normal user
 return [dashboard, instances, storage, templates,
 accounts, events];

 More information on UI customization:
 http://www.slideshare.net/cloudstack/cloudstack-ui-customization


Dave.

Thanks a lot for the reference and for your help.



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: issue creating a template with some service offering

2014-01-08 Thread Daan Hoogland
On Wed, Jan 8, 2014 at 3:29 PM, Hollman Enciso R.
hollman.enc...@gmail.com wrote:
 x3 has 3 cores 3gb of ram, 3.00 GHz


Do your hypervisors support this?


Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
On Wed, Jan 8, 2014 at 9:47 AM, Daan Hoogland daan.hoogl...@gmail.comwrote:


 Do your hypervisors support this?


Yes.

I made a test creating a new VM directly on the hypervisor with the same
resources (x3) and work ok


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: issue creating a template with some service offering

2014-01-08 Thread Erik Weber
On Wed, Jan 8, 2014 at 3:47 PM, Daan Hoogland daan.hoogl...@gmail.comwrote:

 On Wed, Jan 8, 2014 at 3:29 PM, Hollman Enciso R.
 hollman.enc...@gmail.com wrote:
  x3 has 3 cores 3gb of ram, 3.00 GHz


 Do your hypervisors support this?



As Daan said, check that your hypervisors report the CPUs are 3.00GHz or
more and not something like 2.99GHz.

I had a similar issue where 2.0GHz CPUs actually reported with a speed of
1.99GHz and subsequently my 2GHz offerings didn't work.

Regards,
Erik


Add a node to an existing clvm cluster

2014-01-08 Thread Bjoern Teipel
I'm trying to join a new node into an existing 5 node CLVM cluster but I
just can't get it to work.

When ever I add a new node (I put into the cluster.conf and reloaded with
cman_tool version -r -S)  I end up with situations like the new node wants
to gain the quorum and starts to fence the existing pool master and appears
to generate some sort of split cluster. Does it work at all? corosync and
dlm do not know about the recently added node, at least when I look in the
current members list  ?

New Node
==

Node  Sts   Inc   Joined   Name
   1   X  0hv-b1clcy1
   2   X  0hv-b1flcy1
   3   X  0hv-b1fmcy1
   4   X  0hv-b1dmcy1
   5   X  0hv-b1fkcy1
   6   M 80   2014-01-07 21:37:42  hv-b1dkcy1 --- host added

Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] The network
interface [10.14.18.77] is now up.
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [QUORUM] Using quorum
provider quorum_cman
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync cluster quorum service v0.1
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [CMAN  ] CMAN 3.0.12.1 (built
Sep  3 2013 09:17:34) started
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync CMAN membership service 2.90
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: openais checkpoint service B.01.01
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync extended virtual synchrony service
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync configuration service
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync cluster closed process group service v1.01
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync cluster config database access v1.01
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync profile loading service
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [QUORUM] Using quorum
provider quorum_cman
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [SERV  ] Service engine
loaded: corosync cluster quorum service v0.1
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [MAIN  ] Compatibility mode
set to whitetank.  Using V1 and V2 of the synchronization engine.
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.65}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.67}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.68}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.70}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.66}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] adding new UDPU
member {10.14.18.77}
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [TOTEM ] A processor joined
or left the membership and a new membership was formed.
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [CMAN  ] quorum regained,
resuming activity
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [QUORUM] This node is within
the primary component and will provide service.
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [QUORUM] Members[1]: 6
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [QUORUM] Members[1]: 6
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [CPG   ] chosen downlist:
sender r(0) ip(10.14.18.77) ; members(old:0 left:0)
Jan  7 21:37:42 hv-b1dkcy1 corosync[12564]:   [MAIN  ] Completed service
synchronization, ready to provide service.
Jan  7 21:37:46 hv-b1dkcy1 fenced[12620]: fenced 3.0.12.1 started
Jan  7 21:37:46 hv-b1dkcy1 dlm_controld[12643]: dlm_controld 3.0.12.1
started
Jan  7 21:37:47 hv-b1dkcy1 gfs_controld[12695]: gfs_controld 3.0.12.1
started
Jan  7 21:37:54 hv-b1dkcy1 fenced[12620]: fencing node hv-b1clcy1

sudo -i corosync-objctl  |grep member

totem.interface.member.memberaddr=hv-b1clcy1
totem.interface.member.memberaddr=hv-b1fmcy1
totem.interface.member.memberaddr=hv-b1dmcy1
totem.interface.member.memberaddr=hv-b1fkcy1
totem.interface.member.memberaddr=hv-b1flcy1
totem.interface.member.memberaddr=hv-b1dkcy1
runtime.totem.pg.mrp.srp.members.6.ip=r(0) ip(10.14.18.77)
runtime.totem.pg.mrp.srp.members.6.join_count=1
runtime.totem.pg.mrp.srp.members.6.status=joined

Existing Node
=

member 6 has not been added to the quorum list :

Jan  7 21:36:28 hv-b1clcy1 corosync[7769]:   [QUORUM] Members[4]: 1 2 3 5
Jan  7 21:37:54 hv-b1clcy1 corosync[7769]:   [TOTEM ] A processor joined or
left the membership and a new membership was formed.
Jan  7 21:37:54 hv-b1clcy1 corosync[7769]:   [CPG   ] chosen downlist:
sender r(0) ip(10.14.18.65) ; members(old:4 left:0)

Node  Sts   Inc   Joined   Name
   1   M   4468   2013-12-10 14:33:27  hv-b1clcy1
   2   M 

Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
On Wed, Jan 8, 2014 at 10:05 AM, Erik Weber terbol...@gmail.com wrote:

 As Daan said, check that your hypervisors report the CPUs are 3.00GHz or
 more and not something like 2.99GHz.

 I had a similar issue where 2.0GHz CPUs actually reported with a speed of
 1.99GHz and subsequently my 2GHz offerings didn't work.

 Regards,
 Eri


yeap.

that's the problem.

my hypervisor it's 2.4GHZ and i made a service offering with 3GHz.

thanks


-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: awsapi s3 Implementation not functioning on 4.2.0 installation on centos 6.3

2014-01-08 Thread Alok Menon
Hi All,

I  tried to reinstall cloudstack-management by issuing yum reinstall
 cloudstack-management and yum reinstall  cloudstack-awsapi  .
Even after doing this I am facing the same issue.

Any help will be greatly appreciated .

Thanks

Alok Menon


On Wed, Jan 8, 2014 at 7:36 PM, Alok Menon alok.me...@julysystems.comwrote:

 Hi ,

 I have installed cloudstack-manangent server on centos 6.3 and I have
 added couple of hosts . Everything is working fine as expected apart from
 enabling Cloudstack AWS s3 implementation.

 Request you to kindly help me fix the issue. Please go through the issue
 details below.

 *Steps completed to enable awsapi S3 implementation *
 ==
 1) Below settings have been enabled Using Cloudstack_management UI
 enable.s3.api enable Amazon S3 API on CloudStack true
 s3.rrs.enabled enable s3 reduced redundancy storage true
 2 Modified cloud-bridge.properties to storage.root to a valid directory.
 3) restarted Cloudstack_management service.
 4) Executed below command and received User registration is successful
 Message,
 cloudstack-aws-api-register
 --apikey=1cn1BBE9aaA1FSHij3ee6YS4orlsid-EfXaWBXMtX-BsqjtQwEj8UDANzzdQobBrGjTmKnny2sQF_GYRMNBDSA
 --secretkey=-guBDlSM2OC18wAK_Kj5WGnlq3P1NluChq52jBDcSudOKQ637fh17imMHETkQC5ZIjtaEKuxajos3yADGLIVwA
 --cert=cert.pem --


 *Problem Statement  *=
 Tried to access : http://localhost:7080/awsapi/rest/AmazonS3
 its resulting in below exception and got 500 response The endpoint
 reference (EPR) for the Operation not found is /awsapi/services/AmazonEC2/
 and the WSA Action = null

 SEVERE: Allocate exception for servlet CloudBridgeS3Servlet
 javax.servlet.ServletException: Error initializing awsapi: null
 at
 com.cloud.bridge.service.S3RestServlet.init(S3RestServlet.java:128)
 at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
 at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
 at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
 at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
 at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
 at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
 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:701)
 Jan 8, 2014 6:39:00 PM org.apache.axis2.engine.AxisEngine receive
 SEVERE: The endpoint reference (EPR) for the Operation not found is
 /awsapi/services/AmazonEC2/ and the WSA Action = null
 org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
 not found is /awsapi/services/AmazonEC2/ and the WSA Action = null
 at
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
 at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
 at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
 at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
 at
 org.apache.axis2.transport.http.AxisServlet$RestRequestProcessor.processURLRequest(AxisServlet.java:825)
 at
 org.apache.axis2.transport.http.AxisServlet.doGet(AxisServlet.java:271)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)


 *Observation: *
 
 I am seeing below  exception in catalina.out file during
 cloudstack-management server start-up

 2014 6:11:00 PM org.apache.axis2.deployment.ModuleDeployer deploy
 SEVERE: The addressing-1.5.4.mar module, which is not valid, caused The
 module.xml file cannot be found for the module:
 /usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/modules/addressing-1.5.4.mar
 org.apache.axis2.deployment.DeploymentException: The module.xml file
 cannot be found for the module:
 /usr/share/cloudstack-management/webapps7080/awsapi/WEB-INF/modules/addressing-1.5.4.mar
 

Re: awsapi s3 Implementation not functioning on 4.2.0 installation on centos 6.3

2014-01-08 Thread sebgoa

On Jan 8, 2014, at 4:23 PM, Alok Menon alok.me...@julysystems.com wrote:

 Hi All,
 
 I  tried to reinstall cloudstack-management by issuing yum reinstall
 cloudstack-management and yum reinstall  cloudstack-awsapi  .
 Even after doing this I am facing the same issue.
 
 Any help will be greatly appreciated .
 
 Thanks
 
 Alok Menon

Alok, 

The short answer is that you should not use this. This was a tech preview back 
in pre 4.0 and has not seen any development since then.
This S3 interface is backed by a regular NFS share, so you don't get any 
benefit from a true scalable object store. 
If you want a real S3 implementation you should look at riakCS from basho, you 
can install it easily and run it in combination with CloudStack.
riakCs will give you S3 and you will be able to use it for secondary storage as 
well as normal object store use outside of CloudStack.

However the EC2 interface works well. A few of us are planning a refactor of 
this EC2 interface, and I think the long-term plan is to remove the awsapi 
package from CloudStack. EC2 and S3 will be enabled through third party 
packages (this is not done yet and has not been voted on).

Hope that makes sense,

-Sebastien

 
 
 On Wed, Jan 8, 2014 at 7:36 PM, Alok Menon alok.me...@julysystems.comwrote:
 
 Hi ,
 
 I have installed cloudstack-manangent server on centos 6.3 and I have
 added couple of hosts . Everything is working fine as expected apart from
 enabling Cloudstack AWS s3 implementation.
 
 Request you to kindly help me fix the issue. Please go through the issue
 details below.
 
 *Steps completed to enable awsapi S3 implementation *
 ==
 1) Below settings have been enabled Using Cloudstack_management UI
 enable.s3.api enable Amazon S3 API on CloudStack true
 s3.rrs.enabled enable s3 reduced redundancy storage true
 2 Modified cloud-bridge.properties to storage.root to a valid directory.
 3) restarted Cloudstack_management service.
 4) Executed below command and received User registration is successful
 Message,
 cloudstack-aws-api-register
 --apikey=1cn1BBE9aaA1FSHij3ee6YS4orlsid-EfXaWBXMtX-BsqjtQwEj8UDANzzdQobBrGjTmKnny2sQF_GYRMNBDSA
 --secretkey=-guBDlSM2OC18wAK_Kj5WGnlq3P1NluChq52jBDcSudOKQ637fh17imMHETkQC5ZIjtaEKuxajos3yADGLIVwA
 --cert=cert.pem --
 
 
 *Problem Statement  *=
 Tried to access : http://localhost:7080/awsapi/rest/AmazonS3
 its resulting in below exception and got 500 response The endpoint
 reference (EPR) for the Operation not found is /awsapi/services/AmazonEC2/
 and the WSA Action = null
 
 SEVERE: Allocate exception for servlet CloudBridgeS3Servlet
 javax.servlet.ServletException: Error initializing awsapi: null
at
 com.cloud.bridge.service.S3RestServlet.init(S3RestServlet.java:128)
at
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
at
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
at
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
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:701)
 Jan 8, 2014 6:39:00 PM org.apache.axis2.engine.AxisEngine receive
 SEVERE: The endpoint reference (EPR) for the Operation not found is
 /awsapi/services/AmazonEC2/ and the WSA Action = null
 org.apache.axis2.AxisFault: The endpoint reference (EPR) for the Operation
 not found is /awsapi/services/AmazonEC2/ and the WSA Action = null
at
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:160)
at
 org.apache.axis2.transport.http.util.RESTUtil.invokeAxisEngine(RESTUtil.java:135)
at
 org.apache.axis2.transport.http.util.RESTUtil.processURLRequest(RESTUtil.java:130)
at
 

Re: issue creating a template with some service offering

2014-01-08 Thread Shanker Balan
Comments inline.

On 08-Jan-2014, at 8:40 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 On Wed, Jan 8, 2014 at 10:05 AM, Erik Weber terbol...@gmail.com wrote:

 As Daan said, check that your hypervisors report the CPUs are 3.00GHz or
 more and not something like 2.99GHz.

 I had a similar issue where 2.0GHz CPUs actually reported with a speed of
 1.99GHz and subsequently my 2GHz offerings didn't work.

 Regards,
 Eri


 yeap.

 that's the problem.

 my hypervisor it's 2.4GHZ and i made a service offering with 3GHz.

Specifying the CPU speed with CPU cap becomes problematic if you have
different clusters with different speed ratings.

Am not sure whats the right way to deal with this issue but I leave
cpu cap unset while creating compute service offerings.

Hth.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://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 is a registered trademark.


Some questinos about Accounts, Users Domains and Projects

2014-01-08 Thread Hollman Enciso R.
Hello, sorry for all my questions today but I have been several weeks working
with CloudStack.Learning and doing tests and there are some things I have
not managed to find in the documentation.

I wanna know some things about the delegation and control about resources
between accounts, users, domains and projects. I read in
http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/Admin_Guide/accounts-users-domains.htmland
really i just wanna kwnow some things

1. If i create one doain-admin account. this account can i delegate to
create normal users ?

2. a domain account can limit some resources to the normal users in the
domain or in the project ?

3. a project admin can limit some resources to the normal users in the
project ?

The idea it's understand the diferences and limitations.

pd: excuse e my terrible english :P

-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Re: awsapi s3 Implementation not functioning on 4.2.0 installation on centos 6.3

2014-01-08 Thread Alok Menon
Thank you very much Sebastien . I will  evaluate  riakCS.

Thanks

Alok Menon


On Wed, Jan 8, 2014 at 9:00 PM, sebgoa run...@gmail.com wrote:


 On Jan 8, 2014, at 4:23 PM, Alok Menon alok.me...@julysystems.com wrote:

  Hi All,
 
  I  tried to reinstall cloudstack-management by issuing yum reinstall
  cloudstack-management and yum reinstall  cloudstack-awsapi  .
  Even after doing this I am facing the same issue.
 
  Any help will be greatly appreciated .
 
  Thanks
 
  Alok Menon

 Alok,

 The short answer is that you should not use this. This was a tech preview
 back in pre 4.0 and has not seen any development since then.
 This S3 interface is backed by a regular NFS share, so you don't get any
 benefit from a true scalable object store.
 If you want a real S3 implementation you should look at riakCS from basho,
 you can install it easily and run it in combination with CloudStack.
 riakCs will give you S3 and you will be able to use it for secondary
 storage as well as normal object store use outside of CloudStack.

 However the EC2 interface works well. A few of us are planning a refactor
 of this EC2 interface, and I think the long-term plan is to remove the
 awsapi package from CloudStack. EC2 and S3 will be enabled through third
 party packages (this is not done yet and has not been voted on).

 Hope that makes sense,

 -Sebastien

 
 
  On Wed, Jan 8, 2014 at 7:36 PM, Alok Menon alok.me...@julysystems.com
 wrote:
 
  Hi ,
 
  I have installed cloudstack-manangent server on centos 6.3 and I have
  added couple of hosts . Everything is working fine as expected apart
 from
  enabling Cloudstack AWS s3 implementation.
 
  Request you to kindly help me fix the issue. Please go through the issue
  details below.
 
  *Steps completed to enable awsapi S3 implementation *
  ==
  1) Below settings have been enabled Using Cloudstack_management UI
  enable.s3.api enable Amazon S3 API on CloudStack true
  s3.rrs.enabled enable s3 reduced redundancy storage true
  2 Modified cloud-bridge.properties to storage.root to a valid directory.
  3) restarted Cloudstack_management service.
  4) Executed below command and received User registration is successful
  Message,
  cloudstack-aws-api-register
 
 --apikey=1cn1BBE9aaA1FSHij3ee6YS4orlsid-EfXaWBXMtX-BsqjtQwEj8UDANzzdQobBrGjTmKnny2sQF_GYRMNBDSA
 
 --secretkey=-guBDlSM2OC18wAK_Kj5WGnlq3P1NluChq52jBDcSudOKQ637fh17imMHETkQC5ZIjtaEKuxajos3yADGLIVwA
  --cert=cert.pem --
 
 
  *Problem Statement  *=
  Tried to access : http://localhost:7080/awsapi/rest/AmazonS3
  its resulting in below exception and got 500 response The endpoint
  reference (EPR) for the Operation not found is
 /awsapi/services/AmazonEC2/
  and the WSA Action = null
 
  SEVERE: Allocate exception for servlet CloudBridgeS3Servlet
  javax.servlet.ServletException: Error initializing awsapi: null
 at
  com.cloud.bridge.service.S3RestServlet.init(S3RestServlet.java:128)
 at
 
 org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
 at
 
 org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:809)
 at
 
 org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
 at
 
 org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 at
 
 org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
 at
 
 org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at
 
 org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
 at
 
 org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at
 
 org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 at
 
 org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
 at
 
 org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
 at
 
 org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274)
 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:701)
  Jan 8, 2014 6:39:00 PM org.apache.axis2.engine.AxisEngine receive
  SEVERE: The endpoint reference (EPR) for the Operation not found is
  /awsapi/services/AmazonEC2/ and the WSA Action = null
  org.apache.axis2.AxisFault: The endpoint reference (EPR) for the
 Operation
  not found is /awsapi/services/AmazonEC2/ and the WSA Action = null
 at
 
 org.apache.axis2.engine.DispatchPhase.checkPostConditions(DispatchPhase.java:89)
 at org.apache.axis2.engine.Phase.invoke(Phase.java:334)
 at org.apache.axis2.engine.AxisEngine.invoke(AxisEngine.java:254)
 at
 

Re: issue creating a template with some service offering

2014-01-08 Thread Dave Hoffman
It looks like your host is in an avoid set and cannot be used for 
deploying new vms.


1.
   
2014-01-0809:10:42,798DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Listing
   clusters in order of aggregate capacity, that have(atleast one host
   with)enough CPU and RAM capacity under this Zone:1
2.
   
2014-01-0809:10:42,801DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Removing
   from the clusterId list these clusters from avoid set:[1]
3.
   
2014-01-0809:10:42,804DEBUG[cloud.deploy.FirstFitPlanner](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])No
   clusters found after removing disabled clusters and clusters in
   avoid list, returning.
4.
   
2014-01-0809:10:42,808DEBUG[cloud.vm.UserVmManagerImpl](Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Destroying
   vm VM[User|userver]as it failed to create on Host with Id:null


This typically happens when Cloudstack has an issue deploying on that 
host or cluster.  It will mark it as avoid and move to the next 
host/cluster if available.  I would look further up in your log to see 
if there was another issue prior to this one.


Can you still deploy vms with the x2 service offering? x4?  Can you 
deploy multiple vms with the x2 in the environment?


What version of XenServer are you runnings?  Try running 
xe-toolstack-restart on the host/pool master to force a refresh from 
Cloudstack.  If that doesn't work you may have to restart the host or 
remove the host from Cloudstack and add it back into Cloudstack.


Also check your storage on the Host and/or SAN to make sure that is 
still communicating correctly.



On 01/08/2014 08:29 AM, Hollman Enciso R. wrote:

Hello all.

I created 3 types of service.
x2, x3 and x4

x2 has 2 cores, 2GB of ram, 2.00 GHz
x3 has 3 cores 3gb of ram, 3.00 GHz
...

When I create an instance with x2 works ok, but when I deply a instance with

to x2 I get some errors. this is the general log

http://paste.algolibre.com/105

Reading the log I identify 3 errors.

1. SecurityGroup Service is not supported in the network id = 204
I made a select from table networks with id = 204 and it is this:
http://paste.algolibre.com/106

2. Could not find suitable Deployment Destination for this VM under any
clusters, returning.
I do not know why

3. Listing clusters in order of aggregate capacity, That have (atleast one
host with) enough CPU and RAM capacity Under This Zone 1
says that I have no resources in the area but If I have available

I appreciate any help

thanks





Re: issue creating a template with some service offering

2014-01-08 Thread Hollman Enciso R.
Dave.

Thanks a lot.

the problem was that x3, x4 ... was created with 3 and 4 GHz. but my
hypervisor just support 2.4 GHz

Problem solved


On Wed, Jan 8, 2014 at 10:43 AM, Dave Hoffman david.hoff...@appcore.comwrote:

 It looks like your host is in an avoid set and cannot be used for
 deploying new vms.

 1.
2014-01-0809:10:42,798DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Listing
clusters in order of aggregate capacity, that have(atleast one host
with)enough CPU and RAM capacity under this Zone:1
 2.
2014-01-0809:10:42,801DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Removing
from the clusterId list these clusters from avoid set:[1]
 3.
2014-01-0809:10:42,804DEBUG[cloud.deploy.FirstFitPlanner](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])No
clusters found after removing disabled clusters and clusters in
avoid list, returning.
 4.
2014-01-0809:10:42,808DEBUG[cloud.vm.UserVmManagerImpl](
 Job-Executor-5:job-43=[84f54047-8d50-47c0-b251-bb2798378806])Destroying
vm VM[User|userver]as it failed to create on Host with Id:null


 This typically happens when Cloudstack has an issue deploying on that host
 or cluster.  It will mark it as avoid and move to the next host/cluster if
 available.  I would look further up in your log to see if there was another
 issue prior to this one.

 Can you still deploy vms with the x2 service offering? x4?  Can you deploy
 multiple vms with the x2 in the environment?

 What version of XenServer are you runnings?  Try running
 xe-toolstack-restart on the host/pool master to force a refresh from
 Cloudstack.  If that doesn't work you may have to restart the host or
 remove the host from Cloudstack and add it back into Cloudstack.

 Also check your storage on the Host and/or SAN to make sure that is still
 communicating correctly.



 On 01/08/2014 08:29 AM, Hollman Enciso R. wrote:

 Hello all.

 I created 3 types of service.
 x2, x3 and x4

 x2 has 2 cores, 2GB of ram, 2.00 GHz
 x3 has 3 cores 3gb of ram, 3.00 GHz
 ...

 When I create an instance with x2 works ok, but when I deply a instance
 with

 to x2 I get some errors. this is the general log

 http://paste.algolibre.com/105

 Reading the log I identify 3 errors.

 1. SecurityGroup Service is not supported in the network id = 204
 I made a select from table networks with id = 204 and it is this:
 http://paste.algolibre.com/106

 2. Could not find suitable Deployment Destination for this VM under any
 clusters, returning.
 I do not know why

 3. Listing clusters in order of aggregate capacity, That have (atleast one
 host with) enough CPU and RAM capacity Under This Zone 1
 says that I have no resources in the area but If I have available

 I appreciate any help

 thanks





-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Steven Liang
Hi All,

I have a question.
How can we find or prevent customers using CS for spam and Brute-force
attack purpose?
If they do, how can we know which vms do bad things.
Thank you.

Steven


Re: how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Sebastien Goasguen

On Jan 8, 2014, at 3:20 PM, Steven Liang stevenli...@yesup.com wrote:

 Hi All,
 
 I have a question.
 How can we find or prevent customers using CS for spam and Brute-force
 attack purpose?
 If they do, how can we know which vms do bad things.
 Thank you.
 
 Steven
basic or advanced zone ?




Re: how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Steven Liang

  
  
basic zone.
  
  On 01/08/2014 04:02 PM, Sebastien Goasguen wrote:


  
On Jan 8, 2014, at 3:20 PM, Steven Liang stevenli...@yesup.com wrote:


  
Hi All,

I have a question.
How can we find or prevent customers using CS for spam and Brute-force
attack purpose?
If they do, how can we know which vms do bad things.
Thank you.

Steven

  
  basic or advanced zone ?






-- 
  Steven Liang
Linux System Admin
Phone: 1.416.499.8009 ext. 2865
Cell Phone: 1.647.718.5292
Email: stevenli...@yesup.com
www.yesup.com | account.yesup.com
  
  
  



problem converting a snapshoot to a template

2014-01-08 Thread Hollman Enciso R.
Hello, i have a volume and to this volume i tooke a snapshoot. then i try
to conver the snapshoot in to a template. But i have the following problem.

the UI show me the following error:

Failed to create template
/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh:
line 65: /bin/vhd-util: Permission denied30#failed to query
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd


i tried to read this file but this file doesn't exist on this path. i
search the file and it's located on:
/usr/share/cloudstack-common/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh

so i made a symbolink link from
/usr/share/cloudstack-common/scripts to
/usr/local/cloud/systemvm/
 This it's a bug or something wrong on my installation? - i have CS 4.2.0

And the second part of the error it's: failed to query
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd:

this path not exist on my CS management, but i searched this file on my
secondary stoarge that it's a second server ith nfs i can located:

[root@nfs mnt]# find / -name 4c3ea37b-4d69-4471-9b71-26575a973145.vhd
/secondary/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd

maybe the problem it's that on the management it's not mounted the nfs
server ?
it's extrage becouse i have my secondary storage OK and working uploading
isos, and snapshoots of instances


some idea ?

PD: this it's the log http://paste.algolibre.com/108



-- 
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/
@hollman


Error Adding S3 Secondary Storage

2014-01-08 Thread Aaron Delp
Hello all – I'm trying to add Amazon S3 Secondary Storage and have hit a snag. 
I have a NetApp filer that serves as the NFS scratch space (/vol/exports/temp) 
and I can add this as a plain NFS Secondary Storage mount. If I try to add S3 
using my Amazon credentials and my NFS info I get the following: You can only 
add new image stores from the same provider NFS already added.

Any ideas on how to proceed?

Thank you!



Status of CLVM?

2014-01-08 Thread Nux!

Hi,

I've just watched Marcus Sorensen's presentation on CLVM on youtube and 
he was mentioning that migrating a VM with snapshots will make the 
snapshots disappear.

Can anyone testify if this is still the case?
Since at it, are there any alternative ways of using a multipathed 
iSCSI lun with Cloudstack (KVM)? I'm thinking clustered filesystems such 
as GFS or Ocfs, but afraid of the penalty performance.


Regards,
Lucian

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: Status of CLVM?

2014-01-08 Thread Marcus Sorensen
Yes, because current snapshot is really Copy raw-formatted LVM volume
to qcow2 file on secondary storage. So there is no real LVM snapshot,
and if there were, it wouldn't be copied internally.

On Wed, Jan 8, 2014 at 3:47 PM, Nux! n...@li.nux.ro wrote:
 Hi,

 I've just watched Marcus Sorensen's presentation on CLVM on youtube and he
 was mentioning that migrating a VM with snapshots will make the snapshots
 disappear.
 Can anyone testify if this is still the case?
 Since at it, are there any alternative ways of using a multipathed iSCSI lun
 with Cloudstack (KVM)? I'm thinking clustered filesystems such as GFS or
 Ocfs, but afraid of the penalty performance.

 Regards,
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro


Re: Status of CLVM?

2014-01-08 Thread Marcus Sorensen
You'd create a sharedmountpoint style primary storage, which would
host qcow2 files. You can do this via iscsi, fibrechannel, or any
other SAN tech.

On Wed, Jan 8, 2014 at 3:49 PM, Marcus Sorensen shadow...@gmail.com wrote:
 Yes, because current snapshot is really Copy raw-formatted LVM volume
 to qcow2 file on secondary storage. So there is no real LVM snapshot,
 and if there were, it wouldn't be copied internally.

 On Wed, Jan 8, 2014 at 3:47 PM, Nux! n...@li.nux.ro wrote:
 Hi,

 I've just watched Marcus Sorensen's presentation on CLVM on youtube and he
 was mentioning that migrating a VM with snapshots will make the snapshots
 disappear.
 Can anyone testify if this is still the case?
 Since at it, are there any alternative ways of using a multipathed iSCSI lun
 with Cloudstack (KVM)? I'm thinking clustered filesystems such as GFS or
 Ocfs, but afraid of the penalty performance.

 Regards,
 Lucian

 --
 Sent from the Delta quadrant using Borg technology!

 Nux!
 www.nux.ro


Re: Status of CLVM?

2014-01-08 Thread Nux!

On 08.01.2014 22:50, Marcus Sorensen wrote:

You'd create a sharedmountpoint style primary storage, which would
host qcow2 files. You can do this via iscsi, fibrechannel, or any
other SAN tech.


Hi Marcus!

This would work with 1 hypervisor, but with 2+ you need a cluster-aware 
filesystem. Recommendations?


Lucian
--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro


Re: issue creating a template with some service offering

2014-01-08 Thread Shanker Balan
On 08-Jan-2014, at 9:43 pm, Hollman Enciso R. hollman.enc...@gmail.com wrote:

 On Wed, Jan 8, 2014 at 10:49 AM, Shanker Balan
 shanker.ba...@shapeblue.comwrote:


 Specifying the CPU speed with CPU cap becomes problematic if you have
 different clusters with different speed ratings.

 Am not sure whats the right way to deal with this issue but I leave
 cpu cap unset while creating compute service offerings.


 But. creating a new service offering this field it's required

Or you can edit the db directly.


--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://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 is a registered trademark.


Re: how to find or prevent customers using cs for spam and Brute-force attack purpose?

2014-01-08 Thread Shanker Balan
Comments inline.

On 09-Jan-2014, at 2:49 am, Steven Liang 
stevenli...@yesup.commailto:stevenli...@yesup.com wrote:

basic zone.

You do it the traditional way. i.e., deploy IPS/IDS systems in the path of your
network traffic. So if you already have a router, consider turning on the 
security features.

What I have is a (non cloud managed) FreeBSD VM with 2 NICs acting as the 
default gateway
for my CloudStack public traffic. It would be very simple to install 
suricata/snort services
to provide IPS services.

Hth.

--
@shankerbalan

M: +91 98860 60539 | O: +91 (80) 67935867
shanker.ba...@shapeblue.commailto:shanker.ba...@shapeblue.com | 
www.shapeblue.comhttp://www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, 
Bangalore - 560 055

Need Enterprise Grade Support for Apache CloudStack?
Our CloudStack Infrastructure 
Supporthttp://shapeblue.com/cloudstack-infrastructure-support/ offers the 
best 24/7 SLA for CloudStack Environments.

Apache CloudStack Bootcamp training courses

**NEW!** CloudStack 4.2 traininghttp://shapeblue.com/cloudstack-training/
08/09 January 2014, Londonhttp://shapeblue.com/cloudstack-training/
13-17 January 2014, GLOBAL. Instructor led, 
On-linehttp://shapeblue.com/cloudstack-training/
20-24 January 2014, GLOBAL. Instructor led, 
On-linehttp://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 is a registered trademark.


RE: problem converting a snapshoot to a template

2014-01-08 Thread Sanjeev Neelarapu
Hi,

Is your environment installed freshly with 4.2.0 or you uninstalled previous 
version of CS (say 3.x) and installed 4.2 on that?
If yes please remove all the directories with name cloud and try again?
This worked well for us in 4.2

Thanks,
Sanjeev

-Original Message-
From: Hollman Enciso R. [mailto:hollman.enc...@gmail.com] 
Sent: Thursday, January 09, 2014 2:56 AM
To: users@cloudstack.apache.org
Subject: problem converting a snapshoot to a template

Hello, i have a volume and to this volume i tooke a snapshoot. then i try to 
conver the snapshoot in to a template. But i have the following problem.

the UI show me the following error:

Failed to create template
/usr/local/cloud/systemvm/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh:
line 65: /bin/vhd-util: Permission denied30#failed to query 
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd


i tried to read this file but this file doesn't exist on this path. i search 
the file and it's located on:
/usr/share/cloudstack-common/scripts/storage/secondary/create_privatetemplate_from_snapshot_xen.sh

so i made a symbolink link from
/usr/share/cloudstack-common/scripts to
/usr/local/cloud/systemvm/
 This it's a bug or something wrong on my installation? - i have CS 4.2.0

And the second part of the error it's: failed to query
/mnt/SecStorage/df01c799-874e-3ee6-9372-ca4d582be42e/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd:

this path not exist on my CS management, but i searched this file on my 
secondary stoarge that it's a second server ith nfs i can located:

[root@nfs mnt]# find / -name 4c3ea37b-4d69-4471-9b71-26575a973145.vhd
/secondary/snapshots/2/9/4c3ea37b-4d69-4471-9b71-26575a973145.vhd

maybe the problem it's that on the management it's not mounted the nfs server ?
it's extrage becouse i have my secondary storage OK and working uploading isos, 
and snapshoots of instances


some idea ?

PD: this it's the log http://paste.algolibre.com/108



--
Hollman Eduardo Enciso R.
http://nexxuz.com
http://algolibre.com http://www.hollmanenciso.com/ @hollman


RE: Error Adding S3 Secondary Storage

2014-01-08 Thread Sanjeev Neelarapu
In a zone we can have secondary storages with only one provider type. Since you 
have already added NFS as secondary storage you are seeing that error while 
adding another secondary storage with S3 as the provider.
If you want to use S3 please remove NetApp export and use it as NFS staging 
storage. For more information refer to CS 4.2 Admin guide.

Thanks,
Sanjeev

-Original Message-
From: Aaron Delp [mailto:aaron.d...@citrix.com] 
Sent: Thursday, January 09, 2014 4:16 AM
To: users@cloudstack.apache.org
Subject: Error Adding S3 Secondary Storage

Hello all - I'm trying to add Amazon S3 Secondary Storage and have hit a snag. 
I have a NetApp filer that serves as the NFS scratch space (/vol/exports/temp) 
and I can add this as a plain NFS Secondary Storage mount. If I try to add S3 
using my Amazon credentials and my NFS info I get the following: You can only 
add new image stores from the same provider NFS already added.

Any ideas on how to proceed?

Thank you!



Re: Status of CLVM?

2014-01-08 Thread Chris Pedersen
You could use ocfs.

- Chris

Sent from my iPhone

 On 09 Jan 2014, at 00:59, Nux! n...@li.nux.ro wrote:
 
 On 08.01.2014 22:50, Marcus Sorensen wrote:
 You'd create a sharedmountpoint style primary storage, which would
 host qcow2 files. You can do this via iscsi, fibrechannel, or any
 other SAN tech.
 
 Hi Marcus!
 
 This would work with 1 hypervisor, but with 2+ you need a cluster-aware 
 filesystem. Recommendations?
 
 Lucian
 -- 
 Sent from the Delta quadrant using Borg technology!
 
 Nux!
 www.nux.ro