Thursday, 2017-12-14

*** yuanying_ has joined #senlin00:25
*** yuanying has quit IRC00:27
*** AlexeyAbashkin has joined #senlin00:53
*** AlexeyAbashkin has quit IRC00:57
*** yuanying_ has quit IRC01:00
*** yuanying has joined #senlin01:09
QimingCeryx, you may want to check if https://review.openstack.org/527616 meets your requirements01:21
CeryxI 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
CeryxOtherwise 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
QimingCeryx, by default, the VM server will use the node name for hostname01:32
Qimingwith https://review.openstack.org/52761401:33
Qiming, you can set cluster.config = {'node.name.format': 'host-$3I'}, for example01:33
Qimingthen you will get host-001, host-002, host-00701:33
Qimingyou can still use 'name-$8R', which is backward compatible01:33
Qimingit will give you 'node-mo708gmh', 'node-2miyaxmw' for example01:34
Qimingneed a follow up patch to make sure when cluster is expanded, new nodes will respect this cluster config as well01:35
CeryxOh, 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
CeryxThat would work, and keep profiles more reusable01:37
Qimingyep01:38
Ceryxthat definitely provides what we're trying to achieve then01:38
Qimingcool01:39
Qimingin https://review.openstack.org/527614, I was passing the server object though not using it01:40
Qimingmaybe in the future there will be request to generate names like 'host-<cluster>-<index>', :)01:40
Qimingactually, I don't see a conflict between the cluster config and the profile field approaches01:41
Qimingwe can have both, if we define a precedence order between them01:42
Ceryxyeah, 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
Qimingthe api and db schema was already in01:53
Qimingcannot recall whether they are in pike01:54
*** yuanying has quit IRC02:32
*** openstackstatus has quit IRC02:32
*** Qiming has quit IRC02:32
*** yuanying has joined #senlin02:36
*** openstackstatus has joined #senlin02:36
*** Qiming has joined #senlin02:36
*** barjavel.freenode.net sets mode: +v openstackstatus02:36
*** shu-mutou-AWAY is now known as shu-mutou02:41
CeryxFor 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
Qiminghttp://git.openstack.org/cgit/openstack/python-senlinclient/commit/?id=5813a44e0690857d4913e6835913920de2e47b2d02:46
CeryxWill 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
Qimingcould be a version issue.03:45
*** dtruong_ has quit IRC05:49
*** openstackgerrit has quit IRC06:47
*** Ceryx has quit IRC06:51
*** openstackgerrit has joined #senlin08:01
*** ChanServ sets mode: +v openstackgerrit08:01
openstackgerritQiming Teng proposed openstack/senlin master: Kubernetes on senlin  https://review.openstack.org/51532108:01
*** AlexeyAbashkin has joined #senlin08:09
*** shu-mutou is now known as shu-mutou-AWAY09:24
openstackgerritMerged openstack/senlin master: Add lifecycle hook spec  https://review.openstack.org/52396509:35
*** AlexeyAbashkin has quit IRC11:10
*** AlexeyAbashkin has joined #senlin11:11
*** catintheroof has joined #senlin12:49
*** rate has joined #senlin13:03
*** rate has quit IRC13:43
*** jmlowe_ has joined #senlin14:59
*** jmlowe has quit IRC15:00
*** jmlowe has joined #senlin15:04
*** jmlowe_ has quit IRC15:06
*** catintheroof has quit IRC16:00
*** catintheroof has joined #senlin16:00
*** catintheroof has quit IRC16:05
*** AlexeyAbashkin has quit IRC17:23
*** dtruong has joined #senlin17:37
*** jmlowe has quit IRC17:51
*** catintheroof has joined #senlin17:57
*** AlexeyAbashkin has joined #senlin18:47
*** AlexeyAbashkin has quit IRC18:52
*** catintheroof has quit IRC19:06
*** jmlowe has joined #senlin19:12
*** openstack has joined #senlin20:34
*** ChanServ sets mode: +o openstack20:34
*** jmlowe has joined #senlin20:45
*** AlexeyAbashkin has joined #senlin20:46
*** AlexeyAbashkin has quit IRC20:51
*** openstack has joined #senlin21:14
*** ChanServ sets mode: +o openstack21:14

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