From users-return-30456-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Wed Apr 25 23:47:10 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 4113B180676 for ; Wed, 25 Apr 2018 23:47:09 +0200 (CEST) Received: (qmail 93665 invoked by uid 500); 25 Apr 2018 21:47:03 -0000 Mailing-List: contact users-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@cloudstack.apache.org Delivered-To: mailing list users@cloudstack.apache.org Received: (qmail 93055 invoked by uid 99); 25 Apr 2018 21:47:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2018 21:47:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id D52461A2563 for ; Wed, 25 Apr 2018 21:47:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.9 X-Spam-Level: * X-Spam-Status: No, score=1.9 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, KAM_SHORT=0.001, NORMAL_HTTP_TO_IP=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id XxvF8zKWDmKh for ; Wed, 25 Apr 2018 21:46:58 +0000 (UTC) Received: from mail-oi0-f47.google.com (mail-oi0-f47.google.com [209.85.218.47]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id EFECD5FCBA for ; Wed, 25 Apr 2018 21:46:57 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id f63-v6so22271202oic.4 for ; Wed, 25 Apr 2018 14:46:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=HAES/4erxH21p/wshB0T663aXyZmSKtx+jCnSgipkNs=; b=IjRLyaukpm8NJFjbX1BCQOssH2A5INCcSxbKtHSl5Iw3rGYdAjm2lvgsj5bvkhCAlE yzACmwEfaakcZuXk9LKzwtyL1xZvEA+3Dw+srQHP4jQf9UKuMNl8upJjccpSgD52kHJf uGGCTYLY5d5aaVUNQbtGUEO7aFlIJ09gAWu73eXfjeOD5xsZB9XS7aje0unwK/09O2RX Zwrtuvp1ad5A8YifSO0dkfRsLp+HIc4B8lnF5X8WSFylQDKUhAQeQmbFaMMDQRah0q62 xsTEDaslq1K22ro5e/awJq3KYbXhhoW7mnH07W62a5rBXHemsJNmAaRN3E4m454TPkKq sQHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=HAES/4erxH21p/wshB0T663aXyZmSKtx+jCnSgipkNs=; b=QZ7zh+LH4tmKMIWyXhppIF0oxXHQVS+q1bkDav6CmYBxKFvmaXOKuCfvPBkeLGJybq DA6P9n2oUepZxWoH5F0WQpQOz4P9oewxFbCyfEYAgrBTPlLGcHysKnk9/i2+QpaAIAXY vbMjP2j01WLJjGNUYZznuv02gi5XpM76cEMxqYHbyW8V/HKGw1TSU2yr85PMrAkZJ0Ya TsxZTk/dtLZj8bKxJcCQ3/DArCL+S3Ms3j1759YCY88r4KLvcBFkmm7FcDiABGxx/0zi nTMPzcn/uhagAK5ovI462Z2mWD+Vc1cMn+7dI7/ikZvNW14z3c8xPYQI6YV5+FiNDkdt s54w== X-Gm-Message-State: ALQs6tCH7c5RM7xlRIR8ukLdYi8CeXe5ddti0vxZjRz8aKM5ml5AO79E UiT+V+94XF1z8u+6ngBH0PhhKGmhVK+tu/GbfIw1+w== X-Google-Smtp-Source: AIpwx49W5e0/kDFSC8vbOz/y5fUVtDaGXllTvZ7j8aeeWlxykY0WPopYEMWhe5QpnE5gB4mb3/IyBHda0Lwp8STMzHc= X-Received: by 2002:aca:bd46:: with SMTP id n67-v6mr18087961oif.125.1524692817039; Wed, 25 Apr 2018 14:46:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:ca1:0:0:0:0:0 with HTTP; Wed, 25 Apr 2018 14:46:56 -0700 (PDT) In-Reply-To: References: From: =?UTF-8?Q?Rafael_Weing=C3=A4rtner?= Date: Wed, 25 Apr 2018 18:46:56 -0300 Message-ID: Subject: Re: No able to add a local template and failed to delete template To: users Content-Type: multipart/alternative; boundary="000000000000c06e07056ab335aa" --000000000000c06e07056ab335aa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You will need to open the javascript console in your browser and look if there is an error happening. On Wed, Apr 25, 2018 at 6:45 PM, mukarram.syed@8x8.com < mukarram.syed@8x8.com> wrote: > I logged into the SSVM and tailed the /var/log/cloud.log but nothing ther= e. > Is there a way to upload screenshots here? > > When I click on the 'OK' button after I choose the VMDK file from my loca= l > drive after choosing the following: > *Local file < uploaded the VMDK here from local drive> > *Name > *Description > *zone > *Hypervisor > *Format > *OS Type > All other boxes are unchecked. > > Click on "OK" > > the dialog screen "Upload template from local" just "blinks" and nothing > happens. The dialog screen does NOT accept my 'OK' and disappear. > > Anywhere else I can look? > > Thanks > > # mukarram > > On 2018/04/25 21:35:08, Rafael Weing=C3=A4rtner > wrote: > > You need to log into your SSVM and check if there are error messages > there. > > You should also check your browser (are you using the UI) to see if the= re > > are some errors in the console. > > > > On Wed, Apr 25, 2018 at 6:33 PM, mukarram.syed@8x8.com < > > mukarram.syed@8x8.com> wrote: > > > > > > > > I get this from the database: > > > > > > MariaDB [cloud]> select * from vm_template where id=3D235; > > > +-----+--------------------------------------------+-------- > > > ------------+--------------------------------------+-------- > > > +----------+------+-----+------+------+--------+------------ > > > ---------+---------+------------+----------+---------------- > > > ----+-----------------+---------------+-------------+------- > > > ---+-------------+-------------+-------------+-------------- > > > ---+--------------------+--------------+----------+------+-- > > > -----------+--------------+---------+----------------------+ > > > --------------------+-----------------+ > > > | id | unique_name | name > | > > > uuid | public | featured | type | hvm= | > > > bits | url | format | created | removed | account_id | > > > checksum | display_text | enable_password | enable_sshkey | > > > guest_os_id | bootable | prepopulate | cross_zones | extractable | > > > hypervisor_type | source_template_id | template_tag | sort_key | size= | > > > state | update_count | updated | dynamically_scalable | > > > parent_template_id | direct_download | > > > +-----+--------------------------------------------+-------- > > > ------------+--------------------------------------+-------- > > > +----------+------+-----+------+------+--------+------------ > > > ---------+---------+------------+----------+---------------- > > > ----+-----------------+---------------+-------------+------- > > > ---+-------------+-------------+-------------+-------------- > > > ---+--------------------+--------------+----------+------+-- > > > -----------+--------------+---------+----------------------+ > > > --------------------+-----------------+ > > > | 235 | 235-2-f166e5ba-6ae6-35d0-90f3-7a1d871b3971 | > CentOS7-local-vmdk | > > > 413df4a9-2c49-4bf4-8b39-0fe603e4fd47 | 0 | 0 | USER | 1 > | > > > 64 | NULL | VMDK | 2018-04-25 21:29:25 | NULL | 2 | NU= LL > > > | CentOS7-local-vmdk | 0 | 0 | 221= | > > > 1 | 0 | 0 | 0 | KVM | > > > NULL | NULL | 0 | NULL | NotUploaded | > 0 | > > > NULL | 0 | NULL | 0= | > > > +-----+--------------------------------------------+-------- > > > ------------+--------------------------------------+-------- > > > +----------+------+-----+------+------+--------+------------ > > > ---------+---------+------------+----------+---------------- > > > ----+-----------------+---------------+-------------+------- > > > ---+-------------+-------------+-------------+-------------- > > > ---+--------------------+--------------+----------+------+-- > > > -----------+--------------+---------+----------------------+ > > > --------------------+-----------------+ > > > 1 row in set (0.00 sec) > > > > > > On 2018/04/25 21:31:51, mukarram.syed@8x8.com > > > wrote: > > > > > > > > Trying to upload a local VMDK file and this is the error from the > logs: > > > > > > > > 2018-04-25 21:29:18,325 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-13:null) (logid:) Process host VM state report > from > > > ping process. host: 4 > > > > 2018-04-25 21:29:18,325 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-13:null) (logid:) Process VM state report. host= : > 4, > > > number of records in report: 0 > > > > 2018-04-25 21:29:18,325 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-13:null) (logid:) Done with process of VM state > > > report. host: 4 > > > > 2018-04-25 21:29:18,399 DEBUG [c.c.a.m.AgentManagerImpl] > > > (AgentManager-Handler-15:null) (logid:) Ping from > > > 1(csmgmt3-corp.8x8hosts.corp) > > > > 2018-04-25 21:29:18,399 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) Process host VM state report > from > > > ping process. host: 1 > > > > 2018-04-25 21:29:18,401 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) Process VM state report. host= : > 1, > > > number of records in report: 3 > > > > 2018-04-25 21:29:18,401 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM state report. host: 1, vm > id: 1, > > > power state: PowerOn > > > > 2018-04-25 21:29:18,402 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM power state does not chang= e, > > > skip DB writing. vm id: 1 > > > > 2018-04-25 21:29:18,402 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM state report. host: 1, vm > id: 2, > > > power state: PowerOn > > > > 2018-04-25 21:29:18,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM power state does not chang= e, > > > skip DB writing. vm id: 2 > > > > 2018-04-25 21:29:18,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM state report. host: 1, vm > id: 4, > > > power state: PowerOn > > > > 2018-04-25 21:29:18,404 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) VM power state does not chang= e, > > > skip DB writing. vm id: 4 > > > > 2018-04-25 21:29:18,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncIm > pl] > > > (AgentManager-Handler-15:null) (logid:) Done with process of VM state > > > report. host: 1 > > > > 2018-04-25 21:29:22,508 DEBUG [c.c.a.m.AgentManagerImpl] > > > (AgentManager-Handler-14:null) (logid:) Ping from 3(v-2-VM) > > > > 2018-04-25 21:29:22,691 DEBUG [c.c.a.m.AgentManagerImpl] > > > (AgentManager-Handler-2:null) (logid:) Ping from 2(s-1-VM) > > > > 2018-04-25 21:29:24,243 DEBUG [c.c.a.m.AgentManagerImpl] > > > (AgentManager-Handler-1:null) (logid:) SeqA 3-10471: Processing Seq > > > 3-10471: { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, > > > [{"com.cloud.agent.api.ConsoleProxyLoadReportCommand" > > > :{"_proxyVmId":2,"_loadInfo":"{\n \"connections\": > []\n}","wait":0}}] } > > > > 2018-04-25 21:29:24,244 DEBUG [c.c.a.m.AgentManagerImpl] > > > (AgentManager-Handler-1:null) (logid:) SeqA 3-10471: Sending Seq > 3-10471: > > > { Ans: , MgmtId: 279278805451038, via: 3, Ver: v1, Flags: 100010, > > > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] > } > > > > 2018-04-25 21:29:25,501 DEBUG [c.c.a.ApiServlet] > (qtp1622006612-372:ctx-1f7dc58b) > > > (logid:4ad4e833) =3D=3D=3DSTART=3D=3D=3D 192.168.64.147 -- GET comm= and=3D > > > getUploadParamsForTemplate&response=3Djson&name=3DCentOS7- > > > local-vmdk&displayText=3DCentOS7-local-vmdk&zoneid=3D > 1a5adb10-8971-492f-9230- > > > 3ab9e6284393&format=3DVMDK&isextractable=3Dfalse&passwordEnabled=3Dfa= lse& > > > isdynamicallyscalable=3Dfalse&osTypeId=3Dde151f6f-42aa-11e8- > > > 9777-000af7bc5dda&hypervisor=3DKVM&ispublic=3Dfalse& > > > requireshvm=3Dtrue&isfeatured=3Dfalse&isrouting=3Dfalse&_=3D152469175= 8622 > > > > 2018-04-25 21:29:25,503 DEBUG [c.c.a.ApiServer] > (qtp1622006612-372:ctx-1f7dc58b > > > ctx-39c5ae94) (logid:4ad4e833) CIDRs from which account > > > 'Acct[f4935ef9-42aa-11e8-9777-000af7bc5dda-admin]' is allowed to > perform > > > API calls: 0.0.0.0/0,::/0 > > > > 2018-04-25 21:29:25,518 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > > > (qtp1622006612-372:ctx-1f7dc58b ctx-39c5ae94) (logid:4ad4e833) > template > > > 235 is not in store:1, type:Image > > > > 2018-04-25 21:29:25,520 DEBUG [o.a.c.s.i.TemplateDataFactoryImpl] > > > (qtp1622006612-372:ctx-1f7dc58b ctx-39c5ae94) (logid:4ad4e833) > template > > > 235 is already in store:1, type:Image > > > > 2018-04-25 21:29:25,522 DEBUG [c.c.r.ResourceLimitManagerImpl] > > > (qtp1622006612-372:ctx-1f7dc58b ctx-39c5ae94) (logid:4ad4e833) > Updating > > > resource Type =3D template count for Account =3D 2 Operation =3D incr= easing > > > Amount =3D 1 > > > > 2018-04-25 21:29:25,547 DEBUG [c.c.a.ApiServlet] > (qtp1622006612-372:ctx-1f7dc58b > > > ctx-39c5ae94) (logid:4ad4e833) =3D=3D=3DEND=3D=3D=3D 192.168.64.147 = -- GET > command=3D > > > getUploadParamsForTemplate&response=3Djson&name=3DCentOS7- > > > local-vmdk&displayText=3DCentOS7-local-vmdk&zoneid=3D > 1a5adb10-8971-492f-9230- > > > 3ab9e6284393&format=3DVMDK&isextractable=3Dfalse&passwordEnabled=3Dfa= lse& > > > isdynamicallyscalable=3Dfalse&osTypeId=3Dde151f6f-42aa-11e8- > > > 9777-000af7bc5dda&hypervisor=3DKVM&ispublic=3Dfalse& > > > requireshvm=3Dtrue&isfeatured=3Dfalse&isrouting=3Dfalse&_=3D152469175= 8622 > > > > 2018-04-25 21:29:27,726 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > > (AsyncJobMgr-Heartbeat-1:ctx-8b506f21) (logid:6808141a) Begin cleanup > > > expired async-jobs > > > > 2018-04-25 21:29:27,728 INFO [o.a.c.f.j.i.AsyncJobManagerImpl] > > > (AsyncJobMgr-Heartbeat-1:ctx-8b506f21) (logid:6808141a) End cleanup > > > expired async-jobs > > > > 2018-04-25 21:29:27,795 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] > > > (LBHealthCheck-1:ctx-a7232235) (logid:eb88f56a) LB HealthCheck Manage= r > is > > > running and getting the updates from LB providers and updating servic= e > > > status > > > > 2018-04-25 21:29:27,798 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] > > > (LBHealthCheck-1:ctx-a7232235) (logid:eb88f56a) LB HealthCheck Manage= r > is > > > running and getting the updates from LB providers and updating servic= e > > > status > > > > > > > > On 2018/04/25 21:23:51, mukarram.syed@8x8.com > > > > wrote: > > > > > I'll try to recreate and send the logs. > > > > > # mukarram > > > > > > > > > > On 2018/04/24 23:13:08, Rafael Weing=C3=A4rtner < > > > rafaelweingartner@gmail.com> wrote: > > > > > > We would need some log pieces to try to understand what sort of > > > problems > > > > > > you are having. > > > > > > Can you provide them? > > > > > > > > > > > > You can use [1] to share them. > > > > > > [1] https://paste.apache.org/ > > > > > > > > > > > > On Tue, Apr 24, 2018 at 7:13 PM, mukarram.syed@8x8.com < > > > > > > mukarram.syed@8x8.com> wrote: > > > > > > > > > > > > > Can you please fix this in the next release - 4.11.1.0? > > > > > > > Thanks > > > > > > > > > > > > > > # mukarram > > > > > > > > > > > > > > On 2018/04/23 20:21:00, Mukarram Syed > > > wrote: > > > > > > > > Hi, > > > > > > > > I am implementing ACS 4.11 on CentOS7.4 as a POC. > > > > > > > > > > > > > > > > 2 issues: > > > > > > > > > > > > > > > > 1. > > > > > > > > I cannot upload a local template and the error is shown > below: > > > This is a > > > > > > > > VMDK template I am trying to upload on a KVM hypervisor. > > > > > > > > > > > > > > > > NameStatusReady > > > > > > > > zone-1 UploadAbandoned No > > > > > > > > > > > > > > > > Name CentOS7-template6 > > > > > > > > ID fe88f8b5-f699-4423-87af-d8fe24879349 > > > > > > > > Zone Name zone-1 > > > > > > > > Zone ID 1a5adb10-8971-492f-9230-3ab9e6284393 > > > > > > > > Ready No > > > > > > > > Status UploadAbandoned > > > > > > > > Hypervisor KVM > > > > > > > > Size > > > > > > > > > > > > > > > > 2. > > > > > > > > Also when I try to delete this template by clicking on > "zone-1" > > > and the > > > > > > > red > > > > > > > > X, it tells me "status: failed to delete template" > > > > > > > > > > > > > > > > I am new to ACS and we want to deploy this in Production, > please > > > advice. > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > # mukarram > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Rafael Weing=C3=A4rtner > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Rafael Weing=C3=A4rtner > > > --=20 Rafael Weing=C3=A4rtner --000000000000c06e07056ab335aa--