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 3050F10319 for ; Fri, 10 Jan 2014 05:56:58 +0000 (UTC) Received: (qmail 58254 invoked by uid 500); 10 Jan 2014 05:56:43 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 58203 invoked by uid 500); 10 Jan 2014 05:56:35 -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 58178 invoked by uid 99); 10 Jan 2014 05:56:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 05:56:30 +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 mike.tutkowski@solidfire.com designates 209.85.219.48 as permitted sender) Received: from [209.85.219.48] (HELO mail-oa0-f48.google.com) (209.85.219.48) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 10 Jan 2014 05:56:24 +0000 Received: by mail-oa0-f48.google.com with SMTP id k1so4489235oag.7 for ; Thu, 09 Jan 2014 21:56:03 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=CK1LfHvgnkPEuN96ffq9wdi8fUK2Wt2BhHkrFp+2jpI=; b=HNIUGaLsg49jCbWetjJHQN8zcVLo6XRPpNNHcyWhAmXQbcdvUeDWRBcPZUWVh3G0F+ tEFk6jlnvi8sSrBhv2gNqJw4GFvBDU/5lQ4YPj07C4qgX+TDQsbzap52ahT+Or7aFbsw 9fsT6EihK/EIXWmKUmOfZ8pgq6SlzUIRrsMtaYa5brKyULNPentzUd7Lm3Q2RGbUFtPh jXQDPZ8uRDMrYFif21HwJRpt8vC/24QfXUoRlnTbP93q0bhdJ3SQTTjewqtL+ekEhKA1 jNaQrcWKI5ERgwLxEndG4xKvbNN9HFW01tYAe4cLQZIQxx+4nj35v4akCqyMWlpBHtqw JSvQ== X-Gm-Message-State: ALoCoQkltPTofIpgskVGzfkhQPoO1FlNiNFanRlvYuGh5uU6KaQc3I+ylVqRj9Ine4FqJxGZUVdE MIME-Version: 1.0 X-Received: by 10.60.118.167 with SMTP id kn7mr5944546oeb.22.1389333363341; Thu, 09 Jan 2014 21:56:03 -0800 (PST) Received: by 10.182.79.130 with HTTP; Thu, 9 Jan 2014 21:56:03 -0800 (PST) In-Reply-To: References: Date: Thu, 9 Jan 2014 22:56:03 -0700 Message-ID: Subject: Re: deployVm with data disk From: Mike Tutkowski To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7b3a976098d1a804ef9761af X-Virus-Checked: Checked by ClamAV on apache.org --047d7b3a976098d1a804ef9761af Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Now I remember why I didn't log the bug...I wanted to repro it to understand the sequence in more detail. Sounds like you have it nailed down, though (you have reproduced this and understand when it doesn't work). On Thu, Jan 9, 2014 at 10:53 PM, Mike Tutkowski < mike.tutkowski@solidfire.com> wrote: > Now that you mention it, I think CS does get confused about this. I may > have seen this last week. > > The way it works (depending on if you're using an ISO or a template), CS > acts in a non-intuitive way. In one case (I can't remember if this is for > ISOs or templates), you pick a Compute Offering and a Disk Offering, but > the Compute Offering is really only used for non-storage parameters where= as > the Disk Offering is used to determine how large to make the disk, etc. I= f > the storage tags are the same (for the CO and DO), it works; otherwise, i= t > doesn't. > > I believe I wrote a note to myself to log a bug for this. It appears > you've stumbled upon it, though, already. > > > On Thu, Jan 9, 2014 at 10:45 PM, Marcus Sorensen wro= te: > >> No, we have two primary storages, one tagged "foo", one tagged "bar". >> We have two disk offerings implementing these. We can verify that data >> disks deploy properly to both. Then we have a service offering with >> storage tag "foo". We can deploy a VM with a data disk tagged "foo" >> but not one named "bar". It's as if the deploy command sees a conflict >> between storage tags. According to the logs it doesn't even find a >> storage pool to try, but if we deploy the offering without a data disk >> it works fine. >> >> I spent a little while this evening trying to unravel how the >> allocators and deployment planner work, but really at this point all I >> have is the behavior, and it seems to indicate that one cannot deploy >> a service offering with a data disk that has a non-matching tag. >> >> On Thu, Jan 9, 2014 at 10:19 PM, Nitin Mehta >> wrote: >> > In addition, do check if there are at least 1 PS for each of the tags = in >> > the same cluster. >> > Pasting the snippet of logs with failure would help. (But do paste the >> > entire snippet for vm deployment) >> > >> > >> > On 09/01/14 8:14 PM, "Mike Tutkowski" >> wrote: >> > >> >>Are you saying there was no primary storage tagged "bar"? >> >> >> >>If that is the case, I guess I would expect the deployment of the VM t= o >> >>fail because not all of the criteria could be met. >> >> >> >> >> >>On Thu, Jan 9, 2014 at 7:08 PM, Marcus Sorensen >> >>wrote: >> >> >> >>> Is this a bug (perhaps fixed), or expected behavior? >> >>> >> >>> If I create a service offering with storage tag=3Dfoo, and a disk >> >>> offering with storage tag=3Dbar, I cannot provide this disk offering= as >> >>> a data disk to deploy along with this service offering. The root >> >>> volume gets allocated, and then the data disk fails. >> >>> >> >> >> >> >> >> >> >>-- >> >>*Mike Tutkowski* >> >>*Senior CloudStack Developer, SolidFire Inc.* >> >>e: mike.tutkowski@solidfire.com >> >>o: 303.746.7302 >> >>Advancing the way the world uses the >> >>cloud >> >>* * >> > >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkowski@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the cloud > *=99* > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *=99* --047d7b3a976098d1a804ef9761af--