Return-Path: X-Original-To: apmail-cloudstack-issues-archive@www.apache.org Delivered-To: apmail-cloudstack-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 64A6211BF9 for ; Thu, 18 Sep 2014 15:05:40 +0000 (UTC) Received: (qmail 27953 invoked by uid 500); 18 Sep 2014 15:05:40 -0000 Delivered-To: apmail-cloudstack-issues-archive@cloudstack.apache.org Received: (qmail 27908 invoked by uid 500); 18 Sep 2014 15:05:40 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 27898 invoked by uid 500); 18 Sep 2014 15:05:40 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 27895 invoked by uid 99); 18 Sep 2014 15:05:40 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Sep 2014 15:05:40 +0000 Date: Thu, 18 Sep 2014 15:05:40 +0000 (UTC) From: "Wido den Hollander (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (CLOUDSTACK-6783) ceph: Volume operations can fail if libvirt lost the storage pool MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CLOUDSTACK-6783?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Wido den Hollander closed CLOUDSTACK-6783. ------------------------------------------ Resolution: Fixed > ceph: Volume operations can fail if libvirt lost the storage pool > ----------------------------------------------------------------- > > Key: CLOUDSTACK-6783 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6783 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: KVM > Affects Versions: 4.2.0, Future, 4.3.0, 4.4.0 > Reporter: Wido den Hollander > Assignee: Wido den Hollander > Priority: Critical > Fix For: 4.4.0 > > > When libvirt lost the RBD storage pool, could be due to a libvirt restart, the KVM Agent will re-create the storage pool. > When doing so the createStoragePool() method in LibvirtStoragePoolAdapter doesn't return a properly filled LibvirtStoragePool object. > This can lead to situations where the agent for example tries to delete a volume, but that fails: > "Unprotecting and Removing RBD snapshots of image null/7a3bdc9f-5cd3-4192-a814-18acf561f0d0 prior to removing the image > Failed to delete volume: com.cloud.utils.exception.CloudRuntimeException: com.ceph.rados.RadosException: Could not set configuration option key (-22)" > Notice the "null" in the first line, it's because this information is not properly filled in the returned object. -- This message was sent by Atlassian JIRA (v6.3.4#6332)