OSDir


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: No able to add a local template and failed to delete template


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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-15:null) (logid:) VM power state does not change, skip DB writing. vm id: 1
2018-04-25 21:29:18,402 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-15:null) (logid:) VM power state does not change, skip DB writing. vm id: 2
2018-04-25 21:29:18,403 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (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.VirtualMachinePowerStateSyncImpl] (AgentManager-Handler-15:null) (logid:) VM power state does not change, skip DB writing. vm id: 4
2018-04-25 21:29:18,405 DEBUG [c.c.v.VirtualMachinePowerStateSyncImpl] (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) ===START===  192.168.64.147 -- GET  command=getUploadParamsForTemplate&response=json&name=CentOS7-local-vmdk&displayText=CentOS7-local-vmdk&zoneid=1a5adb10-8971-492f-9230-3ab9e6284393&format=VMDK&isextractable=false&passwordEnabled=false&isdynamicallyscalable=false&osTypeId=de151f6f-42aa-11e8-9777-000af7bc5dda&hypervisor=KVM&ispublic=false&requireshvm=true&isfeatured=false&isrouting=false&_=1524691758622
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 = template count for Account = 2 Operation = increasing Amount = 1
2018-04-25 21:29:25,547 DEBUG [c.c.a.ApiServlet] (qtp1622006612-372:ctx-1f7dc58b ctx-39c5ae94) (logid:4ad4e833) ===END===  192.168.64.147 -- GET  command=getUploadParamsForTemplate&response=json&name=CentOS7-local-vmdk&displayText=CentOS7-local-vmdk&zoneid=1a5adb10-8971-492f-9230-3ab9e6284393&format=VMDK&isextractable=false&passwordEnabled=false&isdynamicallyscalable=false&osTypeId=de151f6f-42aa-11e8-9777-000af7bc5dda&hypervisor=KVM&ispublic=false&requireshvm=true&isfeatured=false&isrouting=false&_=1524691758622
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 Manager is running and getting the updates from LB providers and updating service status
2018-04-25 21:29:27,798 DEBUG [c.c.n.l.LBHealthCheckManagerImpl] (LBHealthCheck-1:ctx-a7232235) (logid:eb88f56a) LB HealthCheck Manager is running and getting the updates from LB providers and updating service status

On 2018/04/25 21:23:51, mukarram.syed@xxxxxxx <mukarram.syed@xxxxxxx> wrote: 
> I'll try to recreate and send the logs.
> # mukarram
> 
> On 2018/04/24 23:13:08, Rafael Weingärtner <rafaelweingartner@xxxxxxxxx> 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@xxxxxxx <
> > mukarram.syed@xxxxxxx> 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 <mukarram.syed@xxxxxxx> 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
> > > >   <http://192.168.64.205:8080/client/#>
> > > > 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ärtner
> > 
>