Closed ubuntu-server-builder closed 1 year ago
Launchpad user Scott Moser(smoser) wrote on 2018-08-17T18:33:53.981625+00:00
Hi, Could you please test to see if this is still a problem with trunk?
We have daily copr builds at https://copr.fedorainfracloud.org/coprs/g/cloud-init/cloud-init-dev/
Please test with the builds there and report back.
If it is still a problem, please attach the output of 'cloud-init collect-logs'.
After you've done so, please set the status to 'Confirmed'.
Thanks.
Launchpad user Sibiao Luo(sibiaoluo) wrote on 2018-08-20T04:11:35.796005+00:00
It support donot now, but still append the .novalocal problem.
You shoud split it by .novalocal which can make success.
toks = lhost.split(".") 209c209 < #domain = '.'.join(toks[1:])
domain = '.'.join(toks[1:])
Launchpad user Sibiao Luo(sibiaoluo) wrote on 2018-08-20T06:10:38.748631+00:00
Launchpad attachments: aaaa.pngloud-init-18.3+24.gf6249277-1.el7 test result
Launchpad user Sibiao Luo(sibiaoluo) wrote on 2018-08-20T06:10:41.650570+00:00
Launchpad user Scott Moser(smoser) wrote on 2018-08-20T18:22:50.663592+00:00
Hi, can you please attach the output of 'cloud-init collect-logs'.
Thank you. Scott
Launchpad user Launchpad Janitor(janitor) wrote on 2018-10-20T04:18:28.603224+00:00
[Expired for cloud-init because there has been no activity for 60 days.]
This bug was originally filed in Launchpad as LP: #1786744
Launchpad details
Launchpad user Sibiao Luo(sibiaoluo) wrote on 2018-08-13T08:17:34.152517+00:00
Description of problem: Cloud-init inject hostname should support dot and without .novalocal.
Version-Release number of selected component (if applicable): cloud-init 0.7.9
How reproducible: 100%
Steps to Reproduce: 1.create a RHEL7.5/7.4 instance specified the hostname with OpenStack API 2.login VM with hostnamectl to check the hostname
Actual results: API: hostname=ecs-rhel7.4-instance --------> VM: hostname=ecs-rhel7.novanoval API: hostname=ecs-rhel74-instance --------> VM: ecs-rhel74-instance.novanoval
Expected results: The VM hostname is the same as specified in OpenStack API or ECS Console.
Additional info:
diff init.py
usr/lib/python2.7/site-packages/cloudinit/sources/init.py 205c205 < toks = lhost.split(".novalocal")