API credential failed

2013-11-06 Thread Du Jun
Hi,
I have both apikey and secretkey,and I use the following code to
generate signature:

package test;
import javax.crypto.Mac;
import javax.crypto.spec.SecretKeySpec;
import org.apache.commons.codec.binary.Base64;

public class Sign {
public static void main(String args[]) throws Exception{
String
apikey="zr_w86-A-2TsaDzgEUbJZ1PNICWv8L4H_ywHcIwgHX186nAbpHVn4c-FLuAbRjjzVt9r890HE-me_lNDc7yxMw";
String request=("apikey="+apikey+"&command=listZones").toLowerCase();
String
secret="w4ZW_kQeEtmfbLOeBz6Pj39iHUdqlpnfYd62o7bSn3PK7uLElQHE0nCLLRU8i3fu72-vC1JxzmvuEEMxt6WwVQ";
Mac mac = Mac.getInstance("HmacSHA1");
SecretKeySpec keySpec = new
SecretKeySpec(secret.getBytes("UTF-8"),"HmacSHA1");
mac.init(keySpec);
mac.update(request.getBytes());
byte[] encryptedBytes = mac.doFinal();
System.out.println(Base64.encodeBase64String(encryptedBytes)); //result
}
}

I think my signature is correct.Then I generate complete URL:
http://172.17.4.104:8080/client/api?command=listZones&apiKey=zr_w86-A-2TsaDzgEUbJZ1PNICWv8L4H_ywHcIwgHX186nAbpHVn4c-FLuAbRjjzVt9r890HE-me_lNDc7yxMw&signature=jS94Qv63W1h9QGS23zPg3kMIU7o

However,I get the error message as show below:

401
unable to verify user credentials


I just don't know why?Any reply will be appreciated!

-
Best regards,

Frank


RE: CS 4.2 + VMware + Local storage

2013-11-06 Thread Suresh Sadhu
Did you create offering with type as local by default its shared. please create 
offering with type as local and  use the same for your VM deployment

Regards
Sadhu



-Original Message-
From: Gaspare A. Silvestri [mailto:g.silves...@netsons.com] 
Sent: 06 November 2013 19:59
To: cloudstack-us...@incubator.apache.org
Subject: Fwd: CS 4.2 + VMware + Local storage


Hi all,

I've recently deployed a CS 4.2 infrastructure with VMware vSphere 5.1 and the 
local storage enabled.

I've deployed with no problems the firs two system's VMs (SSVM and CPVM), then 
when I try to deploy an instance from a template (starting so the creation of 
the router machine), I receive the following error:

"Message: Unsupported storage pool type LVM

java.lang.Exception: Unsupported storage pool type LVM
at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4437)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:475)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) "

I've read the local storage is compatible with vSphere. Any help?

Thanks in advance,

Gaspare



Re: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-06 Thread Carlos Reategui
Hi Sanjay,

Clearing the Cookies did not help.

Not sure what you mean about using the console to check the "response to
API calls".  Can you provide me with specific steps you want me to check in
the inspector?  In looking at the Network tab I see that it is getting a
bunch of js files and a couple css.  The console shows some CSS warnings
and 4 "Uncaught TypeError" messages but that is it.  Is there a way to
enable more debug in the js console?

You can get my latest log file here:
http://reategui.com/cloudstack/management-server.2013-11-06.log

I believe what is happening is that I need to restart the system vms but I
can't do that using the cloudstack-sysvmadm script because my hosts are in
disconnected state.

thanks,
Carlos




On Wed, Nov 6, 2013 at 8:47 PM, Sanjay Tripathi
wrote:

> Can you clear your browser cookies and try again.
> Also, in chrome's developer tools, check the console to get to know about
> the response of API calls.
>
> Can you also put the MS logs using pastebin to get more clarity over the
> issue.
>
> --Sanjay
>
> > -Original Message-
> > From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of
> > Carlos Reategui
> > Sent: Thursday, November 07, 2013 7:55 AM
> > To: users@cloudstack.apache.org
> > Subject: Re: Unable to see UI after 4.1.1 -> 4.2 update
> >
> > BTW, chrome's developer tools (i.e. inspect element) sees the html/js
> that is
> > delivered but nothing is showing up in the browser window.  Anyone else
> > run into this with 4.2 Cloudstack UI running on ubuntu?
> >
> >
> > On Wed, Nov 6, 2013 at 5:02 PM, Carlos Reategui 
> > wrote:
> >
> > > I was feeling good about recovering my installation so I decided to go
> > > for 4.2.
> > >
> > > I believe the update went well and saw the DB get updated (I did
> > > register the xen template before doing the update).
> > >
> > > However I am not able to "see" the login prompt of the UI.  I have
> > > tried various browsers (chrome, firefox, IE) and the page loads but it
> > > is all blank so I can't log in to see what is happening.
> > >
> > > Also, I am on Ubuntu so the cloudstack-sysvmadm script does not work.
> > >
> > > I am now stuck unable to restart the system vms.  Can I just kill them
> > > in XenCenter and wait for Cloudstack to see them gone so that it
> restarts
> > them?
> > >
> > > Anyone successful at upgrading management server on Ubuntu with Xen
> > hosts?
> > >
> > > thanks,
> > > Carlos
> > >
>


RE: change own password and personal info

2013-11-06 Thread Sanjay Tripathi
+1 for it.

--Sanjay

> -Original Message-
> From: John Kinsella [mailto:j...@stratosec.co]
> Sent: Wednesday, November 06, 2013 9:28 PM
> To: 
> Subject: Re: change own password and personal info
> 
> Seems like the UI could benefit from a "my account" link near the top of the
> page:what do folks think?
> 
> On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom
> mailto:geoff.higginbottom@shapebl
> ue.com>> wrote:
> 
> You need to go to the Users Section as the passwords are mapped to users,
> not accounts
> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbot...@shapeblue.com e.com>
> 
> -Original Message-
> From: Юрий Карпель [mailto:yu...@karpel.su]
> Sent: 06 November 2013 06:49
> To: users@cloudstack.apache.org
> Subject: change own password and personal info
> 
> Cloudstack 4.2 fresh install
> Created account test with Role "User", and a user "newtest".
> When I log in as a user created along with this Account I've checked
> "Accounts->test->View Users ->newtest" and in the "Detail" tab there was
> no buttons, so I couldn't:
> 1. change my own password
> 2. change my personal info
> PS: for the admin account is also not possible to change the password What
> could be wrong?
> 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.
> 
> Stratosec - Compliance as a Service
> o: 415.315.9385
> @johnlkinsella



RE: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-06 Thread Sanjay Tripathi
Can you clear your browser cookies and try again.
Also, in chrome's developer tools, check the console to get to know about the 
response of API calls.

Can you also put the MS logs using pastebin to get more clarity over the issue.

--Sanjay

> -Original Message-
> From: create...@gmail.com [mailto:create...@gmail.com] On Behalf Of
> Carlos Reategui
> Sent: Thursday, November 07, 2013 7:55 AM
> To: users@cloudstack.apache.org
> Subject: Re: Unable to see UI after 4.1.1 -> 4.2 update
> 
> BTW, chrome's developer tools (i.e. inspect element) sees the html/js that is
> delivered but nothing is showing up in the browser window.  Anyone else
> run into this with 4.2 Cloudstack UI running on ubuntu?
> 
> 
> On Wed, Nov 6, 2013 at 5:02 PM, Carlos Reategui 
> wrote:
> 
> > I was feeling good about recovering my installation so I decided to go
> > for 4.2.
> >
> > I believe the update went well and saw the DB get updated (I did
> > register the xen template before doing the update).
> >
> > However I am not able to "see" the login prompt of the UI.  I have
> > tried various browsers (chrome, firefox, IE) and the page loads but it
> > is all blank so I can't log in to see what is happening.
> >
> > Also, I am on Ubuntu so the cloudstack-sysvmadm script does not work.
> >
> > I am now stuck unable to restart the system vms.  Can I just kill them
> > in XenCenter and wait for Cloudstack to see them gone so that it restarts
> them?
> >
> > Anyone successful at upgrading management server on Ubuntu with Xen
> hosts?
> >
> > thanks,
> > Carlos
> >


Re: Installing cloudstack mgmt server on non-Linux OS

2013-11-06 Thread Prasanna Santhanam
On Wed, Nov 06, 2013 at 05:29:53PM -0500, Jiri B wrote:
> Hi,
> 
> my attempt is to install cloudstack management server on
> a non-Linux OS (an UNIX-like one). Of course not for production
> setup in this case... :-)

CloudStack is mostly tested on RHEL and Ubuntu. If you are using
something like Arch then you might see surprises. I'm guessing Debian
would work.

> 
> But... I'm not sure I fully understand some basic concepts.
> 
> Are most of the scripts in /usr/share/cloudstack-common/scripts
> used only when cloudstack mgmt server is also acting as
> hypervisor? I see there's a lot of Linux specific commands
> inside scripts (brctl, iptables...).
> 
They are 'packaged' there, but are mostly executed on the hosts and/or
on cloudstack's agents (systemvms, virtual routers etc).  Management
server copies these into hypervisors when they are added (discovered)
to cloudstack. After that cloudstack will only issue commands to
hypervisors and the hypervisor agent will convert the command in to a
script call and execute the required command.

> I also could not find info what is a process of creating
> new VM (when using Linux KVM hypervisor, remote host).
> Does mgmt server need permanent access to storage (NFS), and
> is mgmt server creating new VM image with qemu-img inside
> this storage or does delegate this task to a remote host?
> 
The task is delegated to the KVM hypervisor. CloudStack management
server will send a 'command' to the KVM 'agent' to start a VM when you
use the cloud management UI to launch a virtual machine.

> Hence... the main confusion is how much is management server
> involved in the show. If it is just giving orders (when using
> remote hypervisor), like in RHEVM/oVirt case, and thus the tasks
> are done by cloudstack agent (in KVM hypervisor case)...

Right, it's only handing off commands to remote agents or if you like
it's 'orchestrating' these flows.

> 
> Thank you very much for clarification.
> 
> jirib

-- 
Prasanna.,


Powered by BigRock.com



Re: realhostip.com down?

2013-11-06 Thread John Kinsella
I'm seeing similar in San Francisco, CA…

On Nov 6, 2013, at 6:52 PM, Steve Searles  wrote:

> -bash-3.2$ dig @8.8.8.8 ns.realhostip.com +trace
> 
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> @8.8.8.8 ns.realhostip.com 
> +trace
> ; (1 server found)
> ;; global options:  printcmd
> .   20652   IN  NS  m.root-servers.net.
> .   20652   IN  NS  j.root-servers.net.
> .   20652   IN  NS  l.root-servers.net.
> .   20652   IN  NS  e.root-servers.net.
> .   20652   IN  NS  a.root-servers.net.
> .   20652   IN  NS  k.root-servers.net.
> .   20652   IN  NS  c.root-servers.net.
> .   20652   IN  NS  d.root-servers.net.
> .   20652   IN  NS  h.root-servers.net.
> .   20652   IN  NS  i.root-servers.net.
> .   20652   IN  NS  f.root-servers.net.
> .   20652   IN  NS  g.root-servers.net.
> .   20652   IN  NS  b.root-servers.net.
> ;; Received 228 bytes from 8.8.8.8#53(8.8.8.8) in 25 ms
> 
> com.172800  IN  NS  a.gtld-servers.net.
> com.172800  IN  NS  b.gtld-servers.net.
> com.172800  IN  NS  c.gtld-servers.net.
> com.172800  IN  NS  d.gtld-servers.net.
> com.172800  IN  NS  e.gtld-servers.net.
> com.172800  IN  NS  f.gtld-servers.net.
> com.172800  IN  NS  g.gtld-servers.net.
> com.172800  IN  NS  h.gtld-servers.net.
> com.172800  IN  NS  i.gtld-servers.net.
> com.172800  IN  NS  j.gtld-servers.net.
> com.172800  IN  NS  k.gtld-servers.net.
> com.172800  IN  NS  l.gtld-servers.net.
> com.172800  IN  NS  m.gtld-servers.net.
> ;; Received 495 bytes from 192.203.230.10#53(e.root-servers.net) in 2083 ms
> 
> realhostip.com. 172800  IN  NS  ns.realhostip.com.
> realhostip.com. 172800  IN  NS  ns2.realhostip.com.
> ;; Received 99 bytes from 192.26.92.30#53(c.gtld-servers.net) in 24 ms
> 
> -bash-3.2$ ping ns.realhostip.com
> 
> -bash-3.2$ dig @8.8.8.8 realhostip.com
> 
> ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> @8.8.8.8 realhostip.com
> ; (1 server found)
> ;; global options:  printcmd
> ;; Got answer:
> ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64588
> ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
> 
> ;; QUESTION SECTION:
> ;realhostip.com.IN  A
> 
> ;; Query time: 4038 msec
> ;; SERVER: 8.8.8.8#53(8.8.8.8)
> ;; WHEN: Wed Nov  6 21:50:55 2013
> ;; MSG SIZE  rcvd: 32
> 
> -bash-3.2$
> 
> Steve Searles
> Director, Network Operations
> Zimcom Internet Solutions, Inc.
> http://www.zimcom.net
> Phone. (513)231-9500
> Fax. (513)624-3909
> Toll Free. (888)624-3910
> 



realhostip.com down?

