[ 
https://issues.apache.org/jira/browse/LIBCLOUD-715?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hiroshi Yoshikawa updated LIBCLOUD-715:
---------------------------------------
    Summary: Can't list a template image of CloudStack Project  (was: Can't 
list a template image in CloudStack Project)

> Can't list a template image of CloudStack Project
> -------------------------------------------------
>
>                 Key: LIBCLOUD-715
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-715
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>         Environment: CloudStack 4.3.0.2
>            Reporter: Hiroshi Yoshikawa
>            Priority: Minor
>
> There is no way to specify _CloudStack Project ID_ in *list_images()*'s 
> arguments.
> So you can't get project specific template images, and can't create VMs using 
> such templates.
> I suggest adding _project_ parameter in *list_images()* method as below:
> {code:title=cloudstack.py|borderStyle=solid}
> def list_images(self, location=None, project=None):  # add 'project='
>     args = {
>         'templatefilter': 'executable'
>     }
>     if location is not None:
>         args['zoneid'] = location.id
>     if project is not None:                # add project-id setting
>         args['projectid'] = project.id
>     ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to