[salt-cloud] [vmware] issue setting hostname on ubuntu
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 15.7k
- Forks
- 5.6k
- Avg merge
- 2d 44m
- Merged PRs (30d)
- 80
Description
Description of Issue
salt-cloud vmware deployment from template hostname is not set. (Ubuntu 18, on rhel7 everything ok)
Setup
kr01.ubuntu.prd:
- nfs.server:
grains:
roles:
- nfs
num_cpus: 4
memory: 8GB
devices:
network:
Network adapter 1:
name: 'HIDDEN'
ip: 'HIDDEN'
gateway: 'HIDDEN'
Steps to Reproduce Issue
salt-cloud -m %mapname%
Result:
guest_id:
ubuntu64Guest
hostname:
ubuntu
id:
nfs.server
image:
Ubuntu Linux (64-bit) (Detected)
Versions Report
[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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the VMware deployment with salt-cloud -m %mapname% using the supplied Ubuntu template and compare it with the working RHEL 7 case. Trace the salt-cloud VMware provisioning path to determine where the hostname is handled; done means the deployed Ubuntu guest reports the requested hostname instead of ubuntu.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python, ubuntu
- Domain
- cloud, infrastructure, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100