2013-11-06 Thread Steve Searles
-bash-3.2$ dig @8.8.8.8 ns.realhostip.com +trace

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> @8.8.8.8 ns.realhostip.com 
+trace
; (1 server found)
;; global options:  printcmd
.   20652   IN  NS  m.root-servers.net.
.   20652   IN  NS  j.root-servers.net.
.   20652   IN  NS  l.root-servers.net.
.   20652   IN  NS  e.root-servers.net.
.   20652   IN  NS  a.root-servers.net.
.   20652   IN  NS  k.root-servers.net.
.   20652   IN  NS  c.root-servers.net.
.   20652   IN  NS  d.root-servers.net.
.   20652   IN  NS  h.root-servers.net.
.   20652   IN  NS  i.root-servers.net.
.   20652   IN  NS  f.root-servers.net.
.   20652   IN  NS  g.root-servers.net.
.   20652   IN  NS  b.root-servers.net.
;; Received 228 bytes from 8.8.8.8#53(8.8.8.8) in 25 ms

com.172800  IN  NS  a.gtld-servers.net.
com.172800  IN  NS  b.gtld-servers.net.
com.172800  IN  NS  c.gtld-servers.net.
com.172800  IN  NS  d.gtld-servers.net.
com.172800  IN  NS  e.gtld-servers.net.
com.172800  IN  NS  f.gtld-servers.net.
com.172800  IN  NS  g.gtld-servers.net.
com.172800  IN  NS  h.gtld-servers.net.
com.172800  IN  NS  i.gtld-servers.net.
com.172800  IN  NS  j.gtld-servers.net.
com.172800  IN  NS  k.gtld-servers.net.
com.172800  IN  NS  l.gtld-servers.net.
com.172800  IN  NS  m.gtld-servers.net.
;; Received 495 bytes from 192.203.230.10#53(e.root-servers.net) in 2083 ms

realhostip.com. 172800  IN  NS  ns.realhostip.com.
realhostip.com. 172800  IN  NS  ns2.realhostip.com.
;; Received 99 bytes from 192.26.92.30#53(c.gtld-servers.net) in 24 ms

-bash-3.2$ ping ns.realhostip.com

-bash-3.2$ dig @8.8.8.8 realhostip.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-20.P1.el5 <<>> @8.8.8.8 realhostip.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 64588
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;realhostip.com.IN  A

;; Query time: 4038 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: Wed Nov  6 21:50:55 2013
;; MSG SIZE  rcvd: 32

-bash-3.2$

Steve Searles
Director, Network Operations
Zimcom Internet Solutions, Inc.
http://www.zimcom.net
Phone. (513)231-9500
Fax. (513)624-3909
Toll Free. (888)624-3910



Re: Unable to see UI after 4.1.1 -> 4.2 update

2013-11-06 Thread Carlos Reategui
BTW, chrome's developer tools (i.e. inspect element) sees the html/js that
is delivered but nothing is showing up in the browser window.  Anyone else
run into this with 4.2 Cloudstack UI running on ubuntu?


On Wed, Nov 6, 2013 at 5:02 PM, Carlos Reategui  wrote:

> I was feeling good about recovering my installation so I decided to go for
> 4.2.
>
> I believe the update went well and saw the DB get updated (I did register
> the xen template before doing the update).
>
> However I am not able to "see" the login prompt of the UI.  I have tried
> various browsers (chrome, firefox, IE) and the page loads but it is all
> blank so I can't log in to see what is happening.
>
> Also, I am on Ubuntu so the cloudstack-sysvmadm script does not work.
>
> I am now stuck unable to restart the system vms.  Can I just kill them in
> XenCenter and wait for Cloudstack to see them gone so that it restarts them?
>
> Anyone successful at upgrading management server on Ubuntu with Xen hosts?
>
> thanks,
> Carlos
>


RE: Multi-master MySQL Setup

2013-11-06 Thread Adrian Lewis
Hi Andi,

Sounds pretty cool - This is the solution I'm looking at currently but
with a hardware load balancer and fewer servers. Good to know it scales!

Cheers,

Adrian

-Original Message-
From: Andi Daniawan [mailto:a...@xpox.net]
Sent: 06 November 2013 23:25
To: users@cloudstack.apache.org
Subject: RE: Multi-master MySQL Setup

Hi All,

Just for your info, I have implemented MariaDB with Galera Clustering.
We are using CS 4.2 on 4 management servers with 7 MariaDB servers.
All management servers loaded with HA-Proxy to connect to MariaDB servers.
It's been running since early October.

Andi

-Original Message-
From: Patrick Miller [mailto:patrick.mil...@sungard.com]
Sent: Wednesday, November 06, 2013 4:51 AM
To: users@cloudstack.apache.org
Subject: Re: Multi-master MySQL Setup

Take a look at the percona [1] implementation of mysql and there clustered
version.
Round robin reads and writes supported.

1] http://www.percona.com/

 Patrick


On Tue, Nov 5, 2013 at 9:55 AM, Adrian Lewis
wrote:

> Hi Marty/Nux!,
>
> Thanks for the feedback - sounds like multi-master is not a good thing
> then! Load will likely be very small for at least the next 6 months
> but I figured that it was one of those things that could be set easily
> now (still setting up) that I might appreciate later.
>
> Based on both your responses, I think I'll just leave it well alone!
> Need to get to grips with pacemaker/corosync anyway for other reasons
> so I'll just try that with either DRBD replication or MySQL replication.
>
> Cheers,
>
> Adrian
>
> -Original Message-
> From: Marty Sweet [mailto:msweet@gmail.com]
> Sent: 05 November 2013 17:23
> To: users@cloudstack.apache.org
> Subject: Re: Multi-master MySQL Setup
>
> Others may have had more success with this but from experience of
> MySQL in multi-master setups I would avoid this entirely.
>
> A common setup is using DRDB to provide a master/slave:
> Management 1 (MySQL Master) w/ virtual IP Management 2 (MySQL Slave)
>
> HA IP Address (for agents/services requiring DB write) which is
> assigned to the master (using Pacemaker).
>
> You can then send web management client to the HA IP Address as well.
>
> It may be worth considering if you need load balancing, depending on
> your setup - what loads are you experiencing?
>
> Marty
>
>
>
> On Tue, Nov 5, 2013 at 5:13 PM, Adrian Lewis
> wrote:
>
> > Hi All,
> >
> >
> >
> > Just wondering if anyone is using a MySQL multi-master configuration
> > with auto_increment_offset (e.g.10) and auto_increment_increment (1
> > for server 1, 2 for server 2 etc)? Does it work? Does anyone know a
> > reason why it doesn't or wouldn't work? Is there anything from an
> > application point of view that could/would trip up CS if
> > auto_increment values are set as more than 1?
> >
> >
> >
> > Not planning on deploying multimaster just yet but if I at least
> > start with an auto_increment of 10, I'd have the option of adding a
> > second master later and being able to load-balance more effectively.
> >
> >
> >
> > Thanks in advance,
> >
> >
> >
> > Adrian
> >
>
>


Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Ryan Lei
+1 on renaming "Volume Snapshots" to "Volume Backups."

With the VM snapshot feature, I would natually treat the old Volume
Snapshot as a secondary backup solution, perhaps useful only when we want
to export the entire volume out of CloudStack.

Volume Snapshot is just taking too long, even with incremental backup
support in XenServer.

---
Yu-Heng (Ryan) Lei, Associate Researcher
Chunghwa Telecom Laboratories / Cloud Computing Laboratory
ryan...@cht.com.tw or ryanlei750...@gmail.com



On Wed, Nov 6, 2013 at 8:39 PM, Len Bellemore <
len.bellem...@controlcircle.com> wrote:

> I stumbled upon this feature yesterday on my XenServer cluster - I too
> thought that it would only work on VMWare.
> I'm using XenServer 6.1 and can verify that the vm snapshot works.  I'm
> not running the Enterprise edition, so memory snapshots fail with a
> licensing error.
>
> With this feature enabled, what I would love to see is the old style
> snapshots renamed to "backups" because they aren't really snapshots in the
> modern vmware/XenServer sense.  You can't really roll back to them, and a
> snapshot indicates quick point in time image of the vm, something that the
> old style snapshots do not do.
>
> Well done for getting true snapshots sorted out.  This is a feature my
> users are very happy about.
>
> Len
>
>
>
> -Original Message-
> From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
> Sent: 06 November 2013 09:16
> To: users@cloudstack.apache.org
> Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM
>
> Ryan is correct, XenServer does support VM Snapshots when using CloudStack
> 4.2.  Like Ryan I have been using it with XenServer 6.2 but I cannot see
> why it would not work with earlier versions of XenServer as long as they
> are licensed Enterprise versions (6.2 is now opensource)
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does
> state that XenServer supports 'Memory-Disk' snapshots, but this was written
> prior to the release of OpenSource Citrix XenServer 6.2 which includes
> features previously only available in the Enterprise version.
>
> FYI
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf
> Of Ryan Lei
> Sent: 06 November 2013 05:12
> To: users@cloudstack.apache.org
> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots
>
> From my experience, though, VM snapshot also supports XenServer (mine is
> 6.2).
> It also facilitates XenServer's native snapshot capibility, and works
> flawlessly.
> I have no idea why the release notes and admin guide ONLY mention VMware,
> as opposed to the wiki. :(
>
>
>
> ---
> Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories /
> Cloud Computing Laboratory ryan...@cht.com.tw<
> https://email.cht.com.tw/owa/redir.aspx?C=-wE1FEC3G0SWYpVkiWo8SsDdf3ZqO9AIuAPTzRnFYCUi-z4YljtI_hyVKkNHfn9F1Bn-vUWJnQ4.&URL=mailto%3aryanlei%40cht.com.tw
> >
>  or ryanlei750...@gmail.com
>
>
>
> On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu <
> sanjeev.neelar...@citrix.com> wrote:
>
> > Hi,
> >
> > Instance Snapshot is only supported on VMWare. It uses VMWare native
> > snapshot facility.
> > Please refer
> > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
> > dmin_Guide/vm-snapshots.html
> >
> > Thanks,
> > Sanjeev
> >
> > -Original Message-
> > From: motty cruz [mailto:motty.c...@gmail.com]
> > Sent: Tuesday, November 05, 2013 9:56 PM
> > To: users@cloudstack.apache.org
> > Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
> > KVM
> >
> > Hi Sebastien,
> >
> > I was not able to solve the snapshot issue, I can take a snapshot of a
> > disk but not of the "instance",  I still get the "VM snapshot is not
> > enabled for hypervisor type: KVM"
> >
> > I enabled KVM snapshot in Global Settings, someone suggested to turn
> > off the instance, which I did but no success,
> >
> > Thanks,
> >
> >
> >
> > On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen  > >wrote:
> >
> > >
> > > On Oct 31, 2013, at 6:40 PM, motty cruz  wrote:
> > >
> > > > 2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
> > > > (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
> > > > found
> > > > 2013-10-31 13:03:50,056 DEBUG
> > > > [storage.snapshot.SnapshotManagerImpl]
> > > > (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
> > > > ])
> > > Failed
> > > > to create snapshot
> > > > com.cloud.utils.exception.CloudRuntimeException:   clvmd not running
> on
> > > > node kvm2.fqdn.comDisk
> > > /dev/hitachi-2/ff

Unable to see UI after 4.1.1 -> 4.2 update

2013-11-06 Thread Carlos Reategui
I was feeling good about recovering my installation so I decided to go for
4.2.

I believe the update went well and saw the DB get updated (I did register
the xen template before doing the update).

However I am not able to "see" the login prompt of the UI.  I have tried
various browsers (chrome, firefox, IE) and the page loads but it is all
blank so I can't log in to see what is happening.

Also, I am on Ubuntu so the cloudstack-sysvmadm script does not work.

I am now stuck unable to restart the system vms.  Can I just kill them in
XenCenter and wait for Cloudstack to see them gone so that it restarts them?

Anyone successful at upgrading management server on Ubuntu with Xen hosts?

thanks,
Carlos


Re: [PROPOSAL] Service monitoring tool in virtual router

2013-11-06 Thread John Kinsella
Thx for putting this together, Jayapal. A few comments:

I'd really like to have a config flag to specify if things should be restarted 
automatically or not. Worst case, track the restarts - if a service is 
restarted more than X times in Y seconds, something's obviously wrong so stop 
tail-chasing[1]. Personally I'm much more interested in knowing there's a 
problem and then taking whatever happens to be the appropriate actions for our 
situation.

Regarding communicating with a monitoring system - what makes more sense to me 
is setting up a solid framework that provides folks flexibility to use various 
monitoring tools, from sending an email to contacting pager duty or whatever.

So, to me there's 3 parts to that:
1) At VR creation, ACS calls defined hook-script which knows how to contact 
monitoring system to tell it about system to monitor
2) At boot, VR sends API query to which the mgmt server responds with a URL for 
an install script - VR runs that to download/setup appropriate monitoring agent
3) VR has standardized scripts for agent to call to find out what should be 
running, and then agent can go check for itself.

With a setup like this, you can support SNMP, Opsview/Nagios, Monit, NSA, 
Zenoss, HPOV, Tivoli, etc etc etc. I'll happily write the Opsview/Nagios module 
(I'm thinking module is hosted outside ACS, but I guess it could be a plugin - 
see earlier licensing points).

Thoughts?

Just my 2c. Happy to tweak wiki if folks lean towards this.

John
1: Aside - this applies to SSVM creation currently - that hamster[2] keeps 
trying to spin that create SSVM wheel..
2: Apache CloudHamster, CloudMonkey's furry monitoring friend?

On Nov 6, 2013, at 7:58 AM, Jayapal Reddy Uradi  
wrote:

> Please find below update FS
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/Monitoring+VR+services
> 
> Thanks,
> Jayapal
> 
> On 05-Oct-2013, at 6:54 PM, Santhosh Edukulla  
> wrote:
> 
>> A shell script can be used. Few thoughts below:
>> 
>> 1. Collect the process id of all daemons you wanted to monitor using "pidof" 
>> of command and then use "kill" command to check if the pid you got is valid. 
>> Using kill we can send a signal 0, then check the status using echo $? . For 
>> sending a notification use linux syslog call ( man 3 syslogd) or "logger" 
>> command to send to syslog. If wanted to send email then you may also have to 
>> look for firewall not allowing outbound smtp port communiation. Even for 
>> snmp this holds same( i mean if any blocking through firewall rules ).  
>> Using syslog may be good as it by default exposes various debug log levels 
>> through its api call.
>> 
>> Now, to keep the monitor script up always up and runninig. Keep the monitor 
>> script run continuosly through cron or at at regular\scheduled intervals. 
>> This way even if monitor script goes down, the next xth interval, it is up 
>> again. 
>> 
>> With this there is a catch though, we may got multiple pids for a given 
>> daemon provided if there are multiple daemons spawned by same\multiple 
>> applications, if this scenario is not common then its ok, otherwise we may 
>> have to track it differently maintaining state of each spawned daemon and 
>> see if it exists. If multiple applications launch the same daemon, you may 
>> also wanted to say its application which got killed. EX: A launched httpd, 
>> and during its exit logic, it is killing all daemons it launched, then you 
>> may wanted to add  A is not available, rather than just http is not 
>> available. 
>> 
>> 
>> 2.  Using  netstat command : Check for available, listening and active ports 
>> on local host, provided all the daemons you wanted to monitor are running on 
>> "standard" ports or if we know the listening ports of those deamons to be 
>> monitored. Again, this script can be added through cron\at to be scheduled 
>> to run x units, if it gets killed the next x units after the monitor script 
>> is up again. 
>> 
>> Also, there could be many other approaches as well.
>> 
>> 
>> Thanks!
>> Santhosh 
>> 
>> From: Jayapal Reddy Uradi [jayapalreddy.ur...@citrix.com]
>> Sent: Saturday, October 05, 2013 5:17 AM
>> To: 
>> Cc: 
>> Subject: Re: [PROPOSAL] Service monitoring tool in virtual router
>> 
>> Hi,
>> 
>> +users list
>> If any one is already using any tools for monitoring then please share your 
>> ideas.
>> Also share the cases where you experienced service crashes.
>> 
>> Thanks,
>> Jayapal
>> 
>> On 05-Oct-2013, at 4:12 AM, Chiradeep Vittal  
>> wrote:
>> 
>>> Well just make sure that your script is resilient to its own crashes as
>>> well.
>>> 
>>> On 10/4/13 1:59 AM, "Jayapal Reddy Uradi" 
>>> wrote:
>>> 
 Hi,
 
 I am planning to write script utility to monitor processes and restart on
 the event of failure. It will also logs the events.
 
 Thanks,
 Jayapal
 
 On 02-Oct-2013, at 3:25 AM, Simon Weller  wrote:
 
> supervisord maybe?
> 
> --

RE: Planners

2013-11-06 Thread Prachi Damle
vM,

I think you can create a new feature ticket in the Apache CloudStack Jira - 
https://issues.apache.org/jira/browse/CLOUDSTACK

Prachi
-Original Message-
From: Vahric Muhtaryan [mailto:vah...@doruk.net.tr] 
Sent: Wednesday, November 06, 2013 2:19 PM
To: CloudStack SupportMailingList
Subject: Re: Planners

Understand , such options mostly focused dedicated

For feature requests should i have to send it to dev@ mailing-list ?

Thanks for all answers
Regards
vM

On 06/11/13 21:19, "Prachi Damle"  wrote:

>>>Maybe sounds like stupid but , another thing is we can not imagine 
>>>some deployment planners, for example if we are running cloud and 
>>>have a resource, default behaviour should be spread everything almost 
>>>equal , why people want to put vms depend same account on same 
>>>pod/cluster
>
>People may want to do so to have a dedicated resource for their account 
>and not share the resource with other applications or they may always 
>want to use a specific hardware for their applications.
>
>>>or what happen  if i have small number of vm on host but there is 
>>>high resource usage on that hosts. For example KVM do not have an 
>>>option like vmware drs , how cloudstack handle spread of vms on KVM cluster ?
>
>CloudStack currently supports firstfit, user-pod-concentrated, 
>user-dispersing strategies. Using the user-dispersing, spread of VMs of 
>the same account can be achieved.
>But a generic spread-evenly strategy is not available, please feel free 
>to open a feature request if the above modes do not suit your 
>requirements.
>
>Thanks,
>Prachi
>-Original Message-
>From: Prachi Damle
>Sent: Wednesday, November 06, 2013 11:14 AM
>To: CloudStack SupportMailingList
>Subject: RE: Planners
>
>Hi,
>
>Some information about
>A] About the deployment planner option in service offering:
>-  Details can be found here
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeploymentPlanne
>r+c
>hoice+via+ServiceOffering
>
>B]About Implicit dedication planner
>-  Design is here 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resour
>ces
>+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
>-  Check the Implicit Dedication Design at the end of the page.
>-  The planner mode option in the service offering page is only applicable
>for Implicit dedication planner:
>   o   strict mode: Choose a host that is dedicated to this account to 
> deploy
>a VM using this service offering. If no such host is present, choose an 
>empty host and dedicate it to the account and use that for further 
>deployments too.
>   o   preferred mode: Choose a dedicated host if available, if not it 
> is ok
>to use a shared host.
>
>-Original Message-
>From: Vahric Muhtaryan [mailto:vah...@doruk.net.tr]
>Sent: Wednesday, November 06, 2013 8:53 AM
>To: CloudStack SupportMailingList
>Subject: Planners
>
>Hello All ,
>
>We are discovering compute offering section and couldn¹t understand 
>something about planner.
>
>Looks like deployment planner is like intelligent placement on Hyper-v 
>or Vmware DRS but only the placement part.
>
>First we can not find explanations of implicitdedicationplanner and 
>bare metal planner , any one know about it ?
>
>Second what is planner mode ? What is relation between deployment 
>planner and planner mode ? If we choose deployment planner must we set 
>the planner mode too ?
>
>Maybe sounds like stupid but , another thing is we can not imagine some 
>deployment planners, for example if we are running cloud and have a 
>resource, default behaviour should be spread everything almost equal , 
>why people want to put vms depend same account on same pod/cluster or 
>what happen if i have small number of vm on host but there is high 
>resource usage on that hosts. For example KVM do not have an option 
>like vmware drs , how cloudstack handle spread of vms on KVM cluster ?
>
>Regards
>VM
>
>




RE: Multi-master MySQL Setup

2013-11-06 Thread Andi Daniawan
Hi All, 

Just for your info, I have implemented MariaDB with Galera Clustering.
We are using CS 4.2 on 4 management servers with 7 MariaDB servers.
All management servers loaded with HA-Proxy to connect to MariaDB servers.
It's been running since early October.

Andi

-Original Message-
From: Patrick Miller [mailto:patrick.mil...@sungard.com] 
Sent: Wednesday, November 06, 2013 4:51 AM
To: users@cloudstack.apache.org
Subject: Re: Multi-master MySQL Setup

Take a look at the percona [1] implementation of mysql and there clustered
version.
Round robin reads and writes supported.

1] http://www.percona.com/

 Patrick


On Tue, Nov 5, 2013 at 9:55 AM, Adrian Lewis
wrote:

> Hi Marty/Nux!,
>
> Thanks for the feedback - sounds like multi-master is not a good thing 
> then! Load will likely be very small for at least the next 6 months 
> but I figured that it was one of those things that could be set easily 
> now (still setting up) that I might appreciate later.
>
> Based on both your responses, I think I'll just leave it well alone! 
> Need to get to grips with pacemaker/corosync anyway for other reasons 
> so I'll just try that with either DRBD replication or MySQL replication.
>
> Cheers,
>
> Adrian
>
> -Original Message-
> From: Marty Sweet [mailto:msweet@gmail.com]
> Sent: 05 November 2013 17:23
> To: users@cloudstack.apache.org
> Subject: Re: Multi-master MySQL Setup
>
> Others may have had more success with this but from experience of 
> MySQL in multi-master setups I would avoid this entirely.
>
> A common setup is using DRDB to provide a master/slave:
> Management 1 (MySQL Master) w/ virtual IP Management 2 (MySQL Slave)
>
> HA IP Address (for agents/services requiring DB write) which is 
> assigned to the master (using Pacemaker).
>
> You can then send web management client to the HA IP Address as well.
>
> It may be worth considering if you need load balancing, depending on 
> your setup - what loads are you experiencing?
>
> Marty
>
>
>
> On Tue, Nov 5, 2013 at 5:13 PM, Adrian Lewis
> wrote:
>
> > Hi All,
> >
> >
> >
> > Just wondering if anyone is using a MySQL multi-master configuration 
> > with auto_increment_offset (e.g.10) and auto_increment_increment (1 
> > for server 1, 2 for server 2 etc)? Does it work? Does anyone know a 
> > reason why it doesn't or wouldn't work? Is there anything from an 
> > application point of view that could/would trip up CS if 
> > auto_increment values are set as more than 1?
> >
> >
> >
> > Not planning on deploying multimaster just yet but if I at least 
> > start with an auto_increment of 10, I'd have the option of adding a 
> > second master later and being able to load-balance more effectively.
> >
> >
> >
> > Thanks in advance,
> >
> >
> >
> > Adrian
> >
>
>



Installing cloudstack mgmt server on non-Linux OS

2013-11-06 Thread Jiri B
Hi,

my attempt is to install cloudstack management server on
a non-Linux OS (an UNIX-like one). Of course not for production
setup in this case... :-)

But... I'm not sure I fully understand some basic concepts.

Are most of the scripts in /usr/share/cloudstack-common/scripts
used only when cloudstack mgmt server is also acting as
hypervisor? I see there's a lot of Linux specific commands
inside scripts (brctl, iptables...).

I also could not find info what is a process of creating
new VM (when using Linux KVM hypervisor, remote host).
Does mgmt server need permanent access to storage (NFS), and
is mgmt server creating new VM image with qemu-img inside
this storage or does delegate this task to a remote host?

Hence... the main confusion is how much is management server
involved in the show. If it is just giving orders (when using
remote hypervisor), like in RHEVM/oVirt case, and thus the tasks
are done by cloudstack agent (in KVM hypervisor case)...

Thank you very much for clarification.

jirib


Re: Planners

2013-11-06 Thread Vahric Muhtaryan
Understand , such options mostly focused dedicated

For feature requests should i have to send it to dev@ mailing-list ?

Thanks for all answers
Regards
vM

On 06/11/13 21:19, "Prachi Damle"  wrote:

>>>Maybe sounds like stupid but , another thing is we can not imagine some
>>>deployment planners, for example if we are running cloud and have a
>>>resource, default behaviour should be spread everything almost equal ,
>>>why people want to put vms depend same account on same pod/cluster
>
>People may want to do so to have a dedicated resource for their account
>and not share the resource with other applications or they may always
>want to use a specific hardware for their applications.
>
>>>or what happen  if i have small number of vm on host but there is high
>>>resource usage on that hosts. For example KVM do not have an option
>>>like vmware drs , how cloudstack handle spread of vms on KVM cluster ?
>
>CloudStack currently supports firstfit, user-pod-concentrated,
>user-dispersing strategies. Using the user-dispersing, spread of VMs of
>the same account can be achieved.
>But a generic spread-evenly strategy is not available, please feel free
>to open a feature request if the above modes do not suit your
>requirements.
>
>Thanks,
>Prachi
>-Original Message-
>From: Prachi Damle
>Sent: Wednesday, November 06, 2013 11:14 AM
>To: CloudStack SupportMailingList
>Subject: RE: Planners
>
>Hi,
>
>Some information about
>A] About the deployment planner option in service offering:
>-  Details can be found here
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeploymentPlanner+c
>hoice+via+ServiceOffering
>
>B]About Implicit dedication planner
>-  Design is here 
>https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resources
>+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
>-  Check the Implicit Dedication Design at the end of the page.
>-  The planner mode option in the service offering page is only applicable
>for Implicit dedication planner:
>   o   strict mode: Choose a host that is dedicated to this account to 
> deploy
>a VM using this service offering. If no such host is present, choose an
>empty host and dedicate it to the account and use that for further
>deployments too.
>   o   preferred mode: Choose a dedicated host if available, if not it 
> is ok
>to use a shared host.
>
>-Original Message-
>From: Vahric Muhtaryan [mailto:vah...@doruk.net.tr]
>Sent: Wednesday, November 06, 2013 8:53 AM
>To: CloudStack SupportMailingList
>Subject: Planners
>
>Hello All ,
>
>We are discovering compute offering section and couldn¹t understand
>something about planner.
>
>Looks like deployment planner is like intelligent placement on Hyper-v or
>Vmware DRS but only the placement part.
>
>First we can not find explanations of implicitdedicationplanner and bare
>metal planner , any one know about it ?
>
>Second what is planner mode ? What is relation between deployment planner
>and planner mode ? If we choose deployment planner must we set the
>planner mode too ?
>
>Maybe sounds like stupid but , another thing is we can not imagine some
>deployment planners, for example if we are running cloud and have a
>resource, default behaviour should be spread everything almost equal ,
>why people want to put vms depend same account on same pod/cluster or
>what happen if i have small number of vm on host but there is high
>resource usage on that hosts. For example KVM do not have an option like
>vmware drs , how cloudstack handle spread of vms on KVM cluster ?
>
>Regards
>VM
>
>




