← Back to team overview

openstack team mailing list archive

Re: Image filtering

 

I am sorry for the confusion. It is working. I used "_" instead of "-" in the changes-since filter and it caused the problem.

Thanks
Krishnaprasad

-----Original Message-----
From: Openstack [mailto:openstack-bounces+narayana=uni-mainz.de@xxxxxxxxxxxxxxxxxxx] On Behalf Of Narayanan, Krishnaprasad
Sent: Montag, 22. Juli 2013 16:14
To: lzy.dev@xxxxxxxxx
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Image filtering

Hallo Zhiyan,

Thanks for your suggestion. I am running OpenStack ESSEX in my testbed. This command doesn't seem to work example would be "glance details changes_since='2012-01-01T00:01:00Z'". I assume that all changes on the image after 1st of 2012 should be displayed. But I don’t see them. Cam somebody help me here?

Can I nest filters in the command line?

Thanks
Kriushnaprasad

-----Original Message-----
From: lzy.dev@xxxxxxxxx [mailto:lzy.dev@xxxxxxxxx]
Sent: Montag, 22. Juli 2013 13:46
To: Narayanan, Krishnaprasad
Cc: openstack@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Openstack] Image filtering

Try this:
/images/detail?changes-since=2013-07-18T17:01:22Z

thanks,
zhiyan

On Mon, Jul 22, 2013 at 5:06 PM, Narayanan, Krishnaprasad <narayana@xxxxxxxxxxxx> wrote:
> Hallo Stackers,
>
>
>
> In continuation of my earlier email, I found a filter called “changes-since”
> that is supported by the “index” command in Glance. Can somebody tell 
> me the format of it?
>
>
>
> Regards,
>
> Krishnaprasad
>
> From: Openstack
> [mailto:openstack-bounces+narayana=uni-mainz.de@xxxxxxxxxxxxxxxxxxx]
> On Behalf Of Narayanan, Krishnaprasad
> Sent: Sonntag, 21. Juli 2013 18:38
> To: openstack@xxxxxxxxxxxxxxxxxxx
> Subject: [Openstack] Image filtering
>
>
>
> Hallo All,
>
>
>
> Can somebody guide me how to filter images based on start and end date 
> using the nova cli? What is the command that I should use in order to 
> perform this filtering?
>
>
>
> Thanks
>
> Krishnaprasad
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

References