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 8DE09117B0 for ; Tue, 22 Jul 2014 20:38:55 +0000 (UTC) Received: (qmail 56403 invoked by uid 500); 22 Jul 2014 20:38:55 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 56378 invoked by uid 500); 22 Jul 2014 20:38:55 -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 56365 invoked by uid 99); 22 Jul 2014 20:38:54 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 20:38:54 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 209.85.212.180 is neither permitted nor denied by domain of lbarfield@tqhosting.com) Received: from [209.85.212.180] (HELO mail-wi0-f180.google.com) (209.85.212.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Jul 2014 20:38:52 +0000 Received: by mail-wi0-f180.google.com with SMTP id n3so1123506wiv.1 for ; Tue, 22 Jul 2014 13:38:27 -0700 (PDT) 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=7H9dz6zJR+1+ZH6grMf7pbaUCv5HpaMvH8Z6M08cpig=; b=SOmKDMopB2ov5vm0/MmgAguQ8Nc0mch7ZYxZmbye228+y5IIkJtgYrDx65e3aA7a++ YQYdQz8mzMooG4zvUfPKbatoRX/dd2zbXz+burfBy2Hx+yethVWE1KdBcoBvss21UkER Vt1oZCVSUx7Pw2gM8ymVQawUCQKEDHXFGOs3uJ1gpbbtCcnRaIObWX9YATwlkyPwvIAp 1iAURL+/LUZexkPgYPYfsPrDtHATSD8lfH7tVCo/P7DL/hA+a01ZxG7g/8QJavAmsECw 1JmpDb0zDvz2j1vihKC3XXHka/aYOi9GPCdZaZXhsDLJF20YW1I/3czfnPkPKdwkkFoo mZOw== X-Gm-Message-State: ALoCoQkHZnHxaIVwiFgvWQ0fXmSW14umznSG4KIl6TofBQPoiC2sNE+6bMbGPOr4LRv/qU4kq55r MIME-Version: 1.0 X-Received: by 10.180.84.7 with SMTP id u7mr17957011wiy.27.1406061506575; Tue, 22 Jul 2014 13:38:26 -0700 (PDT) Received: by 10.180.10.41 with HTTP; Tue, 22 Jul 2014 13:38:26 -0700 (PDT) In-Reply-To: <53CEC9EF.1000304@widodh.nl> References: <53CEC512.9080908@widodh.nl> <53CEC9EF.1000304@widodh.nl> Date: Tue, 22 Jul 2014 16:38:26 -0400 Message-ID: Subject: Re: [CLOUDSTACK-6181] RBD Support not implemented From: Logan Barfield To: dev@cloudstack.apache.org Content-Type: multipart/alternative; boundary=f46d0418255ca1ddb404fece3403 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0418255ca1ddb404fece3403 Content-Type: text/plain; charset=UTF-8 Wido, Excellent. As long as it passes testing we'll be golden. Thank You, Logan Barfield Tranquil Hosting On Tue, Jul 22, 2014 at 4:30 PM, Wido den Hollander wrote: > > > On 07/22/2014 10:13 PM, Logan Barfield wrote: > >> Wido, >> >> I appreciate the confirmation. Would you mind posting an update here when >> you've submitted the patch? As I mentioned in another post we will >> probably end up just having to go into production with a non-official >> build. We won't be able to wait for 4.5 or 4.4.x unfortunately. >> >> > I just pushed a patch: https://git-wip-us.apache.org/ > repos/asf?p=cloudstack.git;a=commitdiff;h=173909e99d85cfcc85b017bc426950 > f9f16fddf0 > > That should also apply on 4.4 very easily, a simple cherry-pick should be > sufficient. > > > Wido > > >> Thank You, >> >> Logan Barfield >> Tranquil Hosting >> >> >> On Tue, Jul 22, 2014 at 4:09 PM, Wido den Hollander >> wrote: >> >> >>> >>> On 07/22/2014 09:53 PM, Logan Barfield wrote: >>> >>> I was testing on a recent 4.4 build today and noticed that volume >>>> resizing >>>> for RBD volumes is not working as intended. >>>> >>>> In LibvirtComputingResource.java the 'getResizeScriptType()' function >>>> doesn't have logic for type = RBD and format = RAW or QCOW2, so it >>>> returns >>>> 'null' and the resize operation fails. >>>> >>>> In CLOUDSTACK-6181 there was some discussion regarding RBD support, and >>>> it >>>> was signed off on by Wido (who appears to be the only contributor >>>> actively >>>> supporting Ceph in CloudStack). Was the mentioned functionality just >>>> never >>>> implemented, or am I overlooking something? >>>> >>>> >>>> So it seems you are right. I can't remember anymore why I signed it off >>> (probably because it worked locally), but what you are saying is true. >>> >>> RBD are block devices which do not exist in kernel space, so a script can >>> never check if the volume exists. >>> >>> The fix is rather simple, since libvirt can resize the volume it's just a >>> matter of a few if-statements in LibvirtComputing resouce, I'll get right >>> to that, but it will never make it into 4.4. Hopefully 4.4.1 >>> >>> Wido >>> >>> >>> >>> >>>> Thank You, >>>> >>>> Logan Barfield >>>> Tranquil Hosting >>>> >>>> >>>> >> --f46d0418255ca1ddb404fece3403--