-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[salt-cloud][AzureARM] ssh_password not working #56152
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue. |
What's the intended operation here? Use both a password and an ssh key? |
Thank you for updating this issue. It is no longer marked as stale. |
Mainly I want to use password authentication. But both is also nice |
Ok. Right now, we don't have the ability to pass both a password and an ssh key. We can keep this issue open as a feature request for that functionality. In the meantime... if you want to use a password, you need to stop sending a public key file:
|
The Azure functionality in Salt is moving to https://github.com/salt-extensions/saltext-azurerm I have opened an issue there to represent the feature request here. |
Description of Issue
Salt Cloud|AzureARM Compute CloudError has occurred: 'adminPassword' is missing (null)
Salt-cloud fail to create linux vm to azure unless
disable_password_authentication: True
And password won't be set even if I put ssh_password and
disable_password_authentication: True
We can use key authentication instead but it would be better to fix this.
This is similar issue: #54767
Setup
(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)
profile:
Steps to Reproduce Issue
(Include debug logs if possible and relevant.)
If disable_password_authentication: False
If disable_password_authentication: True and defined ssh_password
There is no password
Versions Report
(Provided by running
salt --versions-report
. Please also mention any differences in master/minion versions.)I've used this pip modules:
https://raw.githubusercontent.com/saltstack/salt/v2019.2.2/requirements/static/py3.6/cloud.txt
Salt Version:
Salt: 2019.2.2
Dependency Versions:
cffi: 1.13.2
cherrypy: Not Installed
dateutil: 2.8.1
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
ioflo: Not Installed
Jinja2: 2.8.1
libgit2: Not Installed
libnacl: Not Installed
M2Crypto: 0.35.2
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.5.6
mysql-python: Not Installed
pycparser: 2.19
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: Not Installed
Python: 3.6.8 (default, Aug 7 2019, 17:28:10)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 15.3.0
RAET: Not Installed
smmap: Not Installed
timelib: Not Installed
Tornado: 4.4.2
ZMQ: 4.1.4
System Versions:
dist: centos 7.7.1908 Core
locale: ANSI_X3.4-1968
machine: x86_64
release: 3.10.0-514.10.2.el7.x86_64
system: Linux
version: CentOS Linux 7.7.1908 Core
The text was updated successfully, but these errors were encountered: