Return-Path: X-Original-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Delivered-To: apmail-incubator-cloudstack-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id F23E8D722 for ; Wed, 24 Oct 2012 07:07:00 +0000 (UTC) Received: (qmail 72642 invoked by uid 500); 24 Oct 2012 07:07:00 -0000 Delivered-To: apmail-incubator-cloudstack-users-archive@incubator.apache.org Received: (qmail 72525 invoked by uid 500); 24 Oct 2012 07:07:00 -0000 Mailing-List: contact cloudstack-users-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cloudstack-users@incubator.apache.org Delivered-To: mailing list cloudstack-users@incubator.apache.org Received: (qmail 72514 invoked by uid 99); 24 Oct 2012 07:07:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 07:07:00 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [74.125.83.47] (HELO mail-ee0-f47.google.com) (74.125.83.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Oct 2012 07:06:53 +0000 Received: by mail-ee0-f47.google.com with SMTP id t10so49972eei.6 for ; Wed, 24 Oct 2012 00:06:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=megahappy.net; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3qZv6Iv4w/aPVMjAoEfkQjKbPWUOdN8nbYhV8rJCE7Q=; b=UeS23uLwef2ITmjzjUa1eKXTMYfWisKqn77niLX7PXlkHNYF5aqa1GCDJGxsWpGq9A gPVSaXsxp4GbJQjuViEOuxnWpQfRTRa6kZXzUKIW/cje4rdMt0vDdeFJuouq2ZXjTEUr VLTm4+Jmx7773kZ94L8oWn9rDsbEfs0BDQOmc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=3qZv6Iv4w/aPVMjAoEfkQjKbPWUOdN8nbYhV8rJCE7Q=; b=GcKNvwxmUq4rCdj6p8K27/uytqrJ6cYLyjLX9d9dWuTv+CE2HGGdBucXoLMG3x9aei wt7yQn3Rhwdm0OX6yhL97nVv+VZnlskGgwSrkn4GjJ7PinYpVZK/yndDdQskPUhXMW2X acn7UHQJcBVpQw2DiWPXCcX8evMlTkOPbn9FbslVTzOzT3T+GLl67VJybhVz5zudxYot JHkqi6xSLt8ll+a8TL0h1hPaH9X4Qcf8Vfa7Q6MrjUu66NNHnL+I74YNyLoW8ETM09Oa CHFTw7DLEtmlBOCAKaEknoKuZ87ngk27SHW57UlC5n2GNl65PgS0/DIq70oz/wF9uBak AcrA== MIME-Version: 1.0 Received: by 10.14.172.137 with SMTP id t9mr20372319eel.2.1351062392458; Wed, 24 Oct 2012 00:06:32 -0700 (PDT) Received: by 10.14.100.198 with HTTP; Wed, 24 Oct 2012 00:06:32 -0700 (PDT) In-Reply-To: References: Date: Wed, 24 Oct 2012 00:06:32 -0700 Message-ID: Subject: Re: missing GUID in cluster table From: Bryan Whitehead To: cloudstack-users@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmV6RGFQuyvH58wkWUbExhO0+xSLdBH6EUZDiXK09KFBm+c+VEfqP6Jt8KWmQWVw4tceHij X-Virus-Checked: Checked by ClamAV on apache.org I took a backup and gave it a shot: 1. shutdown cloud-manager 2. ran update cloud.cluster set guid=UUID() where id=1; 3. started cloud-manager all works well. On Tue, Oct 23, 2012 at 11:30 PM, Bryan Whitehead wrote: > I forgot to mention that this is cloudstack 3.0.2. > > On Tue, Oct 23, 2012 at 11:30 PM, Bryan Whitehead wrote: >> mysql> select * from cluster; >> +----+-----------+--------------------------------------+------+--------+----------------+-----------------+--------------+------------------+---------------+---------+ >> | id | name | uuid | guid | >> pod_id | data_center_id | hypervisor_type | cluster_type | >> allocation_state | managed_state | removed | >> +----+-----------+--------------------------------------+------+--------+----------------+-----------------+--------------+------------------+---------------+---------+ >> | 1 | SVcluster | d9433492-6e56- | NULL | 1 | >> 1 | KVM | CloudManaged | Enabled | Managed >> | NULL | >> +----+-----------+--------------------------------------+------+--------+----------------+-----------------+--------------+------------------+---------------+---------+ >> 1 row in set (0.00 sec) >> >> I'm trying to add another node to a cluster but I'm getting an error >> about my cluster not having a GUID. Sure enough in the DB, I do not. >> >> Looking at other clusters in different cloudstack installes, sure >> enough GUID is filled in. >> >> Can I just add a unique GUID to this record and restart cloud-manager? >> or do i really need to remove the cluster and redo everything? >> >> -Bryan