*** yamamoto has joined #openstack-meeting-4 | 00:02 | |
*** diman has quit IRC | 00:04 | |
*** iyamahat has quit IRC | 00:04 | |
*** bobh has quit IRC | 00:06 | |
*** yamamoto has quit IRC | 00:08 | |
*** salv-orlando has joined #openstack-meeting-4 | 00:23 | |
*** salv-orlando has quit IRC | 00:28 | |
*** zhurong has joined #openstack-meeting-4 | 00:32 | |
*** zhubingb_ has joined #openstack-meeting-4 | 00:44 | |
*** hongbin has joined #openstack-meeting-4 | 00:57 | |
*** chyka has joined #openstack-meeting-4 | 01:01 | |
*** yamamoto has joined #openstack-meeting-4 | 01:04 | |
*** chyka has quit IRC | 01:05 | |
*** yamamoto has quit IRC | 01:09 | |
*** zhubingb_ has quit IRC | 01:14 | |
*** salv-orlando has joined #openstack-meeting-4 | 01:24 | |
*** salv-orlando has quit IRC | 01:29 | |
*** caoyuan has joined #openstack-meeting-4 | 01:42 | |
*** caoyuan_ has joined #openstack-meeting-4 | 01:48 | |
*** diman has joined #openstack-meeting-4 | 01:50 | |
*** diman has quit IRC | 01:55 | |
*** yamamoto has joined #openstack-meeting-4 | 02:05 | |
*** iyamahat has joined #openstack-meeting-4 | 02:09 | |
*** yamamoto has quit IRC | 02:11 | |
*** caoyuan_ has quit IRC | 02:15 | |
*** yifei1 has joined #openstack-meeting-4 | 02:18 | |
*** salv-orlando has joined #openstack-meeting-4 | 02:25 | |
*** VW has joined #openstack-meeting-4 | 02:27 | |
*** salv-orlando has quit IRC | 02:31 | |
*** iyamahat has quit IRC | 02:31 | |
*** yamamoto has joined #openstack-meeting-4 | 02:47 | |
*** diman has joined #openstack-meeting-4 | 02:54 | |
*** diman has quit IRC | 02:59 | |
*** psachin has joined #openstack-meeting-4 | 03:02 | |
*** links has joined #openstack-meeting-4 | 03:12 | |
*** wxy has left #openstack-meeting-4 | 03:13 | |
*** VW_ has joined #openstack-meeting-4 | 03:21 | |
*** VW has quit IRC | 03:23 | |
*** harlowja has quit IRC | 03:24 | |
*** salv-orlando has joined #openstack-meeting-4 | 03:27 | |
*** salv-orlando has quit IRC | 03:31 | |
*** psachin` has joined #openstack-meeting-4 | 03:50 | |
*** psachin has quit IRC | 03:50 | |
*** saggi has quit IRC | 03:51 | |
*** saggi has joined #openstack-meeting-4 | 03:52 | |
*** diman has joined #openstack-meeting-4 | 03:56 | |
*** dave-mccowan has quit IRC | 03:56 | |
*** dave-mccowan has joined #openstack-meeting-4 | 03:58 | |
*** harlowja has joined #openstack-meeting-4 | 03:59 | |
*** diman has quit IRC | 04:00 | |
*** hongbin has quit IRC | 04:12 | |
*** dave-mcc_ has joined #openstack-meeting-4 | 04:16 | |
*** dave-mccowan has quit IRC | 04:16 | |
*** VW_ has quit IRC | 04:16 | |
*** janki has joined #openstack-meeting-4 | 04:17 | |
*** yamahata has joined #openstack-meeting-4 | 04:18 | |
*** caoyuan has quit IRC | 04:24 | |
*** dklyle has quit IRC | 04:26 | |
*** yboaron_ has joined #openstack-meeting-4 | 04:36 | |
*** chyka has joined #openstack-meeting-4 | 04:37 | |
*** chyka has quit IRC | 04:41 | |
*** dave-mcc_ has quit IRC | 04:46 | |
*** cjloader has quit IRC | 04:47 | |
*** cjloader has joined #openstack-meeting-4 | 04:56 | |
*** diman has joined #openstack-meeting-4 | 04:59 | |
*** diman has quit IRC | 05:03 | |
*** zhurong has quit IRC | 05:04 | |
*** salv-orlando has joined #openstack-meeting-4 | 05:08 | |
*** anilvenkata has joined #openstack-meeting-4 | 05:18 | |
*** cjloader has quit IRC | 05:27 | |
*** caoyuan has joined #openstack-meeting-4 | 05:27 | |
*** belmoreira has joined #openstack-meeting-4 | 05:30 | |
*** iyamahat has joined #openstack-meeting-4 | 05:38 | |
*** zhurong has joined #openstack-meeting-4 | 05:47 | |
*** caoyuan has quit IRC | 05:49 | |
*** iyamahat has quit IRC | 06:00 | |
*** yboaron has joined #openstack-meeting-4 | 06:05 | |
*** harlowja has quit IRC | 06:06 | |
*** yboaron_ has quit IRC | 06:06 | |
*** shaohe_feng has joined #openstack-meeting-4 | 06:07 | |
*** cjloader has joined #openstack-meeting-4 | 06:14 | |
*** gcheresh has joined #openstack-meeting-4 | 06:14 | |
*** cjloader has quit IRC | 06:18 | |
*** yamahata has quit IRC | 06:18 | |
*** trozet has quit IRC | 06:27 | |
*** trozet_ has joined #openstack-meeting-4 | 06:28 | |
*** d0ugal_ has joined #openstack-meeting-4 | 06:39 | |
*** d0ugal has quit IRC | 06:42 | |
*** diman has joined #openstack-meeting-4 | 06:50 | |
*** diman has quit IRC | 06:54 | |
*** salv-orlando has quit IRC | 06:58 | |
*** salv-orlando has joined #openstack-meeting-4 | 06:59 | |
*** yboaron has quit IRC | 07:05 | |
*** yboaron_ has joined #openstack-meeting-4 | 07:05 | |
*** links has quit IRC | 07:05 | |
*** links has joined #openstack-meeting-4 | 07:06 | |
*** salv-orlando has quit IRC | 07:20 | |
*** salv-orlando has joined #openstack-meeting-4 | 07:20 | |
*** yamamoto has quit IRC | 07:22 | |
*** yamamoto has joined #openstack-meeting-4 | 07:23 | |
*** salv-orlando has quit IRC | 07:24 | |
*** alexchadin has joined #openstack-meeting-4 | 07:31 | |
*** yamamoto_ has joined #openstack-meeting-4 | 07:32 | |
*** yamamoto has quit IRC | 07:34 | |
*** paken has joined #openstack-meeting-4 | 07:39 | |
*** ktibi has joined #openstack-meeting-4 | 07:50 | |
*** diman has joined #openstack-meeting-4 | 07:53 | |
*** salv-orlando has joined #openstack-meeting-4 | 07:56 | |
*** diman has quit IRC | 07:58 | |
*** janki has quit IRC | 08:02 | |
*** trinaths has joined #openstack-meeting-4 | 08:09 | |
*** chyka has joined #openstack-meeting-4 | 08:12 | |
*** chyka has quit IRC | 08:17 | |
*** paken_ has joined #openstack-meeting-4 | 08:17 | |
*** paken has quit IRC | 08:19 | |
*** paken_ is now known as paken | 08:19 | |
*** diman has joined #openstack-meeting-4 | 08:26 | |
*** diman has quit IRC | 08:30 | |
*** diman has joined #openstack-meeting-4 | 08:32 | |
*** diman has quit IRC | 08:37 | |
*** paken_ has joined #openstack-meeting-4 | 08:49 | |
*** paken has quit IRC | 08:52 | |
*** paken_ is now known as paken | 08:52 | |
*** zhurong has quit IRC | 09:00 | |
*** cjloader has joined #openstack-meeting-4 | 09:06 | |
*** gkadam has joined #openstack-meeting-4 | 09:09 | |
*** gkadam_ has joined #openstack-meeting-4 | 09:10 | |
*** cjloader has quit IRC | 09:11 | |
*** paken has quit IRC | 09:12 | |
*** gkadam has quit IRC | 09:13 | |
*** paken has joined #openstack-meeting-4 | 09:13 | |
*** yifei1 has quit IRC | 09:32 | |
*** tuanla____ has joined #openstack-meeting-4 | 09:35 | |
*** trinaths has quit IRC | 09:49 | |
*** cjloader has joined #openstack-meeting-4 | 10:06 | |
*** cjloader has quit IRC | 10:11 | |
*** janki has joined #openstack-meeting-4 | 10:11 | |
*** alexchadin has quit IRC | 10:22 | |
*** qwebirc86124 has joined #openstack-meeting-4 | 10:25 | |
*** qwebirc86124 has quit IRC | 10:26 | |
*** alexchadin has joined #openstack-meeting-4 | 10:27 | |
*** alexchadin has quit IRC | 10:36 | |
*** caoyuan has joined #openstack-meeting-4 | 10:36 | |
*** caoyuan_ has joined #openstack-meeting-4 | 10:38 | |
*** caoyuan has quit IRC | 10:38 | |
*** pbourke has quit IRC | 10:45 | |
*** pbourke has joined #openstack-meeting-4 | 10:45 | |
*** trinaths has joined #openstack-meeting-4 | 10:49 | |
*** caoyuan_ has quit IRC | 10:55 | |
*** sambetts|afk is now known as sambetts | 10:58 | |
*** alexchadin has joined #openstack-meeting-4 | 10:58 | |
*** yamamoto has joined #openstack-meeting-4 | 11:01 | |
*** alexchadin has quit IRC | 11:03 | |
*** yamamoto_ has quit IRC | 11:05 | |
*** joedborg has quit IRC | 11:05 | |
*** paken has quit IRC | 11:08 | |
*** alexchadin has joined #openstack-meeting-4 | 11:10 | |
*** seajay has joined #openstack-meeting-4 | 11:11 | |
*** numans has quit IRC | 11:15 | |
*** numans has joined #openstack-meeting-4 | 11:18 | |
*** tuanla____ has quit IRC | 11:30 | |
*** chyka has joined #openstack-meeting-4 | 11:34 | |
*** belmoreira has quit IRC | 11:37 | |
*** chyka has quit IRC | 11:39 | |
*** belmoreira has joined #openstack-meeting-4 | 11:41 | |
*** gkadam_ has quit IRC | 11:46 | |
*** gkadam_ has joined #openstack-meeting-4 | 11:47 | |
*** aniketh has joined #openstack-meeting-4 | 11:48 | |
*** links has quit IRC | 11:49 | |
*** links has joined #openstack-meeting-4 | 11:54 | |
*** trinaths has quit IRC | 11:57 | |
*** alexchadin has quit IRC | 12:35 | |
*** alexchadin has joined #openstack-meeting-4 | 12:35 | |
*** alexchadin has quit IRC | 12:36 | |
*** alexchadin has joined #openstack-meeting-4 | 12:36 | |
*** alexchadin has quit IRC | 12:36 | |
*** alexchadin has joined #openstack-meeting-4 | 12:37 | |
*** alexchadin has quit IRC | 12:37 | |
*** alexchadin has joined #openstack-meeting-4 | 12:38 | |
*** alexchadin has quit IRC | 12:38 | |
*** alexchadin has joined #openstack-meeting-4 | 12:39 | |
*** alexchadin has quit IRC | 12:39 | |
*** alexchadin has joined #openstack-meeting-4 | 12:39 | |
*** alexchadin has quit IRC | 12:43 | |
*** alexchadin has joined #openstack-meeting-4 | 12:50 | |
*** alexchadin has quit IRC | 12:54 | |
*** lyan has joined #openstack-meeting-4 | 12:55 | |
*** lyan is now known as Guest84540 | 12:56 | |
*** anilvenkata has quit IRC | 12:58 | |
*** rosmaita has joined #openstack-meeting-4 | 12:59 | |
*** McClymontS has joined #openstack-meeting-4 | 13:07 | |
*** alexchadin has joined #openstack-meeting-4 | 13:10 | |
*** belmoreira has quit IRC | 13:13 | |
*** alexchadin has quit IRC | 13:14 | |
*** salv-orlando has quit IRC | 13:18 | |
*** salv-orlando has joined #openstack-meeting-4 | 13:18 | |
*** bobh has joined #openstack-meeting-4 | 13:19 | |
*** salv-orlando has quit IRC | 13:23 | |
*** alexchadin has joined #openstack-meeting-4 | 13:24 | |
*** VW has joined #openstack-meeting-4 | 13:31 | |
*** belmoreira has joined #openstack-meeting-4 | 13:35 | |
*** psachin` has quit IRC | 13:38 | |
*** alexchadin has quit IRC | 13:41 | |
*** alexchadin has joined #openstack-meeting-4 | 13:42 | |
*** smcginnis has joined #openstack-meeting-4 | 13:45 | |
*** salv-orlando has joined #openstack-meeting-4 | 13:48 | |
*** hongbin has joined #openstack-meeting-4 | 13:49 | |
*** qwebirc69789 has joined #openstack-meeting-4 | 13:53 | |
*** McClymontS has quit IRC | 13:54 | |
jokke_ | Courtesy meeting reminder on #openstack-meeting-4: flwang1, jokke_, mclaren, mfedosin, nikhil_k, rosmaita,GB21, bpoulos, harshs, abhishekk, dshakhray, wxy, dhellmann, kairat, alex_bash, smcginnis, arcolife,Brin,Roamer` | 14:00 |
---|---|---|
smcginnis | o/ | 14:00 |
*** abhishekk has joined #openstack-meeting-4 | 14:00 | |
*** McClymontS has joined #openstack-meeting-4 | 14:00 | |
jokke_ | #startmeeting glance | 14:00 |
openstack | Meeting started Thu Mar 29 14:00:32 2018 UTC and is due to finish in 60 minutes. The chair is jokke_. Information about MeetBot at http://wiki.debian.org/MeetBot. | 14:00 |
openstack | Useful Commands: #action #agreed #help #info #idea #link #topic #startvote. | 14:00 |
*** openstack changes topic to " (Meeting topic: glance)" | 14:00 | |
openstack | The meeting name has been set to 'glance' | 14:00 |
jokke_ | #topic roll call | 14:00 |
*** openstack changes topic to "roll call (Meeting topic: glance)" | 14:00 | |
abhishekk | o/ | 14:00 |
jokke_ | o/ | 14:00 |
rosmaita | o/ | 14:00 |
rosmaita | smcginnis too | 14:00 |
jokke_ | #link https://etherpad.openstack.org/p/glance-team-meeting-agenda | 14:01 |
smcginnis | o/ o/ :) | 14:01 |
rosmaita | \o | 14:01 |
McClymontS | o/ | 14:01 |
*** gcheresh has quit IRC | 14:02 | |
jokke_ | #topic updates | 14:02 |
*** openstack changes topic to "updates (Meeting topic: glance)" | 14:02 | |
*** dave-mccowan has joined #openstack-meeting-4 | 14:03 | |
jokke_ | so pretty muc one update ... trying to find the mail | 14:03 |
jokke_ | but in nutshell we're moving from maintaining the minimum requirements centrally to in-repo requirement management | 14:04 |
jokke_ | and there will be similar lower-constrains job as there is upper constrains | 14:05 |
rosmaita | http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html | 14:05 |
McClymontS | Saw that patch to be reviewed | 14:05 |
McClymontS | for the lower constraints | 14:05 |
rosmaita | https://review.openstack.org/#/c/555483/ | 14:05 |
jokke_ | dhellmann did script the needed changes, so I'd like everyone to get familiar with how it affects us, and what pitfall we need to look out for | 14:06 |
jokke_ | rosmaita: thanks | 14:06 |
rosmaita | np | 14:06 |
jokke_ | #link http://lists.openstack.org/pipermail/openstack-dev/2018-March/128352.html | 14:07 |
rosmaita | that's a fairly long email! | 14:07 |
jokke_ | other update is that we still haven't got the glanceclient released so lets hop into topic 2 | 14:07 |
jokke_ | #topic python-glanceclient image-import default behavior | 14:08 |
*** openstack changes topic to "python-glanceclient image-import default behavior (Meeting topic: glance)" | 14:08 | |
jokke_ | rosmaita: you wanna start on this? | 14:08 |
rosmaita | sure | 14:08 |
rosmaita | #link https://review.openstack.org/#/c/555550/ | 14:08 |
*** bhagyashris has joined #openstack-meeting-4 | 14:08 | |
rosmaita | ok, so i was testing out glanceclient and came across some situations | 14:09 |
rosmaita | decided to handle them by doing more analysis on the client side to see if a request was likely to succeed before making it | 14:09 |
rosmaita | because the problem is that you can have client-side import succes, that is the import call succeeds | 14:09 |
rosmaita | but hte actual import fails later when the task is processed | 14:09 |
rosmaita | and that can be problematic | 14:10 |
rosmaita | anyway | 14:10 |
rosmaita | as part of that, i changed the default import-method to none, and in that case all the image-create-via-import does is create an image record | 14:10 |
rosmaita | or exits if you have included extra junk | 14:10 |
rosmaita | so, the question is whether that is a good change | 14:11 |
*** annp has joined #openstack-meeting-4 | 14:11 | |
rosmaita | my reasoning is that we have >1 import method, so the user should pick | 14:11 |
rosmaita | but, that is backward incompatable with the current image-create command | 14:11 |
rosmaita | assuming that we will eventually replace image-create with image-create-via-import | 14:12 |
rosmaita | but, it might be worth doing anyway | 14:12 |
rosmaita | anyway, that's the basic idea | 14:12 |
rosmaita | i personally can go either way, key thing is that we've got tests to make sure the input makes sense | 14:12 |
rosmaita | but obviously, i think making the user say what import-method they are using is a good idea | 14:13 |
rosmaita | since that's what my patch does | 14:13 |
* rosmaita shuts up | 14:13 | |
jokke_ | so, I'm hugely afraid about the outcry if we replace the image create client call with something that is not backwards compatible ... on the same time as image-create-via-import is experimental, we can experiment with it, not rename it but rewrite the image-create with sensible defaults when the time comes to swap | 14:13 |
jokke_ | that is our benefit of flagging it experimental in first place, and big thanks to rosmaita pointing out that we should not lift that flag just yet | 14:15 |
*** jlvillal has quit IRC | 14:15 | |
rosmaita | i guess the point of a decision now is that the openstack client people or sdk people may look at our implementation as a reference | 14:15 |
*** yboaron_ has quit IRC | 14:16 | |
rosmaita | or maybe that's the point of having a non-backward-compat change in the experimental command | 14:16 |
McClymontS | +1 | 14:16 |
rosmaita | i guess my point is that i don't like silent defaults with complex choices | 14:17 |
rosmaita | "explicit is better than implicit" | 14:17 |
rosmaita | i heard that somewhere | 14:17 |
jokke_ | rosmaita: yeah, so it's flagged experimental so we can get it running, test it and gather feedback. Once we make what ever the call is how it's behaving and remove that experimental flag, we need to start to be really careful what we break | 14:17 |
rosmaita | jokke_ agree 100% | 14:18 |
rosmaita | my short-term question is do we like the current patch, or do i need to rewrite it? | 14:18 |
jokke_ | so I'm on favor of having sensible defaults or at least ability to set them | 14:22 |
rosmaita | just a reminder: stable-maint team reviews release requests on mondays and we plan to release from stable/queens | 14:22 |
jokke_ | and this coming Monday is easter so I quess we need to poke tonyb anyways | 14:23 |
rosmaita | does RH have monday off? | 14:23 |
jokke_ | I have both tomorrow and Monday off | 14:23 |
rosmaita | slackers! | 14:23 |
abhishekk | I have tomorrow off | 14:24 |
rosmaita | i would suggest that a sensible default would do minimal damage, so in this instance, creating an image record only is a good choice | 14:24 |
rosmaita | but that's just me | 14:25 |
jokke_ | well we can still do that if the payload is not provided | 14:25 |
jokke_ | but sensible default would be something that maintains backwards compatibility to established command | 14:25 |
jokke_ | that's why it's there in the first place ;) | 14:26 |
rosmaita | i guess my concern there is if we have multiple methods that take --file, that's a problem | 14:26 |
rosmaita | maybe --uri is a better example | 14:26 |
*** links has quit IRC | 14:26 | |
rosmaita | already a proposal for another method for that | 14:26 |
jokke_ | yeah, and the default that is in place is backwards compatible and should not accept --uri | 14:27 |
jokke_ | but like said, I'd be fine giving the user opportunity to set the default locally as well | 14:27 |
rosmaita | well, let's take a vote or something ... i can make the changes right away and update all the tests if necessary ... looks like it needs to be done in the next few hours if we're going to propose a release for monday | 14:27 |
jokke_ | having env variable for it, just like we have been doing with the api version | 14:28 |
rosmaita | that's a good idea | 14:29 |
McClymontS | I like that idea actually | 14:29 |
rosmaita | and you mentioned it before but i ignored it | 14:29 |
jokke_ | #startvote image-create-via-import should have sensible defaults? Yes, No, users-choise | 14:29 |
openstack | Begin voting on: image-create-via-import should have sensible defaults? Valid vote options are Yes, No, users-choise. | 14:29 |
openstack | Vote using '#vote OPTION'. Only your last vote counts. | 14:29 |
*** VW has quit IRC | 14:30 | |
jokke_ | crap | 14:30 |
rosmaita | ummm ... we need to say what "sensible defaults" are! | 14:30 |
jokke_ | #endvote | 14:30 |
openstack | Voted on "image-create-via-import should have sensible defaults?" Results are | 14:30 |
jokke_ | #startvote image-create-via-import should have sensible defaults? Yes, No, users-choice | 14:30 |
openstack | Begin voting on: image-create-via-import should have sensible defaults? Valid vote options are Yes, No, users-choice. | 14:30 |
openstack | Vote using '#vote OPTION'. Only your last vote counts. | 14:30 |
smcginnis | #vote Yes | 14:30 |
McClymontS | #vote Yes | 14:31 |
jokke_ | rosmaita: something that does not break the world and get similar which hunt on us as the 1.0.0 release did :P | 14:31 |
abhishekk | #vote Yes | 14:31 |
jokke_ | #vote users-choice | 14:31 |
rosmaita | #vote users-choice | 14:31 |
jokke_ | ok, do we have anyone else here who has opinion? | 14:32 |
smcginnis | User choice would be the environment variable right? The only thing I don't like about that is it's kind of a hidden thing that someone would need to go out and learn about. | 14:33 |
rosmaita | yes, we would have to publicise it | 14:34 |
jokke_ | smcginnis: yes, although I do not think it's a bad idea even if we keep the default in place to have that to obey | 14:34 |
rosmaita | would show up in the help, i think | 14:34 |
McClymontS | From a use case perspective I like sensible defaults | 14:34 |
rosmaita | yes, it's like apple pie | 14:35 |
McClymontS | Who doesn't like apple pie | 14:35 |
rosmaita | not sure what the cross-cultural equivalent of that is | 14:35 |
jokke_ | #endvote | 14:35 |
openstack | Voted on "image-create-via-import should have sensible defaults?" Results are | 14:35 |
openstack | users-choice (2): jokke_, rosmaita | 14:35 |
openstack | Yes (3): McClymontS, smcginnis, abhishekk | 14:35 |
smcginnis | If we can do user-choice, but have the no-env-variable-defined default be a reasonable one, then that's kind of the best of both voted options, right? | 14:35 |
rosmaita | smcginnis i think so | 14:35 |
smcginnis | User choice with reasonable default. | 14:35 |
smcginnis | I'm good with that then. | 14:35 |
jokke_ | rosmaita: you've seen movie American Pie, right? :D | 14:35 |
McClymontS | yeah I think that meets in the middle | 14:35 |
abhishekk | :D | 14:36 |
rosmaita | ok, so can someone summarize what we agreed on? is the "sensible default" == glance-direct or None? | 14:36 |
*** qwebirc29700 has joined #openstack-meeting-4 | 14:36 | |
jokke_ | glance-direct would be the sensible backwards compatible default | 14:37 |
abhishekk | I guess sensible default | 14:37 |
rosmaita | ok, so i will put up a patch with glance-direct default and that recognizes the env var and revise the tests accordingly | 14:38 |
jokke_ | unless you want to implement the magic into the client to detect what the user wants to do when they don't specify the method but provide payload ;) | 14:38 |
*** cjloader has joined #openstack-meeting-4 | 14:38 | |
rosmaita | well, that's basically what we | 14:38 |
rosmaita | re doing | 14:38 |
rosmaita | but now there is no way to simply create an image record | 14:39 |
jokke_ | umm nope ... we are telling that _if_ you do image create and provide your image file, we will create the image all the way like we used to, and we have options for you to choose other methods ;) | 14:39 |
rosmaita | because glance-direct requires data | 14:40 |
rosmaita | so this is also backward incompatible | 14:40 |
jokke_ | rosmaita: yes there is, we just haven't implemented it in the current implementation. So we do fail if the payload is not there, while we should just create the record as we used to | 14:40 |
jokke_ | and yes, I was thinking of that when I looked the code and I have bug text pretty much written for it ;) | 14:41 |
rosmaita | i am liking this less and less | 14:41 |
jokke_ | ok so currently: | 14:42 |
rosmaita | so, the import-method will have to remain None | 14:42 |
rosmaita | but if you include --file or stdin we will know that you mean glance-direct and adjust | 14:42 |
jokke_ | 1) image create without payload - creates image that stay's in queued | 14:42 |
rosmaita | we have to do it in the function, because the config-parser sets the default value | 14:43 |
jokke_ | 2) image create with payload - creates image and uploads the payload == if everything goes fine active image | 14:43 |
*** zhubingb_ has joined #openstack-meeting-4 | 14:43 | |
jokke_ | with the import version where we should be: | 14:43 |
jokke_ | 1) image create without file - creates image that stays queues | 14:44 |
*** zhubingb_ has quit IRC | 14:44 | |
jokke_ | 2) image create with payload file or stdin - creates image, stages the payload, imports == if everything goes fine active image | 14:44 |
jokke_ | with import and any other method choosen: | 14:45 |
rosmaita | why don't we just drop the import-method altogether? | 14:45 |
jokke_ | 1) provide all the needed parameters for that method - creates image, does what is needed by the method, imports == if everything goes fine active imagew | 14:45 |
*** david-lyle has joined #openstack-meeting-4 | 14:45 | |
*** hamzy has quit IRC | 14:46 | |
McClymontS | I strongly dislike the image create to queued with no payload | 14:46 |
jokke_ | McClymontS: there is a lot of legimite usecases to create image before providing the data and I'm not gonna let anyone break image-create around that | 14:47 |
McClymontS | Understood, I understand why it was built out | 14:48 |
McClymontS | Is it rate limited on default? | 14:48 |
McClymontS | I'm not even sure | 14:48 |
rosmaita | ok, so in the code, how do i distinguish between wanting to create an image record, and glance-direct where someone forgot the --file or stdin redirect? | 14:49 |
rosmaita | McClymontS glance does not do rate limiting, that has to be done externally | 14:49 |
jokke_ | McClymontS: I hear what you say and I'm inclined to say that image-create should have never had the option to "magically" detect what the user might want, but I did not have a say to that decision | 14:49 |
McClymontS | Cool thanks for the context, rosmaita I'm not sure tbh | 14:50 |
jokke_ | I think the best case scenario (and where rosmaita seems to want to move) would have been to tell the user, "This workflow needs to you run these commands and provide them their respective imput" | 14:50 |
jokke_ | instead of "Dump everything to that first command and voodoo happens" | 14:50 |
rosmaita | you have detected my hidden agenda! | 14:50 |
jokke_ | rosmaita: and that hidden agenda is backwards incompatibe and I still remember there version 1.0.0 release way too well | 14:51 |
rosmaita | ok, so i still have my question above about how can i tell in the function | 14:51 |
rosmaita | what i mean is this: https://review.openstack.org/#/c/555550/2/glanceclient/v2/shell.py@105 | 14:52 |
rosmaita | line 105 | 14:52 |
rosmaita | if default='glance-direct', args.import_method will be == 'glance-direct' when control hits the function | 14:53 |
rosmaita | the problem is that this is a more complicated command than image-create was | 14:54 |
rosmaita | i mean, maybe the solution is just that we leave image-create as-is | 14:55 |
rosmaita | into the futurew | 14:55 |
jokke_ | rosmaita: so your worry is that there is no way to tell if user explicitely called it with method glance-direct and forgot to provide the payload? | 14:55 |
rosmaita | exactly | 14:55 |
rosmaita | we want to minimize support calls | 14:55 |
rosmaita | i am thinking that this needs to be its own call | 14:55 |
rosmaita | its own command, i mean | 14:56 |
smcginnis | 4 minutes | 14:56 |
rosmaita | yeah, sorry about the time | 14:56 |
jokke_ | ok, so I'm fone changing that defualt to None for that purpose and then we just need to specify that _if_ the method is not provided and payload is for backwards compatibility we default to glance-direct | 14:56 |
smcginnis | rosmaita: Meeting hog. :) | 14:57 |
jokke_ | :%s/fone/fine/ | 14:57 |
rosmaita | yeah, but the help text is going to be weird | 14:57 |
jokke_ | and the we need to do that detection in the code, which is very trivial | 14:57 |
jokke_ | I know | 14:57 |
jokke_ | but it's way less weird if you write it rather than me | 14:58 |
*** chyka has joined #openstack-meeting-4 | 14:58 | |
rosmaita | :) | 14:58 |
jokke_ | ok last 2min for open discussion | 14:58 |
jokke_ | #topic open discussion | 14:58 |
*** openstack changes topic to "open discussion (Meeting topic: glance)" | 14:58 | |
rosmaita | yeah, one last thing ... if this is a new call, there are no backward-compat worries | 14:58 |
rosmaita | and operators are still going to want to use direct upload | 14:58 |
rosmaita | so i really wonder about this being a 1-1 replacement for image-create command | 14:59 |
jokke_ | rosmaita: well it's not because we promised this as drop in replacement for users (IIRC the spec right) | 14:59 |
bhagyashris | jokke_: waiting for new upstream branch for policy refactor changes :) | 14:59 |
jokke_ | bhagyashris: it's created forgot it from updates | 14:59 |
rosmaita | i don't remember the spec saying anything about client support | 14:59 |
bhagyashris | jokke_: ohh ok no problem | 15:00 |
jokke_ | feature/policy-refactor | 15:00 |
jokke_ | thanks all! | 15:00 |
jokke_ | #endmeeting | 15:00 |
*** openstack changes topic to "OpenStack Meetings || https://wiki.openstack.org/wiki/Meetings/" | 15:00 | |
openstack | Meeting ended Thu Mar 29 15:00:28 2018 UTC. Information about MeetBot at http://wiki.debian.org/MeetBot . (v 0.1.4) | 15:00 |
McClymontS | Thank you | 15:00 |
openstack | Minutes: http://eavesdrop.openstack.org/meetings/glance/2018/glance.2018-03-29-14.00.html | 15:00 |
openstack | Minutes (text): http://eavesdrop.openstack.org/meetings/glance/2018/glance.2018-03-29-14.00.txt | 15:00 |
openstack | Log: http://eavesdrop.openstack.org/meetings/glance/2018/glance.2018-03-29-14.00.log.html | 15:00 |
jokke_ | we can continue the discussion in #os-glance | 15:00 |
smcginnis | Thanks all! | 15:00 |
*** chyka has quit IRC | 15:02 | |
*** McClymontS has quit IRC | 15:04 | |
*** abhishekk has quit IRC | 15:05 | |
*** caoyuan has joined #openstack-meeting-4 | 15:10 | |
*** annp has quit IRC | 15:11 | |
*** jlvillal has joined #openstack-meeting-4 | 15:12 | |
*** qwebirc69789 has quit IRC | 15:12 | |
*** qwebirc29700 has quit IRC | 15:14 | |
*** salv-orlando has quit IRC | 15:15 | |
*** salv-orlando has joined #openstack-meeting-4 | 15:16 | |
*** VW has joined #openstack-meeting-4 | 15:17 | |
*** VW_ has joined #openstack-meeting-4 | 15:17 | |
*** janki has quit IRC | 15:19 | |
*** VW_ has quit IRC | 15:20 | |
*** VW_ has joined #openstack-meeting-4 | 15:20 | |
*** salv-orlando has quit IRC | 15:20 | |
*** VW has quit IRC | 15:21 | |
*** hamzy has joined #openstack-meeting-4 | 15:22 | |
*** VW_ has quit IRC | 15:23 | |
*** imacdonn has quit IRC | 15:27 | |
*** imacdonn has joined #openstack-meeting-4 | 15:27 | |
*** alexchadin has quit IRC | 15:31 | |
*** chyka has joined #openstack-meeting-4 | 15:33 | |
*** cjloader has quit IRC | 15:52 | |
*** ktibi has quit IRC | 15:53 | |
*** ktibi has joined #openstack-meeting-4 | 15:53 | |
*** links has joined #openstack-meeting-4 | 15:54 | |
*** belmoreira has quit IRC | 16:02 | |
*** yamamoto has quit IRC | 16:04 | |
*** yamamoto has joined #openstack-meeting-4 | 16:07 | |
*** sambetts is now known as sambetts|afk | 16:09 | |
*** links has quit IRC | 16:22 | |
*** yamamoto has quit IRC | 16:24 | |
*** yamamoto has joined #openstack-meeting-4 | 16:29 | |
*** yamamoto has quit IRC | 16:34 | |
*** smcginnis has left #openstack-meeting-4 | 17:04 | |
*** anilvenkata has joined #openstack-meeting-4 | 17:05 | |
*** gkadam__ has joined #openstack-meeting-4 | 17:09 | |
*** gkadam has joined #openstack-meeting-4 | 17:11 | |
*** gkadam_ has quit IRC | 17:12 | |
*** david-lyle has quit IRC | 17:15 | |
*** gkadam__ has quit IRC | 17:15 | |
*** salv-orlando has joined #openstack-meeting-4 | 17:18 | |
*** trozet_ has quit IRC | 17:20 | |
*** salv-orlando has quit IRC | 17:22 | |
*** yamamoto has joined #openstack-meeting-4 | 17:30 | |
*** yamamoto has quit IRC | 17:37 | |
*** chyka_ has joined #openstack-meeting-4 | 17:41 | |
*** chyka has quit IRC | 17:43 | |
*** iyamahat has joined #openstack-meeting-4 | 17:57 | |
*** gkadam has quit IRC | 18:01 | |
*** harlowja has joined #openstack-meeting-4 | 18:01 | |
*** david-lyle has joined #openstack-meeting-4 | 18:05 | |
*** salv-orlando has joined #openstack-meeting-4 | 18:18 | |
*** salv-orlando has quit IRC | 18:23 | |
*** rmcall has joined #openstack-meeting-4 | 18:32 | |
*** iyamahat has quit IRC | 18:33 | |
*** yamamoto has joined #openstack-meeting-4 | 18:33 | |
*** yamamoto has quit IRC | 18:38 | |
*** rosmaita has left #openstack-meeting-4 | 18:51 | |
*** salv-orlando has joined #openstack-meeting-4 | 19:03 | |
*** gcheresh has joined #openstack-meeting-4 | 19:04 | |
*** diman has joined #openstack-meeting-4 | 19:09 | |
*** diman has quit IRC | 19:14 | |
*** gcheresh has quit IRC | 19:30 | |
*** salv-orlando has quit IRC | 19:34 | |
*** salv-orlando has joined #openstack-meeting-4 | 19:35 | |
*** yamamoto has joined #openstack-meeting-4 | 19:35 | |
*** salv-orlando has quit IRC | 19:39 | |
*** yamamoto has quit IRC | 19:40 | |
*** salv-orlando has joined #openstack-meeting-4 | 19:43 | |
*** yamamoto has joined #openstack-meeting-4 | 20:37 | |
*** paken has joined #openstack-meeting-4 | 20:37 | |
*** seajay has quit IRC | 20:39 | |
*** yamamoto has quit IRC | 20:42 | |
*** ktibi has quit IRC | 20:45 | |
*** VW has joined #openstack-meeting-4 | 20:46 | |
*** hamzy has quit IRC | 20:50 | |
*** VW has quit IRC | 20:54 | |
*** caoyuan_ has joined #openstack-meeting-4 | 21:01 | |
*** caoyuan has quit IRC | 21:01 | |
*** Guest84540 has quit IRC | 21:07 | |
*** rmcall has quit IRC | 21:12 | |
*** iyamahat has joined #openstack-meeting-4 | 21:12 | |
*** caoyuan has joined #openstack-meeting-4 | 21:32 | |
*** caoyuan_ has quit IRC | 21:32 | |
*** iyamahat has quit IRC | 21:32 | |
*** aniketh has quit IRC | 21:34 | |
*** yamamoto has joined #openstack-meeting-4 | 21:38 | |
*** paken has quit IRC | 21:39 | |
*** yamahata has joined #openstack-meeting-4 | 21:39 | |
*** yamamoto has quit IRC | 21:44 | |
*** bobh has quit IRC | 22:11 | |
*** bobh has joined #openstack-meeting-4 | 22:14 | |
*** salv-orlando has quit IRC | 22:15 | |
*** salv-orlando has joined #openstack-meeting-4 | 22:15 | |
*** salv-orlando has quit IRC | 22:19 | |
*** bobh has quit IRC | 22:20 | |
*** hongbin has quit IRC | 22:34 | |
*** yamahata has quit IRC | 22:35 | |
*** yamamoto has joined #openstack-meeting-4 | 22:40 | |
*** yamamoto has quit IRC | 22:45 | |
*** chyka has joined #openstack-meeting-4 | 22:45 | |
*** chyka_ has quit IRC | 22:48 | |
*** zhubingb_ has joined #openstack-meeting-4 | 22:50 | |
*** zhubingb_ has quit IRC | 22:54 | |
*** anilvenkata has quit IRC | 23:02 | |
*** chyka_ has joined #openstack-meeting-4 | 23:19 | |
*** chyka has quit IRC | 23:23 | |
*** chyka_ has quit IRC | 23:23 | |
*** iyamahat has joined #openstack-meeting-4 | 23:32 | |
*** yamamoto has joined #openstack-meeting-4 | 23:41 | |
*** ediardo has joined #openstack-meeting-4 | 23:45 | |
*** iyamahat has quit IRC | 23:45 | |
*** bobh has joined #openstack-meeting-4 | 23:47 | |
*** yamamoto has quit IRC | 23:47 | |
*** iyamahat has joined #openstack-meeting-4 | 23:52 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!