Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 79D54DD0E for ; Mon, 8 Oct 2012 16:37:11 +0000 (UTC) Received: (qmail 452 invoked by uid 500); 8 Oct 2012 16:37:11 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 409 invoked by uid 500); 8 Oct 2012 16:37:11 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 399 invoked by uid 99); 8 Oct 2012 16:37:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 16:37:11 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of runseb@gmail.com designates 209.85.161.175 as permitted sender) Received: from [209.85.161.175] (HELO mail-gg0-f175.google.com) (209.85.161.175) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Oct 2012 16:37:04 +0000 Received: by mail-gg0-f175.google.com with SMTP id p1so1196451ggn.6 for ; Mon, 08 Oct 2012 09:36:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=Elw5+482RdXB6YVgRP7i2IL4KnKiGC+XbnVK8jG2kYo=; b=DfdvkOoTU9lhD6i8Esmy0OWxZetY39ZPIbdfkriIRe6OoNjpOOudgGmDyYHENBD8PQ YdEQXyBv4zbHKmKL+vBL9K6fmI1S1Kr7WRFZYc3MFGCxPPSawUVVbJsKhHQU/dhsFsKb 701bgZU3jicmhh0Fq/n5rvLNRPHv6Fab//QN9PUxDEJl18mlwe89l+WypYicdRwlurPT QxiI1vzx9wLp7/IhZFcMGsHsbe1ZqPP+YTPjnTdc8SWv3NtACEkrifmdGzwLoWIJ6kbs B5SnqnTNLzv+V+L5SYRpNtD1O1PhfIMY/f+BJiXaDyctU8CQvKf5Fn3HGMloWcFuflZb kHIQ== Received: by 10.236.113.6 with SMTP id z6mr16725106yhg.119.1349714204056; Mon, 08 Oct 2012 09:36:44 -0700 (PDT) Received: from [192.168.1.33] (202-211.193-178.cust.bluewin.ch. [178.193.211.202]) by mx.google.com with ESMTPS id f15sm17468428anm.9.2012.10.08.09.36.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Oct 2012 09:36:43 -0700 (PDT) From: sebgoa Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: aws testing using 4.0 test procedure Date: Mon, 8 Oct 2012 18:36:41 +0200 Message-Id: To: cloudstack Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-Virus-Checked: Checked by ClamAV on apache.org Hi, I am trying to test the aws api using the test procedure that uses = devcloud: = https://cwiki.apache.org/confluence/display/CLOUDSTACK/CloudStack+4.0+test= +procedure Everything builds fine and the smoke test (starting an instance ) is = successfull But the user registration for aws fails. It could be a devcloud issue or = https://issues.apache.org/jira/browse/CLOUDSTACK-257 is not yet fixed. when registering with: python ./cloudstack-aws-api-register -a = VXxPLPRzP7ET1cNw4sZx8YIVxwAEKsl9VS-cq9lxzN7C2lO0MhbOlQSUJCvCCMjmyxSZaFOK2C= pdVuTipP4P6A -s = mD-WGTYYEjwp1rrYWfc665wwdkDqjnUal-d6dXAysQSvTcIb13Bn1cJiyfLrBiPCqHWNgETxv3= YPUfgKv1uklA -c cert.pem -u http://localhost:7080/awsapi I get a 401 error: Traceback (most recent call last): File "./cloudbridgeregister.py", line 61, in register(opts.url, opts.apikey, opts.secretkey, opts.cert) File "./cloudbridgeregister.py", line 32, in register get_url(url, api_key, secret_key, 'SetUserKeys', query) File "./cloudbridgeregister.py", line 27, in get_url return urllib.urlretrieve(url) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 93, in urlretrieve return _urlopener.retrieve(url, filename, reporthook, data) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 239, in retrieve fp =3D self.open(url, data) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 207, in open return getattr(self, name)(url) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 362, in open_http return self.http_error(url, fp, errcode, errmsg, headers) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 375, in http_error result =3D method(url, fp, errcode, errmsg, headers) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 689, in http_error_401 errcode, errmsg, headers) File = "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6= /urllib.py", line 385, in http_error_default raise IOError, ('http error', errcode, errmsg, headers) IOError: ('http error', 401, 'Unauthorized', ) the ant rdebug gives: [sshexec] [java] EC2RestServlet.doGetOrPost: = javax.servlet.forward.request_uri: /awsapi [sshexec]=20 [sshexec] [java] EC2RestServlet.doGetOrPost: = javax.servlet.forward.context_path: /awsapi [sshexec]=20 [sshexec] [java] EC2RestServlet.doGetOrPost: = javax.servlet.forward.servlet_path:=20 [sshexec]=20 [sshexec] [java] EC2RestServlet.doGetOrPost: = javax.servlet.forward.path_info: / [sshexec]=20 [sshexec] [java] EC2RestServlet.doGetOrPost: = javax.servlet.forward.query_string: = AWSAccessKeyId=3DVXxPLPRzP7ET1cNw4sZx8YIVxwAEKsl9VS-cq9lxzN7C2lO0MhbOlQSUJ= CvCCMjmyxSZaFOK2CpdVuTipP4P6A&Action=3DSetUserKeys&SignatureMethod=3DHmacS= HA1&SignatureVersion=3D2&Timestamp=3D2012-10-08T18:26:40Z&Version=3D2010-1= 1-15&accesskey=3DVXxPLPRzP7ET1cNw4sZx8YIVxwAEKsl9VS-cq9lxzN7C2lO0MhbOlQSUJ= CvCCMjmyxSZaFOK2CpdVuTipP4P6A&secretkey=3DmD-WGTYYEjwp1rrYWfc665wwdkDqjnUa= l-d6dXAysQSvTcIb13Bn1cJiyfLrBiPCqHWNgETxv3YPUfgKv1uklA&Signature=3Dd7oem9c= NwKSyoie8l5%2BrYOH%2FAGw%3D [sshexec]=20 There is no /usr/share/cloud/bridge directory inside the devcloud, which = makes me believe it's a devcloud issue and not a code issue ? Thoughts, -sebastien=