| *** pratikmallya has joined #senlin | 00:18 | |
| xuhaiwei | Welcome to join this discussion: https://etherpad.openstack.org/p/deletion_policy_for_cross_zone_region | 00:53 |
|---|---|---|
| *** pratikmallya has quit IRC | 01:03 | |
| *** Qiming has quit IRC | 01:32 | |
| *** Liuqing has joined #senlin | 01:47 | |
| *** Liuqing has quit IRC | 01:52 | |
| *** Yanyanhu has joined #senlin | 01:52 | |
| openstackgerrit | Yanyan Hu proposed openstack/senlin: Set cluster to correct status when scaling failed https://review.openstack.org/263631 | 02:04 |
| *** cschulz has quit IRC | 02:07 | |
| *** elynn has joined #senlin | 02:15 | |
| *** Qiming has joined #senlin | 02:24 | |
| xuhaiwei | morning all | 02:27 |
| lixinhui | morning | 02:36 |
| Yanyanhu | morning | 02:57 |
| Yanyanhu | hi, Qiming, around | 02:57 |
| Yanyanhu | I'm thinking if no deletion policy is attached to cluster, is that possible to let other policies like lb_policy to select candidates? | 02:58 |
| Yanyanhu | e.g. randomly by default | 02:58 |
| Qiming | that sounds weird | 02:59 |
| xuhaiwei | no comment about the etherpad page? | 03:01 |
| elynn | Do you know how to find depends-on patch in new gerrit? It's not clearly what's the current patch depends on. | 03:17 |
| openstackgerrit | Merged openstack/senlin: Set cluster to correct status when scaling failed https://review.openstack.org/263631 | 03:17 |
| Yanyanhu | xuhaiwei, you mean? | 03:21 |
| Yanyanhu | elynn, let me check. I also didn't find it in the new UI | 03:21 |
| Yanyanhu | still didn't find it... | 03:29 |
| elynn | That's a regression | 03:36 |
| Yanyanhu | elynn, yes... | 03:42 |
| Qiming | elynn, seems the upper right corner shows a list of related patch | 03:45 |
| elynn | Qiming: yes, I notice the 'same topic', just not sure if they are order by dependents.. | 03:46 |
| xuhaiwei | I mean you can write your idea about deletion policy in the etherpad, Yanyanhu | 04:06 |
| Yanyanhu | xuhaiwei, sure, will leave my comment :) | 04:23 |
| xuhaiwei | thanks | 04:29 |
| *** elynn has quit IRC | 04:42 | |
| *** elynn has joined #senlin | 04:58 | |
| openstackgerrit | xu-haiwei proposed openstack/python-senlinclient: Add test case for common/utils https://review.openstack.org/264032 | 06:01 |
| *** Qiming has quit IRC | 06:34 | |
| *** Qiming has joined #senlin | 06:58 | |
| *** Yanyanhu has quit IRC | 08:05 | |
| *** Yanyanhu has joined #senlin | 08:06 | |
| *** lvdongbing has joined #senlin | 08:22 | |
| Qiming | just heads up | 08:29 |
| Qiming | I've found the email thread discussing the changes to python-xxxclient | 08:29 |
| Qiming | https://www.mail-archive.com/openstack-dev@lists.openstack.org/msg67836.html | 08:29 |
| openstackgerrit | Qiming Teng proposed openstack/python-senlinclient: Remove usless models.py module https://review.openstack.org/264070 | 08:29 |
| Qiming | the consensus was to switch to use openstackclient + cliff for CLI | 08:30 |
| elynn | So we need to support openstackclient in this release | 08:31 |
| Qiming | that depends on our bandwidth | 08:31 |
| *** lvdongbing has left #senlin | 08:31 | |
| Qiming | this is a good example | 08:32 |
| Qiming | http://git.openstack.org/cgit/openstack/python-openstackclient/tree/openstackclient/network/v2/network.py | 08:32 |
| elynn | I can find a colleague to work on it. | 08:32 |
| Qiming | that would be great | 08:33 |
| Qiming | we will need to do this step by step | 08:33 |
| elynn | In heat, openstackclient related codes is added in heatclient, using setup.cfg namespace | 08:33 |
| Qiming | first would be a bp | 08:33 |
| Qiming | something like this: http://specs.openstack.org/openstack/heat-specs/specs/mitaka/python-openstackclient.html | 08:34 |
| elynn | It would be good we maintain it in our client. | 08:34 |
| elynn | ok, will register a BP first and discuss in BP or etherpad. | 08:35 |
| Qiming | then we may either start working on it in python-senlinclient or in python-openstackclient directly | 08:35 |
| Qiming | http://git.openstack.org/cgit/openstack/python-heatclient/tree/heatclient/osc | 08:35 |
| elynn | My colleage is also working on adding openstackclient related codes in heatclient, so she would be fine to do this job. | 08:37 |
| Qiming | great! | 09:04 |
| elynn | We need to use cliutils from oslo.utils first, isn't it? | 09:04 |
| Qiming | cliutils has gone | 09:04 |
| Qiming | if we are switching to cliff | 09:05 |
| xuhaiwei | what? | 09:05 |
| Qiming | it has a different format | 09:05 |
| Qiming | refer to the example I pasted above, about network support in OSC | 09:05 |
| elynn | Qiming: So you mean we don't offer commands starts with 'senlin cluster ...'? | 09:06 |
| elynn | We directly use 'openstack cluster ...' , right? | 09:06 |
| Qiming | good question | 09:06 |
| Qiming | we will need to think about it | 09:07 |
| Qiming | 'openstack cluster create' looks good | 09:07 |
| elynn | Otherwise it would be double job if both switch to cliff... | 09:07 |
| Qiming | but 'openstack profile create' looks a little bit agressive | 09:07 |
| xuhaiwei | after senlinclient is moved to openstackclient, I think we dont need to support senlinclient anymore, so senlin commands will be gone | 09:07 |
| Qiming | 'openstack node create' is even more weird | 09:08 |
| Qiming | 'openstack event list' too | 09:08 |
| Qiming | yes | 09:08 |
| xuhaiwei | it maybe openstack senlin profile create | 09:08 |
| Qiming | no, xuhaiwei | 09:08 |
| Qiming | there won't be word like 'senlin' | 09:08 |
| elynn | That's a little too long... | 09:08 |
| Qiming | if you try 'openstack' | 09:08 |
| Qiming | it only shows you the service name, not the project name | 09:09 |
| xuhaiwei | I found this today: openstack congress datasource create xxx | 09:09 |
| *** dixiaoli has joined #senlin | 09:10 | |
| Qiming | that is the only reason why I think a bp would be needed | 09:10 |
| Qiming | oh my | 09:10 |
| elynn | Yes, BP and etherpad both needed. | 09:10 |
| Qiming | that is very weird | 09:10 |
| Qiming | yep | 09:10 |
| xuhaiwei | it is the first time I saw this kind of command | 09:11 |
| Qiming | we may need an etherpad for polishing the commands | 09:11 |
| Qiming | then we use bp to track progress | 09:11 |
| elynn | Maybe they like to be weird :P | 09:11 |
| Qiming | sigh.. | 09:11 |
| elynn | Geek is always weird :) | 09:11 |
| elynn | Qiming: yes, agree. | 09:12 |
| Qiming | in heat specs, we also get this: openstack orchestration resource type show --format (hot|cfn) | 09:12 |
| Qiming | so maybe we can do this: | 09:13 |
| elynn | dixiaoli: will work on BP and etherpad, and we can discuss it in mid-cycle meeting. | 09:13 |
| elynn | like openstack cluster profile ...? | 09:13 |
| Qiming | openstack cluster profile create|list|show|delete | 09:13 |
| Qiming | openstack cluster create|delete|update|show | 09:13 |
| elynn | That's what I'm thinking about. | 09:13 |
| Qiming | openstack cluster node create|update|delete|show|join|leave | 09:13 |
| dixiaoli | yes | 09:13 |
| xuhaiwei | because many projects have similar commands, should differentiate them | 09:13 |
| xuhaiwei | who can tell me how to use openstack commands | 09:14 |
| Qiming | especially, 'node', 'event', 'action', 'profile' ... | 09:14 |
| xuhaiwei | how to know what commands it has | 09:14 |
| Qiming | these nouns are too common | 09:14 |
| xuhaiwei | openstack -h doesn't show it | 09:14 |
| Qiming | openstack help | 09:14 |
| dixiaoli | https://etherpad.openstack.org/p/heat-support-python-openstackclient | 09:15 |
| elynn | Above link is the etherpad used by heat to track openstackclient status. | 09:16 |
| Qiming | there are cases where we need to be more explicit, there are other cases we can make the command a little bit shorter | 09:16 |
| elynn | yes | 09:16 |
| Qiming | openstack action list <-- not good | 09:17 |
| Qiming | openstack cluster action list <-- semantics ambiguity | 09:17 |
| Qiming | if we remove node-join and node-leave | 09:18 |
| Qiming | all actions would be about clusters | 09:18 |
| Qiming | then the second format looks acceptable | 09:18 |
| xuhaiwei | will remove them? | 09:26 |
| xuhaiwei | what about openstack clustering action list | 09:27 |
| dixiaoli | how about openstack senlin cluster action list ? | 09:29 |
| elynn | oh... | 09:30 |
| elynn | I would like to keep commands shorter and simple... | 09:30 |
| xuhaiwei | 'senlin' should not be shown in the command | 09:30 |
| Qiming | just openstack cluster action list would be okay | 09:34 |
| Qiming | in future, we may support 'openstack cluster action create -s script', ;) | 09:34 |
| *** lvdongbing has joined #senlin | 09:39 | |
| *** lvdongbing has left #senlin | 09:40 | |
| *** lvdongbing has joined #senlin | 09:41 | |
| elynn | What's that about? | 09:42 |
| *** lvdongbing has left #senlin | 09:44 | |
| *** xuhaiwei has quit IRC | 09:59 | |
| Qiming | elynn, when you have a cluster of nova servers | 10:04 |
| elynn | software config? | 10:05 |
| Qiming | you can do a batch command on all nova servers with one request | 10:05 |
| Qiming | it would be more powerful than software config | 10:05 |
| Qiming | software config is static, it doesnt allow circles | 10:05 |
| Qiming | bash alike actions is something senlin can help initiate on all nova servers via remote ssh | 10:06 |
| elynn | hmm, that's a interesting use case to support. | 10:07 |
| Qiming | it is an embedded version of ansible | 10:08 |
| Qiming | not sure it is a good thing to do | 10:08 |
| Qiming | but I do feel the need to do post-deployment operations | 10:08 |
| openstackgerrit | Cindia-blue proposed openstack/senlin: Implement node_recover in Profile https://review.openstack.org/262933 | 10:10 |
| openstackgerrit | Ethan Lynn proposed openstack/senlin: Move cluster_update logic from service to cluster_action https://review.openstack.org/264107 | 10:17 |
| *** dixiaoli has quit IRC | 10:27 | |
| *** Yanyanhu has quit IRC | 10:29 | |
| *** elynn has quit IRC | 10:41 | |
| *** elynn has joined #senlin | 15:18 | |
| *** elynn has quit IRC | 15:51 | |
| *** Qiming has quit IRC | 15:59 | |
| *** pratikmallya has joined #senlin | 18:27 | |
| *** pratikmallya has quit IRC | 22:30 | |
| *** pratikmallya has joined #senlin | 22:54 | |
| *** pratikmallya has quit IRC | 22:59 | |
| *** pratikmallya has joined #senlin | 23:22 | |
| *** xuhaiwei has joined #senlin | 23:32 | |
| *** Qiming has joined #senlin | 23:41 | |
| openstackgerrit | xu-haiwei proposed openstack/python-senlinclient: Add test case for common/utils https://review.openstack.org/264032 | 23:53 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!