You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/06/24 05:03:12 UTC

[GitHub] [cloudstack] div8cn opened a new issue #4169: local iso upload failed

div8cn opened a new issue #4169:
URL: https://github.com/apache/cloudstack/issues/4169


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   SSVM
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master branch.
   -->
   
   ~~~
   4.13
   4.14
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, advanced networking, etc.  N/A otherwise
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   
   
   After the default installation, users cannot upload ISO to cloudstack from the UI.
   Error :
   Failed to upload file due to system misconfiguration. Please contact admin.
   
   I learned from the documentation (https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=39620237) that for ISO local upload, HTTPS must be used.
   
   By default (users do not enable cloudstack ssl), ssvm will use the *.realhostip.com certificate (this certificate has expired in 2017)
   Due to a certificate error, chrome(ie) will issue a warning and must be confirmed by the user before accessing the corresponding page.
   So if you want to implement local iso upload without configuring SSL, you must first use the browser to request the public IP of SSVM,
   For example: https://10.228.18.64
   Click Continue when the browser issues a warning.
   Then you can upload ISO on cloudstack ui.
   
   
   Can we remove this restriction on https? (For example, HTTPS is optional)
   I think many users will encounter this problem when they first deploy.
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4169: local iso upload failed

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4169:
URL: https://github.com/apache/cloudstack/issues/4169#issuecomment-648703628


   Probably display a more meaningful message in the form when upload fails


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] rhtyd commented on issue #4169: local iso upload failed

Posted by GitBox <gi...@apache.org>.
rhtyd commented on issue #4169:
URL: https://github.com/apache/cloudstack/issues/4169#issuecomment-669065857


   @div8cn turns out we cannot check if the URL/server has a valid SSL certificate from javascript without using any external tool/service; it's therefore advised to use this feature use SSL enabled env. Alternatively, we can explore a fix in future that allows uploading on http:// URL for envs where SSL is not enabled by default.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] andrijapanicsb commented on issue #4169: local iso upload failed

Posted by GitBox <gi...@apache.org>.
andrijapanicsb commented on issue #4169:
URL: https://github.com/apache/cloudstack/issues/4169#issuecomment-854648232


   I would not trade security for convenience - thus I wild propose this stays as it is - requiring HTTPS end point on SSVM.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org