*** yuanying_ has joined #senlin | 00:25 | |
*** yuanying has quit IRC | 00:27 | |
*** AlexeyAbashkin has joined #senlin | 00:53 | |
*** AlexeyAbashkin has quit IRC | 00:57 | |
*** yuanying_ has quit IRC | 01:00 | |
*** yuanying has joined #senlin | 01:09 | |
Qiming | Ceryx, you may want to check if https://review.openstack.org/527616 meets your requirements | 01:21 |
---|---|---|
Ceryx | I think earlier I mixed up node name and server name. It looks like what you linked would modify the node name, but what we're hoping to do is utilize "name" in the os.nova.server profile, but put a suffix at the end (for unique hostnames, and for designate to add to DNS). | 01:29 |
Ceryx | Otherwise every server created in the cluster is just named exactly what "name" is in the profile. Wanted to set a useful name in the profile (myserver) but have VMs created as "myserver-001, myserver-002, etc" | 01:30 |
Qiming | Ceryx, by default, the VM server will use the node name for hostname | 01:32 |
Qiming | with https://review.openstack.org/527614 | 01:33 |
Qiming | , you can set cluster.config = {'node.name.format': 'host-$3I'}, for example | 01:33 |
Qiming | then you will get host-001, host-002, host-007 | 01:33 |
Qiming | you can still use 'name-$8R', which is backward compatible | 01:33 |
Qiming | it will give you 'node-mo708gmh', 'node-2miyaxmw' for example | 01:34 |
Qiming | need a follow up patch to make sure when cluster is expanded, new nodes will respect this cluster config as well | 01:35 |
Ceryx | Oh, I see, I was missing that part. So we would use no name in the nova profile, and instead on the cluster set node.name.format to something like "us-east-myservicename-$3I" to affect the VM name? | 01:37 |
Ceryx | That would work, and keep profiles more reusable | 01:37 |
Qiming | yep | 01:38 |
Ceryx | that definitely provides what we're trying to achieve then | 01:38 |
Qiming | cool | 01:39 |
Qiming | in https://review.openstack.org/527614, I was passing the server object though not using it | 01:40 |
Qiming | maybe in the future there will be request to generate names like 'host-<cluster>-<index>', :) | 01:40 |
Qiming | actually, I don't see a conflict between the cluster config and the profile field approaches | 01:41 |
Qiming | we can have both, if we define a precedence order between them | 01:42 |
Ceryx | yeah, if both were used, it could end up having the node index twice. Are cluster.config options available in pike? We could pull in those two patches and have users try them out. When I looked at https://review.openstack.org/#/c/461673/ it looked like a new API and DB schema was involved. | 01:51 |
Qiming | the api and db schema was already in | 01:53 |
Qiming | cannot recall whether they are in pike | 01:54 |
*** yuanying has quit IRC | 02:32 | |
*** openstackstatus has quit IRC | 02:32 | |
*** Qiming has quit IRC | 02:32 | |
*** yuanying has joined #senlin | 02:36 | |
*** openstackstatus has joined #senlin | 02:36 | |
*** Qiming has joined #senlin | 02:36 | |
*** barjavel.freenode.net sets mode: +v openstackstatus | 02:36 | |
*** shu-mutou-AWAY is now known as shu-mutou | 02:41 | |
Ceryx | For a cluster create command I don't see where I might set cluster.config, just metadata, so maybe that's not in pike cli. | 02:45 |
Qiming | http://git.openstack.org/cgit/openstack/python-senlinclient/commit/?id=5813a44e0690857d4913e6835913920de2e47b2d | 02:46 |
Ceryx | Will have to test further. On our pike install I pulled in the two patches and have "node.name.format": "mytestserver-$3I" in cluster config, but still gets created as node-e0d0e6c2-001. Might be missing something in pike for it. | 03:44 |
Qiming | could be a version issue. | 03:45 |
*** dtruong_ has quit IRC | 05:49 | |
*** openstackgerrit has quit IRC | 06:47 | |
*** Ceryx has quit IRC | 06:51 | |
*** openstackgerrit has joined #senlin | 08:01 | |
*** ChanServ sets mode: +v openstackgerrit | 08:01 | |
openstackgerrit | Qiming Teng proposed openstack/senlin master: Kubernetes on senlin https://review.openstack.org/515321 | 08:01 |
*** AlexeyAbashkin has joined #senlin | 08:09 | |
*** shu-mutou is now known as shu-mutou-AWAY | 09:24 | |
openstackgerrit | Merged openstack/senlin master: Add lifecycle hook spec https://review.openstack.org/523965 | 09:35 |
*** AlexeyAbashkin has quit IRC | 11:10 | |
*** AlexeyAbashkin has joined #senlin | 11:11 | |
*** catintheroof has joined #senlin | 12:49 | |
*** rate has joined #senlin | 13:03 | |
*** rate has quit IRC | 13:43 | |
*** jmlowe_ has joined #senlin | 14:59 | |
*** jmlowe has quit IRC | 15:00 | |
*** jmlowe has joined #senlin | 15:04 | |
*** jmlowe_ has quit IRC | 15:06 | |
*** catintheroof has quit IRC | 16:00 | |
*** catintheroof has joined #senlin | 16:00 | |
*** catintheroof has quit IRC | 16:05 | |
*** AlexeyAbashkin has quit IRC | 17:23 | |
*** dtruong has joined #senlin | 17:37 | |
*** jmlowe has quit IRC | 17:51 | |
*** catintheroof has joined #senlin | 17:57 | |
*** AlexeyAbashkin has joined #senlin | 18:47 | |
*** AlexeyAbashkin has quit IRC | 18:52 | |
*** catintheroof has quit IRC | 19:06 | |
*** jmlowe has joined #senlin | 19:12 | |
*** openstack has joined #senlin | 20:34 | |
*** ChanServ sets mode: +o openstack | 20:34 | |
*** jmlowe has joined #senlin | 20:45 | |
*** AlexeyAbashkin has joined #senlin | 20:46 | |
*** AlexeyAbashkin has quit IRC | 20:51 | |
*** openstack has joined #senlin | 21:14 | |
*** ChanServ sets mode: +o openstack | 21:14 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!