In the jquery.js: line: 7950 xhr.send( ( s.hasContent && s.data ) || null ); 3 Failed to load resource: the server responded with a status of 401 (Unauthorized) Failed to load resource: net::ERR_CERT_COMMON_NAME_INVALID
On 2018/04/25 23:12:35, [email protected] <[email protected]> wrote: > Thank you. > > I found this error: > jquery.js:7950 OPTIONS > https://<MYIP>/upload/2ef2157b-83e3-4c38-a4eb-7d158dda3b24 > net::ERR_CERT_COMMON_NAME_INVALID > > On 2018/04/25 21:46:56, Rafael Weingärtner <[email protected]> > wrote: > > 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, [email protected] < > > [email protected]> wrote: > > > > > I logged into the SSVM and tailed the /var/log/cloud.log but nothing > > > there. > > > Is there a way to upload screenshots here? > > > > > > When I click on the 'OK' button after I choose the VMDK file from my local > > > drive after choosing the following: > > > *Local file < uploaded the VMDK here from local drive> > > > *Name <gave it a name> > > > *Description <gave it a description> > > > *zone <selected zone1> > > > *Hypervisor <selected KVM> > > > *Format <selected VMDK> > > > *OS Type <selected CentOS 7> > > > 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ärtner <[email protected]> > > > 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 > > > > there > > > > are some errors in the console. > > > > > > > > On Wed, Apr 25, 2018 at 6:33 PM, [email protected] < > > > > [email protected]> wrote: > > > > > > > > > > > > > > I get this from the database: > > > > > > > > > > MariaDB [cloud]> select * from vm_template where id=235; > > > > > +-----+--------------------------------------------+-------- > > > > > ------------+--------------------------------------+-------- > > > > > +----------+------+-----+------+------+--------+------------ > > > > > ---------+---------+------------+----------+---------------- > > > > > ----+-----------------+---------------+-------------+------- > > > > > ---+-------------+-------------+-------------+-------------- > > > > > ---+--------------------+--------------+----------+------+-- > > > > > -----------+--------------+---------+----------------------+ > > > > > --------------------+-----------------+ > > > > > | 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 | > > > > > NULL > > > > > | 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, [email protected] <[email protected]> > > > > > 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 > > > > > change, > > > > > 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 > > > > > change, > > > > > 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 > > > > > change, > > > > > 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) ===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, [email protected] <[email protected] > > > > > > > > > wrote: > > > > > > > I'll try to recreate and send the logs. > > > > > > > # mukarram > > > > > > > > > > > > > > On 2018/04/24 23:13:08, Rafael Weingärtner < > > > > > [email protected]> 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, [email protected] < > > > > > > > > [email protected]> 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 <[email protected]> > > > > > 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 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Rafael Weingärtner > > > > > > > > > > > > > > > -- > > Rafael Weingärtner > > >
