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 2EC9B183C4 for ; Thu, 11 Jun 2015 16:38:24 +0000 (UTC) Received: (qmail 7404 invoked by uid 500); 11 Jun 2015 16:38:23 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 7349 invoked by uid 500); 11 Jun 2015 16:38:23 -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 7337 invoked by uid 99); 11 Jun 2015 16:38:23 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jun 2015 16:38:23 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id D1CDAC0613 for ; Thu, 11 Jun 2015 16:38:22 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id PCWpwb9g3DaH for ; Thu, 11 Jun 2015 16:38:22 +0000 (UTC) Received: from mail-qk0-f195.google.com (mail-qk0-f195.google.com [209.85.220.195]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E369143DF9 for ; Thu, 11 Jun 2015 16:38:21 +0000 (UTC) Received: by qkcv189 with SMTP id v189so1728250qkc.2 for ; Thu, 11 Jun 2015 09:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=yxQ6Q5LkrKmI22Drd2MHimB4YwpijP867Zfzt6qrdqU=; b=cbXydzWpeZD73bczbNLgkS1CMoxT8hyzXGQzgjDo32zOLLnHzh/3pzeKkfayVS2LEK YHY+Z7z/NnSFM1M06CDdlE61IcuIO2G1XEF0aQ3y2slQEL3wptmve2wCez4M5TIjfw68 boJ0TY6ohf8AKJ8vDUvewuBUHsCFknRSeJfnAs9vYfMc8YWwbzxcwhU5IciuYk2hmRXT WIFKHHqH+Rz4/4DuF57JhZK4HxTx5MFTwRQh2ZMPSaj3sN5O99mGLUU69NuiFq+ra5D1 OZX05nCv8svhd4L0WdLl88riOF7nb2Szr9eoWxbJprc0b5zPFF0I+BjbugFXoucpgiyx pkIQ== MIME-Version: 1.0 X-Received: by 10.194.184.174 with SMTP id ev14mr17659117wjc.95.1434040701538; Thu, 11 Jun 2015 09:38:21 -0700 (PDT) Received: by 10.28.91.130 with HTTP; Thu, 11 Jun 2015 09:38:21 -0700 (PDT) Date: Thu, 11 Jun 2015 18:38:21 +0200 Message-ID: Subject: DB not updated after moving volume from Qcow2 to RAW(CEPH) From: Andrija Panic To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7bacb1029bd6a20518409e3f --047d7bacb1029bd6a20518409e3f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi team, we noticed (4.3.2 and 4.5.1 so far): - If you deploy VM (root volume) from template that was uploaded to ACS as Qcow2 - to CEPH - volume is converted to RAW (since on CEPHnow...), but DB cloud.volumes/format column is not updated with "raw" value, instead it's "qcow2". - Same thing with uploaded Qcow2 DATA volumes - after attaching disk (converted from NFS/Qcow2 to CEPH/RAW), DB again not updated. This makes download volume impossible since qemu-img -f takes format from DB (wrong format) and conversion from CEPH back to NFS fails... My colegue is looking to implement fix, and hopefully we can submit the patch. If anyone (Wido ? :) ) is aware of this or of fix - I will really appreciate it. Thanks, --=20 Andrija Pani=C4=87 --047d7bacb1029bd6a20518409e3f--