cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Does browser-based template or volume upload work?
Date Wed, 27 Sep 2017 13:34:45 GMT
Never mind folks,

I found the configuration. It was in a file called /etc/apache2/cors.conf.
I did not check that file before because I do not believe this kind of
configuration/operation is a CORS (Cross-origin resource sharing) one.
Anyways, I also did not find the “include” for the “cors.conf” file while
using grep because it is written as follows:    Include
/etc/apache2/[cC][oO][rR][sS].conf

:(



Also, if anybody runs into the same problem, the local upload was not
working here because we were not using domains for System VMs, then the
certificate used to secure the HTTPS has a common name different from the
"name" of the SSVM that is being accessed using IPs (HTTPS://
<ip>/upload.....).

On Tue, Sep 26, 2017 at 4:00 PM, Rafael Weingärtner <
rafaelweingartner@gmail.com> wrote:

> Hey folks,
>
> Has anybody else here used the “Upload from local” feature in ACS?
>
> It seems that it does not work (at least in ACS 4.9.2.0). I receive the
> following metadata to execute the POST request and send the template
> binaries:
> {"postuploadtemplateresponse":{"getuploadparams":{"id":"<ID-
> template>","postURL"
> :"https://URLSSVM/upload/<ID-template>","metadata
> ….
> …
> ..
>
> The problem is that the request is aborted. I accessed the SSVM and
> checked what application is configured to receive the request listening to
> the port 443.  The Apache HTTD is configured to listen this port. However,
> I did not see anything specific to handle the “/upload” context. Am I
> missing something!?
>
> BTW: While looking the HTTPD of SSVM I found out that SSVMs are enabling
> anybody to access “/cgi-bin/ipcalc”. Why is this application there?! I know
> organizations that need to expose these systems to the Internet, and that
> is accessible to everybody.
>
> --
> Rafael Weingärtner
>



-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message