1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/docsite/rst/roadmap/ROADMAP_2_2.rst

180 lines
12 KiB
ReStructuredText
Raw Normal View History

2016-06-01 22:08:16 +02:00
****************
Ansible Core 2.2
****************
**********************
Target: September 2016
**********************
- **Docker** (lead by Chris Houseknecht)
2016-06-01 22:46:38 +02:00
2016-09-29 15:51:04 +02:00
- Docker_network: **done**
- Docker_volume: Not in this release
- Docker_file: Not in this release.
2016-06-13 17:36:28 +02:00
- Openshift:  oso_deployment, oso_route, oso_service, oso_login (...and possibly others. These are modules being developed to support `ansible-container <https://github.com/ansible/ansible-container>`_.)
- Kubernetes: kube_deployment, kube_service, kube_login (...and possibly others. These too are modules being developed to support `ansible-container <https://github.com/ansible/ansible-container>`_)
2016-06-13 17:36:28 +02:00
- **Extras split from Core** (Team, Community, lead by Jason M and Jimi-c) (Targeting 2.2, could move into 2.3).
2016-06-02 00:35:24 +02:00
Targeted towards the 2.2 release or shortly after, we are planning on splitting Extras out of the “Ansible Core” project.  That means that modules that are shipped with Ansible by default are **only** the modules in ansibl-modules-core.  Ansible extras will become a separate project, managed by the community standard.  Over the next few months were going to have a lot of work to do on getting all of the modules in the right places for this to work.
2016-06-01 22:46:38 +02:00
2016-06-13 17:36:28 +02:00
- Create proposal (Jason or Jimi)
2016-06-02 00:20:33 +02:00
- Review modules for correct location (extras v core)
- Extras is a completely different package (does not install with ansible)
- Library dependencies
- Decide and implement release schedules between Ansible Core and Extras to ensure compatibility and longevity for modules and versions of Ansible.
- **Tweaks/Fixes**
2016-06-01 22:46:38 +02:00
2016-09-29 16:05:59 +02:00
- Connection handling stuff. (Toshio K. and Brian C.): This is a stretch goal for 2.2.  **This work got pushed out**
2016-06-02 00:20:33 +02:00
2016-06-13 17:36:28 +02:00
- Change connection polling to avoid resource limitations, see `<https://github.com/ansible/ansible/issues/14143>`_
- `<https://docs.python.org/3/library/selectors.html#module-selectors>`_
2016-06-02 00:20:33 +02:00
- Code: https://github.com/kai11/ansible/blob/fix/select_fd_out_of_range_wip/lib/ansible/plugins/connection/ssh.py
2016-06-13 17:36:28 +02:00
- **Cloud Modules** (Ryan Brown)
2016-06-01 22:46:38 +02:00
2016-06-02 00:20:33 +02:00
- AWS
- Pagination for all AWS modules (generic pagination exists, but isnt used everywhere) (bumped to 2.3)
- Refactoring ec2.py to be more digestible (bumped to 2.3)
- Fix inconsistencies with different authentication methods (STS, environment creds, ~/.aws/credentials) (done)
- AWS Lambda modules (lambda_execute done, others pending)
- Ryan Brown and Robyn Bergeron work on bug/PR triage to reduce backlog (reduced - continuing to work on it)
2016-06-02 00:20:33 +02:00
- Google (Ryan Brown and Tom Melendez)
- Add support for Google Cloud DNS
- Add support for Google Cloud managed instance groups (done)
2016-06-02 00:20:33 +02:00
- Support restoring instances from snapshots
- Improved handling of scratch disks on instances (done)
2016-06-02 00:20:33 +02:00
- External OpenStack (Stretch goal for this release)
2016-06-02 00:54:53 +02:00
- Ryan with some help from David Shrewsbury (Zuul/Openstack at RedHat).
- Support Heat stack resources (done)
2016-06-02 00:20:33 +02:00
- Support LBaaS load balancers
- Azure load balancer: Feature parity for AWS ELB (Stretch Goal)
2016-06-13 17:36:28 +02:00
- **VMware** (Brian, Jtanner)
2016-06-01 22:46:38 +02:00
2016-08-05 01:47:39 +02:00
- *module/inventory script: port to pyvmomi (jtanner, bcoca)*
2016-08-05 01:48:34 +02:00
**done:** https://github.com/ansible/ansible/pull/15967
2016-08-05 01:47:39 +02:00
- *inventory script: allow filtering ala ec2 (jtanner) (undergoing PR process)*
2016-08-05 01:48:34 +02:00
**done:** https://github.com/ansible/ansible/pull/15967
2016-06-02 00:20:33 +02:00
- vsphere: feature parity with whereismyjetpack and viasat modules 
2016-06-13 17:36:28 +02:00
- **Windows platform feature parity** (Matt D)
2016-06-01 22:46:38 +02:00
2016-09-16 00:00:10 +02:00
- PS module API (mirror Python module API where appropriate). Note: We dont necessarily like the current python module API (AnsibleModule is a huge class with many unrelated utility functions.  Maybe we should redesign both at the same time?) (bumped to 2.3+ due to "moving target" uncertainty)
- Environment keyword support (done)
2016-09-16 00:00:10 +02:00
- win_shell/win_command (done)
- Async support (done)
- (stretch goal) Pipelining (bumped to 2.3+)
2016-06-13 17:36:28 +02:00
- **Windows-specific enhancements** (Matt D)
2016-06-01 22:46:38 +02:00
- Multiple Kerberos credential support (done)
2016-09-16 00:00:10 +02:00
- Server 2016 testing/fixes (done, awaiting next TP/RTM)
- (stretch goal) Nano Server connection + module_utils working (bumped to 2.3)
- (stretch goal) Encrypted kerberos support in pywinrm (bumped to 2.3)
2016-06-13 17:36:28 +02:00
- **Network** (Nate C/Peter S)
2016-06-01 22:46:38 +02:00
2016-09-02 21:55:57 +02:00
- **Done:** Unify NetworkModules (module_utils/network.py) as much as possible 
- **Done:** Add support for config diff and replace on supported platforms (2 weeks)
- **Done:** Support for VyOS network operating system
- **Done:** Add support for RestConf for IOS/XE
- **Done:** Support for Dell Networking OS10
2016-09-02 22:11:58 +02:00
- **Done:** Add support for Nokia SR OS modules
- **Done:** Network facts modules (dellos, eos, ios, iosxr, junos, nxos, openswitch, vyos)
- **Deferred:** Network facts modules (cumulus, netvisor, sros)
- **Deferred:** Add support for NetConf for IOS/XE
2016-09-02 22:11:58 +02:00
- **Deferred:** (stretch goal) Quagga modules
- **Deferred:** (stretch goal) Bird modules
- **Deferred:** (stretch goal) GoBGP modules
- **Implement role revamp proposal to give users more control on role/task execution (Brian) **
2016-06-01 22:46:38 +02:00
2016-06-02 00:20:33 +02:00
- **https://github.com/ansible/proposals/blob/master/roles_revamp.md**
2016-06-13 17:36:28 +02:00
- **Vault** (Jtanner/Adrian)
2016-06-01 22:46:38 +02:00
2016-08-05 01:47:39 +02:00
- *Extend transparent vault file usage to other action plugins other than 'copy'(https://github.com/ansible/ansible/issues/7298)*
2016-08-05 01:48:34 +02:00
**done:** https://github.com/ansible/ansible/pull/16957
- Add per variable vault support (!vault YAML directive, existing PR already) https://github.com/ansible/ansible/issues/13287 https://github.com/ansible/ansible/issues/14721
2016-08-09 17:32:16 +02:00
- Add vault/unvault filters https://github.com/ansible/ansible/issues/12087 (deferred to 2.3)
- Add vault support to lookups (likely deferred to 2.3 or until lookup plugins are revamped)
2016-06-13 17:36:28 +02:00
- Allow for multiple vault secrets https://github.com/ansible/ansible/issues/13243
2016-06-02 00:20:33 +02:00
- Config option to turn unvaulting failures into warnings https://github.com/ansible/ansible/issues/13244
2016-06-13 17:36:28 +02:00
- **Python3** (Toshio)
A note here from Jason M: Getting to complete, tested Python 3 is both
a critical task and one that has so much work and so many moving parts
that we dont expect this to be complete by the 2.2 release.  Toshio will
lead this overall effort.
- Motivation:
- Ubuntu LTS (16.04) already ships without python2.  RHEL8 is coming which is also expected to be python3 based. These considerations make this high priority.
- Ansible users are getting restless: https://groups.google.com/forum/#!topic/ansible-project/DUKzTho3OCI
- This is probably going to take multiple releases to complete; need to get started now
- Baselines:
- We're targeting Python-3.5 and above.
- Goals for 2.2:
- Tech preview level of support
- Controller-side code can run on Python3
- Update: Essential features have been shown to work on Python3.
Currently all unittests and all but three integration tests are
passing on Python3. Code has not been line-by-line audited so bugs
remain but can be treated as bugs, not as massive, invasive new features.
- Almost all of our deps have been ported:
2016-06-02 00:20:33 +02:00
- The base deps in setup.py are ported: ['paramiko', 'jinja2', "PyYAML", 'setuptools', 'pycrypto &gt;= 2.6']
- python-six from the rpm spec file has been ported
- Python-keyczar from the rpm spec file is not.
- Strategy: removing keyczar when we drop accelerate for 2.3. Print deprecation in 2.1.
2016-06-02 00:20:33 +02:00
- Module_utils ported to dual python3/python2(2.4 for much of it, python2.6 for specific things)
- Update: Mostly done. Also not line-by-line audited but the unittests
and integration tests do show that the most use functionality is working.
- Add module_utils files to help port
- Update: copy of the six library (v1.4.1 for python2.4 compat) and unicode helpers are here (ansible.module_utils._text.{to_bytes,to_text,to_native})
2016-06-02 00:20:33 +02:00
- A few basic modules ported to python3
- Stat module best example module since its essential.
- Update: A handful of modules like stat have been line-by-line ported. They should work reliably with few python3-specific bugs. All but three integration tests pass which means that most essential modules are working to some extent on Python3.
- The three failing tests are: service, hg, and uri.
- Note, large swaths of the modules are not tested. The status of
these is unknown
- All code should compile under Python3.
- lib/ansible/* and all modules now compile under Python-3.5
- Side work to do:
- Figure out best ways to run unit-tests on modules.  Start unit-testing modules.  This is going to become important so we dont regress python3 or python2.4 support in modules  (Going to largely punt on this for 2.2.  Matt Clay is working on building us a testing foundation for the first half of 2.2 development so well re-evaluate towards the middle of the dev cycle).
- More unit tests of module_utils
- More integration tests. Currently integration tests are the best way to test ansible modules so we have to rely on those.
2016-06-02 00:20:33 +02:00
- Goals for 2.3:
- Bugfixing, bugfixing, bugfixing. We need community members to test,
submit bugs, and add new unit and integration tests. I'll have some
time allocated both to review any Python3 bugfixes that they submit
and to work on bug reports without PRs. The overall goal is to make
the things that people do in production with Ansible work on Python 3.
2016-06-13 17:36:28 +02:00
- **Infrastructure Buildout and Changes** (Matt Clay)
2016-06-02 00:32:46 +02:00
Another note from Jason M: A lot of this work is to ease the burden of CI, CI performance, increase our testing coverage and all of that sort of thing.  Its not necessarily feature work, but its \*\*critical\*\* to growing our product and our ability to get community changes in more securely and quickly.
- **CI Performance**
Reduce time spent waiting on CI for PRs. Combination of optimizing existing Travis setup and offloading work to other services. Will be impacted by available budget.
2016-08-18 18:55:30 +02:00
**Done:** Most tests have been migrated from Travis to Shippable.
2016-06-02 00:32:46 +02:00
- **Core Module Test Organization**
Relocate core module tests to ansible-modules-core to encourage inclusion of tests in core module PRs.
**Deferred:** Relocation of core module tests has been deferred due to proposed changes in `modules management <https://github.com/ansible/proposals/blob/master/modules-management.md>`_.
2016-06-02 00:32:46 +02:00
- **Documentation**
Expand documentation on setting up a development and test environment, as well as writing tests. The goal is to ease development for new contributors and encourage more testing, particularly with module contributions.
- **Test Coverage**
Expand test coverage, particularly for CI. Being testing, this is open ended. Will be impacted by available budget.
**Done:** Module PRs now run integration tests for the module(s) being changed.
2016-06-13 17:36:28 +02:00
- Python 3 - Run integration tests using Python 3 on CI with tagging for those which should pass, so we can track progress and detect regressions.
**Done:** Integration tests now run on Shippable using a Ubuntu 16.04 docker image with only Python 3 installed.
2016-06-13 17:36:28 +02:00
- Windows - Create framework for running Windows integration tests, ideally both locally and on CI.
2016-08-18 18:55:30 +02:00
**Done:** Windows integration tests now run on Shippable.
- FreeBSD - Include FreeBSD in CI coverage. Not originally on the roadmap, this is an intermediary step for CI coverage for OS X.
**Done:** FreeBSD integration tests now run on Shippable.
2016-06-13 17:36:28 +02:00
- OS X - Include OS X in CI coverage.
**Done:** OS X integration tests now run on Shippable.