cloudstack icon indicating copy to clipboard operation
cloudstack copied to clipboard

Public templates not displayed

Open izenk opened this issue 8 years ago • 7 comments

ISSUE TYPE
  • Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.11.1
CONFIGURATION

Advanced networking, KVM, CEPH

OS / ENVIRONMENT

CentOS 7.4

SUMMARY

In project view public templates are not shown, but when try to create vm - they are.

STEPS TO REPRODUCE

Create template under admin account and mark it as 'public'. Switch to another account and create project. Switch to created project (Project view in UI). Switch to 'Templates' section and choose 'Community' from list (or any section, just to find created public template).

EXPECTED RESULTS
Public templates are shown in 'Templates/Community' section
ACTUAL RESULTS
Nothing is shown in 'Templates/Community or any other' section

Screen1

but template is shown during vm creation

Screen2

izenk avatar Oct 02 '18 10:10 izenk

Any Public template created under Project is not visible in "Default View" even it was marked as "Public". So VM under "Default View" can't be created using this template

izenk avatar Oct 24 '18 12:10 izenk

Any updates on this?

izenk avatar Nov 20 '18 11:11 izenk

Similar to: https://github.com/apache/cloudstack/issues/3059 (same logic of access restriction likely)

yadvr avatar Dec 06 '18 20:12 yadvr

@anuragaw can you take this one as well. We need to do the following:

  • Reproduce the issue mentioned in this ticket
  • Create templates from a snapshot, and also register a template under a project; for both cases confirm that it shows up in the UI in the template
  • Fix any access checks if necessary

yadvr avatar Jun 26 '19 09:06 yadvr

Sounds good @rhtyd

anuragaw avatar Jun 26 '19 10:06 anuragaw

I have tried some combinations but the bug is not reproducible on master. Both public templates when created and edited private to public templates appear in Project View > Templates > Community @izenk - can you verify if you can reproduce it on master? CC/ @rhtyd, @shwstppr

anuragaw avatar Jun 26 '19 10:06 anuragaw

Closing on your remark @anuragaw @izenk please reopen if you could reproduce the issue with latest master/4.13

yadvr avatar Jun 28 '19 06:06 yadvr