Re: API verification failure for asterisk character - signature hash conflict?

2015-12-16 Thread Phillip Kent
uot; | "'" | "(" | ")" . I notice that both Java and Python apply an escape to ( and ), so the Java implementation doesn't seem fully compliant either. So the takeaway from this seems to be that the CloudStack documentation needs to emphasise that code which calls

API verification failure for asterisk character - signature hash conflict?

2015-12-16 Thread Phillip Kent
Hello all, I have run into an odd error and wondered if it's a known problem. This is only observed for CloudStack v4.3.2 as that is the only one I have access to. The failure happens when I include a '*' (asterisk) in an API call. For example, I call 'updateNetwork' and change the vaue of disp

Re: Cloudmonkey error running in Windows

2015-11-03 Thread Phillip Kent
p, Thanks for sharing, sorry I missed this earlier. Were you able to resolve the issue? I can look into it with latest pyreadline soon. On 08-Oct-2015, at 10:04 PM, Phillip Kent wrote: hello all, I am getting an error running Cloudmonkey in Windows and I wonder if anyone else has seen? It&#x

Cloudmonkey error running in Windows

2015-10-08 Thread Phillip Kent
hello all, I am getting an error running Cloudmonkey in Windows and I wonder if anyone else has seen? It's a standard Windows install of Python 2.7.10 Cloudmonkey always fails with this: "TypeError: argument of type 'NoneType' is not iterable" (failure at ___init.py___ line 552, load_entry_poin

Re: CoreOS/Docker - a new blog series

2015-04-20 Thread Phillip Kent
Hi cs user, I have not so far had any issues with using discovery and passing the discovery URL via userdata. If you are using a 'Private with Gateway Services' network this simple 'cloud-config' file should work: https://github.com/Interoute/CoreOS-and-VDC/blob/master/cloud-config-template-simpl

Re: 2015 plan

2015-04-08 Thread Phillip Kent
Hi Sebastian, I would add to the documentation section: - Review and improve the API Reference documentation (I tried to login to wiki and edit, but did not seem to have edit privileges for that page) The API reference is of course different in character from the other docs because it is genera

Re: guest VMs running NetBSD or OpenBSD

2015-04-03 Thread Phillip Kent
ssfully running FreeBSD and OpenBSD on ACS + KVM + VirtIO (PV). I want to try NetBSD next. They run quite fine actually, though performance is still not on par with linux guests. Lucian -- Sent from the Delta quadrant using Borg technology! Nux! www.nux.ro - Original Message - > From: &q

guest VMs running NetBSD or OpenBSD

2015-04-02 Thread Phillip Kent
Hi all, I wondered if there are any known issues with running guest VMs based on NetBSD or OpenBSD on Cloudstack (4.3.2)? I have never used, but a colleague wants to investigate. Thx Phillip

Re: API Signing Issue

2015-03-31 Thread Phillip Kent
Hi Blake, Signing requires this ordering: convert to lower case sort on the parameter keys I think your code is doing the other way around? Phillip -- Forwarded message -- From: Blake Ferkingstad To: "users@cloudstack.apache.org" Cc: Date: Mon, 30 Mar 2015 15:17:23 + S

Re: Get information

2015-03-17 Thread Phillip Kent
So is this documentation and removed API feature, or something else? Maybe some of developers can say comment this? On 03/16/2015 07:56 PM, Phillip Kent wrote: > > Hello Martins, > > that's a good observation. > > What happens for me is that, for deployment from ISO, the response > v

Re: Get information

2015-03-16 Thread Phillip Kent
Hello Martins, that's a good observation. What happens for me is that, for deployment from ISO, the response values are duplicated: templateid = isoid templatename = isoname templatedisplaytext = isodisplaytext On the other hand, for deployment from template, the response does not contain any v

Visualising networks using the CloudStack API

2015-03-11 Thread Phillip Kent
Hi all, you may be interested in a simple Python tool which mashes up information from different API calls and also creates an output file that can be processed by the 'nwdiag' diagramming tool. I personally use tihs a lot to keep track of my networks and VMs. It's described in a blog post here:

Re: "list virtualmachines name=" problem

2015-03-05 Thread Phillip Kent
Note this is a property of the API call, listVirtualMachines, not Cloudmonkey. So far as I can tell it is performing a substring match. Actually, quite useful :-) But it should be documented. I just made a pull request for a note to appear in the API documentation: https://github.com/apache/cloud

Re: [VOTE] Apache CloudStack CloudMonkey 5.3.1 RC4

2015-03-03 Thread Phillip Kent
I install like this inside an activated virtualenv: $ pip install git+https://github.com/apache/cloudstack-cloudmonkey.git or if not a fresh install: $ pip install --upgrade git+https://github.com/apache/cloudstack-cloudmonkey.git Takes 5 seconds :-) -- Forwarded message -- Fro

CoreOS/Docker - a new blog series

2015-02-14 Thread Phillip Kent
dear all, I am editing a new series of blog posts on CoreOS and Docker with CloudStack API, Cloudmonkey and so on. Please have a look at the first two parts: http://cloudstore.interoute.com/main/knowledge-centre/blog/coreos-docker-vdc-part1 http://cloudstore.interoute.com/main/knowledge-centre/bl

Re: Docker Support?

