[Bug 1447215] Re: Schema Missing kernel_id, ramdisk_id causes #1447193

2015-07-23 Thread Stuart McLaren
I installed a stable kilo devstack, but still wasn't able to get the image-list reproducer to work: $ glance --version 0.17.2 $ glance --os-image-api-version 1 image-create --name test --disk-format raw --container-format bare --property ramdisk_id= --property kernel_id= --file /etc/fstab +---

[Bug 1452312] Re: glance-registry process spins if rsyslog restarted with syslog logging enabled

2015-05-29 Thread Stuart McLaren
Note that this behaviour was originally reported here: https://bugs.launchpad.net/oslo.log/+bug/1076466 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1452312 Title: glance-registry process spins if

[Bug 1447193] Re: Glance client fails with v2 API / Failed validating 'Type' in schema[u'properties'][u'ramdisk_id']

2015-04-24 Thread Stuart McLaren
Jorge, Thanks for the extra info -- very helpful: $ ./tools/with_venv.sh glance --os-image-api-version 2 image-list venv develop-inst-nodeps: /mnt/sam/git/python-glanceclient venv runtests: PYTHONHASHSEED='0' venv runtests: commands[0] | glance --os-image-api-version 2 image-list None is not of t

[Bug 1447193] Re: Glance client fails with v2 API / Failed validating 'Type' in schema[u'properties'][u'ramdisk_id']

2015-04-22 Thread Stuart McLaren
Hi Jorge, Thanks for your bug report. I haven't been able to reproduce this (I suspect I'm missing a step). I'm running the latest server code and using a 0.15.0 client version. $ ./tools/with_venv.sh glance image-create --disk-format raw --container-format bare --name thisisnull < /etc/fst

[Bug 1378388] Re: Performance regression uploading images to glance in juno

2014-10-07 Thread Stuart McLaren
Are you using SSL (https)? Judging on the numbers alone I'd be suspicious that SSL compression has been enabled -- but it's just a guess. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1378388 Title:

[Bug 1307598] Re: Debian/Ubuntu system wide CA certificate file doesn't seem to be used

2014-04-15 Thread Stuart McLaren
Dolph, Jamie, Thanks for your replies. This is on TripleO so the installs are via pip and its the latest and greatest client code. Note that other clients do use the system wide CA cert bundle: In the glance client I did some contortions to get it to load the system wide file using the openssl l

[Bug 1157864] Re: [SRU] Requests to https server can yield WantReadError

2013-05-07 Thread Stuart McLaren
Hi Dave, Just verified both monkey patched and non-monkey patched cases -- package looks good to me. $ dpkg -l |grep glanceclient ii python-glanceclient 1:0.9.0-0ubuntu1.1 Client library for Openstack glance server. ** Tags removed: verification-needed ** Tag

[Bug 1157864] Re: Requests to https server can yield WantReadError

2013-04-22 Thread Stuart McLaren
All, Mark and I had a great chat at the summit and quickly agreed a way forward (tweak https://review.openstack.org/#/c/24916/ to only use eventlet if the socket has actually been monkey patched). I hope to push up a new patch real soon. -- You received this bug notification because you are a m

[Bug 1157864] Re: Requests to https server can yield WantReadError

2013-03-21 Thread Stuart McLaren
Hi Sina, Great -- many thanks for letting me know. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157864 Title: Requests to https server can yield WantReadError To manage notifications about this

[Bug 1157864] Re: Requests to https server can yield WantReadError

2013-03-21 Thread Stuart McLaren
Adam, Sina, I've proposed a patch here: https://review.openstack.org/#/c/24916/ If possible, it would be great to know if this works for you. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1157864 T

[Bug 932800] Re: New glance dependency: ca-certificates

2012-02-21 Thread Stuart McLaren
Hi Adam, It should be enough to put it in for python-glance (since the 'glance' package has a dependency on python-glance). (Let me know if I'm behind the times and we're now packaging the api and registry seperately). -- You received this bug notification because you are a member of Ubuntu Bug

[Bug 932800] [NEW] New glance dependency: ca-certificates

2012-02-15 Thread Stuart McLaren
Public bug reported: Since commit 0f0fe2b the "ca-certificates" package should be added to debian/control. ** Affects: glance (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 890362] Re: Should glance user's shell be /bin/false?

2011-11-18 Thread Stuart McLaren
> you want code to run as underprivileged as possible Agreed. What do you think about this: We could set glance's shell to /bin/false but use commands such as the following to run the services: su -s /bin/sh -c "glance-registry" glance That way you can't log in as the glance user, but the serv

[Bug 890362] Re: Should glance user's shell be /bin/false?

2011-11-15 Thread Stuart McLaren
I wonder should glance-api/glance-registry also do a 'drop_priviledges' in the same way as swift? This would, for example, allow the daemon to be run without the 'su -c', and allow running on priviledged ports (eg 443). -- You received this bug notification because you are a member of Ubuntu Bugs

[Bug 890362] Re: Should glance user's shell be /bin/false?

2011-11-15 Thread Stuart McLaren
Note that current invocations (in the packaging scripts) such as: su -c 'glance-manage db_sync' glance exec su -c "glance-registry" glance may not work in the absense of a real shell. (Swift does a drop_priviledges to switch to the 'swift' user). -- You received this bug notification because y