tetra12 opened a new issue #5370:
URL: https://github.com/apache/cloudstack/issues/5370


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and main 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.
   -->
   ~~~
   Storage, UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.16.0-Snapshot
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   KVM
   Advanced Zone
   Local Storage
   NO SSL/TLS
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   Ubuntu 21.04
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   Issue similar to #4734
   
   Can't upload an ISO template - getting `Request Failed (530) There is no 
secondary storage VM for downloading template to image store adv-secondary-1`
   
   Meanwhile, I do have a secondary storage:
   ```
   (localcloud) 🐱 > list imagestores 
   {
     "count": 1,
     "imagestore": [
       {
         "id": "bb112cc8-49ba-4b21-a558-ef4587b5ddec",
         "name": "adv-secondary-1",
         "protocol": "nfs",
         "providername": "NFS",
         "readonly": false,
         "scope": "ZONE",
         "url": "nfs://192.168.100.2/export/secondary",
         "zoneid": "a4c6793b-3f50-48ce-a2fb-665b96231c18",
         "zonename": "adv-zone-1"
       }
     ]
   }
   ```
   Secondary storage was mounted by hand inside SSVM and is currently 
accesimble from SSVM  as per 
[ssvm.log](https://github.com/apache/cloudstack/files/7046223/ssvm.log)
   
   However, when I try to upload ISO from Local, I'm getting the following: 
`Request Failed (530) There's no secondary storage VM for downloading template 
to image stora adv-secondary-1`
   
   I also tried to upload an ISO from a local web server ( on the same host, 
where ACS management and agent are running).
   The ISO won't be uploaded despite the message "ISO was registered 
successfully" was displayed
   
   
   ##### 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 -->
   ~~~
   1. Clone ACS master
   2. Build deb packages for Ubuntu 21.04
   3. Install ACS
   4. Update the Global Cofiguration:
    - System.vm.use.local.storage -> true
    - Ca.plugin.root.auth.strictness -> false
   5. Setup Advanced Zone without Security Groups
   6. Launch Zone
   7. Log into SSVM and run ssvm-check.sh
   8. Mount a secondary storage by hand if needed ( I did in my case )
   9. Run `cmk list imagestores` on a laptop and 
   10. Go to Images -> Isos -> Upload ISO from Local
   11. Specify the file
   12. Click Add and get an error
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Upload an ISO from Local
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Upload ISO from Local fails with `Request Failed (530) There is no secondary 
storage VM for downloading template to image store`
   ~~~
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to