You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by cr...@istream.today on 2021/10/16 16:20:06 UTC

Copy Template - client denied by server configuration

Hello,

 

      New zone, new error 😊.  This error just started after we added new ZONE, when we are trying to copy a template from Zone A or B to Zone C,  I get this error : HTTP Server returned 403 (expected 200 OK), if I check the logs (Apache logs ) on source secondary storage, I see this : AH01797: client denied by server configuration: /var/www/html/copy/SecStorage/883d712b-425d-3954-b0f1-146c929b798e/template/tmpl/2/204/851d353a-32aa-3e65-8796-f8a22247bb5d.ova

 

     I didn’t changed any configuration, it is the first time when I see this type of error and I do not understand the reason why.

 

     If I execute the : /usr/local/cloud/systemvm/ssvm-check.sh on both storages, everything is OK.

 

     Any suggestions?

 

 

Regards,

Cristian


Re: Copy Template - client denied by server configuration

Posted by nu...@li.nux.ro.
Hi,

It looks like a possible misconfiguration on the server side on sec 
storage vm.
See if in the Apache2 httpd config there is an "allow from all" for 
/var/www/html/copy or parent dir.

HTH

On 2021-10-16 17:20, cristian.c@istream.today wrote:
> Hello,
> 
> 
> 
>       New zone, new error 😊.  This error just started after we added
> new ZONE, when we are trying to copy a template from Zone A or B to
> Zone C,  I get this error : HTTP Server returned 403 (expected 200
> OK), if I check the logs (Apache logs ) on source secondary storage, I
> see this : AH01797: client denied by server configuration:
> /var/www/html/copy/SecStorage/883d712b-425d-3954-b0f1-146c929b798e/template/tmpl/2/204/851d353a-32aa-3e65-8796-f8a22247bb5d.ova
> 
> 
> 
>      I didn’t changed any configuration, it is the first time when I
> see this type of error and I do not understand the reason why.
> 
> 
> 
>      If I execute the : /usr/local/cloud/systemvm/ssvm-check.sh on
> both storages, everything is OK.
> 
> 
> 
>      Any suggestions?
> 
> 
> 
> 
> 
> Regards,
> 
> Cristian