Re: API credential failed

2013-11-08 Thread sebgoa
On Nov 8, 2013, at 3:13 PM, Du Jun wrote: > Thank you for your prompt reply! I have solved the problem.However,I orrur > a new problem recently. > As LXC is fashion,and cloudstack 4.2 support LXC hypervisor.So,I want to > try add host with LXC hypervisor to cloudstack4.2.I work as the guide > sa

Re: API credential failed

2013-11-08 Thread Du Jun
Thank you for your prompt reply! I have solved the problem.However,I orrur a new problem recently. As LXC is fashion,and cloudstack 4.2 support LXC hypervisor.So,I want to try add host with LXC hypervisor to cloudstack4.2.I work as the guide says,edit file: /etc/cloudstack/agent/agent.properties An

Re: API credential failed

2013-11-07 Thread Sebastien Goasguen
On Nov 7, 2013, at 2:15 AM, Du Jun wrote: > 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 S