Conzar
June 26, 2018, 3:46am
1
Problem:
After submitting a new vm to be provisioned through AWS, the following error occurs:
Unsupported password hash function 'MD5'
The vm is not provisioned.
Expected outcome:
The vm is provisioned
Foreman and Proxy versions:
1.17.1
Foreman and Proxy plugin versions:
1.17.1
Other relevant data:
Full stack trace: https://pastebin.com/0HwqUSCM
Hi, could you check the operating system you use for your host? The password hash should be something else than MD5. I can see MD5 being available in the dropdown for some reason even though it is no longer supported.
Hope this helps,
O.
In the main menu, go to Hosts β Operating systems, click on the os name to see the details (in your case Ubuntu 16.04).
1 Like
lzap
June 28, 2018, 6:53am
6
I believe you are hitting this bug:
theforeman:develop
β kallies:downcase_hash
opened 05:55AM - 27 Jun 18 UTC
If SHA512 is used in host.operatingsystem.password_hash (SHA256 is the default i⦠n kickstart_default.erb), authconfig will use SHA256 anyway because it has no value SHA512 (but sha512).
Itβs been merged yesterday, easy workaround for you - template change.
Conzar
July 1, 2018, 10:12pm
7
Thank you, that was the problem!
1 Like