2015-02-05 Thread Phillip Kent
Thanks all for this useful thread. I can confirm that a CoreOS template runs fine on an ESXi hypervisor in CloudStack 4.3.1. The type is set to "Other (64-bit)". I didn't set up the template so I don't know about relative performance with other type settings. Regarding CoreOS, does anyone know wh

Re: Docker Support?

2015-01-27 Thread Phillip Kent
Sorry for naive question... I did not catch if there is a simple way to convert from the .bin file offered by CoreOS to an OVA file that would upload to ESX hypervisor in CloudStack ? -- Forwarded message -- From: Osay Osman Yuuni To: users@cloudstack.apache.org Cc: Date: Tue, 27

Re: Any more CloudMonkey improvements you want to see?

2014-12-06 Thread Phillip Kent
Dear Rohit, a key thing I miss in Cloudmonkey is a way to reference and use previous outputs. (But maybe I am missing something and this is already possible, through 'shell' commands or something?) Very often with CloudStack I need to find what exists for a type of resource, reference one of thes

Handling case in API calls using apikey/secretkey

2014-11-12 Thread Phillip Kent
Dear all, I was looking at handling of case in API calls and I believe the docs page has a slight mistake in the code example: http://docs.cloudstack.apache.org/en/latest/dev.html#the-cloudstack-api The signature generation instructions say: "Lower case the entire Command String and sort it al

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

2014-11-04 Thread Phillip Kent
Dear Rohit, I confirm the new config key 'verifysslcert' is working. Thanks very much, Philip On Tue, Nov 4, 2014 at 11:18 AM, Rohit Yadav wrote: > Hi Phillip, > >> On 04-Nov-2014, at 4:16 pm, Phillip Kent wrote: >> >> Hi Rohit, >> >> one is

Re: [VOTE] Release Apache CloudStack CloudMonkey 5.3.0 (round #4)

2014-11-04 Thread Phillip Kent
Hi Rohit, one issue I found is that you are in 5.3.0 using the 'requests.get' method for the API requests, and this implements certificateverification by default. This fails (we think) on my company CloudStack setup because the API server is put behind both a proxy and a load balancer and there i

Set of tests for API calls?

2014-09-30 Thread Phillip Kent
Hi all, I am wondering if there exists a comprehensive set of tests for the CloudStack API calls? In the CloudStack source code I can see a few tests but I didn't find a comprehensive set. i'm looking specifically for tests which use the keys and signature, not via login. Thx Phillip

API call expiration

2014-05-23 Thread Phillip Kent
Dear all, I am trying out the API call expiration option and my experience does not agree with the documentation. [see http://docs.cloudstack.apache.org/en/master/dev.html#the-cloudstack-api ] Can anyone confirm my experience? The doc suggests that the timestamp can be sent in the URL in the un-

Re: getting "Unauthorized: None" with cloudmonkey

2014-05-19 Thread Phillip Kent
A problem we have experienced with cloudmonkey 5.1.0 in our CloudStack platform (4.2.1) is that the GET request sent via HTTP contains the argument apikey=... but our API server will only respond to apiKey=... So if you edit the cloudmonkey source 'requester.py' at line 146, you change args['api

Re: Using VM snapshots (on VMware hypervisor) as backups

2014-05-16 Thread Phillip Kent
backups. > > > This is general virtualisation 'best practice' and not directly > related to CloudStack. > > > When a VM has an active VM Snapshot, CloudStack limits certain > features such as storage migration so another reason for not > maintaining long term

Using VM snapshots (on VMware hypervisor) as backups

2014-05-16 Thread Phillip Kent
Dear all, I have some questions about using VM snapshots. In principle, VM snapshots look like a very painless way for users to keep backups of VMs (compared with the alternative of doing separate volume snapshots of root disks, data volumes, etc). But when you look more into it (http://kb.vmwa

Re: Meaning of 'forced stop' of a VM?

2014-04-23 Thread Phillip Kent
wrote: > 'Forced = true' means even if stopping the VM failed on the > hypervisor, CS will go ahead and mark it as stopped in database and > the API will return success. If 'forced = false' then API would return > failure in this case. > > > On 23-Apr-2014,

Meaning of 'forced stop' of a VM?

2014-04-23 Thread Phillip Kent
Dear all, I am puzzled about the meaning of 'forced stop', as in the parameter forced=true for API call stopVirtualMachine. (For CloudStack 4.2.1 to be precise.) The command reference page says: "Force stop the VM (vm is marked as Stopped even when command fails to be send to the backend). The ca

Re: Using includeInApiDoc=false to modify output content of apidoc?

2014-03-17 Thread Phillip Kent
ing the apidoc. - Phillip On Fri, 2014-03-07 at 17:50 +0100, sebgoa wrote: > In Philip, > > Can you post that question on the dev list ? > There will be more people who can help with that over there :) > > -sebastien > > On Mar 7, 2014, at 12:04 PM, Phillip Kent wrote:

Using includeInApiDoc=false to modify output content of apidoc?

2014-03-07 Thread Phillip Kent
Hi, I am new here so apologies if this is the wrong place for my question. I am trying to modify the output content of tools/apidoc by using the option includeInApiDoc=false in the API command Java source. (I'm using the source code for cloudstack 4.2.1). It doesn't have any effect, so I wondered