no more relevant
** Changed in: cloud-init
Status: Incomplete => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1848026
Title:
Can't reset password on Ubuntu LTS 18.04.3
Status in cloud-init:
Invalid
Bug description:
We have the following CI/CD setup with CloudStack, that is each
iteration does the following:
- deploy a local bootstrap VM using online network installation image, seed
and sysprep scripts to install cloud-init, configuring it for CloudStack data
source
- create a CloudStack template from this bootstrap VM, actually two templates
(for KVM and VMWare hypervisors)
- use this template to create a test CloudStack VM
- run acceptance tests for example, reset password and test login with it, on
fail extract logs and other available cloud-init intelligence
For password reset, the test is like the following:
- call "resetPasswordForVirtualMachine()" API
- save new VM password
- login to VM (custom user cloud, I've also manually tested root and ubuntu
and also sudo)
Error: password denied
Get logs: login with original password of the user "cloud".
Observations:
- /run/cloud-init/instance-data.json get written
- there are log messages like
2019-10-14 12:41:04,126 - util.py[DEBUG]: Running command ['wget', '--
quiet', '--tries', '3', '--timeout', '20', '--output-document', '-', '
--header', 'DomU_Request: send_my_password', '192.102.146.5:8080']
with allowed return codes [0] (shell=False, capture=True)
2019-10-14 12:41:04,144 - util.py[DEBUG]: Running command ['wget', '--
quiet', '--tries', '3', '--timeout', '20', '--output-document', '-', '
--header', 'DomU_Request: saved_password', '192.102.146.5:8080'] with
allowed return codes [0] (shell=False, capture=True)
Which errors should appear if the password could not be changed?
Relevant version information:
- Ubuntu 18.04.3 LTS
- Apache CloudStack fork by Accelerite based on ACS 4.10, versioned as custom
4.11.0.7.
- Cloud-init v. 19.2-36-g059d049c-0ubuntu2~18.04.1
Contents of cloud init configuration (I've removed obsolete custom
cloud-init replacements mentioned in the previous bug report #1847604,
so there should be no other custom configuration):
datasource:
CloudStack: {}
None: {}
datasource_list:
- CloudStack
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1848026/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp