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 F0DB2200C21 for ; Mon, 20 Feb 2017 15:52:55 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id EF7E2160B73; Mon, 20 Feb 2017 14:52:55 +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 456CE160B62 for ; Mon, 20 Feb 2017 15:52:55 +0100 (CET) Received: (qmail 33894 invoked by uid 500); 20 Feb 2017 14:52:53 -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 33885 invoked by uid 500); 20 Feb 2017 14:52:53 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 33882 invoked by uid 99); 20 Feb 2017 14:52:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2017 14:52:53 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 8DB9D184907 for ; Mon, 20 Feb 2017 14:52:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id eFXRsuGINO2S for ; Mon, 20 Feb 2017 14:52:51 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 5E2985F4A8 for ; Mon, 20 Feb 2017 14:52:50 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 845CEE040F for ; Mon, 20 Feb 2017 14:52:44 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 10CCF2411F for ; Mon, 20 Feb 2017 14:52:44 +0000 (UTC) Date: Mon, 20 Feb 2017 14:52:44 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-8608) Fix unpleasant admin experience with VMware fresh installs/upgrades - System VM's failed to start due to permissions issue MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 20 Feb 2017 14:52:56 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-8608?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D15874635#comment-15874635 ]=20 ASF GitHub Bot commented on CLOUDSTACK-8608: -------------------------------------------- Github user blueorangutan commented on the issue: https://github.com/apache/cloudstack/pull/1875 =20 Packaging result: =E2=9C=94centos6 =E2=9C=94centos7 =E2=9C=94debian. JI= D-511 > Fix unpleasant admin experience with VMware fresh installs/upgrades - Sys= tem VM's failed to start due to permissions issue > -------------------------------------------------------------------------= ------------------------------------------------- > > Key: CLOUDSTACK-8608 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-860= 8 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the defa= ult.)=20 > Reporter: Likitha Shetty > Assignee: Likitha Shetty > Fix For: Future > > > VMware uses a folder in machine where management server is running to mou= nt secondary storage. This is a bootstrap phase to start system vm, because= unlike KVM, Xenserver, management server cannot directly access VMWare ESX= I host to download systemvm template from secondary storage to primary stor= age. The secondary storage is usually managed by SSVM that uses root accoun= t to download templates. However, management server is using account 'cloud= ' to manipulate templates after secondary storage is mounted. After admin r= egisters new systemvm template in CS as a normal upgrade procedure, the old= SSVM will download the template using account root, but management server = will create new SSVM from the new template using account 'cloud'. Then a pe= rmission denied error will raise. > Prior to 4.4, CS used to handle this by running 'chmod -R' to the folder = to which secondary storage is mounted every time management server mounts s= econdary storage. Unfortunately, this method is slow because we are trying= to give permissions to the entire folder. So in 4.4, we stopped automatica= lly providing the permissions and asked admin to manually run 'chmod -R' to= the folder 'templates' on secondary storage, after registering new systemv= m template. > We can avoid this manual admin step by only providing permissions for the= /templates folder instead of the entire folder. This way we will avoid the= snapshots folder which could be very large in upgrade setups. -- This message was sent by Atlassian JIRA (v6.3.15#6346)