# How to show only selected datastore to enduser console when they create new image

**URL:** <https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229>\
**Category:** Product Support\
**Created:** [November 4, 2016, 7:14pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229 "2016-11-04T19:14:47Z")\
**Posts on this page:** 17\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 4, 2016, 7:14pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/1 "2016-11-04T19:14:47Z")

</div>

Opennebula version : 5.2  
I want to restrict the end user to view or create there extra image in all the vcenter datastore .

When i am trying to allocate Quota to group/user i have use selected datastore but from user login all the datastore are visible and they can create new image in all the available datastore .

Can we restrict the end user to create image in only administrator given datastore with limited quota .

How can i use the vcenter imported template to user the datastore image quota once the end user deploy vm from the template .

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 4, 2016, 8:03pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/2 "2016-11-04T20:03:07Z")

</div>

![](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/9/97a0d4ce5d64af41b385fdcd05a4ab9c6287d8a2.png)

I dont want to 'show this all datastore to end user as is showing in Datostore tab .

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 4, 2016, 8:40pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/3 "2016-11-04T20:40:19Z")

</div>

See ACLs…

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 2:43am UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/4 "2016-11-06T02:43:11Z")

</div>

Thanks for you replay but i have try to create VDC and ACL for user this datastore list not effected .

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 6, 2016, 5:43am UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/5 "2016-11-06T05:43:18Z")

</div>

Hi! Please show ACLs page.

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 2:26pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/6 "2016-11-06T14:26:18Z")

</div>

![](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/2/20201dccc0f164eacf0cdf88088ba0a52b062831.png)

Thanks for you replay .  
This is how i create new ACL for user and group but in this i am not finding and any way to allocate specify datastore to use the end user/group to create new image .

Please suggest me if i am doing any mistake

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 6, 2016, 6:01pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/7 "2016-11-06T18:01:09Z")

</div>

Show previous page.

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 6:07pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/8 "2016-11-06T18:07:44Z")

</div>

![](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/a/a6bc9a645c7cd494f8567a6dffc983dee6b03370.png)

Please look the ACL page

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 6, 2016, 6:24pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/9 "2016-11-06T18:24:31Z")

</div>

![](https://canada1.discourse-cdn.com/flex031/uploads/opennebula/original/2X/e/e79d9d3ca4ea60cccc921d5b98cc5e718cd81b11.png)

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 6:27pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/10 "2016-11-06T18:27:32Z")

</div>

Ok i understand but how can i select only specify Datastore instead of all

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 6, 2016, 6:29pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/11 "2016-11-06T18:29:21Z")

</div>

Delete and create new ACL with only needed datastore

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 6:45pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/12 "2016-11-06T18:45:26Z")

</div>

Thanks for you replay its worked …  
So i need to use Resource subset ID instead of all, then what is the role of VDC resource ??

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 6, 2016, 6:52pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/13 "2016-11-06T18:52:54Z")

</div>

Yes, I can’t find any different solution.

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 6, 2016, 6:55pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/14 "2016-11-06T18:55:41Z")

</div>

Thanks for your help can you also help me on below topic :-

> [@Use datastore quota once deploy vm through template from vcenter](https://forum.opennebula.io/t/use-datastore-quota-once-deploy-vm-through-template-from-vcenter/3236):
>
> OpenNebula 5.1.80 How can i use the vcenter imported template to use the datastore image quota once the end user deploy vm from the template . I have one windows template which i have improted from VmWare vCenter which has (Memory 4GB, CPU 2, Disk1 40GB, Disk2 40 GB) when end user deploy new vm from this template there Memory and CPU resource quota reduce but there System disk and datastore quota not effected. Please let me know you to manage datastore quota in this case .

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 10, 2016, 2:16pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/15 "2016-11-10T14:16:55Z")

</div>

After selected the datastore ACL i not able to deploy the vm from templates  
error : [TemplateInstantiate] User [18] : Not authorized to perform CREATE TEMPLATE.

---

<div class="post-metadata">

**Author:** ![UAnton](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/uanton/32/6309_2.png) [@UAnton](https://forum.opennebula.io/u/UAnton)\
**Post date:** [November 10, 2016, 2:18pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/16 "2016-11-10T14:18:45Z")

</div>

Give permissions on IMAGE datastore

---

<div class="post-metadata">

**Author:** ![Ranveer](https://avatars.discourse-cdn.com/v4/letter/r/2acd7d/32.png) [@Ranveer](https://forum.opennebula.io/u/Ranveer)\
**Post date:** [November 10, 2016, 2:23pm UTC](https://forum.opennebula.io/t/how-to-show-only-selected-datastore-to-enduser-console-when-they-create-new-image/3229/17 "2016-11-10T14:23:24Z")

</div>

I have given permission but when i deploy the vm from template on opennebula dashboard it not actually deploy in vcenter instead of that it will be in pending stage on Opnenebula dashboard .
