You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[salt-cloud] [vmware] issue setting hostname on ubuntu #55889
[root@master srv]# salt --versions-report
Salt Version:
Salt: 2019.2.3
Dependency Versions:
cffi: 1.12.3
cherrypy: Not Installed
dateutil: 1.5
docker-py: 3.5.1
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.31.0
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: 2.6.1
pycryptodome: Not Installed
pygit2: Not Installed
Python: 2.7.5 (default, Jun 11 2019, 14:33:56)
python-gnupg: Not Installed
PyYAML: 3.11
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.2.1
ZMQ: 4.1.4
System Versions:
dist: redhat 7.7 Maipo
locale: UTF-8
machine: x86_64
release: 3.10.0-957.21.3.el7.x86_64
system: Linux
version: Red Hat Enterprise Linux Server 7.7 Maipo
is this occuring on all your OSs or just redhat7.7? Also is this new behavior, in other words was this working previously?
maybe i wrote not really correct.
Master is installed on rhel7.7
I'm deploying Ubuntu 18.06 via salt-cloud. and hostname remains default.
with deploying rhel templates - no problem.
im not certain that everyone is using ubuntu cloud-init, but I agree it would probably be good to note in the documentation for salt-cloud that a user mgiht have to ensure preserve_hostname is set. will add as a documentation todo
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.
Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
Activity
Ch3LL commentedon Jan 16, 2020
is this occuring on all your OSs or just redhat7.7? Also is this new behavior, in other words was this working previously?
akurach commentedon Jan 17, 2020
maybe i wrote not really correct.
Master is installed on rhel7.7
I'm deploying Ubuntu 18.06 via salt-cloud. and hostname remains default.
with deploying rhel templates - no problem.
akurach commentedon Jan 20, 2020
It looks like the problem in Ubuntu's Cloud.init
if in the template set parameter
preserve_hostname:toTrueeverything works well.
Maybe it will be nice to mention it somewhere. or add an option to do it via deployment.
Ch3LL commentedon Feb 4, 2020
im not certain that everyone is using ubuntu cloud-init, but I agree it would probably be good to note in the documentation for salt-cloud that a user mgiht have to ensure
preserve_hostnameis set. will add as a documentation tododwoz commentedon Oct 15, 2026
Thanks for the original report. This issue has been open for more than three years without recent activity and carries a severity label below
severity-high. As part of a backlog cleanup, we're closing older low- and medium-severity issues so triage can focus on reports against currently supported releases.Closing isn't a judgement that the problem wasn't real — only that the codebase has moved through several releases since this was filed, and much of the surrounding code has changed.
If you — or anyone else — can still reproduce this on the 3008.x LTS release, please leave a comment with a reproduction and a maintainer will reopen. The original reporter can also reopen directly.
dwoz commentedon Oct 17, 2026
Reopening — there is an open PR tracking a fix for this: #69558.
dwoz commentedon Oct 24, 2026
Closing — the module/subsystem this issue tracks has been moved out of Salt core into the
garethgreenaway/saltext-vmwareextension. Please re-file against https://github.com/garethgreenaway/saltext-vmware/issues if it still reproduces there, including a reproduction and the output ofsalt --versions-report.