Re: change own password and personal info

2013-11-06 Thread John Kinsella
Created CLOUDSTACK-5064 - no promises on if/when it gets implemented, but I'd 
guess it has a good chance…

On Nov 6, 2013, at 8:30 AM, Gordy Stronach 
mailto:gordon.stron...@gmail.com>> wrote:

+1 here also. The "Accounts" terminology can be a misnomer and is not
readily intuitive to new users.


On Wed, Nov 6, 2013 at 9:57 AM, John Kinsella 
mailto:j...@stratosec.co>> wrote:

Seems like the UI could benefit from a "my account" link near the top of
the page…what do folks think?

On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom <
geoff.higginbot...@shapeblue.com>
wrote:

You need to go to the Users Section as the passwords are mapped to users,
not accounts

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Юрий Карпель [mailto:yu...@karpel.su]
Sent: 06 November 2013 06:49
To: users@cloudstack.apache.org
Subject: change own password and personal info

Cloudstack 4.2 fresh install
Created account test with Role "User", and a user "newtest".
When I log in as a user created along with this Account I've checked
"Accounts->test->View Users ->newtest" and in the "Detail" tab there was no
buttons, so I couldn't:
1. change my own password
2. change my personal info
PS: for the admin account is also not possible to change the password What
could be wrong?
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.

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



Re: mshost table after upgrade from 4.1.0 to 4.1.1

2013-11-06 Thread Carlos Reategui
I got impatient waiting and decided to go ahead and edit the DB.  Things
really couldn't get any worse than they already were.

I am happy to report that I am back up and running and things look fine.

I made the following changes:
1) Set removed in the mshost table for the 4.1.0 management server:
update mshost set removed="2013-11-01" where msid=233845174730255;

2) Update the host table to have the vm hosts link to the 4.1.1 management
server id from the 4.1.0 id:
update host set mgmt_server_id=233845174730253 where
mgmt_server_id=233845174730255;

3) Update the storage_pool_work table to link my storage to the 4.1.1
management server id from the 4.1.0 id:
update storage_pool_work set mgmt_server_id=233845174730253 where
mgmt_server_id=233845174730255;

Started the MS and the SSVM came to life.  I did have to destroy the CPVM
and the VR and they came back.  I also noticed that since the version of
the hosts was still 4.1.0, the MS pushed its scripts out to the hosts and
apparently updated version in the host table to have them as 4.1.1.

The only thing that does not look right is that the state of the 4.1.0
mshost still shows as "Up".  Looks like it does not matter since it is
"removed" but I am guessing it would be better if I set it to "Stopped" or
something along those lines.  Any suggestions?

I am guessing the problem happened as a result of a botched update (I used
apt-get with the standard repo from the docs).  The only thing I can think
of is that the XenServers were not reachable during the update and
therefore something got missed and I ended up in a state where the new MS
software was installed but hosts and storage were not linked over to it
because the scripts could not contact the hosts.  Probably not a very
common occurrence.

cheers,
-Carlos



On Tue, Nov 5, 2013 at 3:22 PM, Carlos Reategui  wrote:

> Hi,
> Can someone that has updated from 4.1.0 to 4.1.1 (ideally with XenServer
> hosts) run the following queries in their db:
>
> select msid, state, version, service_port, removed from mshost;
> select ms.msid, ms.version as ms_version, h.version as host_version, count(
> h.id) from mshost ms, host h where ms.msid=h.mgmt_server_id;
>
> On my db I see the following:
> mysql> select msid, state, version, service_port, removed from mshost;
> +-+---+-+--+-+
> | msid| state | version | service_port | removed |
> +-+---+-+--+-+
> | 233845174730255 | Up| 4.1.0   | 9090 | NULL|
> | 233845174730253 | Up| 4.1.1   | 9090 | NULL|
> +-+---+-+--+-+
> 2 rows in set (0.00 sec)
>
> mysql> select ms.msid, ms.version as ms_version, h.version as
> host_version, count(h.id) from mshost ms, host h where
> ms.msid=h.mgmt_server_id;
> +-++--+-+
> | msid| ms_version | host_version | count(h.id) |
> +-++--+-+
> | 233845174730255 | 4.1.0  | 4.1.0|   2 |
> +-++--+-+
> 1 row in set (0.00 sec)
>
> I don't think this is right and I am trying to see what it looks like for
> others that have done the upgrade from 4.1.0 to 4.1.1.  I believe the 4.1.0
> msid should have a date in there indicating that it is no longer active and
> hosts in the host table should be linked to the 4.1.1 msid not the 4.1.0.
>  As well as have there version updated to 4.1.1.
>
> For the dev list guys, would it me ok for the to edit these values and see
> if that fixes my broken installation?  Also what should I do with entries
> in the tables like op_ha_work, op_it_work and storage_pool_work.  I am
> guessing I also would need to update the later also but not sure about the
> first 2.
>
> thank you
> Carlos
>
>
>


RE: Planners

2013-11-06 Thread Prachi Damle
>>Maybe sounds like stupid but , another thing is we can not imagine some 
>>deployment planners, for example if we are running cloud and have a resource, 
>>default behaviour should be spread everything almost equal , why people want 
>>to put vms depend same account on same pod/cluster

People may want to do so to have a dedicated resource for their account and not 
share the resource with other applications or they may always want to use a 
specific hardware for their applications.

>>or what happen  if i have small number of vm on host but there is high 
>>resource usage on that hosts. For example KVM do not have an option like 
>>vmware drs , how cloudstack handle spread of vms on KVM cluster ?

CloudStack currently supports firstfit, user-pod-concentrated, user-dispersing 
strategies. Using the user-dispersing, spread of VMs of the same account can be 
achieved.
But a generic spread-evenly strategy is not available, please feel free to open 
a feature request if the above modes do not suit your requirements.

Thanks,
Prachi
-Original Message-
From: Prachi Damle 
Sent: Wednesday, November 06, 2013 11:14 AM
To: CloudStack SupportMailingList
Subject: RE: Planners

Hi,

Some information about 
A] About the deployment planner option in service offering:
-   Details can be found here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeploymentPlanner+choice+via+ServiceOffering

B]About Implicit dedication planner
-   Design is here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resources+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
-   Check the Implicit Dedication Design at the end of the page.
-   The planner mode option in the service offering page is only applicable 
for Implicit dedication planner:
o   strict mode: Choose a host that is dedicated to this account to 
deploy a VM using this service offering. If no such host is present, choose an 
empty host and dedicate it to the account and use that for further deployments 
too.
o   preferred mode: Choose a dedicated host if available, if not it 
is ok to use a shared host.

-Original Message-
From: Vahric Muhtaryan [mailto:vah...@doruk.net.tr] 
Sent: Wednesday, November 06, 2013 8:53 AM
To: CloudStack SupportMailingList
Subject: Planners

Hello All ,

We are discovering compute offering section and couldn¹t understand something 
about planner.

Looks like deployment planner is like intelligent placement on Hyper-v or 
Vmware DRS but only the placement part.

First we can not find explanations of implicitdedicationplanner and bare metal 
planner , any one know about it ?

Second what is planner mode ? What is relation between deployment planner and 
planner mode ? If we choose deployment planner must we set the planner mode too 
? 

Maybe sounds like stupid but , another thing is we can not imagine some 
deployment planners, for example if we are running cloud and have a resource, 
default behaviour should be spread everything almost equal , why people want to 
put vms depend same account on same pod/cluster or what happen if i have small 
number of vm on host but there is high resource usage on that hosts. For 
example KVM do not have an option like vmware drs , how cloudstack handle 
spread of vms on KVM cluster ?

Regards
VM




RE: Planners

2013-11-06 Thread Prachi Damle
Hi,

Some information about 
A] About the deployment planner option in service offering:
-   Details can be found here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/DeploymentPlanner+choice+via+ServiceOffering

B]About Implicit dedication planner
-   Design is here 
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Dedicated+Resources+-+Private+zone%2C+pod%2C+cluster%2C+host+Functional+Spec
-   Check the Implicit Dedication Design at the end of the page.
-   The planner mode option in the service offering page is only applicable 
for Implicit dedication planner:
o   strict mode: Choose a host that is dedicated to this account to 
deploy a VM using this service offering. If no such host is present, choose an 
empty host and dedicate it to the account and use that for further deployments 
too.
o   preferred mode: Choose a dedicated host if available, if not it 
is ok to use a shared host.

-Original Message-
From: Vahric Muhtaryan [mailto:vah...@doruk.net.tr] 
Sent: Wednesday, November 06, 2013 8:53 AM
To: CloudStack SupportMailingList
Subject: Planners

Hello All ,

We are discovering compute offering section and couldn¹t understand something 
about planner.

Looks like deployment planner is like intelligent placement on Hyper-v or 
Vmware DRS but only the placement part.

First we can not find explanations of implicitdedicationplanner and bare metal 
planner , any one know about it ?

Second what is planner mode ? What is relation between deployment planner and 
planner mode ? If we choose deployment planner must we set the planner mode too 
? 

Maybe sounds like stupid but , another thing is we can not imagine some 
deployment planners, for example if we are running cloud and have a resource, 
default behaviour should be spread everything almost equal , why people want to 
put vms depend same account on same pod/cluster or what happen if i have small 
number of vm on host but there is high resource usage on that hosts. For 
example KVM do not have an option like vmware drs , how cloudstack handle 
spread of vms on KVM cluster ?

Regards
VM




Re: Can't destroy system VMs

2013-11-06 Thread Carlos Reategui
Since I didn't hear back I bit the bullet and decided to make the DB
changes and I am back up and running.  Woohoo.  I'll post the specifics in
the other thread I started about the mshost id.


On Tue, Nov 5, 2013 at 11:36 AM, Carlos Reategui wrote:

> Hi Daan,
>
> The mshost thing I mentioned previously has been bugging me and as I look
> through the db I think I have a problem here.  I am guessing I have a
> botched 4.1.0 to 4.1.1 upgrade that I did not notice when I shut things
> down.
>
> The mshost table is showing 2 management servers that are supposedly on
> the same machine listening on the same port which is not really possible.
>  So really only one of the 2 is up (I believe that would be the 4.1.1
> version). The logs do seem to indicate something along those lines where
> the 2 management servers are failing to communicate with each other.
>
> If I look at the host table I see my 2 hosts but they say they are on
> version 4.1.0 and are pointing to management server id of the 4.1.0 line in
> the mshost table.
>
> I am wondering if this is the problem and why their is no communication to
> my hosts from the management server.
>
> Anyone know the schema well enough to help me update some stuff and
> recover my installation?  Would an upgrade to 4.2 possibly cleanup my DB?
>
> thanks,
> Carlos
>
>
>
>
> On Tue, Nov 5, 2013 at 10:59 AM, Carlos Reategui wrote:
>
>> Hi Daan,
>>
>> I have been looking through my logs and can't figure out why the ssvm
>> does not want to start.
>>
>> Here is a link to my latest logs:
>> http://reategui.com/cloudstack/management-server-131105.log
>>
>> Maybe someone else can spot something.
>>
>> There is nothing on either the XenServer hosts logs.
>>
>> thanks,
>> Carlos
>>
>>
>> On Tue, Nov 5, 2013 at 12:55 AM, Daan Hoogland 
>> wrote:
>>
>>> Carlos,
>>>
>>> It makes no sense trying to start the vms if not the ssvm is started
>>> first.
>>>
>>> I would say stop the system, clear the logs and start again. Then
>>> analyse the logs to see what is wrong with the secondary storage vm.
>>>
>>> On Tue, Nov 5, 2013 at 2:08 AM, Carlos Reategui 
>>> wrote:
>>> > Hi Daan,
>>> > There is no trace of CS communicating with either of my XS hosts in the
>>> > SMLog file or the xensource.log files when I try to start one of my
>>> stopped
>>> > instances.
>>> >
>>> > thanks,
>>> > Carlos
>>> >
>>> >
>>> >
>>> > On Sat, Nov 2, 2013 at 4:50 AM, Daan Hoogland >> >wrote:
>>> >
>>> >> H Carlos,
>>> >>
>>> >> I wouldn't know about the mshost and mshost_peer but they seem
>>> >> alright. The expunging ssvm are a real problem. I think Ahmed
>>> >> mentioned that as well. You are having problems getting your ssvm in
>>> >> the air. All other things are consequential. This is the first thing
>>> >> to look at. Check the logs and the SMLog on the hypervisor to see what
>>> >> happens when cs tries to start a ssvm. By your db you can see that it
>>> >> tried to start it several times. Those are the expunging vm_instance
>>> >> entries.
>>> >>
>>> >> regards,
>>> >> Daan
>>> >>
>>> >> On Fri, Nov 1, 2013 at 9:10 PM, Carlos Reategui 
>>> >> wrote:
>>> >> > Hi Daan  :)
>>> >> >
>>> >> > Primary and Secondary storage are on the MS.  Primary is on a
>>> different
>>> >> > subnet and it is currently mounted (and visible as an NFS SR from
>>> >> > XenCenter) and working fine from the xen machines.  I have also
>>> been able
>>> >> > to mount Secondary without a problem.
>>> >> >
>>> >> > Here are my current system VMs:
>>> >> > mysql> select
>>> >> > id,name,instance_name,state,host_id,type,vm_type,desired_state from
>>> >> > vm_instance where type!='User';
>>> >> >
>>> >>
>>> ++-+---+---+-+++---+
>>> >> > | id | name| instance_name | state | host_id | type
>>> >>   |
>>> >> > vm_type| desired_state |
>>> >> >
>>> >>
>>> ++-+---+---+-+++---+
>>> >> > |  2 | v-2-VM  | v-2-VM| Stopped   |   1 | ConsoleProxy
>>> >>   |
>>> >> > ConsoleProxy   | NULL  |
>>> >> > |  5 | r-5-VM  | r-5-VM| Stopped   |   2 | DomainRouter
>>> >>   |
>>> >> > DomainRouter   | NULL  |
>>> >> > |  1 | s-1-VM  | s-1-VM| Expunging |NULL |
>>> >> SecondaryStorageVm |
>>> >> > SecondaryStorageVm | NULL  |
>>> >> > |  3 | s-3-VM  | s-3-VM| Expunging |NULL |
>>> >> SecondaryStorageVm |
>>> >> > SecondaryStorageVm | NULL  |
>>> >> > | 52 | s-52-VM | s-52-VM   | Expunging |NULL |
>>> >> SecondaryStorageVm |
>>> >> > SecondaryStorageVm | NULL  |
>>> >> > | 53 | s-53-VM | s-53-VM   | Expunging |NULL |
>>> >> SecondaryStorageVm |
>>> >> > SecondaryStorageVm | NULL  |
>>> >> > | 54 | s-54-VM | s-54-VM   | Expunging |NULL |
>>> >> SecondaryStorageVm |
>>> >> > SecondaryStorageVm | NULL  |
>>> >> > | 55 | s-55-V

