[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-9862?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16430662#comment-16430662
 ] 

ASF GitHub Bot commented on CLOUDSTACK-9862:
--------------------------------------------

khos2ow commented on issue #2556: CLOUDSTACK-9862: list template with id no 
longer works as domain admin
URL: https://github.com/apache/cloudstack/pull/2556#issuecomment-379786252
 
 
   @DaanHoogland @rhtyd @rafaelweingartner The original ticket in Jira filed 
against 4.10 so I based this PR against that version and merge it forward. If 
you think we should not do this please advise.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> list template with id= no longer work as domain admin
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-9862
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9862
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Template
>    Affects Versions: 4.10.0.0
>            Reporter: Pierre-Luc Dion
>            Assignee: Rohit Yadav
>            Priority: Major
>
> As domain admin, listTemplates templatefilter=featured no longer work if id= 
> is specified.
> Using cloudmonkey with domain-admin credential:
> {code}
> (beta2r1-ninja) > list templates templatefilter=featured filter=name,id
> count = 9
> template:
> +--------------------------------------+---------------------------------+
> |                  id                  |               name              |
> +--------------------------------------+---------------------------------+
> | 513b3a6d-c011-46f0-a4a3-2a954cadb673 |      CoreOS Alpha 1367.5.0      |
> | 0c04d876-1f85-45a7-b6f4-504de435bf12 |    Debian 8.5 PV base (64bit)   |
> | 285f2203-449a-428f-997a-1ffbebbf1382 |           CoreOS Alpha          |
> | 332b6ca8-b3d6-42c7-83e5-60fe87be6576 |          CoreOS Stable          |
> | 3b705008-c186-464d-ad59-312d902420af |   Windows Server 2016 std SPLA  |
> | 4256aebe-a1c1-4b49-9993-de2bc712d521 |       Ubuntu 16.04.01 HVM       |
> | 59e6b00a-b88e-4539-aa3c-75c9c7e9fa6c | Ubuntu 14.04.5 HVM base (64bit) |
> | 3ab936eb-d8c2-44d8-a64b-17ad5adf8a51 |          CentOS 6.8 PV          |
> | 7de5d423-c91e-49cc-86e8-9d6ed6abd997 |          CentOS 7.2 HVM         |
> +--------------------------------------+---------------------------------+
> (beta2r1-ninja) > list templates templatefilter=featured 
> id=7de5d423-c91e-49cc-86e8-9d6ed6abd997 filter=name,id
> Error 531: Acct[b285d62e-0ec2-4a7c-b773-961595ec6356-Ninja-5664] does not 
> have permission to operate within domain 
> id=c9b4f83d-16eb-11e7-a8b9-367e6fe958a9
> cserrorcode = 4365
> errorcode = 531
> errortext = Acct[b285d62e-0ec2-4a7c-b773-961595ec6356-Ninja-5664] does not 
> have permission to operate within domain 
> id=c9b4f83d-16eb-11e7-a8b9-367e6fe958a9
> uuidList:
> (beta2r1-ninja) > list templates templatefilter=featured 
> ids=7de5d423-c91e-49cc-86e8-9d6ed6abd997 filter=name,id
> count = 1
> template:
> +--------------------------------------+----------------+
> |                  id                  |      name      |
> +--------------------------------------+----------------+
> | 7de5d423-c91e-49cc-86e8-9d6ed6abd997 | CentOS 7.2 HVM |
> +--------------------------------------+----------------+
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to