Earlier  
Posted Nick Remark
#openstack-sdks - 2017-10-22
14:36:56 dtroyer the old script just runs tox, but the log collection looks for stestr
14:37:04 mordred youshould be able to still use it outside of CI - I'm not sure there is a great way (at least not off the top of my head) to source a file with env vars in it and then use those to set the env for the tox call
14:37:30 dtroyer that's what I was looking for, good to know I didn't miss something obvious
14:37:35 mordred yah - I'm pretty certain ostestr runs stestr ... I'm not sure what ostestr does on top
14:37:58 dtroyer not much any more, I seem to recall that the long-term is to switch
14:38:21 dtroyer but on a Sunday I'm happy with this
14:39:03 mordred yah - it's good enough for jetlag on a sunday for me :)
14:39:26 dtroyer I'll have car-lag in a few hours :)
14:40:41 mordred piddle. it failed...
14:41:03 mordred oh - I thnk I left off an envdir ...
14:41:35 openstackgerrit Monty Taylor proposed openstack/python-openstackclient master: Add wrapper around ostestr https://review.openstack.org/514069
14:41:42 mordred THAT will work I swear
14:41:46 mordred unless it doesn't
14:42:12 dtroyer I'm about to try it locally
#openstack-sdks - 2017-10-23
13:33:33 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Add wrapper around ostestr https://review.openstack.org/514069
13:37:10 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Add wrapper around ostestr https://review.openstack.org/514069
13:37:11 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack job base (DNM) https://review.openstack.org/513531
17:44:52 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack job base (DNM) https://review.openstack.org/513531
19:26:34 openstackgerrit Merged openstack/python-openstackclient master: Add wrapper around ostestr https://review.openstack.org/514069
22:28:27 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
#openstack-sdks - 2017-10-24
14:48:41 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
16:36:34 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
19:34:44 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
21:11:10 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
21:40:32 openstackgerrit Dean Troyer proposed openstack/os-client-config master: Consume the osc-functional-devstack-tips job https://review.openstack.org/514847
22:40:19 openstackgerrit Dean Troyer proposed openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
#openstack-sdks - 2017-10-25
01:32:52 openstackgerrit zhichao zhu proposed openstack/python-openstacksdk master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/514878
01:34:44 openstackgerrit Kien Nguyen proposed openstack/cliff master: Fix PEP8 in gate https://review.openstack.org/514880
01:59:48 openstackgerrit zhichao zhu proposed openstack/python-openstacksdk master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/514884
02:06:49 openstackgerrit zhichao zhu proposed openstack/python-openstacksdk master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/514886
02:19:08 openstackgerrit Kien Nguyen proposed openstack/cliff master: Fix PEP8 in gate https://review.openstack.org/514880
02:24:09 openstackgerrit zhichao zhu proposed openstack/python-openstacksdk master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/514886
07:45:07 frickler looks like the legacy-sdk-dsvm-* jobs are broken, does it seems useful to try and fix them or rather replace with native jobs directly?
10:22:53 openstackgerrit Akihiro Motoki proposed openstack/cliff master: Use in-tree cliffdemo app for docs build https://review.openstack.org/515016
11:35:32 openstackgerrit Merged openstack/cliff master: Fix PEP8 in gate https://review.openstack.org/514880
13:47:50 openstackgerrit Dean Troyer proposed openstack/os-client-config master: Consume the osc-functional-devstack-tips job https://review.openstack.org/514847
16:34:18 openstackgerrit Merged openstack/python-openstackclient master: Native DevStack jobs https://review.openstack.org/513531
17:10:10 openstackgerrit Merged openstack/cliff master: Update .gitignore https://review.openstack.org/477396
17:29:08 openstackgerrit Monty Taylor proposed openstack/os-client-config master: Add shade-functional-tips jobs https://review.openstack.org/514067
19:29:52 openstackgerrit Merged openstack/cliff master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/484644
21:00:33 openstackgerrit Merged openstack/osc-lib master: Migrade legacy jobs into the repo https://review.openstack.org/513541
#openstack-sdks - 2017-10-26
06:57:59 openstackgerrit Akihiro Motoki proposed openstack/cliff master: sphinxext: Support cliff application https://review.openstack.org/483147
09:34:05 openstackgerrit Stephen Finucane proposed openstack/python-openstackclient master: Convert 'server' commands to use autoprogram https://review.openstack.org/458452
09:57:57 openstackgerrit Slawek Kaplonski proposed openstack/python-openstackclient master: Add getting of QoS rule type details https://review.openstack.org/501868
10:43:31 openstackgerrit Akihiro Motoki proposed openstack/cliff master: sphinxext: Support cliff application https://review.openstack.org/483147
12:50:50 openstackgerrit Stephen Finucane proposed openstack/cliff master: sphinxext: Warn if namespace or command pattern invalid https://review.openstack.org/510913
13:05:06 openstackgerrit Slawek Kaplonski proposed openstack/python-openstackclient master: Add support for get details of Quota https://review.openstack.org/515401
13:11:46 cdent thanks dtantsur
13:15:40 dtantsur np :)
15:34:04 openstackgerrit Hongbin Lu proposed openstack/python-openstackclient master: Added AddNetwork command to server https://review.openstack.org/509209
15:36:49 openstackgerrit Hongbin Lu proposed openstack/python-openstackclient master: [WIP] Add RemoveNetwork command to server https://review.openstack.org/515453
16:24:38 cdent edleafe, dtantsur : https://etherpad.openstack.org/p/api-sig-newsletter
16:25:30 edleafe cdent: metaphors are appropriately mixed.
16:25:54 cdent that needed ; so fixed that
16:26:15 cdent edleafe: good to go?
16:26:21 dtantsur cdent: LGTM
16:26:22 edleafe yes
16:26:26 cdent word
16:26:52 cdent i’m going to send it to the sig list too, cool?
16:27:58 cdent dtantsur, edleafe ^
16:28:07 dtantsur yep
16:28:19 edleafe sure, I don't think it will get lost in all the traffic :)
16:28:32 cdent quite
19:32:05 openstackgerrit Dean Troyer proposed openstack/osc-lib master: Consume the devstack functional jobs from OSC https://review.openstack.org/515503
21:01:37 openstackgerrit Merged openstack/os-client-config master: Consume the osc-functional-devstack-tips job https://review.openstack.org/514847
22:09:11 openstackgerrit Merged openstack/python-openstackclient master: Convert 'server' commands to use autoprogram https://review.openstack.org/458452
#openstack-sdks - 2017-10-27
07:30:22 ldl hi, friends, how are you.
07:34:27 openstackgerrit Jose Castro Leon proposed openstack/python-openstackclient master: Add missing parameters on openstack server rescue https://review.openstack.org/513393
07:46:53 ldl Hi, friends, may I ask a question?
07:46:54 ldl https://stackoverflow.com/questions/46969598/whether-the-password-stores-in-the-keystones-password-table-and-if-is-how-doe
07:48:37 ldl Does the openstacksdk register a user, when we register user, does we should use a encrypt password?
07:48:49 ldl or use the orign password?
08:22:14 ldl Sovled it by myself. thanks
08:29:39 openstackgerrit zhichao zhu proposed openstack/python-openstacksdk master: Use assertIsNone(...) instead of assertIs(None,...) https://review.openstack.org/514884
09:45:35 ldl ask a question:
09:45:38 ldl def validate_user_has_role(self, session, user, role):
09:45:39 ldl resp = session.head(url, endpoint_filter=self.service)
09:45:39 ldl user.id, 'roles', role.id)
09:45:39 ldl url = utils.urljoin(self.base_path, self.id, 'users',
09:45:39 ldl """Validates that a user has a role on a project"""
09:45:40 ldl return False
09:45:40 ldl return True
09:45:40 ldl if resp.status_code == 201:
09:46:01 ldl in openstacksdk, the session is not request.session. alright?
09:54:17 ldl Hi friends, who can help me with this?
09:54:18 ldl https://ask.openstack.org/en/question/110877/whats-the-session-in-def-validate_user_has_roleself-session-user-role-in-openstacksdk/
10:18:20 umbSublime ldl, I think it should be yes, the Session object in openstacksdk inherits from keystoneauth Session object which does have a head method. https://github.com/openstack/python-openstacksdk/blob/master/openstack/session.py https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/session.py
10:19:13 ldl thanks
10:21:07 ldl you mean, I should create a openstacksdk session instance, then pass into the method?
10:22:08 umbSublime no, the Connection object has a session atribute which is a Session object, so passing connection.session should be fine IMO https://github.com/openstack/python-openstacksdk/blob/master/openstack/connection.py#L172
10:24:14 ldl :umbSublime thank you very much.
10:33:24 umbSublime np
10:35:55 ldl i don'w know why I pass the admin.conn.session, i get failure with 404
10:39:15 umbSublime can you manually call: admin.connection.session.head method?
10:41:03 ldl 2017-10-27 18:29:52,228 DEBUG: keystoneauth.session Request returned failure status: 404
10:41:03 ldl : keystoneauth.session HEAD call to identity for http://controller:5000/v3/projects/3db5410e1e0d4f739f4524ac74794728/users/e888a5fa2a554a26be46bb1e5dd59ee9/roles/fe3a32f5476b4662931c5757c813febe used request id req-1a6367b6-3f7c-42d4-8504-f4fd0ff48101
10:41:03 ldl The traceback is bellow:
10:41:57 umbSublime the 404 in this case appears to be coming from the API and is just passed down by the method call
10:42:43 ldl I use the admin create the new project, and the new user, and then pass the admin's conn.session
10:43:52 umbSublime TBH I'm no openstacksdk pro :p, I was just trying to help. Perhaps someone more knowledgeable can help :)

Earlier   Later