ACS 4.2.0 + KVM + IO tunning

2013-11-06 Thread Andrei Mikhailovsky
Hello guys, 

I was wondering if anyone has successfully managed to set IO limits in ACS 
4.2.0. I've done some testing and I can't make it work. 

I've created two disk offerings, one with 20MB/s limit and another with 50MB/s. 
I've added both to a vm and dome simple dd tests. The limits are not working 
and I can successfully read and write faster than 200+MB/s. 

I've checked the kvm vm xml definition file and I can see the iotune parameters 
like these: 

Disk 1 with 20MB/s limit : 
 
2048 
2048 
500 
500 
 

Disk 2 with 50MB/s limit: 

 
5120 
5120 
1000 
1000 
 



I am using Ubuntu 12.04 servers with ACS 4.2.0 + KVM (libvirt 1.0.2 and qemu 
1.5.0) + RBD primary storage. 

Could you please point me in the right direction how to setup the IO limits? 

thanks 

Andrei 


set disk on compute or disk offering ?

2013-11-06 Thread Vahric Muhtaryan
Hello All, 

Disk based limitations like iops and others are presented on compute
offering and disk offering and looks like collision here
Generally how people use it ? I mean leave all network and disk options
empty on compute and set it everything on disk and network offerings ?
What is the purpose of this settings on compute offering section ?

Regards
VM




Planners

2013-11-06 Thread Vahric Muhtaryan
Hello All ,

We are discovering compute offering section and couldn¹t understand
something about planner.

Looks like deployment planner is like intelligent placement on Hyper-v or
Vmware DRS but only the placement part.

First we can not find explanations of implicitdedicationplanner and bare
metal planner , any one know about it ?

Second what is planner mode ? What is relation between deployment planner
and planner mode ? If we choose deployment planner must we set the planner
mode too ? 

Maybe sounds like stupid but , another thing is we can not imagine some
deployment planners, for example if we are running cloud and have a
resource, default behaviour should be spread everything almost equal , why
people want to put vms depend same account on same pod/cluster or what
happen if i have small number of vm on host but there is high resource usage
on that hosts. For example KVM do not have an option like vmware drs , how
cloudstack handle spread of vms on KVM cluster ?

Regards
VM




Re: change own password and personal info

2013-11-06 Thread Gordy Stronach
+1 here also. The "Accounts" terminology can be a misnomer and is not
readily intuitive to new users.


On Wed, Nov 6, 2013 at 9:57 AM, John Kinsella  wrote:

> Seems like the UI could benefit from a "my account" link near the top of
> the page…what do folks think?
>
> On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom <
> geoff.higginbot...@shapeblue.com>
> wrote:
>
> You need to go to the Users Section as the passwords are mapped to users,
> not accounts
>
> Regards
>
> Geoff Higginbottom
>
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
> geoff.higginbot...@shapeblue.com
>
> -Original Message-
> From: Юрий Карпель [mailto:yu...@karpel.su]
> Sent: 06 November 2013 06:49
> To: users@cloudstack.apache.org
> Subject: change own password and personal info
>
> Cloudstack 4.2 fresh install
> Created account test with Role "User", and a user "newtest".
> When I log in as a user created along with this Account I've checked
> "Accounts->test->View Users ->newtest" and in the "Detail" tab there was no
> buttons, so I couldn't:
> 1. change my own password
> 2. change my personal info
> PS: for the admin account is also not possible to change the password What
> could be wrong?
> 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.
>
> Stratosec - Compliance as a Service
> o: 415.315.9385
> @johnlkinsella
>
>


Re: [ANNOUNCE] OCCI Interface

2013-11-06 Thread Shishir Pardikar
sebgoa  writes:









> 



> Hi,



> 



> I am pleased to announce an OGF OCCI interface to CloudStack.



> 



> Isaac Chiang contributed back to our ruby client and forked rOCCI-server 

to make this happen. Many thanks



> to him.



> 



> I wrote about it here:



> http://buildacloud.org/blog/296-occi-interface-to-cloudstack.html



> 



> OCCI is one of the two cloud standards (with CIMI from DMTF).



> It is very important for CloudStack has it finally brings an official 

industry standard API to our software.



> 



> If you want to help with CIMI, ping me.



> 



> Cheers,



> 



> -Sebastien



> 









Hello,







I am from Citrix. I can help you write a CIMI interface to CloudStack.



Please contact me.







Thanks



Shishir Pardikar 











RE: change own password and personal info

2013-11-06 Thread Geoff Higginbottom
+1 from me

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: John Kinsella [mailto:j...@stratosec.co]
Sent: 06 November 2013 15:58
To: 
Subject: Re: change own password and personal info

Seems like the UI could benefit from a "my account" link near the top of the 
page...what do folks think?

On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom 
mailto:geoff.higginbot...@shapeblue.com>> 
wrote:

You need to go to the Users Section as the passwords are mapped to users, not 
accounts

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Юрий Карпель [mailto:yu...@karpel.su]
Sent: 06 November 2013 06:49
To: users@cloudstack.apache.org
Subject: change own password and personal info

Cloudstack 4.2 fresh install
Created account test with Role "User", and a user "newtest".
When I log in as a user created along with this Account I've checked 
"Accounts->test->View Users ->newtest" and in the "Detail" tab there was no 
buttons, so I couldn't:
1. change my own password
2. change my personal info
PS: for the admin account is also not possible to change the password What 
could be wrong?
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.

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella

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: [PROPOSAL] Service monitoring tool in virtual router

2013-11-06 Thread Jayapal Reddy Uradi
Please find below update FS
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Monitoring+VR+services

Thanks,
Jayapal

On 05-Oct-2013, at 6:54 PM, Santhosh Edukulla  
wrote:

> A shell script can be used. Few thoughts below:
> 
> 1. Collect the process id of all daemons you wanted to monitor using "pidof" 
> of command and then use "kill" command to check if the pid you got is valid. 
> Using kill we can send a signal 0, then check the status using echo $? . For 
> sending a notification use linux syslog call ( man 3 syslogd) or "logger" 
> command to send to syslog. If wanted to send email then you may also have to 
> look for firewall not allowing outbound smtp port communiation. Even for snmp 
> this holds same( i mean if any blocking through firewall rules ).  Using 
> syslog may be good as it by default exposes various debug log levels through 
> its api call.
> 
> Now, to keep the monitor script up always up and runninig. Keep the monitor 
> script run continuosly through cron or at at regular\scheduled intervals. 
> This way even if monitor script goes down, the next xth interval, it is up 
> again. 
> 
> With this there is a catch though, we may got multiple pids for a given 
> daemon provided if there are multiple daemons spawned by same\multiple 
> applications, if this scenario is not common then its ok, otherwise we may 
> have to track it differently maintaining state of each spawned daemon and see 
> if it exists. If multiple applications launch the same daemon, you may also 
> wanted to say its application which got killed. EX: A launched httpd, and 
> during its exit logic, it is killing all daemons it launched, then you may 
> wanted to add  A is not available, rather than just http is not available. 
> 
> 
> 2.  Using  netstat command : Check for available, listening and active ports 
> on local host, provided all the daemons you wanted to monitor are running on 
> "standard" ports or if we know the listening ports of those deamons to be 
> monitored. Again, this script can be added through cron\at to be scheduled to 
> run x units, if it gets killed the next x units after the monitor script is 
> up again. 
> 
> Also, there could be many other approaches as well.
> 
> 
> Thanks!
> Santhosh 
> 
> From: Jayapal Reddy Uradi [jayapalreddy.ur...@citrix.com]
> Sent: Saturday, October 05, 2013 5:17 AM
> To: 
> Cc: 
> Subject: Re: [PROPOSAL] Service monitoring tool in virtual router
> 
> Hi,
> 
> +users list
> If any one is already using any tools for monitoring then please share your 
> ideas.
> Also share the cases where you experienced service crashes.
> 
> Thanks,
> Jayapal
> 
> On 05-Oct-2013, at 4:12 AM, Chiradeep Vittal  
> wrote:
> 
>> Well just make sure that your script is resilient to its own crashes as
>> well.
>> 
>> On 10/4/13 1:59 AM, "Jayapal Reddy Uradi" 
>> wrote:
>> 
>>> Hi,
>>> 
>>> I am planning to write script utility to monitor processes and restart on
>>> the event of failure. It will also logs the events.
>>> 
>>> Thanks,
>>> Jayapal
>>> 
>>> On 02-Oct-2013, at 3:25 AM, Simon Weller  wrote:
>>> 
 supervisord maybe?
 
 - Original Message -
 
 From: "Chiradeep Vittal" 
 To: d...@cloudstack.apache.org
 Sent: Tuesday, October 1, 2013 4:45:56 PM
 Subject: Re: [PROPOSAL] Service monitoring tool in virtual router
 
 Got it. Any other OSS tool out there similar to monit?
 
 On 10/1/13 8:24 AM, "David Nalley"  wrote:
 
> On Thu, Sep 26, 2013 at 1:27 AM, Chiradeep Vittal
>  wrote:
>> SNMP wouldn't restart a failed process nor would it generate alerts.
>> It
>> is
>> simply too generic for the requirements outlined here. The proposal
>> does
>> not talk about modifying monit, just using it. That wouldn't trigger
>> the
>> AGPL.
> 
> Let me restate my objection to anything AGPL.
> People are largely comfortable with GPLv2 software - Linux is
> ubiquitous. Many legal departments routinely prohibit GPLv3 software
> (we actually saw this when CS was GPLv3 licensed.) But the Affero GPL
> license is anathema in many corporate environments, and by forcing it
> on folks in the default System VM I fear it will hurt adoption of
> CloudStack.
> 
> --David
 
 
>>> 
>> 
> 



Re: change own password and personal info

2013-11-06 Thread John Kinsella
Seems like the UI could benefit from a "my account" link near the top of the 
page…what do folks think?

On Nov 6, 2013, at 5:31 AM, Geoff Higginbottom 
mailto:geoff.higginbot...@shapeblue.com>> 
wrote:

You need to go to the Users Section as the passwords are mapped to users, not 
accounts

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Юрий Карпель [mailto:yu...@karpel.su]
Sent: 06 November 2013 06:49
To: users@cloudstack.apache.org
Subject: change own password and personal info

Cloudstack 4.2 fresh install
Created account test with Role "User", and a user "newtest".
When I log in as a user created along with this Account I've checked 
"Accounts->test->View Users ->newtest" and in the "Detail" tab there was no 
buttons, so I couldn't:
1. change my own password
2. change my personal info
PS: for the admin account is also not possible to change the password What 
could be wrong?
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.

Stratosec - Compliance as a Service
o: 415.315.9385
@johnlkinsella



about LDAP

2013-11-06 Thread Steven Liang
Hi All,

I have a question. I have a LDAP server, can I set management server and
host servers as LDAP clients?
I don't know if it will affect or not.
Thank you.

Steven


Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Mice Xia
Actually KVM snapshot was implemented long ago but was not merged to trunk due 
to 
1) it needs a modified libvirt-java (which is supposed to be included in latest 
release now), 
2) it is not fully tested, 
3) unable to meter the usage 
4) it has some known issue like your qcow2 disk file will grow after snapshot 
but will not shrink when snapshot is removed. 

-Mice

