[Openstack] glance community image visibility blue print ask for review

2016-01-27 Thread Su Zhang
t can be found at https://review.openstack.org/#/c/271019/ Look forward to receiving your reviews. Thanks, Su Zhang Symantec Corporation ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : open

[Openstack] [congress] how to ensure two variables are different in congress policy?

2015-10-14 Thread Su Zhang
For example P(a, b): - A(a, c), B(b, c). How can I ensure 'a' and 'b' are different? Does this policy already imply that they are different? Or I need to explicitly indicate that they are different? If so, then how can I do that? Thanks, -- Su Zhang Senior Softwa

[Openstack] [glance] differences between def detail() and def index() in glance/registry/api/v1/images.py

2015-09-09 Thread Su Zhang
(). Could someone let me know what's the difference between the two functions? How can I test out def index() under glance/registry/api/v1/images.py through CLI or API? Thanks, -- Su Zhang ___ Mailing list: http://lists.openstack.org/cgi-bin/ma

[Openstack] Glance Unit Test failing due to version conflict

2015-08-11 Thread Su Zhang
script to /opt/stack/glance/.venv/bin Installing glance-registry script to /opt/stack/glance/.venv/bin Installed /opt/stack/glance Processing dependencies for glance==2015.1.0.0rc2 Searching for fixtures<1.3.0,>=0.3.14 Reading https://pypi.python.org/simple/fixtures/ Reading https://launchpad.net/python-fixtures Best match: fixtures 1.2.0 Downloading https://pypi.python.org/packages/source/f/fixtures/fixtures-1.2.0.tar.gz#md5=9ab03b218bd1f05906b22ed5e78259cd Processing fixtures-1.2.0.tar.gz Writing /tmp/easy_install-fuvXte/fixtures-1.2.0/setup.cfg Running fixtures-1.2.0/setup.py -q bdist_egg --dist-dir /tmp/easy_install-fuvXte/fixtures-1.2.0/egg-dist-tmp-2brSYg su@ubuntu:/opt/stack/glance$ Thanks, -- Su Zhang ___ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

[Openstack] glance images folder permission denied

2015-05-26 Thread Su Zhang
Hello there, I encountered a weird error while upgrading glance to kilo. Whenever I start up glance service, it encountered an error (in the log file) saying the follow: " 2015-05-26 20:43:40.261 4744 ERROR glance_store._drivers.filesystem [-] Permission to write in /var/lib/glance/images/ denied

[Openstack] glance images folder permission denied

2015-05-26 Thread Su Zhang
privilege but I failed by using either "root" or "glance". Could anyone please give me some suggestions regarding how to get this issue resolved? Thanks, -- Su Zhang ___ Mailing list: http://lists.openstack.org/cgi-bin/mail

Re: [Openstack] How specify image api version at server side?

2015-03-25 Thread Su Zhang
as? Thanks, On Wed, Mar 25, 2015 at 9:23 PM, Lars Kellogg-Stedman wrote: > On Wed, Mar 25, 2015 at 08:53:07PM -0700, Su Zhang wrote: > > su@ubuntu:/opt/stack/glance/glance$ export OS_IMAGE_API_VERSION=2 > > su@ubuntu:/opt/stack/glance/glance$ > > glance image-list HTTPInt

[Openstack] How specify image api version at server side?

2015-03-25 Thread Su Zhang
Hello, I encountered an error while running glance cli. If I export the OS_IMAGE_API_VERSION to 1, then I will be able to run glance cli. However, if I export OS_IMAGE_API_VERSION to 2, then it will encounter an internal error. Could anyone please let me know how to adjust the glance api version a

[Openstack] a question regarding the current status of image "community" visibility support on glance

2015-03-25 Thread Su Zhang
-4605-aa42-aa5faabc04b8 Could any of you kindly give me some hints regarding how to get the issue fixed (if it is fixable)? Or anywhere I can change to code to enable the function mentioned in the blueprint? Any response will be highly appreciated! -- Su Zhang