Return-Path: X-Original-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 5905BE9DE for ; Mon, 18 Mar 2013 09:38:36 +0000 (UTC) Received: (qmail 85854 invoked by uid 500); 18 Mar 2013 09:38:36 -0000 Delivered-To: apmail-incubator-cloudstack-dev-archive@incubator.apache.org Received: (qmail 85702 invoked by uid 500); 18 Mar 2013 09:38:35 -0000 Mailing-List: contact cloudstack-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-dev@incubator.apache.org Delivered-To: mailing list cloudstack-dev@incubator.apache.org Received: (qmail 85687 invoked by uid 99); 18 Mar 2013 09:38:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 09:38:35 +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 (athena.apache.org: local policy) Received: from [209.85.216.41] (HELO mail-qa0-f41.google.com) (209.85.216.41) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Mar 2013 09:38:29 +0000 Received: by mail-qa0-f41.google.com with SMTP id bs12so1545921qab.0 for ; Mon, 18 Mar 2013 02:38:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:x-originating-ip:date:message-id:subject :from:to:content-type:x-gm-message-state; bh=Yha75c/EnWNQxLtgXPfENIO4JEs38nCWB/JSe7WidcQ=; b=AnnnmbHV7lKD9vOifTHmqTsJuvWqXZqpeAbW3zVev5kfVKAnSuBRizZtG4Hl2aXjPc qVzXq8X3QRDcUIzzlqxWPIRx6ot8zByaSITeTliTWPD+Ajh767z9SsEWnJ40rphao4Fx v4FM95g8Fo+NjKhyoBIpJLm6YA5EvOcwIb/hfS/5pRp/q29Ov8kkc8yI5szCqp8JeVDC KUZ9GNAbJ0pMV1+5lQ+HfeQgsf4MudkDdOl92jw9EYxqU047nacmffGSAyxVZFE7fkZY GUjULoG+LfHIUR8TcMBy44ijqHyhsTGPWPGUXiQO3YqjrgTWVUl4URhHf2HRQLnj5But tAqw== MIME-Version: 1.0 X-Received: by 10.224.216.135 with SMTP id hi7mr18836295qab.28.1363599487687; Mon, 18 Mar 2013 02:38:07 -0700 (PDT) Received: by 10.49.85.132 with HTTP; Mon, 18 Mar 2013 02:38:07 -0700 (PDT) X-Originating-IP: [180.46.194.164] Date: Mon, 18 Mar 2013 18:38:07 +0900 Message-ID: Subject: HypervisorVmPlannerSelector Run Level - can we increase? From: "Mills, Joseph" To: prachi@cloud.com, cloudstack-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=20cf300fb05f1483b004d82fbf5c X-Gm-Message-State: ALoCoQk6dTM1EeHZKRQZ7hMhmUnjlDX4Swyyo7G4BZilp6VA1E3N6UARrk9QPdFEkhMH/KFFxpuD X-Virus-Checked: Checked by ClamAV on apache.org --20cf300fb05f1483b004d82fbf5c Content-Type: text/plain; charset=ISO-8859-1 Hi Prachi, I had a question regarding your commit for CLOUDSTACK-1604. I noticed that the HypervisorVmPlannerSelector run level is currently 0. This didn't appear to cause any problems until the fix for CLOUDSTACK-1604, where a dependency on the 'configuration' database table was introduced. ConfigurationServerImpl appears to be the component that saves the default values to the 'configuration' table, but it's run level is 2. This means that on an initial boot up (where we populate the database for the first time), HypervisorVmPlannerSelector will get NULL for the config value it needs, which will prevent the user from deploying VMs later on. com.cloud.utils.exception.CloudRuntimeException: cannot find DeployPlannerSelector for vm[uuid:63b7bd9e-7be7-41e8-87e2-658d009e34cb, hypervisorType:KVM] Is this all correct? If so, can we increase the run level of HypervisorVmPlannerSelector to 5? Thanks, Joe --20cf300fb05f1483b004d82fbf5c--