> Len,
> 
> +1 from me re renaming 'Volume Snapshots' to 'Volume Backups'
> 
> Why don’t you log a feature request
> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbot...@shapeblue.com
> 
> -Original Message-
> From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
> Sent: 06 November 2013 12:40
> To: users@cloudstack.apache.org
> Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM
> 
> I stumbled upon this feature yesterday on my XenServer cluster - I too 
> thought that it would only work on VMWare.
> I'm using XenServer 6.1 and can verify that the vm snapshot works.  I'm not 
> running the Enterprise edition, so memory snapshots fail with a licensing 
> error.
> 
> With this feature enabled, what I would love to see is the old style 
> snapshots renamed to "backups" because they aren't really snapshots in the 
> modern vmware/XenServer sense.  You can't really roll back to them, and a 
> snapshot indicates quick point in time image of the vm, something that the 
> old style snapshots do not do.
> 
> Well done for getting true snapshots sorted out.  This is a feature my users 
> are very happy about.
> 
> Len
> 
> 
> 
> -Original Message-
> From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
> Sent: 06 November 2013 09:16
> To: users@cloudstack.apache.org
> Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM
> 
> Ryan is correct, XenServer does support VM Snapshots when using CloudStack 
> 4.2.  Like Ryan I have been using it with XenServer 6.2 but I cannot see why 
> it would not work with earlier versions of XenServer as long as they are 
> licensed Enterprise versions (6.2 is now opensource)
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does 
> state that XenServer supports 'Memory-Disk' snapshots, but this was written 
> prior to the release of OpenSource Citrix XenServer 6.2 which includes 
> features previously only available in the Enterprise version.
> 
> FYI
> 
> Regards
> 
> Geoff Higginbottom
> 
> D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
> 
> geoff.higginbot...@shapeblue.com
> 
> -Original Message-
> From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf Of 
> Ryan Lei
> Sent: 06 November 2013 05:12
> To: users@cloudstack.apache.org
> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM
> 
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots
> 
> From my experience, though, VM snapshot also supports XenServer (mine is 6.2).
> It also facilitates XenServer's native snapshot capibility, and works 
> flawlessly.
> I have no idea why the release notes and admin guide ONLY mention VMware, as 
> opposed to the wiki. :(
> 
> 
> ---
> Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / 
> Cloud Computing Laboratory 
> ryan...@cht.com.tw
> or ryanlei750...@gmail.com
> 
> 
> 
> On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu < 
> sanjeev.neelar...@citrix.com> wrote:
> 
>> Hi,
>> 
>> Instance Snapshot is only supported on VMWare. It uses VMWare native
>> snapshot facility.
>> Please refer
>> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
>> dmin_Guide/vm-snapshots.html
>> 
>> Thanks,
>> Sanjeev
>> 
>> -Original Message-
>> From: motty cruz [mailto:motty.c...@gmail.com]
>> Sent: Tuesday, November 05, 2013 9:56 PM
>> To: users@cloudstack.apache.org
>> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
>> KVM
>> 
>> Hi Sebastien,
>> 
>> I was not able to solve the snapshot issue, I can take a snapshot of a
>> disk but not of the "instance",  I still get the "VM snapshot is not
>> enabled for hypervisor type: KVM"
>> 
>> I enabled KVM snapshot in Global Settings, someone suggested to turn
>> off the instance, which I did but no success,
>> 
>> Thanks,
>> 
>> 
>> 
>> On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen >> wrote:
>> 
>>> 
>>> On Oct 31, 2013, at 6:40 PM, motty cruz  wrote:
>>> 
 2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
 (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
 found
 2013-10-31 13:03:50,056 DEBUG
 [storage.snapshot.SnapshotManagerImpl]
 (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
>>>

Fwd: CS 4.2 + VMware + Local storage

2013-11-06 Thread Gaspare A. Silvestri

Hi all,

I've recently deployed a CS 4.2 infrastructure with VMware vSphere 5.1
and the local storage enabled.

I've deployed with no problems the firs two system's VMs (SSVM and
CPVM), then when I try to deploy an instance from a template (starting
so the creation of the router machine), I receive the following error:

"Message: Unsupported storage pool type LVM

java.lang.Exception: Unsupported storage pool type LVM
at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4437)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:475)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) "

I've read the local storage is compatible with vSphere. Any help?

Thanks in advance,

Gaspare



CS 4.2 + VMware + Local storage

2013-11-06 Thread Gaspare A. Silvestri
Hi all,

I've recently deployed a CS 4.2 infrastructure with VMware vSphere 5.1
and the local storage enabled.

I've deployed with no problems the firs two system's VMs (SSVM and
CPVM), then when I try to deploy an instance from a template (starting
so the creation of the router machine), I receive the following error:

"Message: Unsupported storage pool type LVM

java.lang.Exception: Unsupported storage pool type LVM
at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:4437)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:475)
at
com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186)
at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at
java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) "

I've read the local storage is compatible with vSphere. Any help?

Thanks in advance,

Gaspare


RE: domains/subdomains headaches

