Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E929E11C64 for ; Mon, 25 Aug 2014 19:32:42 +0000 (UTC) Received: (qmail 63969 invoked by uid 500); 25 Aug 2014 19:32:42 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 63921 invoked by uid 500); 25 Aug 2014 19:32:42 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 63907 invoked by uid 99); 25 Aug 2014 19:32:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2014 19:32:41 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of terbolous@gmail.com designates 209.85.214.182 as permitted sender) Received: from [209.85.214.182] (HELO mail-ob0-f182.google.com) (209.85.214.182) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Aug 2014 19:32:14 +0000 Received: by mail-ob0-f182.google.com with SMTP id wm4so10902118obc.41 for ; Mon, 25 Aug 2014 12:32:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=vckp09aNhS2u/lR0Sc83DppIpnygQwIcqV1GsNgL17o=; b=eA9XLPL+gSxWm6a0Hc8S1NYSHncUkkRK5Ihj6Vm4WQh29CptBU3fve50AxTzJTG27B aFnDbt+1Z3PQTsydxkp8LD9g8uVl9dWsf3ih9BoRmzf6uuac4ZgHIpomx78btxdc/RK1 JaN8i1rxHkPiXIm6LaD33gLoLwWfM9l6UaKOzRSU6aLbjK2Lpu6zueJQc132kreKEtvC NWA3kcMVqwE3sBMHjLKGuyv9Cm4t1NzW5TZNZXZeL8ln3B0VVWQSmVqN7UsOjwvEWQjj CErVxbDpHVEc/bXJOMAZwe1R23tLdWgkGE8Z6pQli0Z3SHCmuD9E5ciEfbfrvn594hZR o7gw== MIME-Version: 1.0 X-Received: by 10.60.33.35 with SMTP id o3mr23768932oei.7.1408995133573; Mon, 25 Aug 2014 12:32:13 -0700 (PDT) Received: by 10.76.173.38 with HTTP; Mon, 25 Aug 2014 12:32:13 -0700 (PDT) In-Reply-To: References: <9FB72686-9762-4F52-AA4D-ACA7134FA533@gmail.com> <53FB1AF1.9000704@widodh.nl> <737782029.79410.1408966424951.JavaMail.zimbra@li.nux.ro> <53FB291F.2030206@widodh.nl> <5E3F347D-84CA-4214-8E74-B0B3B5173B25@gmail.com> <53FB2B90.8050903@widodh.nl> <82101CE9-80FC-4D1D-B791-ED10595DFBC0@gmail.com> Date: Mon, 25 Aug 2014 21:32:13 +0200 Message-ID: Subject: Re: cloud-init issue From: Erik Weber To: dev Content-Type: multipart/alternative; boundary=089e011842a66d544c0501793ea0 X-Virus-Checked: Checked by ClamAV on apache.org --089e011842a66d544c0501793ea0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Aug 25, 2014 at 6:02 PM, Carlos Re=C3=A1tegui wrote: > Not sure about this =E2=80=98fix=E2=80=99. If the goal is to match AWS h= ere is the way it > works compared to 4.3. > > The actual fix was just for the reported url, ie. meta-data > 1) /latest/user-data > > On AWS one can query /latest/user-data with or without the trailing slash > and BOTH return the user-data > > On ACS 4.3 /latest/user-data works but with trailing / returns a 404. > > 2) /latest/meta-data > > On AWS /latest/meta-data returns a 301 pointing to trailing / version. > With a trailing slash it return the meta-data objects available. > > Is it required to respons with 301, or is 200 with the actual content ok? > On ACS 4.3 /latest/meta-data returns 404. With a trailing slash it return= s > the meta-data objects available. > > 3) /latest/meta-data/ > > On AWS with and without / returns the object value(s) > > On ACS 4.3 without a / it returns the value. With the / it returns a 404= . > I'll work on an improved patch that fixes all the URLs. Erik --089e011842a66d544c0501793ea0--