| Posted | Nick | Remark | |
|---|---|---|---|
| #openstack-sdks - 2018-07-31 | |||
| 15:01:39 | openstackgerrit | Merged openstack/openstacksdk master: Add a simple baremetal functional job https://review.openstack.org/586574 | |
| 20:13:11 | openstackgerrit | Dean Troyer proposed openstack/python-openstackclient master: [WIP] Fix broken gate jobs. https://review.openstack.org/587005 | |
| 20:19:13 | openstackgerrit | Dean Troyer proposed openstack/python-openstackclient master: [WIP] Fix broken gate jobs. https://review.openstack.org/587005 | |
| 20:23:32 | dtroyer | mordred: ^^^ should get us really close… it needs a way to detect Image API v1 yet | |
| 20:24:05 | mordred | dtroyer: like - needs to be able to detect whether the cloud has v1? | |
| 20:24:41 | dtroyer | yes | |
| 20:24:55 | mordred | https://review.openstack.org/#/c/585029/ <-- | |
| 20:25:13 | mordred | dtroyer: that is what you need - unfortunately I did not manage to get it in to keystoneauth before the feature freeze | |
| 20:25:29 | dtroyer | I've hard-coded it 'not there' in that rev just to get this through… ah, nice | |
| 20:25:52 | mordred | dtroyer: yah - if you're ok with the test suite being a little wonk until we can get another ksa release cut - there's a path to it | |
| 20:26:09 | dtroyer | I'll think about this harder after the 30,000 foot fatigue is less | |
| 20:26:28 | dtroyer | I'm fine, this is better than ripping it all out | |
| 20:26:33 | mordred | dtroyer: alternately, the code in the versions show command that does it client-side would also work - it'll just be more expensive than would normally be pleasant | |
| 20:26:44 | mordred | cool | |
| 20:27:07 | dtroyer | hmmm… yeah, I was thinking something like that, it's a one-time deal so we can live with it | |
| 20:27:49 | mordred | ++ | |
| 20:28:07 | mordred | and it should all be really cheap local calls in functional tests - not quite like doing the same thing on an actual public cloud :) | |
| 20:58:37 | samueldmq | hi. I am not getting why we need ansible tests for the upper abstraction level/shade | |
| 20:58:49 | samueldmq | as opposed to having just the unit and functional tests... | |
| 20:59:24 | samueldmq | seems like those ansible tests should belong somewhere in the shade plugin to ansible (or something like that)? | |
| 21:01:17 | mordred | samueldmq: yes - they should indeed be there | |
| 21:01:38 | mordred | samueldmq: they were in the shade repo for hysterical raisins | |
| 21:01:59 | mordred | samueldmq: mostly that we didn't have a way to run them if we put them into the ansible repo | |
| 21:02:18 | mordred | samueldmq: but now that we can (and do) trigger jobs in Infra on PRs to ansible ... | |
| 21:02:34 | mordred | samueldmq: we should TOTALLY move them to ansible/ansible and get them integrated with ansible-test | |
| 21:02:53 | samueldmq | kk should be up to them to run the tests? | |
| 21:03:04 | samueldmq | or to us on our infra (seems to be what you're suggesting) | |
| 21:03:25 | samueldmq | mordred: ^ | |
| 21:05:23 | samueldmq | ahh I got it ... we can add a check on sdks to run ansible tests against proposed shade changes | |
| 21:05:32 | samueldmq | just to make sure we're not breaking'em on our side | |
| 21:06:01 | mordred | that's right | |
| 21:06:35 | mordred | we actually already run the shade-ansible test job on ansible/ansible PRs that touch openstack bits | |
| 21:06:42 | mordred | as well as on both shade and openstacksdk | |
| 21:07:25 | samueldmq | ok it's just a matter of putting things in their right place | |
| 21:07:53 | samueldmq | for running against arbitrary cloud ... do you think I should work on shade/functional tests side only? | |
| 21:08:20 | samueldmq | shade should be able to run its tests against arbitrary clouds, regardless being useful to ansible | |
| 21:08:28 | mordred | yes - I agree | |
| 21:08:38 | mordred | (although do it in openstacksdk and not shade- but yes) | |
| 21:08:56 | mordred | we also have WAY more coverage in the openstacksdk functional tests than we do in the ansible tests | |
| 21:09:00 | mordred | so we get a much nicer win | |
| 21:09:12 | samueldmq | ++ | |
| 21:09:39 | samueldmq | yes I meant openstacksdk ... just not got used to the change yet (since I had disapeared by the time of the merge) :-) | |
| 21:10:02 | samueldmq | didnt get* | |
| 21:10:23 | samueldmq | kk I'll take a look there .. but I'm a bit worried about the policy bits... | |
| 21:10:39 | samueldmq | since different users will have different permissions on different clouds | |
| 21:11:35 | samueldmq | that's a bit different than running just on devstack (opinionated). may require some work but should not be terrible' | |
| 21:16:55 | openstackgerrit | Doug Hellmann proposed openstack/openstacksdk master: fix 2 typos in documentation https://review.openstack.org/587624 | |
| 21:28:19 | mordred | samueldmq: yes - I totally agree (and same here - I still say shade a lot) | |
| #openstack-sdks - 2018-08-01 | |||
| 01:07:32 | openstackgerrit | Fan Zhang proposed openstack/python-openstackclient master: [WIP] Fix broken gate jobs. https://review.openstack.org/587005 | |
| 01:12:13 | fanzhang | mordred dtroyer ^ there is still 3 failed tests, and I may not have time to work on it today. BTW, added co-authored-by to commit messages. Thanks for helping on it :-) | |
| 01:14:30 | dtroyer | fanzhang: sorry about my bad typing (Falsex! ha!)… the remaining failures do appear to be the cinderclient issue being addressed in https://review.openstack.org/#/c/587601/ | |
| 01:15:04 | dtroyer | Thanks for working on this, we'll keep it going one way or another | |
| 01:16:41 | fanzhang | dtroyer yeh, just noticed email of Sean. Np. ;-) | |
| 09:14:56 | openstackgerrit | tianhui proposed openstack/python-openstackclient master: Compute: Add user id support for keypair https://review.openstack.org/576507 | |
| 09:26:13 | openstackgerrit | tianhui proposed openstack/python-openstackclient master: Compute:Support keypair set key-type https://review.openstack.org/577768 | |
| 09:27:52 | openstackgerrit | yanpuqing proposed openstack/openstacksdk master: Add an error message when router add subnet https://review.openstack.org/586996 | |
| 14:43:33 | usr2033 | hi, are all sdks interact with services by rest api? are there any way to direct interaction with services? | |
| 14:56:40 | mhen | usr2033, from the SDK side only REST is available as far as I am aware. A more direct communication would be via the RPC channels but this is only for internal communication between a service's components and is not a public API for generic clients. | |
| 15:02:01 | mordred | yes, that's correct | |
| 15:02:42 | usr2033 | mhen: i tried shade. only 1 of 6 try on get_project works | |
| 15:03:09 | usr2033 | but curl, python.request works well | |
| 15:03:59 | mhen | usr2033, I'm not familiar with shade sadly, I only use the openstackclient | |
| 15:04:46 | usr2033 | i got unable to find resource, project doesnot exits | |
| 15:05:34 | usr2033 | hımm. i will try it. one sdk rules all was attractive but not working for now. thanks mhen | |
| 15:06:10 | mhen | openstackclient is using the SDK most of the time as well | |
| 15:07:20 | usr2033 | openstackclient for example nova's client uses openstacksdk? am i understand right? | |
| 15:08:56 | dtroyer | OSC only uses the SDK for network commands today | |
| 15:09:15 | dtroyer | once SDK 1.0 is out we will begin converting, starting with Glance and Cinder | |
| 15:12:13 | mhen | okay that's not "most of the time" ... thought it was more than network by now | |
| 15:13:24 | mordred | all of the ansible modules use sdk too though - I expect sdk/shade to work | |
| 15:13:47 | mordred | usr2033: it is possible that the user you are logging in with does not have access to get_project on the project you are looking for? | |
| 15:14:07 | mhen | usr2033, to correct my statement a bit: openstackclient is using the client libraries (e.g. python-novaclient, python-cinderclient, etc.) internally except for network, where it already uses the SDK. The SDK is essentially a unififed library to replace the individual client libraries in the future. | |
| 15:24:05 | mordred | yes. and I expect that any methods in sdk should work with any openstack cloud - so if they do not, please let us know so we can fix it | |
| 21:08:24 | openstackgerrit | Merged openstack/python-openstackclient master: Update reno for stable/rocky https://review.openstack.org/586006 | |
| 21:10:26 | openstackgerrit | Merged openstack/osc-lib master: Update reno for stable/rocky https://review.openstack.org/586112 | |
| #openstack-sdks - 2018-08-02 | |||
| 05:54:45 | usr2033 | mordred: i got project data on 1 of my 7 calls. | |
| 08:05:01 | openstackgerrit | Lajos Katona proposed openstack/python-openstackclient master: Detailed help message for QoS max-burst-kbps value https://review.openstack.org/588168 | |
| 12:37:46 | samueldmq | morning | |
| 12:37:58 | samueldmq | does anybody know if I can do LIBS_FROM_GIT=openstacksdk | |
| 12:38:00 | samueldmq | in devstack? | |
| 12:42:56 | dims | samueldmq : yes. that should work | |
| 12:49:54 | samueldmq | dims: nice, thanks | |
| 16:34:32 | imacdonn | mordred: around? | |
| 16:35:44 | mordred | imacdonn: yes - although I'm about to do an ops-related thing, so I might not be very responsive for a bit | |
| 16:36:26 | imacdonn | mordred: ok... will throw this out anyway ... maybe someone else has input | |
| 16:37:42 | imacdonn | trying to use new openstacksdk via ansible to create a volume, and it's coughing up "keystoneauth1.exceptions.catalog.EndpointNotFound: public endpoint for block-storage service not found" | |
| 16:37:45 | imacdonn | seems to be due to https://review.openstack.org/#/c/564494/ | |
| 16:38:03 | imacdonn | the release note for that says "There should be no behavior differences" .......... ;) | |
| 16:38:46 | mordred | there should be ;) | |
| 16:39:06 | imacdonn | ahhh, the old "should" "_ | |
| 16:39:07 | mordred | you have latest openstacksdk and latest keystoneauth installed? | |
| 16:39:08 | imacdonn | :) | |
| 16:39:25 | imacdonn | I probably don't have the latest ksa | |
| 16:39:55 | mordred | pip isn't super great at ensuring things get upgraded when they need to be | |
| 16:40:20 | mordred | latest openstacksdk depends on latest keystoneauth for that to work properly- can you try upgrading ksa? | |
| 16:40:26 | imacdonn | well this is actually RDO RPMs ... but if this is the cause, the RPM needs an updated "requires" | |
| 16:40:43 | imacdonn | yep, working on that now | |
| 16:41:16 | mordred | cool. *fingers crossed* | |
| 16:42:59 | elmiko | cdent dtantsur edleafe for your review, https://etherpad.openstack.org/p/api-sig-newsletter | |
| 16:43:07 | edleafe | elmiko: reading... | |