Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8FA61200B9B for ; Wed, 12 Oct 2016 16:00:02 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8E394160AD4; Wed, 12 Oct 2016 14:00:02 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D346F160AD3 for ; Wed, 12 Oct 2016 16:00:01 +0200 (CEST) Received: (qmail 50315 invoked by uid 500); 12 Oct 2016 14:00:01 -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 50255 invoked by uid 99); 12 Oct 2016 14:00:00 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Oct 2016 14:00:00 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 7B73ADFB81; Wed, 12 Oct 2016 14:00:00 +0000 (UTC) From: ProjectMoon To: dev@cloudstack.apache.org Reply-To: dev@cloudstack.apache.org References: In-Reply-To: Subject: [GitHub] cloudstack pull request #1559: CLOUDSTACK-9280: System VM volumes can be exp... Content-Type: text/plain Message-Id: <20161012140000.7B73ADFB81@git1-us-west.apache.org> Date: Wed, 12 Oct 2016 14:00:00 +0000 (UTC) archived-at: Wed, 12 Oct 2016 14:00:02 -0000 GitHub user ProjectMoon reopened a pull request: https://github.com/apache/cloudstack/pull/1559 CLOUDSTACK-9280: System VM volumes can be expunged if no SSVM exists. This commit adds a special SSVM endpoint which simply returns true for all operations sent to it, without actually doing anything. This allows for destroyed volumes of system VMs to be expunged when there are no hosts (and thus no system VMs) remaining to handle the volume destruction. You can merge this pull request into a Git repository by running: $ git pull https://github.com/greenqloud/cloudstack pr-volume-expunge-fix-master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1559.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1559 ---- commit e1bc3a61933f4fd5a61b802b62ea19db5234dcbd Author: jeff Date: 2016-02-08T16:30:03Z CLOUDSTACK-9280: System VM volumes can be expunged if no SSVM exists. This commit adds a special SSVM endpoint which simply returns true for all operations sent to it, without actually doing anything. This allows for destroyed volumes of system VMs to be expunged when there are no hosts (and thus no system VMs) remaining to handle the volume destruction. commit efe687548bdf5d8ab8dac37a36e34c4fe655dc88 Author: jeff Date: 2016-10-07T15:39:12Z More fixes to allow volume expunging when primary storage is missing. The volume expunger is able to handle volumes which have no primary storage specified, but when loading these volumes, it is possible that a volume is missing the primary storage already which can cause an exception to be thrown. This commit changes this behavior so that when loading a volume to be expunged, not being able to find a primary data store is considered a warning rather than an exception. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---