Tuesday, 2016-05-24

*** mtanino has joined #openstack-glance00:08
*** TravT has quit IRC00:13
*** d0ugal has joined #openstack-glance00:19
*** ducttape_ has joined #openstack-glance00:38
*** ducttape_ has quit IRC00:38
* jokke_ feels bad after reviewing hemanthm's config help text changes01:01
jokke_hemanthm: nothing personal. I really appreciate you looking after these! *hugs*01:01
*** ducttape_ has joined #openstack-glance01:04
*** mtanino has quit IRC01:05
*** ducttape_ has quit IRC01:08
*** mtanino has joined #openstack-glance01:30
*** mtanino has quit IRC01:35
*** cdelatte has quit IRC01:37
*** ducttape_ has joined #openstack-glance01:41
*** ducttape_ has quit IRC01:51
*** buzztroll has quit IRC01:58
*** hoonetorg has quit IRC02:20
*** hoonetorg has joined #openstack-glance02:20
*** ducttape_ has joined #openstack-glance02:24
*** gjayavelu has joined #openstack-glance02:38
*** ducttape_ has quit IRC02:43
*** buzztroll has joined #openstack-glance02:54
*** buzztroll has quit IRC02:59
openstackgerritMerged openstack/glance: Normalize the options use singele quotes  https://review.openstack.org/31972003:07
*** sdake_ has quit IRC03:29
openstackgerritWenjun Wang proposed openstack/glance: Raise exception when import without properties  https://review.openstack.org/31950903:31
*** david-lyle_ has joined #openstack-glance03:55
*** david-lyle has quit IRC03:57
*** buzztroll has joined #openstack-glance03:58
*** buzztroll has quit IRC04:06
*** links has joined #openstack-glance04:07
*** buzztroll has joined #openstack-glance04:12
*** buzztroll has quit IRC04:17
*** sdake has joined #openstack-glance04:17
*** sdake has quit IRC04:18
*** sgotliv has joined #openstack-glance04:27
*** GB21 has joined #openstack-glance04:58
*** pdeore has joined #openstack-glance05:12
*** links has quit IRC05:14
*** albertom has quit IRC05:16
*** albertom has joined #openstack-glance05:17
*** links has joined #openstack-glance05:18
*** buzztroll has joined #openstack-glance05:20
*** links has quit IRC05:24
*** tshefi has joined #openstack-glance05:26
*** tshefi has quit IRC05:29
*** tshefi has joined #openstack-glance05:30
*** GB21 has quit IRC05:44
*** GB21 has joined #openstack-glance05:56
*** Amit_ has joined #openstack-glance06:00
Amit_Hello Team06:01
Amit_I have been having this issue of Glance on installing openstack06:01
Amit_Environment Details : RHEL 7.2 Kilo Packstack06:01
Amit_ERROR : Error appeared during Puppet run: 192.168.2.10_manila.pp     Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 36e253b1ace04d10 --os-region-name RegionOne --os-auth-url http://192.168.2.10:35357/ image-show fa5e52ac-8782-466c-9a3e-c739c5091558' returned 1: id06:01
Amit_It tried running the command separately06:02
Amit_what I get is only "id"06:02
Amit_Appreciate any help or workaround06:02
*** Amit_ has quit IRC06:03
*** links has joined #openstack-glance06:04
*** Amit_ has joined #openstack-glance06:04
Amit_Hello Team,06:05
Amit_I had been trying to install openstack and have been having following Errors06:05
Amit_ERROR : Error appeared during Puppet run: 192.168.2.10_manila.pp     Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 36e253b1ace04d10 --os-region-name RegionOne --os-auth-url http://192.168.2.10:35357/ image-show fa5e52ac-8782-466c-9a3e-c739c5091558' returned 1: id06:05
Amit_Environment ::  RHEL 7.2 Openstack Kilo packstack RDO06:06
Amit_I tried running the above command separately it just get the output as "id"06:06
Amit_Appreciate any help with workaround06:06
*** gjayavelu has quit IRC06:08
*** rcernin has joined #openstack-glance06:08
*** sdake has joined #openstack-glance06:11
*** nikhil has quit IRC06:14
*** serverascode has quit IRC06:15
*** DuncanT has quit IRC06:15
*** nikhil has joined #openstack-glance06:16
*** buzztroll has quit IRC06:16
*** DuncanT has joined #openstack-glance06:19
*** akrish9 has quit IRC06:20
*** sdake has quit IRC06:25
*** anush has joined #openstack-glance06:26
*** harlowja has quit IRC06:28
*** serverascode has joined #openstack-glance06:32
*** sdake has joined #openstack-glance06:37
*** toanster has joined #openstack-glance06:52
*** toan has quit IRC06:52
*** sdake has quit IRC06:53
*** tesseract has joined #openstack-glance07:04
*** tesseract has quit IRC07:08
*** rwsu has joined #openstack-glance07:19
*** rwsu has quit IRC07:22
*** dshakhray has joined #openstack-glance07:29
*** sgotliv_ has joined #openstack-glance07:35
*** sgotliv has quit IRC07:37
*** ihrachys has joined #openstack-glance07:37
*** sgotliv__ has joined #openstack-glance07:40
*** sgotliv_ has quit IRC07:42
*** sgotliv_ has joined #openstack-glance07:43
*** sgotliv__ has quit IRC07:45
*** sgotliv_ has quit IRC07:48
*** sgotliv has joined #openstack-glance07:50
*** pdeore is now known as pdeore|lunch07:52
*** sgotliv_ has joined #openstack-glance07:53
*** sgotliv has quit IRC07:55
*** sgotliv_ has quit IRC07:58
*** sgotliv_ has joined #openstack-glance07:58
*** GB21 has quit IRC07:59
openstackgerritDavanum Srinivas (dims) proposed openstack/glance: [WIP] Testing latest u-c  https://review.openstack.org/31843608:10
openstackgerritDavanum Srinivas (dims) proposed openstack/glance: [WIP] Testing latest u-c  https://review.openstack.org/31843608:10
*** belmoreira has joined #openstack-glance08:15
*** dmk0202 has joined #openstack-glance08:16
*** GB21 has joined #openstack-glance08:17
*** MarcF has joined #openstack-glance08:18
*** MarcF has quit IRC08:18
*** e0ne has joined #openstack-glance08:20
*** buzztroll has joined #openstack-glance08:22
*** odyssey4me_ is now known as odyssey4me08:26
*** e0ne has quit IRC08:31
*** e0ne has joined #openstack-glance08:32
*** mosulica has joined #openstack-glance08:36
*** ig0r_ has joined #openstack-glance08:40
*** pdeore|lunch is now known as pdeore08:49
*** MarcF has joined #openstack-glance08:53
*** MarcF has quit IRC08:53
*** mfedosin has joined #openstack-glance09:00
*** sdake has joined #openstack-glance09:20
*** GB21 has quit IRC09:21
openstackgerritDarja Shakhray proposed openstack/glance: [WIP] Add Test Artifact type  https://review.openstack.org/32031809:25
*** zigo_ is now known as zigo09:28
*** GB21 has joined #openstack-glance09:37
*** mine0901_ has joined #openstack-glance09:41
*** sgotliv has joined #openstack-glance09:46
*** sgotliv_ has quit IRC09:47
*** buzztroll has quit IRC09:50
*** sgotliv_ has joined #openstack-glance09:51
*** sgotliv has quit IRC09:52
*** mvk has quit IRC09:53
*** sdake has quit IRC10:01
*** sudipto has joined #openstack-glance10:06
*** e0ne has quit IRC10:13
*** e0ne has joined #openstack-glance10:14
*** mvk has joined #openstack-glance10:22
*** abhishekk has joined #openstack-glance10:34
abhishekkhemanthm: hi you around?10:36
*** e0ne_ has joined #openstack-glance10:41
*** e0ne has quit IRC10:42
*** sudipto has quit IRC10:53
*** sudipto has joined #openstack-glance11:01
*** cdelatte has joined #openstack-glance11:03
openstackgerritwangxiyuan proposed openstack/python-glanceclient: Replace tempest_lib with tempest.lib  https://review.openstack.org/31975811:03
openstackgerritDina Belova proposed openstack/glance: Use OSprofiler options consolidated in lib itself  https://review.openstack.org/27815711:06
openstackgerritBertrand Lallau proposed openstack/glance: Convert to strutils.bool_from_string  https://review.openstack.org/32036211:07
*** buzztroll has joined #openstack-glance11:13
*** buzztroll has quit IRC11:17
*** sdake has joined #openstack-glance11:17
openstackgerritKairat Kushaev proposed openstack/glance: Add filters and validators  https://review.openstack.org/32037011:25
kairatAmit_, try that: https://bugs.launchpad.net/glance/+bug/1581111/11:26
openstackLaunchpad bug 1581111 in Glance "glance-cache-prefetcher causes Unknown Scheme errors" [Undecided,New]11:26
kairatlooks like you need to change default_store11:26
*** ig0r_ has quit IRC11:34
*** sudipto has quit IRC11:42
openstackgerritjingtao liang proposed openstack/glance: Remove the successful log if upload image failed  https://review.openstack.org/32036911:43
*** julim has joined #openstack-glance11:45
*** gjayavelu has joined #openstack-glance11:46
*** mine0901_ has quit IRC11:47
openstackgerritBhagyashri Shewale proposed openstack/python-glanceclient: Fix 'UnicodeEncodeError' for unicode values in url  https://review.openstack.org/32037911:48
*** sdake has quit IRC11:49
*** gjayavelu has quit IRC11:51
openstackgerritDarja Shakhray proposed openstack/glance: [WIP] Add Test Artifact type  https://review.openstack.org/32031811:54
rosmaitajokke_: my first draft had the word 'bullshit' in it11:55
*** ig0r_ has joined #openstack-glance11:57
jokke_rosmaita: :)11:57
jokke_rosmaita: I'd had probably +2d that happily as well :D11:57
*** ducttape_ has joined #openstack-glance11:59
*** pdeore has quit IRC12:09
*** ducttape_ has quit IRC12:12
*** bzurawski has joined #openstack-glance12:13
bzurawskiHi12:14
bzurawskiis it possible to get image location by glanceclient API v2 ?12:14
kairatbzurawski, it is possible12:15
kairatbut not recommended =)12:15
bzurawskikairat: why not recommended ? :P12:15
kairathttps://github.com/openstack/glance/blob/master/etc/glance-api.conf#L7212:16
kairatYou need to change that conf on back-end server12:16
kairatsee description for the property12:16
kairatso you can use it at your own risk12:16
bzurawskikairat: aaa, and because it requires change on backend servers, that's why it's not recommended ? :)12:17
kairatyou can show your back-end location to other users12:17
kairatsometimes locations can include important info12:17
kairatsoo12:17
kairatuse it at your own risk :P12:17
bzurawskikairat: hum, you're right but still thanks for info and explanation :)12:19
*** ayoung has quit IRC12:19
*** GB21 has quit IRC12:20
*** gjayavelu has joined #openstack-glance12:22
*** gjayavelu has quit IRC12:27
*** burgerk has joined #openstack-glance12:43
openstackgerritBrian Rosmaita proposed openstack/glance: WADL to RST migration (part 1)  https://review.openstack.org/31225912:44
*** catintheroof has joined #openstack-glance12:49
openstackgerritBrian Rosmaita proposed openstack/glance: WADL to RST migration (part 2)  https://review.openstack.org/31533512:51
*** david-lyle has joined #openstack-glance12:57
*** gjayavelu has joined #openstack-glance12:58
*** jistr is now known as jistr|mtg13:01
*** david-lyle_ has quit IRC13:01
*** buzztroll has joined #openstack-glance13:01
*** edmondsw has joined #openstack-glance13:05
*** buzztroll has quit IRC13:05
*** sdake has joined #openstack-glance13:09
*** sdake has quit IRC13:13
*** ayoung has joined #openstack-glance13:27
*** fesp has joined #openstack-glance13:36
*** fesp has quit IRC13:40
*** gjayavelu has quit IRC13:40
*** mine0901_ has joined #openstack-glance13:42
*** ametts has joined #openstack-glance13:46
*** buzztroll has joined #openstack-glance13:50
openstackgerritMike Fedosin proposed openstack/glance: [WIP] Glare  https://review.openstack.org/29232713:54
*** buzztroll has quit IRC13:55
*** mfedosin has quit IRC13:59
*** mfedosin has joined #openstack-glance13:59
*** TravT has joined #openstack-glance14:00
*** ducttape_ has joined #openstack-glance14:02
*** sudipto has joined #openstack-glance14:04
*** jistr|mtg is now known as jistr14:04
hemanthmabhishekk: o/14:06
hemanthmaround now14:06
*** ducttape_ has quit IRC14:08
*** ducttape_ has joined #openstack-glance14:10
openstackgerritMike Fedosin proposed openstack/glance-specs: Add Glare to Glance priorities in Newton  https://review.openstack.org/32047414:12
*** julim has quit IRC14:15
*** takedakn has joined #openstack-glance14:16
sudiptomfedosin, Just curious. Will Glare support something like a docker file system? :)14:29
*** takedakn has quit IRC14:34
*** e0ne has joined #openstack-glance14:34
*** e0ne_ has quit IRC14:35
*** abhishekk has left #openstack-glance14:39
*** dshakhray has quit IRC14:42
*** mfedosin has quit IRC14:42
*** david-lyle has quit IRC14:42
*** mvk has quit IRC14:42
Amit_Hello Kairat, I Uncommented the line "stores=glance.store.swift.Store" however I after resuming the packstack installation  packstack --answer-file=answerfile it again failed with following Error . Besides looks the glance-api.conf file get overwritten14:42
Amit_ERROR ::14:43
Amit_pplying 10.209.105.132_manila.pp 10.209.105.132_manila.pp:                         [ ERROR ] Applying Puppet manifests                         [ ERROR ]  ERROR : Error appeared during Puppet run: 10.209.105.132_manila.pp Error: Could not prefetch glance_image provider 'glance': Execution of '/usr/bin/glance --os-tenant-name services --os-username glance --os-password 54b901ea04d244ca --os-region-name RegionOne --os-auth-url h14:43
*** pushkaru has joined #openstack-glance14:43
*** _d34dh0r53_ is now known as d34dh0r5314:45
*** rcernin has quit IRC14:47
*** sdake has joined #openstack-glance14:49
*** links has quit IRC14:57
*** GB21 has joined #openstack-glance14:57
*** rcernin has joined #openstack-glance14:59
*** julim has joined #openstack-glance15:00
*** jistr is now known as jistr|mtg15:04
*** e0ne has quit IRC15:06
*** junhongl has joined #openstack-glance15:09
*** sgotliv_ has quit IRC15:12
*** mosulica has quit IRC15:12
*** e0ne has joined #openstack-glance15:18
*** sudipto has quit IRC15:21
*** Junhongl_ has joined #openstack-glance15:22
*** Junhongl_ has left #openstack-glance15:27
*** junhongl has quit IRC15:32
*** cdelatte has quit IRC15:35
*** links has joined #openstack-glance15:36
*** julim has quit IRC15:37
*** dmk0202 has quit IRC15:38
*** dmk0202 has joined #openstack-glance15:38
*** ihrachys has quit IRC15:39
*** julim has joined #openstack-glance15:39
*** jistr|mtg is now known as jistr15:40
*** Junhongl_ has joined #openstack-glance15:41
*** Junhongl_ has quit IRC15:44
*** Junhongl_ has joined #openstack-glance15:44
*** delattec has joined #openstack-glance15:45
*** sudipto_ has joined #openstack-glance15:45
*** mfedosin has joined #openstack-glance15:45
*** david-lyle has joined #openstack-glance15:45
*** mvk has joined #openstack-glance15:45
*** Junhongl_ has quit IRC15:47
*** Junhongl has joined #openstack-glance15:48
*** belmoreira has quit IRC15:51
*** Junhongl has quit IRC15:51
*** MattMan has quit IRC15:56
*** MattMan has joined #openstack-glance15:57
*** delattec has quit IRC15:57
*** sudipto_ has quit IRC15:57
*** mfedosin has quit IRC15:57
*** david-lyle has quit IRC15:57
*** mvk has quit IRC15:57
openstackgerritNikhil Komawar proposed openstack/glance: Remove redundant store config from registry sample  https://review.openstack.org/31956415:58
*** delattec has joined #openstack-glance16:06
*** sudipto_ has joined #openstack-glance16:06
*** mfedosin has joined #openstack-glance16:06
*** david-lyle has joined #openstack-glance16:06
*** mvk has joined #openstack-glance16:06
*** buzztroll has joined #openstack-glance16:10
*** gjayavelu has joined #openstack-glance16:10
*** buzztroll has quit IRC16:14
*** gjayavelu has quit IRC16:14
*** e0ne has quit IRC16:14
*** GB21 has quit IRC16:16
*** GB21 has joined #openstack-glance16:18
*** sudipto_ has quit IRC16:19
*** gjayavelu has joined #openstack-glance16:20
*** kebray has joined #openstack-glance16:23
*** dmk0202 has quit IRC16:24
*** ig0r_ has quit IRC16:24
*** buzztroll has joined #openstack-glance16:27
*** catintheroof has quit IRC16:28
*** sdake_ has joined #openstack-glance16:35
*** GB21 has quit IRC16:36
*** GB21 has joined #openstack-glance16:37
*** sdake has quit IRC16:38
*** delatte has joined #openstack-glance16:43
*** mvk has quit IRC16:45
*** delattec has quit IRC16:46
*** harlowja has joined #openstack-glance16:51
*** e0ne has joined #openstack-glance16:59
*** TravT has quit IRC16:59
*** gjayavelu has quit IRC17:05
*** ducttape_ has quit IRC17:09
*** e0ne has quit IRC17:12
*** ayoung has quit IRC17:22
*** ayoung has joined #openstack-glance17:23
*** GB21 has quit IRC17:25
openstackgerritNolwenn Cauchois proposed openstack/glance: Fix bug Swift ACL which disappears on Glance v1 images  https://review.openstack.org/32058817:29
*** ducttape_ has joined #openstack-glance17:29
*** e0ne has joined #openstack-glance17:30
*** ayoung has quit IRC17:35
*** ayoung has joined #openstack-glance17:36
openstackgerritNolwenn Cauchois proposed openstack/glance: Fix bug Swift ACL which disappears on Glance v1 images  https://review.openstack.org/32059517:41
*** TravT has joined #openstack-glance17:54
*** TravT has quit IRC18:03
*** TravT has joined #openstack-glance18:05
*** TravT has quit IRC18:07
*** TravT has joined #openstack-glance18:09
*** sdake_ is now known as sdake18:11
*** david-lyle_ has joined #openstack-glance18:12
*** mfedosin has quit IRC18:16
*** david-lyle has quit IRC18:16
*** mfedosin has joined #openstack-glance18:16
*** ig0r_ has joined #openstack-glance18:23
Amit_Any Help On my Query , Thanks18:26
*** rcernin has quit IRC18:29
*** pushkaru has quit IRC18:45
*** pushkaru has joined #openstack-glance18:46
*** mfedosin has quit IRC18:46
*** djkonro has joined #openstack-glance18:47
*** links has quit IRC18:48
tsymanczykrosmaita i really appreciate you taking the time to address so many questions on the spec.18:48
nikhilAmit_: that's not enough info for us to help18:48
nikhilAmit_: btw, kilo isn't something we support18:48
rosmaitatsymanczyk: np18:48
nikhilAmit_: but I can help if this is a generic issue18:48
rosmaitatsymanczyk: i don't know what i think about the "breaking change" to the API ... guess it doesn't count to say that we should've done it this way in the first place18:50
tsymanczykrosmaita: you're talking about the possibility of making sharing a two step process, and the backwards compatibility question?18:51
rosmaitayes18:51
Amit_Thanks Nikhil for the reply !!!, I am just trying to figure out why is glance failing , Any specific logs you would like to have18:52
*** e0ne has quit IRC18:53
nikhilAmit_: glance-api logs to begin with18:53
nikhilAmit_: btw, you should change your password if this is not a developer installation (leaked above)18:54
*** djkonro has quit IRC19:00
Amit_No worries about the password, this is  the only warning I can find in glance19:00
Amit_""filesystem_store_datadir" from group "DEFAULT" is deprecated. Use option "filesystem_store_datadir" from group "glance_store"."19:00
nikhilAmit_: that should not be a issue19:01
tsymanczykrosmaita : in that case i think personally i'm leaning towards making it backwards compatible, where adding a member to a 'private' image automatically (but explicitly) switches it to 'shared' behind the scenes. but doing so completely negates the potential use case you had previously brought up where an image owner may want to populate or edit the member19:01
tsymanczyklist while the image remains private.19:01
tsymanczykrosmaita : do you happen to know the history regarding why the transitions in the etherpad remove the member list when going to public, but just keep it non-functional when switching to private? one of your comments from earlier brings up the problem case of community -> public -> community resetting everyone's bookmarks. i'm afraid i don't know the original19:03
tsymanczykimpetus for making -> public wipe the member list.19:03
rosmaitatsymanczyk: yes, i wonder if there's a way to "deprecate" a way of doing things so we only support the back compat for 1 cycle or somethig19:03
tsymanczykinteresting19:03
rosmaitatsymanczyk: i can't remember either, except that "public images don't have members"19:04
rosmaitabut there doesn't seem to be a good reason why they can't have members that don't do anything19:04
tsymanczykit may simplify things to some degree if the behaviours of -> public and -> private are the same. (member list untouched but useless). completely addresses your problem case.19:07
tsymanczykas an aside, it seemed to me that switching to public would be a handy way of wiping the member list for whatever reason. but other than that i hadn't been able to picture a strong reason.19:08
*** mfisch has joined #openstack-glance19:16
*** mfisch is now known as Guest9293719:16
*** Guest92937 is now known as mfisch19:18
*** mfisch has quit IRC19:18
*** mfisch has joined #openstack-glance19:18
*** sdake has quit IRC19:21
*** sdake has joined #openstack-glance19:21
*** djkonro has joined #openstack-glance19:23
*** mvk has joined #openstack-glance19:27
*** sdake has quit IRC19:30
*** sdake has joined #openstack-glance19:31
nikhilAmit_: check the verbose logs on the /usr/bin/glance call and try to make the "glance image-create ..." call manually19:31
nikhilAmit_: err, it's image-show not create19:32
rosmaitatsymanczyk: i am inclined to your point of view (about keeping members on public images)19:34
rosmaitatsymanczyk: i need to think some more and try to remember if there was a good reason why we didnt' want to keep members on public images19:35
*** e0ne has joined #openstack-glance19:38
tsymanczyksounds good, thanks!19:38
*** ig0r_ has quit IRC19:39
*** ducttape_ has quit IRC19:49
*** dmk0202 has joined #openstack-glance19:54
*** tshefi has quit IRC19:54
*** sdake_ has joined #openstack-glance20:02
*** sgotliv_ has joined #openstack-glance20:04
*** sdake has quit IRC20:05
*** _erick0zcr has joined #openstack-glance20:07
*** ducttape_ has joined #openstack-glance20:08
nikhilrosmaita: who adds members to public images with owner=NULL ?20:12
nikhilrather, who can add20:12
rosmaitai didn't think you could add members to public images at all20:13
nikhil(this may be food for thought)20:13
nikhilrosmaita: no, we can't today. I was just saying we need to consider this edge case.20:13
rosmaitanikhil: i still don't think anyone should be able to add members to a public image20:14
rosmaitai think the question is, do we kill the member list on visibility transition shared->public20:15
rosmaitabut, if we did allow members to be added, i guess it should be on the model of community, that is, the image member, *not* the owner, creates the member20:16
rosmaitathe only use case i see is:20:16
rosmaitaif an operator uses public -> community to "retire" base images, a user might want to bookmark a public image so that they'll still have it in their image list when the image goes public->community20:17
rosmaitaso i don't think a null owner would be a problem for that?  wondering what you had in mind20:18
nikhilrosmaita: I was thiking the other way around of who is allowed to add members on an image. and in case of public (admin images or NULL owner images) it would be a issue.20:18
nikhilrosmaita: but the way you describe about changing behavior it doesn't seem to matter20:19
nikhilrosmaita: I do feel though, that this almost feels like bookmarking on it's own -- that can use members to bookmark image as a part of a list or a filter on a list20:20
rosmaitayes, the difference is: shared images-> owner creates members, community images->anybody *but* the owner can create members20:20
nikhilrosmaita: gotcha20:20
rosmaitanikhil: i think that's a good way to think of it, a member is just another filter20:21
rosmaitawell, with the member_status complication20:21
*** ayoung has quit IRC20:21
nikhilrosmaita: if we can separate bookmarking from sharing, at least conceptually we can find a cleaner solution20:22
*** _erick0zcr has left #openstack-glance20:22
nikhilrosmaita: for example, I use "image-update --bookmark add" to add the image to my list20:22
rosmaitathat's a good point, we may be trying to do too much with the current sharing model20:22
rosmaitaon the other hand, the each image would have a "bookmark" list of tenants who had bookmarked it, which seems a lot like image members20:24
nikhilrosmaita: correct, but it's the other way around20:25
*** djkonro has quit IRC20:25
nikhilrosmaita: because the access permissions are on the sharing side20:25
nikhilrosmaita: sharing side meaning giving the ability to see image in a particular capacity (shared, private, community, public) -- all server side / owner specific operations20:26
nikhilrosmaita: while bookmarking is consumer side or member side capability20:26
*** hemanthm is now known as hemanthm|afk20:26
nikhilrosmaita: very much like the can_share attr on members20:27
nikhilrosmaita: first one is image specific operation20:27
nikhilrosmaita: second one is member centric20:27
nikhils/specific/centric/20:27
rosmaitanikhil: that's a good point ... but i wonder if it means they need different backend mechanisms20:30
rosmaitathe current design is trying to use the same backend to handle both cases20:30
rosmaitaan as a result, you get the weird situation where you could make yourself a member of a community image, and then set your member_status == rejected, so that you can't see it!20:31
nikhilrosmaita: yeah, I need to think harder if we can keep backwards compatibility. while I think we can achieve this using the current backend-model but a different top level design.20:32
*** turvey has left #openstack-glance20:32
rosmaitayes, that is definitely worth thinking about20:33
tsymanczykrosmaita : from an internal perspective i agree that that's a weird situation, but is how i had been picturing a consumer choosing to "forget" a community image.20:35
*** julim has quit IRC20:35
rosmaitatsymanczyk: that's a good point, do you mention in the spec that a member can make the DELETE v2/images/{id}/members/member_id call?20:36
rosmaitabecause i think that would be a better way to forget an image!20:36
rosmaitaalthough, you could have temporary amnesia by making member_status=rejected20:37
rosmaitai guess it would make the image easier to find20:37
rosmaitalike a bookmark that doesn't exist unless you go looking for it20:37
tsymanczykthere is nothing currently in the spec regarding deleting a member-record.20:37
rosmaitatsymanczyk: definitely need to add it, because under the current scheme, only the image owner can delete members20:38
tsymanczykseeing as how there's that same delete call for current image sharing, i certainly would be in favour of including it.20:39
rosmaitadon't want that to be the case with community images20:39
rosmaitayeah20:39
tsymanczykbut certainly now setting yourself to member - > rejected becomes even weirder.20:39
tsymanczykwill add.20:39
*** pushkaru has quit IRC20:40
*** pushkaru has joined #openstack-glance20:40
rosmaitapushkaru: i'm actually looking at your spec now20:41
tsymanczyki remember a few days or so ago we were wondering in the community case if there was value in the different member statuses (pending / approved / rejected). it sort of made sense in my head for the case where a consumer wanted to forget a bookmark. but since now that'd presumably be the DELETE call, the member status field makes even less sense for the20:41
tsymanczykcommunity case.20:41
pushkarurosmaita, thanks.20:42
rosmaitatsymanczyk: yes, maybe nikhil is right that we need to separate bookmarking from membership20:43
rosmaitapushkaru: unfortunately, i think i am going to come to the same conclusion as hemanthm20:47
*** e0ne has quit IRC20:49
pushkarurosmaita, ok. I need to recheck nova db schema. But as per I remember nova does not store any image related info.20:49
pushkarurosmaita, even if we do at nova side. the status change is going to be in glance20:49
rosmaitapushkaru: i think you are correct20:49
pushkarurosmaita, hence, I thought its better to include in glance20:50
rosmaitapushkaru: i'll put some comments on the spec20:50
*** e0ne has joined #openstack-glance20:50
rosmaitathe problem is, glance doesn't know whether it's nova or a long-running user upload that's keeping the image queued20:50
johnthetubaguynova stores a full copy of image metadata on boot20:51
rosmaitaeven worse, the new import workflow requires you to create an image in 'queued' status before doing the import20:51
johnthetubaguyas it might change after boot20:51
rosmaitajohnthetubaguy: pushkaru means in the other direction20:51
rosmaitajohnthetubaguy: does nova keep track that a server has had a snapshot made?20:51
rosmaita(the context is cleaning up image records in glance for failed snapshots)20:52
johnthetubaguyah, right, no I don't think that is tracked (although backup might be a slight exception to that)20:52
rosmaitainteresting, i haven't dealt with backup at all20:52
*** ducttape_ has quit IRC20:53
*** TravT has quit IRC20:57
*** rcernin has joined #openstack-glance21:03
*** ayoung has joined #openstack-glance21:05
*** jdurgin has quit IRC21:07
rosmaitapushkaru: sorry it took so long, but comment posted!21:07
*** jdurgin has joined #openstack-glance21:08
nikhilrosmaita: is this a glance-spec?21:09
rosmaitanikhil: yes, pushkaru is intereseted in retargeting it to newton (it was proposed for mitaka)21:11
rosmaitahttps://review.openstack.org/#/c/242682/21:11
nikhilrosmaita: just found it :)21:11
nikhilrosmaita: had to look it under pushkar's ownership as it was abandoned21:11
rosmaitaah, ok21:11
rosmaitanot sure what i think exactly, i'm inclined to agree with hemanthm|afk ; on the other hand, queued images piling up is a PITA for operators21:12
*** smatzek has joined #openstack-glance21:12
nikhilrosmaita: I see21:14
nikhilrosmaita: pushkaru : the first like itself is enough for someone to put a -2 on the spec. but I've not done it ;-)21:15
nikhilrosmaita: pushkaru : the reason is it starts with Compute server ... glance is registry for cinder, ironic, etc21:15
nikhils/registry/catalog/21:16
nikhils/etc/etc. too/21:16
rosmaitanikhil: good point21:16
nikhiloops, pardon my grammer.. s/like/line/21:17
pushkaru thanks rosmaita . I will have a look at your comment21:17
*** pushkaru has quit IRC21:19
*** pushkaru has joined #openstack-glance21:20
*** ducttape_ has joined #openstack-glance21:22
nikhilrosmaita: I added a comment21:23
rosmaitanikhil: ty21:23
*** e0ne has quit IRC21:30
flwangrosmaita: nikhil: let me know if you guys are interested in the topic 'maintain the old/deprecated images'21:30
nikhilflwang: looks like we need to sync on some of those items from that operator discussion/session.21:32
flwangnikhil: yes21:32
*** dmk0202 has quit IRC21:32
flwangi'm drafting the spec/mail21:32
flwangnikhil: generally, i think it's a nova work, since from the glance side, we can just leverage the 'deactivate' status21:33
*** ducttape_ has quit IRC21:33
rosmaitaflwang: yes, i am interested ... i was thinking the thing to do is to propose a user story with the product working group21:34
rosmaitai think we need some clarity about what exactly we want to accomplish, and how21:34
*** sdake has joined #openstack-glance21:34
*** sgotliv_ has quit IRC21:35
rosmaitai am afraid that otherwise, what we come up with may be too "special purpose" or "ad hoc"21:35
flwangrosmaita: the basic goal is avoid launch/boot instance from the old images21:35
*** ametts has quit IRC21:35
flwangbut rebuild, migration still work21:35
flwangso it's a work could be placed at the nova api layer21:35
flwangbut the hard part, i guess nova don't care about this case :)21:36
nikhilrosmaita: I echo that21:36
rosmaitaflwang: it's a bit tricky though, because glance has to be willing to hand over the image21:36
flwangthough it's a really frustrating thing for the image maintainance, especially in public cloud21:36
rosmaitaflwang: i understand your pain21:36
nikhilrosmaita: "hand over" ?21:37
rosmaitajohnthetubaguy has talked about trying to define an image lifecycle to handle this kind of thing21:37
rosmaitanikhil: allow you to download the data21:37
flwangrosmaita: what's the image lifecycle?21:37
*** dmk0202 has joined #openstack-glance21:37
nikhilrosmaita: ok21:37
rosmaitaflwang: the idea is different from image status in glance21:38
nikhilrosmaita: I may be a bit against that term tbh21:38
flwanglike a new status of image to say it has been deprecated?21:38
rosmaitabut to allow people to publish and then retire images21:38
rosmaitabut still have them available for specific purposes21:38
*** sdake_ has quit IRC21:38
rosmaitanikhil: you are right, it is overloaded21:38
flwangrosmaita: i don't like it either21:39
flwangi don't think nova should recreate a wrapper for the image21:39
rosmaitaflwang: i don't think he meant for it to be in nova21:40
nikhilrosmaita: proposal #14 still good a starting point ? https://etherpad.openstack.org/p/newton-glance-summit-planning21:40
flwangnikhil: rosmaita: i'm thinking to add a new attribute for our image status's json schema21:40
flwangto define which status can do what kind of things21:40
flwangis it a bad idea?21:40
rosmaitanot sure21:40
nikhilflwang: what's a json schema for status? does that exist today?21:41
rosmaitaflwang: did you see this? https://etherpad.openstack.org/p/newton-glance-properties-next-gen21:41
rosmaitanot really a proposal, just some ideas21:41
flwangso that the consumer(nova, cinder, ironic) can know for each status what actions they can do21:41
rosmaitaflwang: that sounds more like metadata21:41
rosmaitabecause i don't see how glance can enforce it?21:42
rosmaitait's up to the image consumer to decide what to do21:42
flwangrosmaita: glance don't have to enforce it21:42
flwangit's a policy21:42
nikhilflwang: it's a very scary proposal :)21:42
nikhilflwang: want to know why?21:42
flwanglistening...21:43
nikhilimage status is internal/operator specific thing21:43
nikhilonce we change that to user facing, we will have twice as many issues with state transitions21:43
flwangnikhil: no21:43
flwangend user won't see any difference21:43
*** rcernin has quit IRC21:43
flwangbrb, need to join a quick standup meeting21:44
flwanghttps://github.com/openstack/glance/blob/master/glance/api/v2/images.py#L84921:44
*** buzztroll has quit IRC21:44
flwanga new dict at here to map    { 'status1': ['action1', 'action2'],}21:45
nikhilflwang: let's arrange a official sync on the week of june 7 to discuss fully and hopefully you will have a formal proposal. Just want to understand the problem statement and the thought process before jumping to conclusions.21:46
nikhilrosmaita: ^21:46
rosmaitanikhil: flwang: sounds like a good idea to me21:47
rosmaitai mean a sync about this is a good idea21:47
nikhilrosmaita: flwang: may be couple hours before Thursday June 9th ?21:47
rosmaitanot sure about the actual idea yet21:48
nikhilthat would be 2000UTC21:48
rosmaitanikhil: you mean meet at 2000 utc on June 9?21:49
rosmaitai could do that21:49
nikhilrosmaita: yeah21:50
rosmaitaor did you mean 2000 on June 8, which would be a couple of hours before June 9?21:50
rosmaita(which i could also do)21:51
nikhilrosmaita: ha! I see how confusing that statement was (though couple hours before june 9 would be 2200utc :-) but not in all TZ)21:51
*** burgerk has quit IRC21:52
flwangso 22:00 UTC on Jun 9?21:52
nikhilrosmaita: flwang : a formal audio/video/irc sprint for 2 hours on the operator feedback at 2000 UTC on Thur Jun 9th ?21:52
*** buzztroll has joined #openstack-glance21:53
flwangnikhil: ok21:53
*** ducttape_ has joined #openstack-glance21:53
flwangnikhil: but i have promised to those operators guys i will draft a spec and discuss it with nova guys21:53
flwangi mean they may expect me to do something before the next meeting ?21:54
rosmaitanikhil: that time works for me21:54
nikhilflwang: you can, but the way nova is going this cycle I doubt if it's possible to get anything new approved and merged :)21:54
flwangnikhil: hah21:55
nikhilflwang: I was hoping that we have this meeting with the operators who can make it :-)21:55
flwangnikhil: ok, so do you mean we can't make anything happen in nova this cycle ? :D21:55
nikhilflwang: I can't / don't want to comment on that .. I was merely giving a friendly tip/hint on the process they are following in newton . (they have 52 BPs in backlog)21:56
flwangnikhil: ok, i asked since your tips make me depressed :)21:57
nikhilflwang: sorry to hear that.21:57
nikhilrosmaita: ty21:58
rosmaitaflwang: i think it's still worth getting a discussion going on this21:58
flwangrosmaita: oh, yes21:59
flwangi'm just frustrating21:59
flwangsee this one https://review.openstack.org/#/c/164494/22:00
nikhilflwang: woah!22:01
*** TravT has joined #openstack-glance22:03
nikhilrosmaita: I think I need a completely different type of day for these operator discussions (may be I will take a couple of days off that week!). I was assuming all the end-user-issues were settling down the flames in newton =)22:04
nikhilredressal of end-user-issues**22:05
rosmaitaflwang: tough crowd on that patch!22:06
* nikhil afk22:06
rosmaitanikhil: that sounds like a good idea, i think the discussion will be quite ... candid22:06
*** dmk0202 has quit IRC22:09
*** darrenc is now known as darrenc_afk22:09
*** sdake has quit IRC22:09
*** pushkaru has quit IRC22:09
*** albertom has quit IRC22:10
*** pushkaru has joined #openstack-glance22:13
*** darrenc_afk is now known as darrenc22:16
*** sdake has joined #openstack-glance22:19
*** albertom has joined #openstack-glance22:19
*** albertom has quit IRC22:24
flwangrosmaita: yep22:24
flwangafter many patches, i was requested to draft a spec22:24
flwangand spec in nova generally means never22:24
rosmaitawow22:24
flwangyep, i'm complaining, haha22:25
flwangrosmaita: so meet at 2000 UTC on Thur Jun 9th ?22:27
flwangfor the discussion, right?22:27
flwangbefore that, what should we do?22:27
openstackgerritTimothy Symanczyk proposed openstack/glance-specs: Community image visibility  https://review.openstack.org/27101922:30
*** albertom has joined #openstack-glance22:31
rosmaitaflwang: not sure what nikhil decided about that meeting, but hold the time open22:32
flwangrosmaita: ok22:32
flwangrosmaita: btw, https://review.openstack.org/#/c/294337/ has been merged22:33
flwangrosmaita: i will submit a patch today22:33
rosmaitanot sure what to do before that, i will be on vacation from after the glance meetings on thursday and back on tuesday june 722:33
flwangi mean a spec22:33
flwangrosmaita: ok22:33
rosmaitaflwang: interesting ... you wanted to do something like that for image members? or was that someone else?22:34
rosmaitaadd me to the review when you put up the spec22:35
flwangrosmaita: yep, like i mentioned before, i would like to see glance to do the similar thing22:35
flwangverify the tennat id22:35
flwangrosmaita: sure22:35
rosmaitaflwang: maybe we can leverage whatever it is nova's going to do.  thanks for the link to the spec22:36
flwangrosmaita: yep, just let me know **now** if you don't like the idea, then i won't add you to the reviewer list and even add you on the blacklist :D22:37
rosmaitawell, i don't *not* like the idea, just not sure i like it, either22:38
rosmaitabut if nova is willing to take the performance hit, maybe i am being overly skeptical22:38
flwangrosmaita: i don't think there is any performance issue22:38
flwanggiven image sharing is not a frequent action22:39
rosmaitawell, an extra call to a different service for each member added22:39
rosmaitabut you may be right22:39
rosmaitait may not happen enough to be something to worry about22:39
flwangrosmaita: and if nova can do that for each instance action, i can't see why we should concern about that22:39
*** albertom has quit IRC22:40
flwangrosmaita: anyway, put your comments on the spec, you're always welcomed22:40
rosmaitaflwang: i dont' want to be blacklisted, though!22:40
flwangrosmaita: haha, no problem, you can change your id :D22:41
*** gjayavelu has joined #openstack-glance22:41
rosmaitagood point, no validation!22:41
rosmaitaflwang: i'm outta here, have a good day!22:44
*** ducttape_ has quit IRC22:46
flwangrosmaita: see you :)22:48
*** edmondsw has quit IRC22:50
*** pushkaru has quit IRC22:53
*** TravT has quit IRC22:55
*** ducttape_ has joined #openstack-glance22:57
*** ducttape_ has quit IRC22:58
*** openstackgerrit has quit IRC23:03
*** openstackgerrit has joined #openstack-glance23:03
*** david-lyle_ is now known as david-lyle23:12
*** albertom has joined #openstack-glance23:31
*** mine0901_ has quit IRC23:37
*** tsymanczyk has quit IRC23:52
*** sdake has quit IRC23:55

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!