2013-11-06 Thread Octavian Popescu
Thanks Geoff, will give it a try. What's the usual process for creating a 
feature request - just create it in Jira (did that - 
https://issues.apache.org/jira/browse/CLOUDSTACK-5058 ) and then it will be 
vetted automatically by the team, or create it and post a review request to 
dev@ ?

Thanks again for helping with this.

Octavian

>-Original Message-
>From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
>Sent: 06 November 2013 13:13
>To: users@cloudstack.apache.org
>Subject: RE: domains/subdomains headaches
>
>I did some testing last night (before seeing Nitin's response) and using the
>updateTemplatePermissions command could work for you but with caveats.
>
>updateTemplatePermissions does the following (from API page) " Updates a
>template visibility permissions. A public template is visible to all accounts
>within the same domain. A private template is visible only to the owner of the
>template. A priviledged template is a private template with account
>permissions added. Only accounts specified under the template permissions
>are visible to them"
>
>Full details can be found here
>http://cloudstack.apache.org/docs/api/apidocs-
>4.2/root_admin/updateTemplatePermissions.html
>
>The command assumes it is being run by an account within the same Domain
>as the target account so you cannot run it as Root.
>
>You would have to create an account within the domain you want to allocated
>the Template to, then import the Template, but do NOT make it Public.
>
>Then using the updateTemplatePermissions API call whilst authenticated as
>the account who imported the Template (suggest you use CloudMonkey for
>this) assign permissions to the other Accounts within the Domain.
>
>This does not filter down to Sub Domains, so you would need to repeat the
>process for every Domain.
>
>Suggest you log a feature request to get this enhanced to allow you to 'Specify
>the Domain ID' when assigning permissions.
>
>You could also log a 2nd Feature Request to 'Enable allocation of a Template to
>a Domain and optionally its Sub Domains'
>
>Regards
>
>Geoff Higginbottom
>
>D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>
>geoff.higginbot...@shapeblue.com
>
>-Original Message-
>From: Nitin Mehta [mailto:nitin.me...@citrix.com]
>Sent: 05 November 2013 18:17
>To: users@cloudstack.apache.org
>Subject: Re: domains/subdomains headaches
>
>I don¹t think CS has that functionality at the moment. I am guessing RBAC
>work might factor that.
>That said there is a workaround of adding the accounts you want the template
>to be visible through updateTemplatePermissions API.
>See that works for you
>
>Thanks,
>-Nitin
>
>On 05/11/13 8:41 AM, "Octavian Popescu"
>
>wrote:
>
>>Thanks Geoff but it's still not working...
>>
>>>-Original Message-
>>>From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
>>>Sent: 05 November 2013 17:31
>>>To: users@cloudstack.apache.org
>>>Subject: RE: domains/subdomains headaches
>>>
>>>Octavian,
>>>
>>>If I remember rightly, login as a Domain Admin for 'Base_Domain', and
>>>then publish the Template as a 'Featured' template, this should then
>>>be available to Sub-Domians
>>>
>>>Regards
>>>
>>>Geoff Higginbottom
>>>
>>>D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>>>
>>>geoff.higginbot...@shapeblue.com
>>>
>>>-Original Message-
>>>From: Octavian Popescu [mailto:octavian.pope...@interoute.com]
>>>Sent: 05 November 2013 15:20
>>>To: users@cloudstack.apache.org
>>>Subject: domains/subdomains headaches
>>>
>>>Hi,
>>>
>>>Have a look at the following structure:
>>>
>>>BASE_DOMAIN
>>>\_ CHILD_1
>>>\_ CHILD_2
>>>
>>>Assuming I'm using an account created in BASE_DOMAIN, I'm trying to
>>>find a way to publish templates from that account so that they're also
>>>accessible to accounts created on the child subdomains - is there any
>>>way to do this and set up some sort of inheritance for the templates?
>>>The default behavior seems to be total isolation - if you create a
>>>template via an account from the BASE_DOMAIN, the subdomains are not
>>>able to access it (and the other way around, if you create it from an
>>>account in the child domains, the BASE_DOMAIN account is not able to
>>>access them) I don't want to declare the templates as public as
>>>everyone will be able to access them then.
>>>
>>>Thanks,
>>>Octavian
>>>
>>>
>>>
>>>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 incor

[Solved] Re: Snapshot failed due to: LICENCE_RESTRICTION

2013-11-06 Thread Daniel Hertanu
Got it thanks, just came up to the same conclusion after a few more tests.


On Wed, Nov 6, 2013 at 4:31 PM, Mice Xia  wrote:

>
> You need an enterprise license for Xenserver 602 to take a Memory snapshot.
>
> -Mice
>
>
>
> > Hi
> >
> > Infrastructure - CloudStack 4.2.0 on CentOS 6.4 64 bit with XenServer
> 6.0.2
> >
> > Today while I was trying to create a snapshot for a volume, the operation
> > failed and CS logs show this message:
> >
> > 2013-11-06 14:49:49,954 ERROR [xen.resource.CitrixResourceBase]
> > (DirectAgent-16:null) Creating VM Snapshot i-2-46-VM_VS_20131106144949
> > failed due to: LICENCE_RESTRICTION
> >
> > The Xen host has a free license activated that will expire in September
> > 2014. Anyone knows where this is coming from?
> >
> > Thanks,
> >
> > Daniel
>


Re: Snapshot failed due to: LICENCE_RESTRICTION

2013-11-06 Thread Mice Xia

You need an enterprise license for Xenserver 602 to take a Memory snapshot.

-Mice



> Hi
> 
> Infrastructure - CloudStack 4.2.0 on CentOS 6.4 64 bit with XenServer 6.0.2
> 
> Today while I was trying to create a snapshot for a volume, the operation
> failed and CS logs show this message:
> 
> 2013-11-06 14:49:49,954 ERROR [xen.resource.CitrixResourceBase]
> (DirectAgent-16:null) Creating VM Snapshot i-2-46-VM_VS_20131106144949
> failed due to: LICENCE_RESTRICTION
> 
> The Xen host has a free license activated that will expire in September
> 2014. Anyone knows where this is coming from?
> 
> Thanks,
> 
> Daniel


Re: Java timestamp in project email invites, Jan 16, 1970

2013-11-06 Thread Gordy Stronach
Yes, exactly that.

On Wednesday, November 6, 2013, sebgoa wrote:

>
> On Nov 5, 2013, at 7:00 PM, Gordy Stronach 
> >
> wrote:
>
> > Only when sending an invite to users, all other mails (restarting
> service,
> > etc) show correct timestamps.
> >
>
> Are you seeing this when inviting a user to a project ?
>
> > Any advice?
> >
> > ACS Version 4.2.0
> > Management platform CentOS 6.4
> >
> > Java:
> > java version "1.6.0_24"
> > OpenJDK Runtime Environment (IcedTea6 1.11.13)
> > (rhel-1.65.1.11.13.el6_4-x86_64)
> > OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> >
> > Cheers,
> > gordy
>
>

-- 
Sent from my iPhone


Snapshot failed due to: LICENCE_RESTRICTION

2013-11-06 Thread Daniel Hertanu
Hi

Infrastructure - CloudStack 4.2.0 on CentOS 6.4 64 bit with XenServer 6.0.2

Today while I was trying to create a snapshot for a volume, the operation
failed and CS logs show this message:

2013-11-06 14:49:49,954 ERROR [xen.resource.CitrixResourceBase]
(DirectAgent-16:null) Creating VM Snapshot i-2-46-VM_VS_20131106144949
failed due to: LICENCE_RESTRICTION

The Xen host has a free license activated that will expire in September
2014. Anyone knows where this is coming from?

Thanks,

Daniel


RE: change own password and personal info

2013-11-06 Thread Geoff Higginbottom
You need to go to the Users Section as the passwords are mapped to users, not 
accounts

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Юрий Карпель [mailto:yu...@karpel.su]
Sent: 06 November 2013 06:49
To: users@cloudstack.apache.org
Subject: change own password and personal info

Cloudstack 4.2 fresh install
Created account test with Role "User", and a user "newtest".
 When I log in as a user created along with this Account I've checked 
"Accounts->test->View Users ->newtest" and in the "Detail" tab there was no 
buttons, so I couldn't:
1. change my own password
2. change my personal info
PS: for the admin account is also not possible to change the password What 
could be wrong?
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: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Geoff Higginbottom
Len,

+1 from me re renaming 'Volume Snapshots' to 'Volume Backups'

Why don’t you log a feature request

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com]
Sent: 06 November 2013 12:40
To: users@cloudstack.apache.org
Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

I stumbled upon this feature yesterday on my XenServer cluster - I too thought 
that it would only work on VMWare.
I'm using XenServer 6.1 and can verify that the vm snapshot works.  I'm not 
running the Enterprise edition, so memory snapshots fail with a licensing error.

With this feature enabled, what I would love to see is the old style snapshots 
renamed to "backups" because they aren't really snapshots in the modern 
vmware/XenServer sense.  You can't really roll back to them, and a snapshot 
indicates quick point in time image of the vm, something that the old style 
snapshots do not do.

Well done for getting true snapshots sorted out.  This is a feature my users 
are very happy about.

Len



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 06 November 2013 09:16
To: users@cloudstack.apache.org
Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

Ryan is correct, XenServer does support VM Snapshots when using CloudStack 4.2. 
 Like Ryan I have been using it with XenServer 6.2 but I cannot see why it 
would not work with earlier versions of XenServer as long as they are licensed 
Enterprise versions (6.2 is now opensource)

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does state 
that XenServer supports 'Memory-Disk' snapshots, but this was written prior to 
the release of OpenSource Citrix XenServer 6.2 which includes features 
previously only available in the Enterprise version.

FYI

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf Of 
Ryan Lei
Sent: 06 November 2013 05:12
To: users@cloudstack.apache.org
Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

From my experience, though, VM snapshot also supports XenServer (mine is 6.2).
It also facilitates XenServer's native snapshot capibility, and works 
flawlessly.
I have no idea why the release notes and admin guide ONLY mention VMware, as 
opposed to the wiki. :(


---
Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / Cloud 
Computing Laboratory 
ryan...@cht.com.tw
 or ryanlei750...@gmail.com



On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu < 
sanjeev.neelar...@citrix.com> wrote:

> Hi,
>
> Instance Snapshot is only supported on VMWare. It uses VMWare native
> snapshot facility.
> Please refer
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
> dmin_Guide/vm-snapshots.html
>
> Thanks,
> Sanjeev
>
> -Original Message-
> From: motty cruz [mailto:motty.c...@gmail.com]
> Sent: Tuesday, November 05, 2013 9:56 PM
> To: users@cloudstack.apache.org
> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
> KVM
>
> Hi Sebastien,
>
> I was not able to solve the snapshot issue, I can take a snapshot of a
> disk but not of the "instance",  I still get the "VM snapshot is not
> enabled for hypervisor type: KVM"
>
> I enabled KVM snapshot in Global Settings, someone suggested to turn
> off the instance, which I did but no success,
>
> Thanks,
>
>
>
> On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen  >wrote:
>
> >
> > On Oct 31, 2013, at 6:40 PM, motty cruz  wrote:
> >
> > > 2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
> > > (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
> > > found
> > > 2013-10-31 13:03:50,056 DEBUG
> > > [storage.snapshot.SnapshotManagerImpl]
> > > (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
> > > ])
> > Failed
> > > to create snapshot
> > > com.cloud.utils.exception.CloudRuntimeException:   clvmd not running on
> > > node kvm2.fqdn.comDisk
> > /dev/hitachi-2/ff599482-7bcf-41e6-9ca4-738f4fb94bc9
> > > has no snapshot called 71bb6af455688c8d1de850551fad31c3.
> > >at
> > >
> > org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSna
> > ps
> > hot(Sn
> > >
> >
> > Motty, did you get that solved ?
> > It seemed to be a CLVM error. Marcuse Sorensen is the expert in CLVM
> > :)
> >
> > -sebastien
> >
> > >
> > > On Thu, Oct 31, 2013 at 1:01 PM, Sebastien Goasguen
> 

RE: Netscaler Network Offering

2013-11-06 Thread Sanjeev Neelarapu
Try changing the LB service to shared and removing VPN (Since Remote access vpn 
is not supported in VPC) from the list of services.

-Original Message-
From: Len Bellemore [mailto:len.bellem...@controlcircle.com] 
Sent: Wednesday, November 06, 2013 6:04 PM
To: users@cloudstack.apache.org
Subject: Netscaler Network Offering

Hi Guys,

Has anyone had any luck applying a Netscaler-based Network Offering to a VPC 
tier?

I've managed to get the Netscaler registered as a Network Service Provider, and 
it's enabled without issue.

Unfortunately when we try to apply the network offering to the VPC tier, we get 
an error as follows:
"Service/provider combination Lb/Netscaler is not supported by VPC [VPC 
[14-len-vpc]"

I have a feeling that the offering that I created has an incorrect combination 
of services, but I can't tell what it might be. My offering looks like this:

mycloudmonkey> listNetworkOfferings name="VPC - Netscaler (External) Load 
Balancing"
count = 1
networkoffering:
name = VPC - Netscaler (External) Load Balancing id = 
608c95d2-79b0-4c8d-ac57-75c888713f18
availability = Optional
conservemode = False
displaytext = VPC - External Netscaler Load Balancing: Can be used on a single 
tier only.
egressdefaultpolicy = True
forvpc = True
guestiptype = Isolated
isdefault = False
ispersistent = False
networkrate = 200
service:
name = StaticNat
capability:
name = ElasticIp
canchooseservicecapability = False
value = true

name = AssociatePublicIP
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = SourceNat
capability:
name = SupportedSourceNatTypes
canchooseservicecapability = False
value = peraccount

name = RedundantRouter
canchooseservicecapability = False
value = false

provider:
name = VpcVirtualRouter

name = Dhcp
provider:
name = VpcVirtualRouter

name = UserData
provider:
name = VpcVirtualRouter

name = Lb
capability:
name = SupportedLBIsolation
canchooseservicecapability = False
value = dedicated

name = ElasticLb
canchooseservicecapability = False
value = false

name = InlineMode
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = Vpn
provider:
name = VpcVirtualRouter

name = PortForwarding
provider:
name = VpcVirtualRouter

name = NetworkACL
provider:
name = VpcVirtualRouter

name = Dns
provider:
name = VpcVirtualRouter

serviceofferingid = a8f44914-d9cd-4f71-9b26-e93c4913c3b2
specifyipranges = False
specifyvlan = False
state = Enabled
tags = cloud-guest
traffictype = Guest


Any help would be appreciated.



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


change own password and personal info

2013-11-06 Thread Юрий Карпель
Cloudstack 4.2 fresh install
Created account test with Role "User", and a user "newtest".
 When I log in as a user created along with this Account I've checked
"Accounts->test->View Users ->newtest" and in the "Detail" tab
there was no buttons, so I couldn't:
1. change my own password
2. change my personal info
PS: for the admin account is also not possible to change the password
What could be wrong?


RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Len Bellemore
I stumbled upon this feature yesterday on my XenServer cluster - I too thought 
that it would only work on VMWare.
I'm using XenServer 6.1 and can verify that the vm snapshot works.  I'm not 
running the Enterprise edition, so memory snapshots fail with a licensing error.

With this feature enabled, what I would love to see is the old style snapshots 
renamed to "backups" because they aren't really snapshots in the modern 
vmware/XenServer sense.  You can't really roll back to them, and a snapshot 
indicates quick point in time image of the vm, something that the old style 
snapshots do not do.

Well done for getting true snapshots sorted out.  This is a feature my users 
are very happy about.

Len



-Original Message-
From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
Sent: 06 November 2013 09:16
To: users@cloudstack.apache.org
Subject: RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

Ryan is correct, XenServer does support VM Snapshots when using CloudStack 4.2. 
 Like Ryan I have been using it with XenServer 6.2 but I cannot see why it 
would not work with earlier versions of XenServer as long as they are licensed 
Enterprise versions (6.2 is now opensource)

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does state 
that XenServer supports 'Memory-Disk' snapshots, but this was written prior to 
the release of OpenSource Citrix XenServer 6.2 which includes features 
previously only available in the Enterprise version.

FYI

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf Of 
Ryan Lei
Sent: 06 November 2013 05:12
To: users@cloudstack.apache.org
Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

From my experience, though, VM snapshot also supports XenServer (mine is 6.2).
It also facilitates XenServer's native snapshot capibility, and works 
flawlessly.
I have no idea why the release notes and admin guide ONLY mention VMware, as 
opposed to the wiki. :(


---
Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / Cloud 
Computing Laboratory 
ryan...@cht.com.tw
 or ryanlei750...@gmail.com



On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu < 
sanjeev.neelar...@citrix.com> wrote:

> Hi,
>
> Instance Snapshot is only supported on VMWare. It uses VMWare native
> snapshot facility.
> Please refer
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
> dmin_Guide/vm-snapshots.html
>
> Thanks,
> Sanjeev
>
> -Original Message-
> From: motty cruz [mailto:motty.c...@gmail.com]
> Sent: Tuesday, November 05, 2013 9:56 PM
> To: users@cloudstack.apache.org
> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
> KVM
>
> Hi Sebastien,
>
> I was not able to solve the snapshot issue, I can take a snapshot of a
> disk but not of the "instance",  I still get the "VM snapshot is not
> enabled for hypervisor type: KVM"
>
> I enabled KVM snapshot in Global Settings, someone suggested to turn
> off the instance, which I did but no success,
>
> Thanks,
>
>
>
> On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen  >wrote:
>
> >
> > On Oct 31, 2013, at 6:40 PM, motty cruz  wrote:
> >
> > > 2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
> > > (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
> > > found
> > > 2013-10-31 13:03:50,056 DEBUG
> > > [storage.snapshot.SnapshotManagerImpl]
> > > (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
> > > ])
> > Failed
> > > to create snapshot
> > > com.cloud.utils.exception.CloudRuntimeException:   clvmd not running on
> > > node kvm2.fqdn.comDisk
> > /dev/hitachi-2/ff599482-7bcf-41e6-9ca4-738f4fb94bc9
> > > has no snapshot called 71bb6af455688c8d1de850551fad31c3.
> > >at
> > >
> > org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSna
> > ps
> > hot(Sn
> > >
> >
> > Motty, did you get that solved ?
> > It seemed to be a CLVM error. Marcuse Sorensen is the expert in CLVM
> > :)
> >
> > -sebastien
> >
> > >
> > > On Thu, Oct 31, 2013 at 1:01 PM, Sebastien Goasguen
> > > > >wrote:
> > >
> > >> Anything in the management server logs ?
> > >>
> > >> On Oct 31, 2013, at 3:53 PM, motty cruz  wrote:
> > >>
> > >>> yes I did restart the management server, twice. but not
> > >>> successful,
> > >>>
> > >>>
> > >>> On Thu, Oct 31, 2013 at 12:47 PM, Sebastien Goasguen
> > >>>  > >>> wrote:
> > >>>
> > 
> >  On Oct 31, 2013, at 3:32 PM, motty cruz 
> wrote:
> > 
> > > Hello,
> > > I'm having issues wit

Netscaler Network Offering

2013-11-06 Thread Len Bellemore
Hi Guys,

Has anyone had any luck applying a Netscaler-based Network Offering to a VPC 
tier?

I've managed to get the Netscaler registered as a Network Service Provider, and 
it's enabled without issue.

Unfortunately when we try to apply the network offering to the VPC tier, we get 
an error as follows:
"Service/provider combination Lb/Netscaler is not supported by VPC [VPC 
[14-len-vpc]"

I have a feeling that the offering that I created has an incorrect combination 
of services, but I can't tell what it might be. My offering looks like this:

mycloudmonkey> listNetworkOfferings name="VPC - Netscaler (External) Load 
Balancing"
count = 1
networkoffering:
name = VPC - Netscaler (External) Load Balancing
id = 608c95d2-79b0-4c8d-ac57-75c888713f18
availability = Optional
conservemode = False
displaytext = VPC - External Netscaler Load Balancing: Can be used on a single 
tier only.
egressdefaultpolicy = True
forvpc = True
guestiptype = Isolated
isdefault = False
ispersistent = False
networkrate = 200
service:
name = StaticNat
capability:
name = ElasticIp
canchooseservicecapability = False
value = true

name = AssociatePublicIP
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = SourceNat
capability:
name = SupportedSourceNatTypes
canchooseservicecapability = False
value = peraccount

name = RedundantRouter
canchooseservicecapability = False
value = false

provider:
name = VpcVirtualRouter

name = Dhcp
provider:
name = VpcVirtualRouter

name = UserData
provider:
name = VpcVirtualRouter

name = Lb
capability:
name = SupportedLBIsolation
canchooseservicecapability = False
value = dedicated

name = ElasticLb
canchooseservicecapability = False
value = false

name = InlineMode
canchooseservicecapability = False
value = false

provider:
name = Netscaler

name = Vpn
provider:
name = VpcVirtualRouter

name = PortForwarding
provider:
name = VpcVirtualRouter

name = NetworkACL
provider:
name = VpcVirtualRouter

name = Dns
provider:
name = VpcVirtualRouter

serviceofferingid = a8f44914-d9cd-4f71-9b26-e93c4913c3b2
specifyipranges = False
specifyvlan = False
state = Enabled
tags = cloud-guest
traffictype = Guest


Any help would be appreciated.



IMPORTANT NOTICE. This electronic message contains information from Control 
Circle Ltd, which may be privileged or confidential. The information is 
intended for use only by the individual(s) or entity named above. If you are 
not the intended recipient, be aware that any disclosure, copying, distribution 
or use of the contents of this information is strictly prohibited. If you have 
received this electronic message in error, please notify me by telephone or 
email (to the number or email address above) immediately. Activity and use of 
the ControlCircle e-mail system is monitored to secure its effective operation 
and for other lawful business purposes. Communications using this system will 
also be monitored and may be recorded to secure effective operation and for 
other lawful business purposes


RE: domains/subdomains headaches

2013-11-06 Thread Geoff Higginbottom
I did some testing last night (before seeing Nitin's response) and using the 
updateTemplatePermissions command could work for you but with caveats.

updateTemplatePermissions does the following (from API page)
" Updates a template visibility permissions. A public template is visible to 
all accounts within the same domain. A private template is visible only to the 
owner of the template. A priviledged template is a private template with 
account permissions added. Only accounts specified under the template 
permissions are visible to them"

Full details can be found here
http://cloudstack.apache.org/docs/api/apidocs-4.2/root_admin/updateTemplatePermissions.html

The command assumes it is being run by an account within the same Domain as the 
target account so you cannot run it as Root.

You would have to create an account within the domain you want to allocated the 
Template to, then import the Template, but do NOT make it Public.

Then using the updateTemplatePermissions API call whilst authenticated as the 
account who imported the Template (suggest you use CloudMonkey for this) assign 
permissions to the other Accounts within the Domain.

This does not filter down to Sub Domains, so you would need to repeat the 
process for every Domain.

Suggest you log a feature request to get this enhanced to allow you to 'Specify 
the Domain ID' when assigning permissions.

You could also log a 2nd Feature Request to 'Enable allocation of a Template to 
a Domain and optionally its Sub Domains'

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: Nitin Mehta [mailto:nitin.me...@citrix.com]
Sent: 05 November 2013 18:17
To: users@cloudstack.apache.org
Subject: Re: domains/subdomains headaches

I don¹t think CS has that functionality at the moment. I am guessing RBAC work 
might factor that.
That said there is a workaround of adding the accounts you want the template to 
be visible through updateTemplatePermissions API.
See that works for you

Thanks,
-Nitin

On 05/11/13 8:41 AM, "Octavian Popescu" 
wrote:

>Thanks Geoff but it's still not working...
>
>>-Original Message-
>>From: Geoff Higginbottom [mailto:geoff.higginbot...@shapeblue.com]
>>Sent: 05 November 2013 17:31
>>To: users@cloudstack.apache.org
>>Subject: RE: domains/subdomains headaches
>>
>>Octavian,
>>
>>If I remember rightly, login as a Domain Admin for 'Base_Domain', and
>>then publish the Template as a 'Featured' template, this should then
>>be available to Sub-Domians
>>
>>Regards
>>
>>Geoff Higginbottom
>>
>>D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581
>>
>>geoff.higginbot...@shapeblue.com
>>
>>-Original Message-
>>From: Octavian Popescu [mailto:octavian.pope...@interoute.com]
>>Sent: 05 November 2013 15:20
>>To: users@cloudstack.apache.org
>>Subject: domains/subdomains headaches
>>
>>Hi,
>>
>>Have a look at the following structure:
>>
>>BASE_DOMAIN
>>\_ CHILD_1
>>\_ CHILD_2
>>
>>Assuming I'm using an account created in BASE_DOMAIN, I'm trying to
>>find a way to publish templates from that account so that they're also
>>accessible to accounts created on the child subdomains - is there any
>>way to do this and set up some sort of inheritance for the templates?
>>The default behavior seems to be total isolation - if you create a
>>template via an account from the BASE_DOMAIN, the subdomains are not
>>able to access it (and the other way around, if you create it from an
>>account in the child domains, the BASE_DOMAIN account is not able to
>>access them) I don't want to declare the templates as public as
>>everyone will be able to access them then.
>>
>>Thanks,
>>Octavian
>>
>>
>>
>>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.

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, y

Re: Java timestamp in project email invites, Jan 16, 1970

2013-11-06 Thread sebgoa

On Nov 5, 2013, at 7:00 PM, Gordy Stronach  wrote:

> Only when sending an invite to users, all other mails (restarting service,
> etc) show correct timestamps.
> 

Are you seeing this when inviting a user to a project ?

> Any advice?
> 
> ACS Version 4.2.0
> Management platform CentOS 6.4
> 
> Java:
> java version "1.6.0_24"
> OpenJDK Runtime Environment (IcedTea6 1.11.13)
> (rhel-1.65.1.11.13.el6_4-x86_64)
> OpenJDK 64-Bit Server VM (build 20.0-b12, mixed mode)
> 
> Cheers,
> gordy



Re: Multi-master MySQL Setup

2013-11-06 Thread Prasanna Santhanam
Hi Alex,

The wiki is a WIP for the feature that is on the roadmap. This
discussion should serve well when drawing out the specifics of
database-ha. Please do not hesitate to weigh in when you see the
[DISCUSS] thread related to 'Database-HA' on the dev@ mailing list.

On Wed, Nov 06, 2013 at 03:10:02PM +0800, Alexey Zilber wrote:
> Hi Prasanna,
> 
>   That page isn't fully correct regarding MariaDB.  Please see:
> https://mariadb.com/kb/en/multi-source-replication/
> 
> Thanks,
> Alex
> 
> 
> On Wed, Nov 6, 2013 at 2:35 PM, Prasanna Santhanam  wrote:
> 
> > Incidentally, this is something that is being focussed on as part of
> > the upcoming release [1].
> >
> > [1] https://cwiki.apache.org/confluence/x/v5YTAg
> >
> > On Tue, Nov 05, 2013 at 10:42:58PM +, Marty Sweet wrote:
> > > The issue with plain MySQL replication (espically in master-master) is
> > that
> > > a failed query will stop replication. A good example of this is when an
> > > record is added onto each master at the same time (within a second), say
> > a
> > > new record which gets the same primary key and replication will stop, on
> > > both hosts. That then leaves a split brain situation when you have one
> > > master writing its own data and another writing to itself, all with
> > > identical primary keys. Absolute nightmare. This can how ever be migrated
> > > with the methods the OP mentioned (I assume - but don't have experience
> > of).
> > >
> > > I don't think file curroption is much of an issue with DRDB, but you can
> > > only have one host write to it at anyone time (limitation of file system
> > > used), which makes the master-slave or master-backup setup ideal when
> > > coupled with HA service management software such as Pacemaker. You then
> > > have the database files in both places without the dreaded MySQL
> > > replication stories.
> > >
> > > I think the main question lyes with if the cloud admin wants a
> > > simple redundant setup or a load balanced service - it may also we worth
> > > writing some documentation for this to help future installations,
> > although
> > > they will have to be detailed.
> > >
> > > I have never used Percona/MariaDB, does it resolve the master-master
> > issues
> > > I mentioned earlier?
> > >
> > > Marty
> > >
> > > On Tuesday, November 5, 2013, Adrian Lewis wrote:
> > >
> > > > Seems like the Percona solution also uses Galera for their multi-master
> > > > cluster. Starting to wonder whether to go MariaDB-Galera now. Tempted
> > just
> > > > to leave it as master slave replicated on MySQL though. Scale really
> > not
> > > > an issue right now. Ho hum, fun to be had if I had the time to play.
> > > >
> > > > Assuming no Galera (with either MySQL/Percona/MariaDB) and just using
> > > > Centos version of MySQL - does anyone have any input as to whether to
> > go
> > > > for replicating between two hosts using DRBD vs native MySQL
> > replication?
> > > > I get the impression that MySQL replication is an eventually-consistent
> > > > near-realtime kind of replication whereas DRBD can be set to be
> > completely
> > > > synchronous replication. MySQL replication just seems a lot less fiddly
> > > > than using DRBD and DRBD would replicate file corruption that MySQL
> > > > replication would be largely safe from.
> > > >
> > > > -Original Message-
> > > > From: Patrick Miller [mailto:patrick.mil...@sungard.com]
> > > > Sent: 05 November 2013 21:51
> > > > To: users@cloudstack.apache.org 
> > > > Subject: Re: Multi-master MySQL Setup
> > > >
> > > > Take a look at the percona [1] implementation of mysql and there
> > clustered
> > > > version.
> > > > Round robin reads and writes supported.
> > > >
> > > > 1] http://www.percona.com/
> > > >
> > > >  Patrick
> > > >
> > > >
> > > > On Tue, Nov 5, 2013 at 9:55 AM, Adrian Lewis
> > > > >wrote:
> > > >
> > > > > Hi Marty/Nux!,
> > > > >
> > > > > Thanks for the feedback - sounds like multi-master is not a good
> > thing
> > > > > then! Load will likely be very small for at least the next 6 months
> > > > > but I figured that it was one of those things that could be set
> > easily
> > > > > now (still setting up) that I might appreciate later.
> > > > >
> > > > > Based on both your responses, I think I'll just leave it well alone!
> > > > > Need to get to grips with pacemaker/corosync anyway for other reasons
> > > > > so I'll just try that with either DRBD replication or MySQL
> > replication.
> > > > >
> > > > > Cheers,
> > > > >
> > > > > Adrian
> > > > >
> > > > > -Original Message-
> > > > > From: Marty Sweet [mailto:msweet@gmail.com ]
> > > > > Sent: 05 November 2013 17:23
> > > > > To: users@cloudstack.apache.org 
> > > > > Subject: Re: Multi-master MySQL Setup
> > > > >
> > > > > Others may have had more success with this but from experience of
> > > > > MySQL in multi-master setups I would avoid this entirely.
> > > > >
> > > > > A common setup is using DRDB to provide a master/slave:
> > > > > Management 1 (MySQL Ma

RE: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

2013-11-06 Thread Geoff Higginbottom
Ryan is correct, XenServer does support VM Snapshots when using CloudStack 4.2. 
 Like Ryan I have been using it with XenServer 6.2 but I cannot see why it 
would not work with earlier versions of XenServer as long as they are licensed 
Enterprise versions (6.2 is now opensource)

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots does state 
that XenServer supports 'Memory-Disk' snapshots, but this was written prior to 
the release of OpenSource Citrix XenServer 6.2 which includes features 
previously only available in the Enterprise version.

FYI

Regards

Geoff Higginbottom

D: +44 20 3603 0542 | S: +44 20 3603 0540 | M: +447968161581

geoff.higginbot...@shapeblue.com

-Original Message-
From: ryanlei750...@gmail.com [mailto:ryanlei750...@gmail.com] On Behalf Of 
Ryan Lei
Sent: 06 November 2013 05:12
To: users@cloudstack.apache.org
Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type: KVM

https://cwiki.apache.org/confluence/display/CLOUDSTACK/VM+Snapshots

From my experience, though, VM snapshot also supports XenServer (mine is 6.2).
It also facilitates XenServer's native snapshot capibility, and works 
flawlessly.
I have no idea why the release notes and admin guide ONLY mention VMware, as 
opposed to the wiki. :(


---
Yu-Heng (Ryan) Lei, Associate Researcher Chunghwa Telecom Laboratories / Cloud 
Computing Laboratory 
ryan...@cht.com.tw
 or ryanlei750...@gmail.com



On Wed, Nov 6, 2013 at 1:02 PM, Sanjeev Neelarapu < 
sanjeev.neelar...@citrix.com> wrote:

> Hi,
>
> Instance Snapshot is only supported on VMWare. It uses VMWare native
> snapshot facility.
> Please refer
> http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.2.0/html/A
> dmin_Guide/vm-snapshots.html
>
> Thanks,
> Sanjeev
>
> -Original Message-
> From: motty cruz [mailto:motty.c...@gmail.com]
> Sent: Tuesday, November 05, 2013 9:56 PM
> To: users@cloudstack.apache.org
> Subject: Re: CS 4.2 VM snapshot is not enabled for hypervisor type:
> KVM
>
> Hi Sebastien,
>
> I was not able to solve the snapshot issue, I can take a snapshot of a
> disk but not of the "instance",  I still get the "VM snapshot is not
> enabled for hypervisor type: KVM"
>
> I enabled KVM snapshot in Global Settings, someone suggested to turn
> off the instance, which I did but no success,
>
> Thanks,
>
>
>
> On Mon, Nov 4, 2013 at 11:42 PM, Sebastien Goasguen  >wrote:
>
> >
> > On Oct 31, 2013, at 6:40 PM, motty cruz  wrote:
> >
> > > 2013-10-31 13:03:50,030 DEBUG [agent.manager.AgentAttache]
> > > (AgentManager-Handler-9:null) Seq 5-1100677197: No more commands
> > > found
> > > 2013-10-31 13:03:50,056 DEBUG
> > > [storage.snapshot.SnapshotManagerImpl]
> > > (Job-Executor-3:job-128 = [ 4f046198-2bf6-4fac-9a80-9debb05ee76b
> > > ])
> > Failed
> > > to create snapshot
> > > com.cloud.utils.exception.CloudRuntimeException:   clvmd not running on
> > > node kvm2.fqdn.comDisk
> > /dev/hitachi-2/ff599482-7bcf-41e6-9ca4-738f4fb94bc9
> > > has no snapshot called 71bb6af455688c8d1de850551fad31c3.
> > >at
> > >
> > org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSna
> > ps
> > hot(Sn
> > >
> >
> > Motty, did you get that solved ?
> > It seemed to be a CLVM error. Marcuse Sorensen is the expert in CLVM
> > :)
> >
> > -sebastien
> >
> > >
> > > On Thu, Oct 31, 2013 at 1:01 PM, Sebastien Goasguen
> > > > >wrote:
> > >
> > >> Anything in the management server logs ?
> > >>
> > >> On Oct 31, 2013, at 3:53 PM, motty cruz  wrote:
> > >>
> > >>> yes I did restart the management server, twice. but not
> > >>> successful,
> > >>>
> > >>>
> > >>> On Thu, Oct 31, 2013 at 12:47 PM, Sebastien Goasguen
> > >>>  > >>> wrote:
> > >>>
> > 
> >  On Oct 31, 2013, at 3:32 PM, motty cruz 
> wrote:
> > 
> > > Hello,
> > > I'm having issues with snapshot, when trying to take a
> > > snapshot I get
> > >> the
> > > following error: "VM snapshot is not enabled for hypervisor type:
> > VKM"
> > >
> > > but I do have it enable in Global settings, am I missing a step?
> > > kvm.snapshot.enabled = true,
> > >
> > 
> >  Did you restart the management server ?
> > 
> > >
> > > Thanks,
> > 
> > 
> > >>
> > >>
> >
> >
>
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 B