From users-return-33017-archive-asf-public=cust-asf.ponee.io@cloudstack.apache.org Fri Jun 14 16:53:53 2019 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 8E1A618062F for ; Fri, 14 Jun 2019 18:53:52 +0200 (CEST) Received: (qmail 32466 invoked by uid 500); 14 Jun 2019 16:53:50 -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 32427 invoked by uid 99); 14 Jun 2019 16:53:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jun 2019 16:53:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 59901C2826 for ; Fri, 14 Jun 2019 16:53:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.06 X-Spam-Level: *** X-Spam-Status: No, score=3.06 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_REPLY=1, GB_FROM_NAME_FREEMAIL=0.01, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-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 (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id uzzWWwvALEpm for ; Fri, 14 Jun 2019 16:53:41 +0000 (UTC) Received: from mail-oi1-f196.google.com (mail-oi1-f196.google.com [209.85.167.196]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 58F105F52B for ; Fri, 14 Jun 2019 16:53:41 +0000 (UTC) Received: by mail-oi1-f196.google.com with SMTP id t76so2452996oih.4 for ; Fri, 14 Jun 2019 09:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=0yMoivYDZGshsd4XcXFvaoJJmXVQp/VbV/UIlrQdk2o=; b=QvJ7slrjYohEMHGBdXfouSZKFAjp0NS4IQorjZ6eTp2HIENmR6KBU/iEUXYE1sMmAP lflmb/8hlfaZTeKsQ92VMIUKs4ItDSpXL8JqxVJBmIzsMYtQ/6xg0IxL1HurYH8EOUvI zlGi66wfUe7IfDm2xg1Hg5IBuc2UFHjjaEcOy/6S8wrOPYe9kKvcaZ0lGN0iL2eMHqk1 oKqa1Bs9am0f9mj5kLzRh2wCHsTGZN7pZWUtZPu2zcz9Sno6OUwdJfN4TJhtzvUKFDyj x4ZnW6INWKSgnH9ktrSeHXl5n+Qm0M7cn7InEQg3FtUm8w/b6WHKp9JrHheK/anOG1xi 12Ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=0yMoivYDZGshsd4XcXFvaoJJmXVQp/VbV/UIlrQdk2o=; b=FXCpLb+7x5jRM48oFU1yoF4NqY68/oMhm4Vs7229xBN7W3EnVpeG9wD1iJsrkp246F cv9Kt2UJoiCuCX5T/bTPPQiLledI/VB3x9jlRfM4TrGFLYqK8ZEQIoVu5YlNG3gBanpt IewEYWyBa6FjUxd9oUf3MB3CrtxT7uagAZao848xtW4zvjgcA2l3n+F4Q7gA/8JjokVf Bh1hnwX9kHLAB7a0p/TDvFPkHPbetLMvN4MhT72nGJyZG7l8jecJUEcHmYJNjBYa7DHX W+D9m8HL4HMaV9h4YLlS+9U68IXypBr/fRBUBvITOFpoq2cTjG262e7telVERTtCVkB0 2OtQ== X-Gm-Message-State: APjAAAUD4gIgEzLa2IVMqpwkfqAgvnoc0Ztw/N+AyzSmN9929a9/8mox 0uVmnavZab8hGOlzqfRa3hmXEvsIGxQ+V3fuANJP5hqa21RpFg== X-Google-Smtp-Source: APXvYqyMU031dgMDtHeh1MBWn1MLyyZitcE1ZtG2iaR5g5irEgeAZ9KUDHqHSnvpOJrYr8E0mpewL00lFQ/GRLd+Tvc= X-Received: by 2002:aca:3888:: with SMTP id f130mr2519710oia.1.1560531219709; Fri, 14 Jun 2019 09:53:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alejandro Ruiz Bermejo Date: Fri, 14 Jun 2019 12:55:35 -0400 Message-ID: Subject: Re: launch instance error To: users@cloudstack.apache.org Content-Type: multipart/alternative; boundary="00000000000003060e058b4b7d45" --00000000000003060e058b4b7d45 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable this was the ouputs mysql> SELECT storage_pool.id, storage_pool.name, storage_pool.uuid, -> storage_pool.pool_type, storage_pool.created, storage_pool.removed, -> storage_pool.update_time, storage_pool.data_center_id, storage_pool.pod_id, -> storage_pool.used_bytes, storage_pool.capacity_bytes, storage_pool.status, -> storage_pool.storage_provider_name, storage_pool.host_address, -> storage_pool.path, storage_pool.port, storage_pool.user_info, -> storage_pool.cluster_id, storage_pool.scope, storage_pool.managed, -> storage_pool.capacity_iops, storage_pool.hypervisor FROM storage_pool WHERE -> storage_pool.data_center_id =3D 1 AND storage_pool.status =3D 'Up' = AND -> storage_pool.scope =3D 'ZONE' AND storage_pool.hypervisor =3D 'LXC'= AND -> storage_pool.removed IS NULL; Empty set (0.00 sec) mysql> select * from storage_pool; +----+---------+--------------------------------------+-------------------+= ------+----------------+--------+------------+------------+----------------= +--------------+-----------+-----------------+---------------------+-------= --+-------------+--------+-----------------------+---------+------------+--= -------+---------------+ | id | name | uuid | pool_type | port | data_center_id | pod_id | cluster_id | used_bytes | capacity_bytes | host_address | user_info | path | created | removed | update_time | status | storage_provider_name | scope | hypervisor | managed | capacity_iops | +----+---------+--------------------------------------+-------------------+= ------+----------------+--------+------------+------------+----------------= +--------------+-----------+-----------------+---------------------+-------= --+-------------+--------+-----------------------+---------+------------+--= -------+---------------+ | 1 | primary | 672631ab-5c14-3f60-97c6-1d633e60f7bd | NetworkFilesystem | 2049 | 1 | NULL | NULL | 3413114880 | 984374837248 | 10.8.9.235 | NULL | /export/primary | 2019-06-06 20:05:26 | NULL | NULL | Up | DefaultPrimary | ZONE | KVM | 0 | NULL | | 3 | lxc | 3b062c9d-0333-41c4-9ba8-f71f75a81d1f | SharedMountPoint | 0 | 2 | 2 | 3 | 3413114880 | 984374837248 | localhost | NULL | /mnt/primary | 2019-06-13 18:32:26 | NULL | NULL | Up | DefaultPrimary | CLUSTER | NULL | 0 | NULL | +----+---------+--------------------------------------+-------------------+= ------+----------------+--------+------------+------------+----------------= +--------------+-----------+-----------------+---------------------+-------= --+-------------+--------+-----------------------+---------+------------+--= -------+---------------+ 2 rows in set (0.00 sec) On Fri, Jun 14, 2019 at 12:51 PM Andrija Panic wrote: > right... based on logs, it used different sql to search for ZONE-wide > storage, execute this one please: > > SELECT storage_pool.id, storage_pool.name, storage_pool.uuid, > storage_pool.pool_type, storage_pool.created, storage_pool.removed, > storage_pool.update_time, storage_pool.data_center_id, storage_pool.pod_i= d, > storage_pool.used_bytes, storage_pool.capacity_bytes, storage_pool.status= , > storage_pool.storage_provider_name, storage_pool.host_address, > storage_pool.path, storage_pool.port, storage_pool.user_info, > storage_pool.cluster_id, storage_pool.scope, storage_pool.managed, > storage_pool.capacity_iops, storage_pool.hypervisor FROM storage_pool WHE= RE > storage_pool.data_center_id =3D 1 AND storage_pool.status =3D 'Up' AND > storage_pool.scope =3D 'ZONE' AND storage_pool.hypervisor =3D 'LXC' AND > storage_pool.removed IS NULL > > This SHOULD return 1 pool, unless there are some funny issues... > I expect the storage_pool.hypervisor might be NULL instead of "LXC" > > Anyway, execute the following: "select * from storage_pool;" > to see what you have in DB... > > Best > Andrija > > > On Fri, 14 Jun 2019 at 18:13, Alejandro Ruiz Bermejo < > arbermejo0417@gmail.com> wrote: > > > Hi and thanks again for your help, > > > > So i run the query with both level scopes of storage > > > > with storage_pool.scope =3D 'CLUSTER' > > > > output: > > Empty set (0.00 sec) > > > > with storage_pool.scope =3D 'ZONE' > > > > > > > +----+---------+--------------------------------------+------------------= -+---------------------+---------+-------------+----------------+--------+-= -----------+----------------+--------+-----------------------+-------------= -+-----------------+------+-----------+------------+-------+---------+-----= ----------+------------+ > > | id | name | uuid | pool_type > | > > created | removed | update_time | data_center_id | pod_id | > > used_bytes | capacity_bytes | status | storage_provider_name | > host_address > > | path | port | user_info | cluster_id | scope | managed | > > capacity_iops | hypervisor | > > > > > +----+---------+--------------------------------------+------------------= -+---------------------+---------+-------------+----------------+--------+-= -----------+----------------+--------+-----------------------+-------------= -+-----------------+------+-----------+------------+-------+---------+-----= ----------+------------+ > > | 1 | primary | 672631ab-5c14-3f60-97c6-1d633e60f7bd | > NetworkFilesystem | > > 2019-06-06 20:05:26 | NULL | NULL | 1 | NULL | > > 3413114880 | 984374837248 | Up | DefaultPrimary | 10.8.9.2= 35 > > | /export/primary | 2049 | NULL | NULL | ZONE | 0 | > > NULL | KVM | > > > > > +----+---------+--------------------------------------+------------------= -+---------------------+---------+-------------+----------------+--------+-= -----------+----------------+--------+-----------------------+-------------= -+-----------------+------+-----------+------------+-------+---------+-----= ----------+------------+ > > 1 row in set (0.00 sec) > > > > > > > > On Fri, Jun 14, 2019 at 11:57 AM Andrija Panic > > wrote: > > > > > Execute this one (from logs) against your DB - does it return/finds a > > > storage pool ? > > > > > > SELECT storage_pool.id, storage_pool.name, storage_pool.uuid, > > > storage_pool.pool_type, storage_pool.created, storage_pool.removed, > > > storage_pool.update_time, storage_pool.data_center_id, > > storage_pool.pod_id, > > > storage_pool.used_bytes, storage_pool.capacity_bytes, > > storage_pool.status, > > > storage_pool.storage_provider_name, storage_pool.host_address, > > > storage_pool.path, storage_pool.port, storage_pool.user_info, > > > storage_pool.cluster_id, storage_pool.scope, storage_pool.managed, > > > storage_pool.capacity_iops, storage_pool.hypervisor FROM storage_pool > > WHERE > > > storage_pool.data_center_id =3D 1 AND storage_pool.status =3D 'Up' = AND > > > storage_pool.scope =3D 'CLUSTER' AND ( storage_pool.pod_id IS NULL = OR > > > storage_pool.pod_id =3D 1 ) AND ( storage_pool.cluster_id IS NULL = OR > > > storage_pool.cluster_id =3D 2 ) AND storage_pool.removed IS NULL > > > > > > tip from thre query - it seems to be looking for CLUSTER level not ZO= NE > > > level scope of storage. > > > > > > > > > > > > On Thu, 13 Jun 2019 at 16:35, Alejandro Ruiz Bermejo < > > > arbermejo0417@gmail.com> wrote: > > > > > > > Hi, > > > > > > > > I really need to get LXC working, I'm very interested on using CS > and i > > > > need to move LXC instances to the new cloud. Thats's why i'm > insisting > > on > > > > it. So please if you see any errors or can help me i will appreciat= e > > it. > > > > > > > > 1. I haven't used any Tag till now (should i?) > > > > 2. Already set the TRACE logging level here is the content for an > > > instance > > > > createion (https://pastebin.com/Yd9as8uF) > > > > > > > > Thanks for the help > > > > Alejandro > > > > > > > > On Wed, Jun 12, 2019 at 5:06 PM Andrija Panic < > andrija.panic@gmail.com > > > > > > > wrote: > > > > > > > > > Well, this one still doesn't provide any usefull info. > > > > > > > > > > 1. Can you confirm if you have tags set on LXC Compute Offerings = or > > any > > > > > storage used by LXC cluster? > > > > > 2. Consider change logging level for management-server.log to TRA= CE > > > mode, > > > > > which will show also all SQL queries executed, so perhaps we can > see > > > why > > > > it > > > > > craps out. > > > > > 3. Not meant to discourage you, but I'm not sure weather LXC code > > still > > > > > works with any more recent ACS release - i.e. I'm not aware of an= y > > > users, > > > > > nor do I (personally) remember another user mentioning LXC here a= ny > > > time > > > > > recently. > > > > > > > > > > Cheers > > > > > Andrija > > > > > > > > > > On Wed, 12 Jun 2019 at 15:13, Alejandro Ruiz Bermejo < > > > > > arbermejo0417@gmail.com> wrote: > > > > > > > > > > > Hi this is the full log for one instance cretion with the same > > error > > > ( > > > > > > https://pastebin.com/HHKnHi36) > > > > > > > > > > > > On Tue, Jun 11, 2019 at 5:10 PM Andrija Panic < > > > andrija.panic@gmail.com > > > > > > > > > > > wrote: > > > > > > > > > > > > > Alejandro, > > > > > > > > > > > > > > Please send the whole log on pastebin or similar, this one > > doesn't > > > > > > provide > > > > > > > enough information... (beside the " Found pools matching tags= : > [] > > > ") > > > > > > > > > > > > > > On Tue, 11 Jun 2019 at 17:57, Alejandro Ruiz Bermejo < > > > > > > > arbermejo0417@gmail.com> wrote: > > > > > > > > > > > > > > > ok, so i registered a new template and unset-ed the HVM > option > > > and > > > > > > > > launched a new instance using this themplate. > > > > > > > > Now the planner can find the host inside the LXC cluster bu= t > it > > > > seems > > > > > > > like > > > > > > > > it can't find now a propper storage pool. I already have > > > everything > > > > > > > > configured as it appears on the installation guide and > > configured > > > > the > > > > > > > > secondary and primary storage on the lxc host. I attach and > > paste > > > > > here > > > > > > > the > > > > > > > > log of the VM creation process > > > > > > > > > > > > > > > > root@cloudstack-manager:/home/team# grep -i "unable to" > > > > > > > > /var/log/cloudstack/management/management-server.log > > > > > > > > 2019-06-11 11:12:59,917 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) > > > > > (logid:0afee059) > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > > create a > > > > > > > > deployment for VM[User|i-2-11-VM]Scope=3Dinterface > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:12:59,917 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-19:ctx-23ea94e8 job-51 ctx-06951cdb) > > > > > (logid:0afee059) > > > > > > > > Unable to create a deployment for VM[User|i-2-11-VM] > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > create > > > > > > > > a deployment for VM[User|i-2-11-VM]Scope=3Dinterface > > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:12:59,918 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-19:ctx-23ea94e8 job-51) (logid:0afee059) > > > Complete > > > > > > async > > > > > > > > job-51, jobStatus: FAILED, resultCode: 530, result: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],= "errorcode":533,"errortext":"Unable > > > > > > > > to create a deployment for VM[User|i-2-11-VM]"} > > > > > > > > 2019-06-11 11:17:33,162 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) > > > > > (logid:0e16600e) > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > > create a > > > > > > > > deployment for VM[User|i-2-12-VM]Scope=3Dinterface > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:17:33,162 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-22:ctx-e044255f job-57 ctx-87af2b3f) > > > > > (logid:0e16600e) > > > > > > > > Unable to create a deployment for VM[User|i-2-12-VM] > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > create > > > > > > > > a deployment for VM[User|i-2-12-VM]Scope=3Dinterface > > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:17:33,162 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-22:ctx-e044255f job-57) (logid:0e16600e) > > > Complete > > > > > > async > > > > > > > > job-57, jobStatus: FAILED, resultCode: 530, result: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],= "errorcode":533,"errortext":"Unable > > > > > > > > to create a deployment for VM[User|i-2-12-VM]"} > > > > > > > > 2019-06-11 11:37:05,302 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > > create a > > > > > > > > deployment for VM[User|i-2-13-VM]Scope=3Dinterface > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:37:05,302 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Unable to create a deployment for VM[User|i-2-13-VM] > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > create > > > > > > > > a deployment for VM[User|i-2-13-VM]Scope=3Dinterface > > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:37:05,302 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > > Complete > > > > > > async > > > > > > > > job-62, jobStatus: FAILED, resultCode: 530, result: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],= "errorcode":533,"errortext":"Unable > > > > > > > > to create a deployment for VM[User|i-2-13-VM]"} > > > > > > > > root@cloudstack-manager:/home/team# grep -i "job-62" > > > > > > > > /var/log/cloudstack/management/management-server.log > > > > > > > > 2019-06-11 11:37:03,453 INFO [o.a.c.f.j.i.AsyncJobMonitor] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:fb7a7cb5) > Add > > > > job-62 > > > > > > > into > > > > > > > > job monitoring > > > > > > > > 2019-06-11 11:37:03,459 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (qtp895947612-374:ctx-4c42085e ctx-d0095860) (logid:baf4b65= e) > > > > submit > > > > > > > async > > > > > > > > job-62, details: AsyncJobVO {id:62, userId: 2, accountId: 2= , > > > > > > > instanceType: > > > > > > > > VirtualMachine, instanceId: 13, cmd: > > > > > > > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, > > > > > cmdInfo: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > {"httpmethod":"GET","templateid":"f2f98443-3793-452d-8e35-aaf631428c50","= ctxAccountId":"2","uuid":"56f3829d-722b-45a1-9084-2576eae34068","cmdEventTy= pe":"VM.CREATE","diskofferingid":"3dd93d79-62b0-427c-8c15-1050305eb90e","se= rviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","= ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3= ff0d0","ctxStartEventId":"147","id":"13","ctxDetails":"{\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.vm.VirtualMachine\":\"56f3829d-722b-45a1-9084-2576eae34068\",\"= interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.ServiceOffering\":\"57675b96-98fa-49a3-9437-24f9dbf3fd= 90\",\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.dc.DataCenter\":\"5b03beea-ffdd-45ea-84eb-64110f3ff0d0\",\"inte= rface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.DiskOffering\":\"3dd93d79-62b0-427c-8c15-1050305eb90e\= ",\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.template.VirtualMachineTemplate\":\"f2f98443-3793-452d-8e35-aaf= 631428c50\"}","_":"1560267550351"}, > > > > > > > > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, > > resultCode: > > > > 0, > > > > > > > > result: null, initMsid: 207380201932, completeMsid: null, > > > > > lastUpdated: > > > > > > > > null, lastPolled: null, created: null} > > > > > > > > 2019-06-11 11:37:03,460 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > > > Executing > > > > > > > > AsyncJobVO {id:62, userId: 2, accountId: 2, instanceType: > > > > > > VirtualMachine, > > > > > > > > instanceId: 13, cmd: > > > > > > > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, > > > > > cmdInfo: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > {"httpmethod":"GET","templateid":"f2f98443-3793-452d-8e35-aaf631428c50","= ctxAccountId":"2","uuid":"56f3829d-722b-45a1-9084-2576eae34068","cmdEventTy= pe":"VM.CREATE","diskofferingid":"3dd93d79-62b0-427c-8c15-1050305eb90e","se= rviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","= ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3= ff0d0","ctxStartEventId":"147","id":"13","ctxDetails":"{\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.vm.VirtualMachine\":\"56f3829d-722b-45a1-9084-2576eae34068\",\"= interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.ServiceOffering\":\"57675b96-98fa-49a3-9437-24f9dbf3fd= 90\",\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.dc.DataCenter\":\"5b03beea-ffdd-45ea-84eb-64110f3ff0d0\",\"inte= rface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.DiskOffering\":\"3dd93d79-62b0-427c-8c15-1050305eb90e\= ",\"interface > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.template.VirtualMachineTemplate\":\"f2f98443-3793-452d-8e35-aaf= 631428c50\"}","_":"1560267550351"}, > > > > > > > > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, > > resultCode: > > > > 0, > > > > > > > > result: null, initMsid: 207380201932, completeMsid: null, > > > > > lastUpdated: > > > > > > > > null, lastPolled: null, created: null} > > > > > > > > 2019-06-11 11:37:03,561 DEBUG [c.c.n.NetworkModelImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Service SecurityGroup is not supported in the network id=3D= 204 > > > > > > > > 2019-06-11 11:37:03,562 DEBUG [c.c.n.NetworkModelImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Service SecurityGroup is not supported in the network id=3D= 204 > > > > > > > > 2019-06-11 11:37:03,569 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > DeploymentPlanner allocation algorithm: null > > > > > > > > 2019-06-11 11:37:03,569 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Trying to allocate a host and storage pools from dc:1, > > > > > > > > pod:null,cluster:null, requested cpu: 1000, requested ram: > > > > 1073741824 > > > > > > > > 2019-06-11 11:37:03,569 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > Is > > > > > > > > ROOT volume READY (pool already allocated)?: No > > > > > > > > 2019-06-11 11:37:03,573 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Deploy avoids pods: [], clusters: [], hosts: [] > > > > > > > > 2019-06-11 11:37:03,573 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Searching all possible resources under this Zone: 1 > > > > > > > > 2019-06-11 11:37:03,573 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Listing clusters in order of aggregate capacity, that have > > > (atleast > > > > > one > > > > > > > > host with) enough CPU and RAM capacity under this Zone: 1 > > > > > > > > 2019-06-11 11:37:03,575 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Removing from the clusterId list these clusters from avoid > set: > > > [] > > > > > > > > 2019-06-11 11:37:03,580 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Checking resources in Cluster: 2 under Pod: 1 > > > > > > > > 2019-06-11 11:37:03,581 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Looking for host= s > in > > > > dc: 1 > > > > > > > > pod:1 cluster:2 > > > > > > > > 2019-06-11 11:37:03,582 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) FirstFitAllocato= r > > has > > > 1 > > > > > > hosts > > > > > > > to > > > > > > > > check for allocation: [Host[-4-Routing]] > > > > > > > > 2019-06-11 11:37:03,585 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Found 1 hosts fo= r > > > > > allocation > > > > > > > > after prioritization: [Host[-4-Routing]] > > > > > > > > 2019-06-11 11:37:03,585 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Looking for > > > > speed=3D1000Mhz, > > > > > > > > Ram=3D1024 > > > > > > > > 2019-06-11 11:37:03,588 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Host: 4 has cpu > > > > capability > > > > > > > > (cpu:8, speed:2666) to support requested CPU: 1 and request= ed > > > > speed: > > > > > > 1000 > > > > > > > > 2019-06-11 11:37:03,588 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Checking if host= : > 4 > > > has > > > > > > enough > > > > > > > > capacity for requested CPU: 1000 and requested RAM: > 1073741824 > > , > > > > > > > > cpuOverprovisioningFactor: 1.0 > > > > > > > > 2019-06-11 11:37:03,589 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Hosts's actual > total > > > > CPU: > > > > > > > 21328 > > > > > > > > and CPU after applying overprovisioning: 21328 > > > > > > > > 2019-06-11 11:37:03,589 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Free CPU: 21328 = , > > > > > Requested > > > > > > > CPU: > > > > > > > > 1000 > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Free RAM: > > 15751778304 > > > , > > > > > > > > Requested RAM: 1073741824 > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Host has enough > CPU > > > and > > > > > RAM > > > > > > > > available > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) STATS: Can alloc > CPU > > > > from > > > > > > > host: > > > > > > > > 4, used: 0, reserved: 0, actual total: 21328, total with > > > > > > > overprovisioning: > > > > > > > > 21328; requested cpu:1000,alloc_from_last_host?:false > > > > > > > > ,considerReservedCapacity?: true > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) STATS: Can alloc > MEM > > > > from > > > > > > > host: > > > > > > > > 4, used: 0, reserved: 0, total: 15751778304; requested mem: > > > > > > > > 1073741824,alloc_from_last_host?:false > > > ,considerReservedCapacity?: > > > > > true > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Found a suitable > > host, > > > > > > adding > > > > > > > to > > > > > > > > list: 4 > > > > > > > > 2019-06-11 11:37:03,590 DEBUG [c.c.a.m.a.i.FirstFitAllocato= r] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab > > > > > > > > FirstFitRoutingAllocator) (logid:5b3ad768) Host Allocator > > > > returning 1 > > > > > > > > suitable hosts > > > > > > > > 2019-06-11 11:37:03,591 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Checking suitable pools for volume (Id, Type): (22,ROOT) > > > > > > > > 2019-06-11 11:37:03,591 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > We > > > > > > > > need to allocate new storagepool for this volume > > > > > > > > 2019-06-11 11:37:03,592 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Calling StoragePoolAllocators to find suitable pools > > > > > > > > 2019-06-11 11:37:03,592 DEBUG > > > [o.a.c.s.a.LocalStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > LocalStoragePoolAllocator trying to find storage pool to fi= t > > the > > > vm > > > > > > > > 2019-06-11 11:37:03,592 DEBUG > > > > > > > [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > ClusterScopeStoragePoolAllocator looking for storage pool > > > > > > > > 2019-06-11 11:37:03,592 DEBUG > > > > > > > [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Looking for pools in dc: 1 pod:1 cluster:2. Disabled pool= s > > will > > > > be > > > > > > > > ignored. > > > > > > > > 2019-06-11 11:37:03,593 DEBUG > > > > > > > [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Found pools matching tags: [] > > > > > > > > 2019-06-11 11:37:03,594 DEBUG > > > > > > > [o.a.c.s.a.ClusterScopeStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > No > > > > > > > > storage pools available for shared volume allocation, > returning > > > > > > > > 2019-06-11 11:37:03,594 DEBUG > > > > > [o.a.c.s.a.ZoneWideStoragePoolAllocator] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > ZoneWideStoragePoolAllocator to find storage pool > > > > > > > > 2019-06-11 11:37:03,595 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > No > > > > > > > > suitable pools found for volume: Vol[22|vm=3D13|ROOT] under > > > cluster: > > > > 2 > > > > > > > > 2019-06-11 11:37:03,595 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > No > > > > > > > > suitable pools found > > > > > > > > 2019-06-11 11:37:03,595 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > No > > > > > > > > suitable storagePools found under this Cluster: 2 > > > > > > > > 2019-06-11 11:37:03,598 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Cluster: 1 has HyperVisorType that does not match the VM, > > > skipping > > > > > this > > > > > > > > cluster > > > > > > > > 2019-06-11 11:37:03,598 DEBUG > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Could not find suitable Deployment Destination for this VM > > under > > > > any > > > > > > > > clusters, returning. > > > > > > > > 2019-06-11 11:37:03,598 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Searching all possible resources under this Zone: 1 > > > > > > > > 2019-06-11 11:37:03,598 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Listing clusters in order of aggregate capacity, that have > > > (atleast > > > > > one > > > > > > > > host with) enough CPU and RAM capacity under this Zone: 1 > > > > > > > > 2019-06-11 11:37:03,600 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Removing from the clusterId list these clusters from avoid > set: > > > [1, > > > > > 2] > > > > > > > > 2019-06-11 11:37:03,601 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > No > > > > > > > > clusters found after removing disabled clusters and cluster= s > in > > > > avoid > > > > > > > list, > > > > > > > > returning. > > > > > > > > 2019-06-11 11:37:03,603 DEBUG [c.c.v.UserVmManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Destroying vm VM[User|i-2-13-VM] as it failed to create on > Host > > > > with > > > > > > > Id:null > > > > > > > > 2019-06-11 11:37:03,769 DEBUG [c.c.c.CapacityManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > VM > > > > > > > > state transitted from :Stopped to Error with event: > > > > > > > > OperationFailedToErrorvm's original host id: null new host > id: > > > null > > > > > > host > > > > > > > id > > > > > > > > before state transition: null > > > > > > > > 2019-06-11 11:37:04,152 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D volume count for Account =3D 2 > > Operation =3D > > > > > > > > decreasing Amount =3D 1 > > > > > > > > 2019-06-11 11:37:04,235 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D primary_storage count for Accoun= t =3D > 2 > > > > > > Operation > > > > > > > =3D > > > > > > > > decreasing Amount =3D 358010880 > > > > > > > > 2019-06-11 11:37:04,585 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D volume count for Account =3D 2 > > Operation =3D > > > > > > > > decreasing Amount =3D 1 > > > > > > > > 2019-06-11 11:37:04,710 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D primary_storage count for Accoun= t =3D > 2 > > > > > > Operation > > > > > > > =3D > > > > > > > > decreasing Amount =3D 5368709120 > > > > > > > > 2019-06-11 11:37:04,894 WARN [o.a.c.alerts] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > AlertType:: 8 | dataCenterId:: 1 | podId:: null | clusterId= :: > > > null > > > > | > > > > > > > > message:: Failed to deploy Vm with Id: 13, on Host with Id: > > null > > > > > > > > 2019-06-11 11:37:04,969 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D user_vm count for Account =3D 2 > > Operation > > > =3D > > > > > > > > decreasing Amount =3D 1 > > > > > > > > 2019-06-11 11:37:05,051 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D cpu count for Account =3D 2 Oper= ation > =3D > > > > > > decreasing > > > > > > > > Amount =3D 1 > > > > > > > > 2019-06-11 11:37:05,135 DEBUG > [c.c.r.ResourceLimitManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Updating resource Type =3D memory count for Account =3D 2 > > Operation =3D > > > > > > > > decreasing Amount =3D 1024 > > > > > > > > 2019-06-11 11:37:05,302 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > com.cloud.exception.InsufficientServerCapacityException: > Unable > > > to > > > > > > > create a > > > > > > > > deployment for VM[User|i-2-13-VM]Scope=3Dinterface > > > > > > com.cloud.dc.DataCenter; > > > > > > > > id=3D1 > > > > > > > > 2019-06-11 11:37:05,302 INFO > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62 ctx-7fcf55ab) > > > > > (logid:5b3ad768) > > > > > > > > Unable to create a deployment for VM[User|i-2-13-VM] > > > > > > > > 2019-06-11 11:37:05,302 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > > Complete > > > > > > async > > > > > > > > job-62, jobStatus: FAILED, resultCode: 530, result: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],= "errorcode":533,"errortext":"Unable > > > > > > > > to create a deployment for VM[User|i-2-13-VM]"} > > > > > > > > 2019-06-11 11:37:05,303 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > > Publish > > > > > > async > > > > > > > > job-62 complete on message bus > > > > > > > > 2019-06-11 11:37:05,303 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > Wake > > > up > > > > > jobs > > > > > > > > related to job-62 > > > > > > > > 2019-06-11 11:37:05,303 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > Update > > > > db > > > > > > > status > > > > > > > > for job-62 > > > > > > > > 2019-06-11 11:37:05,304 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > Wake > > > up > > > > > jobs > > > > > > > > joined with job-62 and disjoin all subjobs created from job= - > 62 > > > > > > > > 2019-06-11 11:37:05,386 DEBUG > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > Done > > > > > > executing > > > > > > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdm= in > > for > > > > > > job-62 > > > > > > > > 2019-06-11 11:37:05,386 INFO [o.a.c.f.j.i.AsyncJobMonitor] > > > > > > > > (API-Job-Executor-24:ctx-34beda4d job-62) (logid:5b3ad768) > > Remove > > > > > > job-62 > > > > > > > > from job monitoring > > > > > > > > > > > > > > > > On Mon, Jun 10, 2019 at 2:51 PM Andrija Panic < > > > > > andrija.panic@gmail.com > > > > > > > > > > > > > > > wrote: > > > > > > > > > > > > > > > >> Interesting lines being: > > > > > > > >> > > > > > > > >> FirstFitRoutingAllocator) (logid:0a0b5a30) FirstFitAllocat= or > > > has 1 > > > > > > hosts > > > > > > > >> to > > > > > > > >> check for allocation: [Host[-4-Routing]] > > > > > > > >> 2019-06-10 13:40:11,373 DEBUG > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> FirstFitRoutingAllocator) (logid:0a0b5a30) Not considering > > > hosts: > > > > > > > >> [Host[-4-Routing]] to deploy template: > > > > > > > >> Tmpl[201-TAR-201-2-ff22b996-a840-3cce-bec2-9ea6ab3081da as > > they > > > > are > > > > > > not > > > > > > > >> HVM > > > > > > > >> enabled > > > > > > > >> 2019-06-10 13:40:11,374 DEBUG > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> FirstFitRoutingAllocator) (logid:0a0b5a30) Found 0 hosts f= or > > > > > > allocation > > > > > > > >> after prioritization: [] > > > > > > > >> > > > > > > > >> i.e. remove the HVM flag from the template and try again > > > > (register a > > > > > > new > > > > > > > >> template - or go to cloud.vm_templates DB table and set > HVM=3D0 > > > > where > > > > > > your > > > > > > > >> template=3DXXXX) > > > > > > > >> > > > > > > > >> Andrija > > > > > > > >> > > > > > > > >> On Mon, 10 Jun 2019 at 20:20, Alejandro Ruiz Bermejo < > > > > > > > >> arbermejo0417@gmail.com> wrote: > > > > > > > >> > > > > > > > >> > i don't know if its ok sending files over here. In case = it > > is > > > > here > > > > > > is > > > > > > > >> the > > > > > > > >> > content of the previous fail i sended > > > > > > > >> > > > > > > > > >> > root@cloudstack-manager:/home/team# grep -i "job-41" > > > > > > > >> > /var/log/cloudstack/management/management-server.log > > > > > > > >> > 2019-06-10 13:40:11,238 INFO > [o.a.c.f.j.i.AsyncJobMonitor] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:5a0455d= d) > > Add > > > > > > job-41 > > > > > > > >> into > > > > > > > >> > job monitoring > > > > > > > >> > 2019-06-10 13:40:11,246 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > > > Executing > > > > > > > >> > AsyncJobVO {id:41, userId: 2, accountId: 2, instanceType= : > > > > > > > >> VirtualMachine, > > > > > > > >> > instanceId: 10, cmd: > > > > > > > >> > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, > > > > > > > cmdInfo: > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > {"httpmethod":"GET","templateid":"574ce32a-cb06-4f9e-b423-cb2a3e053950","= ctxAccountId":"2","uuid":"e5106e36-c36d-49e1-b8e8-4a82ce6fc025","cmdEventTy= pe":"VM.CREATE","diskofferingid":"74099b7a-d7bd-44a8-b7da-b01e8e6fa2ed","se= rviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","= ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3= ff0d0","ctxStartEventId":"108","id":"10","ctxDetails":"{\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.vm.VirtualMachine\":\"e5106e36-c36d-49e1-b8e8-4a82ce6fc025\",\"= interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.ServiceOffering\":\"57675b96-98fa-49a3-9437-24f9dbf3fd= 90\",\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.dc.DataCenter\":\"5b03beea-ffdd-45ea-84eb-64110f3ff0d0\",\"inte= rface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.DiskOffering\":\"74099b7a-d7bd-44a8-b7da-b01e8e6fa2ed\= ",\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.template.VirtualMachineTemplate\":\"574ce32a-cb06-4f9e-b423-cb2= a3e053950\"}","_":"1560188536922"}, > > > > > > > >> > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, > > > > resultCode: > > > > > 0, > > > > > > > >> > result: null, initMsid: 207380201932, completeMsid: null= , > > > > > > lastUpdated: > > > > > > > >> > null, lastPolled: null, created: null} > > > > > > > >> > 2019-06-10 13:40:11,248 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (qtp895947612-329:ctx-37027106 ctx-58323b07) > > (logid:396f8582) > > > > > submit > > > > > > > >> async > > > > > > > >> > job-41, details: AsyncJobVO {id:41, userId: 2, accountId= : > 2, > > > > > > > >> instanceType: > > > > > > > >> > VirtualMachine, instanceId: 10, cmd: > > > > > > > >> > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin, > > > > > > > cmdInfo: > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > {"httpmethod":"GET","templateid":"574ce32a-cb06-4f9e-b423-cb2a3e053950","= ctxAccountId":"2","uuid":"e5106e36-c36d-49e1-b8e8-4a82ce6fc025","cmdEventTy= pe":"VM.CREATE","diskofferingid":"74099b7a-d7bd-44a8-b7da-b01e8e6fa2ed","se= rviceofferingid":"57675b96-98fa-49a3-9437-24f9dbf3fd90","response":"json","= ctxUserId":"2","hypervisor":"LXC","zoneid":"5b03beea-ffdd-45ea-84eb-64110f3= ff0d0","ctxStartEventId":"108","id":"10","ctxDetails":"{\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.vm.VirtualMachine\":\"e5106e36-c36d-49e1-b8e8-4a82ce6fc025\",\"= interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.ServiceOffering\":\"57675b96-98fa-49a3-9437-24f9dbf3fd= 90\",\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.dc.DataCenter\":\"5b03beea-ffdd-45ea-84eb-64110f3ff0d0\",\"inte= rface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.offering.DiskOffering\":\"74099b7a-d7bd-44a8-b7da-b01e8e6fa2ed\= ",\"interface > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > com.cloud.template.VirtualMachineTemplate\":\"574ce32a-cb06-4f9e-b423-cb2= a3e053950\"}","_":"1560188536922"}, > > > > > > > >> > cmdVersion: 0, status: IN_PROGRESS, processStatus: 0, > > > > resultCode: > > > > > 0, > > > > > > > >> > result: null, initMsid: 207380201932, completeMsid: null= , > > > > > > lastUpdated: > > > > > > > >> > null, lastPolled: null, created: null} > > > > > > > >> > 2019-06-10 13:40:11,347 DEBUG [c.c.n.NetworkModelImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Service SecurityGroup is not supported in the network > id=3D204 > > > > > > > >> > 2019-06-10 13:40:11,349 DEBUG [c.c.n.NetworkModelImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Service SecurityGroup is not supported in the network > id=3D204 > > > > > > > >> > 2019-06-10 13:40:11,356 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > DeploymentPlanner allocation algorithm: null > > > > > > > >> > 2019-06-10 13:40:11,356 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Trying to allocate a host and storage pools from dc:1, > > > > > > > >> > pod:null,cluster:null, requested cpu: 1000, requested ra= m: > > > > > > 1073741824 > > > > > > > >> > 2019-06-10 13:40:11,356 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> Is > > > > > > > >> > ROOT volume READY (pool already allocated)?: No > > > > > > > >> > 2019-06-10 13:40:11,361 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Deploy avoids pods: [], clusters: [], hosts: [] > > > > > > > >> > 2019-06-10 13:40:11,361 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Searching all possible resources under this Zone: 1 > > > > > > > >> > 2019-06-10 13:40:11,362 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Listing clusters in order of aggregate capacity, that ha= ve > > > > > (atleast > > > > > > > one > > > > > > > >> > host with) enough CPU and RAM capacity under this Zone: = 1 > > > > > > > >> > 2019-06-10 13:40:11,364 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Removing from the clusterId list these clusters from avo= id > > > set: > > > > [] > > > > > > > >> > 2019-06-10 13:40:11,371 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Checking resources in Cluster: 2 under Pod: 1 > > > > > > > >> > 2019-06-10 13:40:11,371 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) Looking for > hosts > > > in > > > > > dc: > > > > > > 1 > > > > > > > >> > pod:1 cluster:2 > > > > > > > >> > 2019-06-10 13:40:11,372 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) > FirstFitAllocator > > > > has 1 > > > > > > > >> hosts to > > > > > > > >> > check for allocation: [Host[-4-Routing]] > > > > > > > >> > 2019-06-10 13:40:11,373 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) Not consideri= ng > > > > hosts: > > > > > > > >> > [Host[-4-Routing]] to deploy template: > > > > > > > >> > Tmpl[201-TAR-201-2-ff22b996-a840-3cce-bec2-9ea6ab3081da = as > > > they > > > > > are > > > > > > > not > > > > > > > >> HVM > > > > > > > >> > enabled > > > > > > > >> > 2019-06-10 13:40:11,374 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) Found 0 hosts > for > > > > > > > allocation > > > > > > > >> > after prioritization: [] > > > > > > > >> > 2019-06-10 13:40:11,374 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) Looking for > > > > > > speed=3D1000Mhz, > > > > > > > >> > Ram=3D1024 > > > > > > > >> > 2019-06-10 13:40:11,374 DEBUG > > [c.c.a.m.a.i.FirstFitAllocator] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7 > > > > > > > >> > FirstFitRoutingAllocator) (logid:0a0b5a30) Host Allocato= r > > > > > returning > > > > > > 0 > > > > > > > >> > suitable hosts > > > > > > > >> > 2019-06-10 13:40:11,374 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> No > > > > > > > >> > suitable hosts found > > > > > > > >> > 2019-06-10 13:40:11,374 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> No > > > > > > > >> > suitable hosts found under this Cluster: 2 > > > > > > > >> > 2019-06-10 13:40:11,375 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Cluster: 1 has HyperVisorType that does not match the VM= , > > > > skipping > > > > > > > this > > > > > > > >> > cluster > > > > > > > >> > 2019-06-10 13:40:11,375 DEBUG > > > > > [c.c.d.DeploymentPlanningManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Could not find suitable Deployment Destination for this = VM > > > under > > > > > any > > > > > > > >> > clusters, returning. > > > > > > > >> > 2019-06-10 13:40:11,375 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Searching all possible resources under this Zone: 1 > > > > > > > >> > 2019-06-10 13:40:11,376 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Listing clusters in order of aggregate capacity, that ha= ve > > > > > (atleast > > > > > > > one > > > > > > > >> > host with) enough CPU and RAM capacity under this Zone: = 1 > > > > > > > >> > 2019-06-10 13:40:11,378 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Removing from the clusterId list these clusters from avo= id > > > set: > > > > > [1, > > > > > > 2] > > > > > > > >> > 2019-06-10 13:40:11,378 DEBUG [c.c.d.FirstFitPlanner] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> No > > > > > > > >> > clusters found after removing disabled clusters and > clusters > > > in > > > > > > avoid > > > > > > > >> list, > > > > > > > >> > returning. > > > > > > > >> > 2019-06-10 13:40:11,380 DEBUG [c.c.v.UserVmManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Destroying vm VM[User|i-2-10-VM] as it failed to create = on > > > Host > > > > > with > > > > > > > >> > Id:null > > > > > > > >> > 2019-06-10 13:40:11,690 DEBUG [c.c.c.CapacityManagerImpl= ] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> VM > > > > > > > >> > state transitted from :Stopped to Error with event: > > > > > > > >> > OperationFailedToErrorvm's original host id: null new ho= st > > id: > > > > > null > > > > > > > >> host id > > > > > > > >> > before state transition: null > > > > > > > >> > 2019-06-10 13:40:11,964 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D volume count for Account =3D = 2 > > > Operation > > > > =3D > > > > > > > >> > decreasing Amount =3D 1 > > > > > > > >> > 2019-06-10 13:40:12,064 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D primary_storage count for Acc= ount > > =3D 2 > > > > > > > >> Operation =3D > > > > > > > >> > decreasing Amount =3D 358010880 > > > > > > > >> > 2019-06-10 13:40:12,457 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D volume count for Account =3D = 2 > > > Operation > > > > =3D > > > > > > > >> > decreasing Amount =3D 1 > > > > > > > >> > 2019-06-10 13:40:12,598 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D primary_storage count for Acc= ount > > =3D 2 > > > > > > > >> Operation =3D > > > > > > > >> > decreasing Amount =3D 21474836480 > > > > > > > >> > 2019-06-10 13:40:12,707 WARN [o.a.c.alerts] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > AlertType:: 8 | dataCenterId:: 1 | podId:: null | > > clusterId:: > > > > > null | > > > > > > > >> > message:: Failed to deploy Vm with Id: 10, on Host with > Id: > > > null > > > > > > > >> > 2019-06-10 13:40:12,790 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D user_vm count for Account =3D= 2 > > > > Operation =3D > > > > > > > >> > decreasing Amount =3D 1 > > > > > > > >> > 2019-06-10 13:40:12,873 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D cpu count for Account =3D 2 > > Operation =3D > > > > > > > >> decreasing > > > > > > > >> > Amount =3D 1 > > > > > > > >> > 2019-06-10 13:40:12,957 DEBUG > > [c.c.r.ResourceLimitManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Updating resource Type =3D memory count for Account =3D = 2 > > > Operation > > > > =3D > > > > > > > >> > decreasing Amount =3D 1024 > > > > > > > >> > 2019-06-10 13:40:13,124 INFO > > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > com.cloud.exception.InsufficientServerCapacityException: > > > Unable > > > > to > > > > > > > >> create a > > > > > > > >> > deployment for VM[User|i-2-10-VM]Scope=3Dinterface > > > > > > > >> com.cloud.dc.DataCenter; > > > > > > > >> > id=3D1 > > > > > > > >> > 2019-06-10 13:40:13,124 INFO > > > [o.a.c.a.c.a.v.DeployVMCmdByAdmin] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41 ctx-3d41bde7) > > > > > > > (logid:0a0b5a30) > > > > > > > >> > Unable to create a deployment for VM[User|i-2-10-VM] > > > > > > > >> > 2019-06-10 13:40:13,124 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > > > Complete > > > > > > > >> async > > > > > > > >> > job-41, jobStatus: FAILED, resultCode: 530, result: > > > > > > > >> > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],= "errorcode":533,"errortext":"Unable > > > > > > > >> > to create a deployment for VM[User|i-2-10-VM]"} > > > > > > > >> > 2019-06-10 13:40:13,125 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > > Publish > > > > > > > async > > > > > > > >> > job-41 complete on message bus > > > > > > > >> > 2019-06-10 13:40:13,125 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > Wake > > > > up > > > > > > > jobs > > > > > > > >> > related to job-41 > > > > > > > >> > 2019-06-10 13:40:13,125 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > > Update > > > > > db > > > > > > > >> status > > > > > > > >> > for job-41 > > > > > > > >> > 2019-06-10 13:40:13,125 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > Wake > > > > up > > > > > > > jobs > > > > > > > >> > joined with job-41 and disjoin all subjobs created from > job- > > > 41 > > > > > > > >> > 2019-06-10 13:40:13,207 DEBUG > > > [o.a.c.f.j.i.AsyncJobManagerImpl] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > Done > > > > > > > >> executing > > > > > > > >> > > > org.apache.cloudstack.api.command.admin.vm.DeployVMCmdByAdmin > > > > for > > > > > > > job-41 > > > > > > > >> > 2019-06-10 13:40:13,207 INFO > [o.a.c.f.j.i.AsyncJobMonitor] > > > > > > > >> > (API-Job-Executor-14:ctx-b92e08df job-41) (logid:0a0b5a3= 0) > > > > Remove > > > > > > > job-41 > > > > > > > >> > from job monitoring > > > > > > > >> > > > > > > > > >> > On Mon, Jun 10, 2019 at 1:42 PM Nicolas Vazquez < > > > > > > > >> > Nicolas.Vazquez@shapeblue.com> wrote: > > > > > > > >> > > > > > > > > >> > > Hi Alejandro, > > > > > > > >> > > > > > > > > > >> > > Can you verify if the expected checksum is the correct > > and i > > > > > that > > > > > > > >> case > > > > > > > >> > > update the checksum column on vm_template table fot th= at > > > > > template > > > > > > > and > > > > > > > >> > > restart management server? > > > > > > > >> > > > > > > > > > >> > > Regards, > > > > > > > >> > > Nicolas Vazquez > > > > > > > >> > > ________________________________ > > > > > > > >> > > From: Alejandro Ruiz Bermejo > > > > > > > >> > > Sent: Monday, June 10, 2019 12:38:52 PM > > > > > > > >> > > To: users@cloudstack.apache.org > > > > > > > >> > > Subject: launch instance error > > > > > > > >> > > > > > > > > > >> > > Hi, I'm working with Cloudstack 4.11.2.0 > > > > > > > >> > > > > > > > > > >> > > This is my environment: > > > > > > > >> > > 1 Zone > > > > > > > >> > > 1 Pod > > > > > > > >> > > 2 Clusters (LXC and KVM) > > > > > > > >> > > 2 Hosts (one in each cluster) > > > > > > > >> > > > > > > > > > >> > > i can launch perfectly VMs on the KVM cluster but when > i'm > > > > > trying > > > > > > to > > > > > > > >> > launch > > > > > > > >> > > a new VM with an LXC template i'm getting this error: > > > > > > > >> > > > > > > > > > >> > > 2019-06-10 11:24:28,961 INFO [a.c.c.a.ApiServer] > > > > > > > >> > > (qtp895947612-18:ctx-e1a5bd5e ctx-bc704f1b) > > (logid:2635d81d) > > > > > > > (userId=3D2 > > > > > > > >> > > accountId=3D2 sessionId=3Dnode0a04x8pj44gz8mf2hb5ikizk= 20) > > > > 10.8.2.116 > > > > > > -- > > > > > > > >> GET > > > > > > > >> > > > > > > > command=3DlistAlerts&response=3Djson&page=3D1&pageSize=3D4&_=3D15= 60180395194 > > > > > > > 200 > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > {"listalertsresponse":{"count":16,"alert":[{"id":"c896ae0a-764b-4976-9dc1= -7868f9f61e3c","type":8,"name":"ALERT.USERVM","description":"Failed > > > > > > > >> > > to deploy Vm with Id: 5, on Host with Id: > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > null","sent":"2019-06-10T11:15:19-0400"},{"id":"42988261-9238-430f-af54-1= 582073b35d0","type":8,"name":"ALERT.USERVM","description":"Failed > > > > > > > >> > > to deploy Vm with Id: 4, on Host with Id: > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > null","sent":"2019-06-10T10:36:40-0400"},{"id":"fc89bba6-9890-4aa7-b57a-3= dc3a2e14643","type":8,"name":"ALERT.USERVM","description":"Failed > > > > > > > >> > > to deploy Vm with Id: 3, on Host with Id: > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > null","sent":"2019-06-10T10:31:05-0400"},{"id":"e3ab7e4b-5ce7-4c50-893e-0= 432c23f684f","type":28,"name":"ALERT.UPLOAD.FAILED","description":"Failed > > > > > > > >> > > to register template: > 59eaea2c-8883-11e9-bc81-003048d2c1cc > > > > with > > > > > > > error: > > > > > > > >> > > Failed post download script: checksum > > > > > > > >> > > \"{MD5}292bfea2667a3a23a71d42d53d68b8fc\" didn't match > the > > > > given > > > > > > > >> value, > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > \"{MD5}c2c4fa2d0978121c7977db571f132d6e\"","sent":"2019-06-10T10:28:19-04= 00"}]}} > > > > > > > >> > > > > > > > > > >> > > I'm seeing two errors here one is the Host ID: * Host > with > > > Id: > > > > > > null* > > > > > > > >> > > And the other one is a checksum verification > > > > > > > >> > > > > > > > > > >> > > When i created the LXC template i had to change the > > > Download > > > > > > > >> Keyserver > > > > > > > >> > for > > > > > > > >> > > the lxc-create -t download step so idk if this is > causing > > > the > > > > > > > checksum > > > > > > > >> > > error > > > > > > > >> > > > > > > > > > >> > > any help with this would be great > > > > > > > >> > > > > > > > > > >> > > Nicolas.Vazquez@shapeblue.com > > > > > > > >> > > www.shapeblue.com > > > > > > > >> > > Amadeus House, Floral Street, London WC2E 9DPUK > > > > > > > >> > > @shapeblue > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > > >> > > > > > > > > >> > > > > > > > >> > > > > > > > >> -- > > > > > > > >> > > > > > > > >> Andrija Pani=C4=87 > > > > > > > >> > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > Andrija Pani=C4=87 > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > Andrija Pani=C4=87 > > > > > > > > > > > > > > > > > > -- > > > > > > Andrija Pani=C4=87 > > > > > > > > -- > > Andrija Pani=C4=87 > --00000000000003060e058b4b7d45--