Merge ~msaikia/cloud-init:topic-msaikia-vmware into cloud-init:master
| Status: | Superseded |
|---|---|
| Proposed branch: | ~msaikia/cloud-init:topic-msaikia-vmware |
| Merge into: | cloud-init:master |
| Diff against target: |
361 lines (+281/-4) 4 files modified
cloudinit/sources/DataSourceOVF.py (+54/-1) cloudinit/sources/helpers/vmware/imc/config.py (+34/-3) cloudinit/sources/helpers/vmware/imc/config_passwd.py (+140/-0) tests/unittests/test_vmware/test_password_config.py (+53/-0) |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Scott Moser | 2016-09-12 | Needs Fixing on 2017-03-09 | |
| Server Team CI bot | continuous-integration | Approve on 2017-03-09 | |
|
Review via email:
|
|||
This proposal has been superseded by a proposal from 2017-04-21.
Commit Message
Guest Customization support for product vcloud director - Password Configuration.
This feature enables the following VMware VCloud Director functionalities:
1. Setting admin password
2. Expire password.
3. Set admin password and expire.
Description of the Change
1. Retrieve values from configuration file.
2. Parse data and call password customization.
3. Unit tests for password configurator
- 3c065e8... by Maitreyee Saikia on 2016-10-25
- 5b39e5a... by Maitreyee Saikia on 2016-10-25
- 9666992... by Maitreyee Saikia on 2016-10-25
| Maitreyee Saikia (msaikia) wrote : | # |
- 9c2b189... by Maitreyee Saikia on 2016-11-21
- fe0e369... by Maitreyee Saikia on 2016-11-21
- 5c2f89e... by Maitreyee Saikia on 2016-11-21
- be30849... by Maitreyee Saikia on 2016-11-21
| Maitreyee Saikia (msaikia) wrote : | # |
Updated some formatting.
| Scott Moser (smoser) wrote : | # |
Please set a combined commit message ('Set commit message' above.
Can you explain where you're going also?
I'm concerned about adding more "vmware" paths for configuring things that are done elsewhere (or not elsewhere) in cloud-init. We'd like have consistent paths for doing things as much as possible.
I understand that you're trying to have cloud-init take over another more solution, and I'm not entirely opposed to that, but I want to integrate as much as possible rather than having specific paths and function on vmware.
| Maitreyee Saikia (msaikia) wrote : | # |
> Please set a combined commit message ('Set commit message' above.
>
> Can you explain where you're going also?
> I'm concerned about adding more "vmware" paths for configuring things that are
> done elsewhere (or not elsewhere) in cloud-init. We'd like have consistent
> paths for doing things as much as possible.
>
> I understand that you're trying to have cloud-init take over another more
> solution, and I'm not entirely opposed to that, but I want to integrate as
> much as possible rather than having specific paths and function on vmware.
Thanks for your input Scott. I have updated the commit message.
This changeset is just to retrieve data from customization spec, for implementing some other customization functionalities like setting password, running post customization scripts etc. I shall post another changeset with the password configurator, which manipulates the values retrieved from these methods to be used by cloud-init's cc_set_password. We will be using as much cloud-init code as possible. For other functionalities like running pre and post customization specs that will be uploaded by the user, I dont think there is existing support. Please let me know if that sounds ok. Also for functions that are "vmware" specific, shall we still keep it in the helper path that we have created for vmware, or do we want to move them to some common code area?
Thanks
Maitreyee
- 3128086... by Maitreyee Saikia on 2017-01-24
FAILED: Continuous integration, rev:312808680eb
https:/
Executed test runs:
SUCCESS: https:/
FAILURE: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
- 7c480f7... by Maitreyee Saikia on 2017-03-09
PASSED: Continuous integration, rev:7c480f71a20
https:/
Executed test runs:
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
SUCCESS: https:/
Click here to trigger a rebuild:
https:/
- f71def6... by Maitreyee Saikia on 2017-03-09
| Scott Moser (smoser) wrote : | # |
There is one small nitpick in line.
There isn't anything wrong with this merge proposal, but it
a.) doesn't really do anything
I realize you're planning on using these things going forward, and thats fine, but there is no reason to accept this MP until we also see that further work. So just add it here. You can rebase/squahs your commits into single function items in a "series" if that helps you.
b.) should add some unit tests.
unit tests will help stop others from breaking your code path inadvertently.
- f482c10... by Maitreyee Saikia on 2017-03-09
| Scott Moser (smoser) wrote : | # |
Hi. I'm going to put this in "work in progress".
See the comments above. When youv'e addressed them, move it back to Needs Review.
Thanks
Scott
- 50e9a02... by Maitreyee Saikia on 2017-04-04
- 4580c7b... by Maitreyee Saikia on 2017-04-04
- 1a801a4... by Maitreyee Saikia on 2017-04-04
- c886370... by Maitreyee Saikia on 2017-04-07
| Maitreyee Saikia (msaikia) wrote : | # |
Hi Scott
I have resubmitted my review request after addressing your comments.
https:/
Please let me know if you get a chance to review the new changeset.
Thanks
Maitreyee
-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Scott Moser
Sent: Tuesday, March 14, 2017 7:25 AM
To: Maitreyee Saikia <email address hidden>
Subject: Re: [Merge] ~msaikia/
Hi. I'm going to put this in "work in progress".
See the comments above. When youv'e addressed them, move it back to Needs Review.
Thanks
Scott
--
https:/
You are the owner of ~msaikia/
Unmerged commits
- c886370... by Maitreyee Saikia on 2017-04-07
- 1a801a4... by Maitreyee Saikia on 2017-04-04
- 4580c7b... by Maitreyee Saikia on 2017-04-04
- 50e9a02... by Maitreyee Saikia on 2017-04-04
- 7c480f7... by Maitreyee Saikia on 2017-03-09
- 3128086... by Maitreyee Saikia on 2017-01-24
- be30849... by Maitreyee Saikia on 2016-11-21
- 9666992... by Maitreyee Saikia on 2016-10-25
- 0e9f7cc... by Maitreyee Saikia on 2016-09-12
- 5c2f89e... by Maitreyee Saikia on 2016-11-21


Thanks for the comments Joshua.
Updated the diff.