Tuesday, 2017-10-31

openstackgerritEric Kao proposed openstack/congress master: Fix test mocking and disable ceilometer tempest test  https://review.openstack.org/51521200:10
*** AlexeyAbashkin has joined #congress00:29
*** AlexeyAbashkin has quit IRC00:33
openstackgerritOpenStack Proposal Bot proposed openstack/python-congressclient master: Updated from global requirements  https://review.openstack.org/50945100:51
openstackgerritOpenStack Proposal Bot proposed openstack/python-congressclient master: Updated from global requirements  https://review.openstack.org/50945100:58
*** AlexeyAbashkin has joined #congress01:29
*** AlexeyAbashkin has quit IRC01:33
*** ekcs has quit IRC02:03
*** catintheroof has joined #congress02:24
openstackgerritMerged openstack/congress master: Fix test mocking and disable ceilometer tempest test  https://review.openstack.org/51521202:31
*** catintheroof has quit IRC02:43
openstackgerritMerged openstack/python-congressclient master: Updated from global requirements  https://review.openstack.org/50945103:30
*** ramineni_ has joined #congress03:34
*** ekcs has joined #congress04:07
openstackgerritEric Kao proposed openstack/congress master: Add default configuration files to data_files  https://review.openstack.org/50905604:08
openstackgerritEric Kao proposed openstack/congress master: Fix rule in permitted image library policy  https://review.openstack.org/51485704:09
openstackgerritEric Kao proposed openstack/congress master: Add tags table to nova driver  https://review.openstack.org/50901804:09
*** ekcs has quit IRC04:22
openstackgerritAnusha Ramineni proposed openstack/congress-dashboard master: dashboard: View library policies  https://review.openstack.org/51248604:22
*** ramineni_1 has joined #congress04:25
*** ramineni_ has quit IRC04:28
*** ramineni_ has joined #congress04:55
*** ramineni_1 has quit IRC04:56
openstackgerritMerged openstack/congress master: Call base from_dict in RequestContext  https://review.openstack.org/51098105:16
openstackgerritMerged openstack/congress master: Replace the usage of some aliases in tempest  https://review.openstack.org/50933105:20
openstackgerritMerged openstack/congress master: omit openstackdocstheme for READTHEDOCS  https://review.openstack.org/51162105:20
*** ekcs has joined #congress05:22
*** ramineni_1 has joined #congress05:40
*** ramineni_ has quit IRC05:40
ramineni_1ekcs: hi05:42
*** masahito has joined #congress05:52
*** ramineni_1 has quit IRC05:59
*** ramineni_ has joined #congress06:05
ekcshi ramineni ramineni_106:07
ramineni_ekcs: have one question06:10
ekcsyup whats up?06:10
ramineni_https://github.com/openstack/congress/blob/master/congress/api/library_policy_model.py#L6806:10
ramineni_get_item should ideally retrieve by both id and name06:10
ramineni_is name unique in case of library policies06:11
ramineni_?06:11
ramineni_ekcs: ?06:13
ramineni_its needed from horizon actually , i want to update that function to retrieve from both id and name .. but would like to confirm with u first06:13
ramineni_is it ok if u update the same06:14
ramineni_if I update the same **06:16
ekcsgot it. can we use this method instead? the design was to use that one to retrieve by name. https://github.com/openstack/congress/blob/master/congress/api/library_policy_model.py#L3406:18
ramineni_ekcs: yes, but to make it consistent with policy /get_item it should be retrievable by name also if its unique?06:19
*** ramineni_1 has joined #congress06:23
*** ramineni_ has quit IRC06:25
ekcswhen we discussed it before I took the positon that we don’t want to necessarily commit ourselves to unique names. and then need to break API if we see a reason to change that. but we can certainly revisit that if needed.06:25
ramineni_1if its not unique , how get_policy_by_name works06:27
ramineni_1ekcs: ^^06:27
ramineni_1it will retrieve all policies with same name?06:28
ekcsget_policy_by_name would stop working, but get_policy_by_name is not public API so we can change that.06:28
ramineni_1it is publick through get_items06:28
ramineni_1and horizon uses it .. so it breaks dashboard06:28
ramineni_1if I use the same, it breaks06:29
ramineni_1?06:29
ekcsclarification, what get_policy_by_name are you talking about?06:30
ekcscongress/library_service/library_service.py ?06:30
ramineni_1yes06:30
ramineni_1so its not recommended to use  https://github.com/openstack/congress/blob/master/congress/api/library_policy_model.py#L34 , as it might break functionality in dashboard right06:32
ramineni_1as u suggested06:32
ekcsit’s not a public API, so we can change it. along with congress components that use it.06:33
ramineni_1ekcs: i dont understand , what do you mean by its not puclic API06:34
ekcsso if we make names non-unique, then we’d change get_policy_by_name, change the implementation of get_items, but keep the interface of get_items.06:34
ramineni_1if users use non-unique names , now it breaks right06:35
ramineni_1we are restrciting in any way?06:35
ramineni_1ok, got it , ill update accoridngly06:37
ekcshaha you do? i’m trying to think how to explain it. but tired haha06:37
ramineni_1ill change the horizon , so that it requires minimal changes when change happens06:37
ramineni_1ekcs: https://github.com/openstack/congress/blob/master/congress/db/db_library_policies.py#L3206:37
ramineni_1just saw this06:37
ekcsi’m actually surprised that horizon needs to retrieve by name.06:38
ramineni_1ekcs: u told to remove id06:38
ramineni_1so, thought ill retrieve by name , as thought it is unique as like policies06:38
ramineni_1but i think i better keep id06:39
ramineni_1but make it hidden, will be better idea06:39
ekcsi see what you mean. ideally we display name only but horizon remembers ID and retrieve by ID.06:39
ramineni_1so no issues, non-unique/uniue :)06:39
ekcsah right that’s what you just said.06:39
ekcsas long as it’s not too hard. if it’s too hard then we find different way.06:40
ramineni_1ekcs: great, thanks, it shouldnt be :)06:40
ekcsramineni_1: awesomeness.06:41
ekcsramineni_1: do you want me to explain more about “what i meant by public API” and how that is different from congress/library_service/library_service.py: get_policy_by_name ?06:41
ekcsI’m going to sleep soon but I can follow up in email. i want to be clear what i mean then you can understand and tell me where you agree and disagree.06:43
ramineni_1ekcs: no, i think should be fine , thanks .. i remeber lot of discussion happened on this before .. but dont remeber .. so pinged u . i think ill check back those if required06:44
ekcsbecause your opinion is important =)06:44
ramineni_1ekcs: will get back u .. if have any doubt06:44
ramineni_1:)06:44
ekcsok then =)06:44
ekcshave a good day! i’m going to sleep06:44
*** ekcs has quit IRC06:46
*** ramineni_1 has quit IRC06:52
*** ramineni_ has joined #congress07:12
openstackgerritMerged openstack/congress master: Add tags table to nova driver  https://review.openstack.org/50901807:25
openstackgerritMerged openstack/congress master: Add default configuration files to data_files  https://review.openstack.org/50905607:26
*** AlexeyAbashkin has joined #congress07:58
*** AlexeyAbashkin has quit IRC08:01
*** AlexeyAbashkin has joined #congress08:01
*** AlexeyAbashkin has quit IRC08:21
*** AlexeyAbashkin has joined #congress08:23
*** ramineni_ has quit IRC08:29
*** ramineni_ has joined #congress08:57
*** ramineni_1 has joined #congress09:01
*** ramineni_ has quit IRC09:03
openstackgerritAnusha Ramineni proposed openstack/congress-dashboard master: dashboard: View library policies  https://review.openstack.org/51248609:10
*** ramineni_1 has quit IRC10:01
*** ramineni_ has joined #congress10:03
*** masahito has quit IRC10:12
openstackgerritAnusha Ramineni proposed openstack/congress-dashboard master: WIP: List rules for library policies  https://review.openstack.org/51663111:50
*** ramineni_1 has joined #congress12:03
*** ramineni_ has quit IRC12:06
*** catintheroof has joined #congress12:31
*** catintheroof has quit IRC12:32
*** catintheroof has joined #congress12:32
*** Dinesh_Bhor has quit IRC12:47
*** zhurong has joined #congress12:50
*** AlexeyAbashkin has quit IRC13:10
*** AlexeyAbashkin has joined #congress13:11
*** zhurong has quit IRC13:42
*** ramineni_1 has quit IRC13:53
*** catintheroof has quit IRC14:12
*** catintheroof has joined #congress14:14
*** catintheroof has quit IRC14:30
*** catintheroof has joined #congress14:35
*** AlexeyAbashkin has quit IRC15:23
*** AlexeyAbashkin has joined #congress15:23
*** catintheroof has quit IRC15:34
*** catintheroof has joined #congress15:40
*** catintheroof has quit IRC15:42
*** AlexeyAbashkin has quit IRC15:48
*** catintheroof has joined #congress16:40
*** catintheroof has quit IRC16:45
*** ekcs has joined #congress16:52
*** ramineni has quit IRC17:03
*** ramineni has joined #congress17:04
*** catintheroof has joined #congress17:12
*** ekcs has quit IRC17:19
*** AlexeyAbashkin has joined #congress17:20
*** AlexeyAbashkin has quit IRC17:24
*** AlexeyAbashkin has joined #congress18:29
*** AlexeyAbashkin has quit IRC18:33
*** ekcs has joined #congress18:38
openstackgerritEric Kao proposed openstack/congress master: Use oslo.context from_dict unmodified  https://review.openstack.org/51352118:50
openstackgerritEric Kao proposed openstack/congress master: Fix rule in permitted image library policy  https://review.openstack.org/51485719:00
*** catintheroof has quit IRC19:14
*** ekcs has quit IRC19:17
*** ekcs has joined #congress19:41
*** catintheroof has joined #congress19:55
*** AlexeyAbashkin has joined #congress20:27
*** AlexeyAbashkin has quit IRC20:31
*** catintheroof has quit IRC21:09
*** AlexeyAbashkin has joined #congress21:27
*** AlexeyAbashkin has quit IRC21:31

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