Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/vyos/vyos-cloud-init


https://github.com/vyos/vyos-cloud-init

systemd: add Before=shutdown.target when Conflicts=shutdown.target is used (#546)

Lintian spotted the following issue:

The specified systemd .service file contains both Defa...

20fe9da98ed69187faab80810c652fdc051b627e authored over 4 years ago
LXD: detach network from profile before deleting it (#542)

* LXD: detach network from profile before deleting it

When cleaning up the bridge network cre...

1f3a225af78dbfbff75c3faad28a5dc8cad0d1e3 authored over 4 years ago
redhat spec: add missing BuildRequires (#552)

456fb55744a1acc6bd2f464b7656a9c33d0b7ac5 made tools/read-dependencies
and package/brpm distingu...

575750ac4a3abb6fdfa45e2cc65186df291d8ddf authored over 4 years ago
util: remove debug statement (#556)

371b392ced518e45be51089b6a67b362957b1dba authored over 4 years ago
Fix cloud config on chef example (#551)

947a316a784580da0e91685b44635067e82e0038 authored over 4 years ago
Release 20.3 (#547)

Bump the version in cloudinit/version.py to 20.3 and
update ChangeLog.

LP: #1892878

948bd9c1fcd08346cf8ec0551d7f6c2b234e896b authored over 4 years ago
tox: bump the pylint version to 2.6.0 in the default run (#544)

Changes:

tox: bump the pylint version to 2.6.0 in the default run
Fix pylint 2.6.0 W0707 war...

07104504ab5b30efd2d1f7a8c36effe18b8e5fe0 authored over 4 years ago
Azure: Add netplan driver filter when using hv_netvsc driver (#539)

This fixes a long delay during boot of some instances. For Azure instance types using SR-IOV via...

4068137e3ef048d3e2da56a8190f682eb19d501e authored over 4 years ago
query: do not handle non-decodable non-gzipped content (#543)

c0450c02b25fe037c702e9bb145fbbaa28a165b1 authored over 4 years ago
DHCP sandboxing failing on noexec mounted /var/tmp (#521)

* DHCP sandboxing failing on noexec mounted /var/tmp

If /var/tmp is mounted with noexec optio...

db86753f81af73826158c9522f2521f210300e2b authored over 4 years ago
Update the list of valid ssh keys. (#487)

Update ssh_util.py with latest list of keys (from openssh-8.3p1/sshkey.c),

Added keys:
sk-ec...

c73ab5665469a28dec2995b2b15d3462b0a83c4b authored over 4 years ago
cmd: cloud-init query to handle compressed userdata (#516)

cloud-init query tries to directly load and decode
raw user-data from /var/lib/cloud/instance/u...

747723a42c98fa13080ea31127e289e7b826046f authored over 4 years ago
Pushing cloud-init log to the KVP (#529)

Push the cloud-init.log file (Up to 500KB at once) to the KVP before reporting ready to the Azur...

d941c7f7846e0216873384044d20f4b6723697c5 authored over 4 years ago
Add Alpine Linux support. (#535)

Add new module cc_apk_configure for creating Alpine /etc/apk/repositories file.
Modify cc_ca_ce...

79a8ce7e714ae1686c10bff77612eab0f6eccc95 authored over 4 years ago
Detect kernel version before swap file creation (#428)

According to man page `man 8 swapon', "Preallocated swap files are
supported on XFS since Linux...

b749548a9eb43b34cce64f8688107645411abc8c authored over 4 years ago
cli: add devel make-mime subcommand (#518)

* cli: add devel make-mime subcommand

Cloud-init documents an in-source-tree tool, make-mime....

a4b6b96f30bdd994ab535b222cf4b4bf09f20668 authored over 4 years ago
user-data: only verify mime-types for TYPE_NEEDED and x-shellscript (#511)

Commit d00126c167fc06d913d99cfc184bf3402cb8cf53 regressed cloud-init
handling in multipart MIME...

ef041fd822a2cf3a4022525e942ce988b1f95180 authored over 4 years ago
DataSourceOracle: retry twice (and document why we retry at all) (#536)

2d3533b59c7bf00affbda9c2c94fb5f214ffcb11 authored over 4 years ago
Refactor Azure report ready code (#468)

This PR refactors Azure report ready code to include more robust tests and telemetry.

c3556ae82dfb47d635344fcd78908f003648d6d2 authored over 4 years ago
tox.ini: pin correct version of httpretty in xenial{,-dev} envs (#531)

The version was bumped in c7248059dd2faaaadfbcef5c83e8e8ea166d6767 to
support running on Python...

1212675ea30feb8726e163c82127ca3cb1951f4e authored over 4 years ago
Support Oracle IMDSv2 API (#528)

* v2 of the API is now default with fallback to v1.
* Refactored the Oracle datasource to fetch...

546617c449f2e973717191a07c243ec1b6bfc8da authored over 4 years ago
.travis.yml: run a doc build during CI (#534)

We have doc8 configured, so we should use it to gate documentation
changes.

f9120243ffb9a2be4207c68744b87120e60f78f5 authored over 4 years ago
doc/rtd/topics/datasources/ovf.rst: fix doc8 errors (#533)

Plus a minor formatting improvement.

545b1c778a036aa973d98aa08453a15f3f872b5a authored over 4 years ago
Fix 'Users and Groups' configuration documentation (#530)

Few of the 'User and Groups' configurations in cloud-config have no effect on
already existing ...

4fb7eab7989b8eb80b4451ea325311c5dc97e3bc authored over 4 years ago
cloudinit.distros: update docstrings of add_user and create_user (#527)

This aligns their docstrings more closely with their actual behaviour.

6ac71fdf22db43269cf9b068517290b937ec31b5 authored over 4 years ago
Fix headers for device types in network v2 docs (#532)

46950cc404da411269d751953bfbcead90ee6806 authored over 4 years ago
Add AlexBaranowski as contributor (#508)

6d74815af1591c5ccac6fd4d2a5cb95391e52fcb authored over 4 years ago
DataSourceOracle: refactor to use only OPC v1 endpoint (#493)

The /opc/v1/ metadata endpoints[0] are universally available in Oracle
Cloud Infrastructure and...

a6bb375aef93a31395af9ce0985c49ada9fb7139 authored over 4 years ago
.github/workflows/stale.yml: s/Josh/Rick/ (#526)

We missed this one when we updated all the docs for the Canonical team's
management change.

6724839371bf89f3f7899d23162de3236bcdd1a9 authored over 4 years ago
Fix a typo in apt pipelining module (#525)

* Fix a typo in apt pipelining module

Changed `whcih` to `which`.

* Update .github-cla-sig...

39251a6786b8d6b10903b194df6dfe859176fe5c authored over 4 years ago
test_util: parametrize devlist tests (#523)

8bc5c2759fbd0581f7a6dff049c83cefbf21b345 authored over 4 years ago
Recognize LABEL_FATBOOT labels (#513)

Update DataSourceNoCloud and ds-identify to recognize LABEL_FATBOOT labels from blkid.
Also upd...

c068f992c3905d07732dafa6eb61c1ae3aa65916 authored over 4 years ago
Handle additional identifier for SLES For HPC (#520)

Add "sle_hpc" to list of values which are variant 'suse'.

b2bf538b8c355b1bf04657fafc717ad20779e4a4 authored over 4 years ago
Revert "test-requirements.txt: pin pytest to <6 (#512)" (#515)

pytest 6.0.1 fixes the issue we had with pytest 6.0.0.

This reverts commit db5c1c81840638cfe6...

a13febd286d21f1754e32f4a05e722039eb452b8 authored over 4 years ago
Merge pull request #15 from zdc/T2403-equuleus

cc_vyos: T2403: Resolved IP addresses configuration conflicts

6dc8bb5cda13f1bf1ed73fba653fdc39f58c8a58 authored over 4 years ago
cc_vyos: T2403: Resolved IP addresses configuration conflicts

This commit fixes a situation when it is necessary to configure more than one IP address on an i...

ab385feb8db847960dc83adbe8fb267b4471a0b9 authored over 4 years ago
test-requirements.txt: pin pytest to <6 (#512)

pylint is emitting errors with pytest 6.x which are not observed on
pytest 5.x. While that is ...

db5c1c81840638cfe6f08bbd40982b86dd3ecef7 authored over 4 years ago
Add "tsanghan" as contributor (#504)

e1e54d2e2f9b4529276a89fa0a35e76f9964ca2a authored over 4 years ago
fix brpm building

tools/read-dependencies:
- Add parameters --build-requires, --runtime-requires
- Sort dep...

456fb55744a1acc6bd2f464b7656a9c33d0b7ac5 authored over 4 years ago
Adding eandersson as a contributor (#502)

b70aec8e5ed59298e9fbd5da449350dd3d0002d2 authored over 4 years ago
Merge pull request #14 from zdc/T2403-equuleus

cc_vyos: T2403: Network configuration and module optimization

b259f14598a5468df65a31bbe24640ae560bb614 authored over 4 years ago
cc_vyos: T2403: Network configuration and module optimization

Changes:
- added logging messages
- optimized structure
- added back network configuration...

163aa2884adf716562a7353967f679ee647c2daa authored over 4 years ago
azure: disable bouncing hostname when setting hostname fails (#494)

DataSourceAzure: Gracefully handle the case of set hostname failure during provisioning

d600f47e91b904243263358324c413c4f7e5cf50 authored over 4 years ago
Merge pull request #9 from zdc/T2309

Cloud-init: T2309: Added filter to host-name and code cleanup

d8b04320d04fc3937a25b4418fb0434075ba3ecf authored over 4 years ago
VMware: Support parsing DEFAULT-RUN-POST-CUST-SCRIPT (#441)

Add support for VMware's vCD configuration setting DEFAULT-RUN-POST-CUST-SCRIPT.
When set True,...

995f8adf00509e5d2aefc9f0680c3c4894ae6666 authored over 4 years ago
DataSourceAzure: Use ValueError when JSONDecodeError is not available (#490)

JSONDecodeError is only available in Python 3.5+. When it isn't available (i.e. on Python 3.4, w...

ebc145be5e15c64a31ba496625727a7308a57baf authored over 4 years ago
cc_ca_certs.py: fix blank line problem when removing CAs and adding new one (#483)

Problem: When cc_ca_certs configuration has both "remove-defaults: true"
and also specifies one...

c0d239c7eadeae9c9e0b4e692b49e79c8ffcafd2 authored over 4 years ago
lp-to-git-users: adding anhvoms (#491)

Mapped from vtqanh

295f88052ba4cd452b55eb5fbd907f90aa6f9c52 authored over 4 years ago
freebsd: py37-serial is now py37-pyserial (#492)

The package has been renamed.

See: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246546

1c12208daf6e735a27c8ccb4d4da0098db1fc5e1 authored over 4 years ago
ssh exit with non-zero status on disabled user (#472)

It is confusing for scripts, where a disabled user has been specified,
that ssh exits with a ze...

e161059a18173e2b61c54dba9eab774401fb5f1f authored over 4 years ago
cloudinit: remove global disable of pylint W0107 and fix errors (#489)

* cloudinit: remove global disable of pylint W0107 and fix errors

This includes removing a te...

4fe576516d65feda17ba78e9265a8e494a195e7b authored over 4 years ago
networking: refactor wait_for_physdevs from cloudinit.net (#466)

* Refactor `cloudinit.net.wait_for_physdevs` to `cloudinit.distros.networking.Networking.wait_fo...

25289087e44c9c74543248519e37ca1f11b8a711 authored over 4 years ago
HACKING.rst: add pytest.param pytest gotcha (#481)

b3bd56248a2ef095c89f69d413ce3487ad041e43 authored over 4 years ago
cloudinit: remove global disable of pylint W0105 and fix errors (#480)

This includes a fix to a test that had a string concatenation issue, and
so was only testing a ...

3cec3881062490727c5fff1b16b53f0176f976f0 authored over 4 years ago
Fix two minor warnings (#475)

fecbd81889011e8a75badd18935297f3494fe485 authored over 4 years ago
test_data: fix faulty patch (#476)

I've been seeing intermittent failures of this test, and I tracked it
down to something to do w...

b9366677263ff7ec0f5b200900b22ba8871308a3 authored over 4 years ago
cc_mounts: handle missing fstab (#484)

Do not fail if /etc/fstab is not present. Some images, like container
rootfs may not include t...

3d06abc2e0017436dadbf9c26fefa9f95368db9a authored over 4 years ago
LXD cloud_tests: support more lxd image formats (#482)

Update lxd_export method to detect and handle different image formats
cloud_tests will only sup...

e753141fc7844e68b1f380d26fb3d250eb464ff7 authored over 4 years ago
Add update_etc_hosts as default module on *BSD (#479)

* Add update_etc_hosts as default module on *BSD
* Set preference of IPv6 over IPv4 in FreeBSD ...

d373a8e1ae602c98bf89dc962d0d2a27815fb183 authored over 4 years ago
cloudinit: fix tip-pylint failures and bump pinned pylint version (#478)

Specifically:

* disable E1102 in cloudinit/sources/helpers/openstack.py for reasons
descri...

411dbbebd328163bcb1c676cc711f3e5ed805375 authored over 4 years ago
Added BirknerAlex as contributor and sorted the file (#477)

* Added myself as contributor to the project
* Sorted the file alphabetically

b923a9e324fed6832d6afeb9908db25b3918839e authored over 4 years ago
Update list of types of modules in cli.rst

Added cloud_final_modules in place of cloud_init_modules under the heading 'modules'. cloud_init...

74fc5bf6ffcc6246e2c21a3314d9bc6324443909 authored over 4 years ago
tests: use markers to configure disable_subp_usage (#473)

This is an improvement over indirect parameterisation for a few reasons:

* The test code is m...

2b727914e8cbee6810b1bb9a1cfdb90ad521ceb6 authored over 4 years ago
Add mention of vendor-data to no-cloud format documentation (#470)

Also add landon912 to .github-cla-signers

e31f7fe43aa8f352097c4bb3e97fc3acca8a26b7 authored over 4 years ago
Fix broken link to OpenStack metadata service docs (#467)

ac422e764af04df799ddad0449da72909e5d1eb1 authored over 4 years ago
Disable ec2 mirror for non aws instances (#390)

For versions before 20.2, we allowed the use of ec2 mirrors if the datasource availability_zone ...

3fcdacc8995d6908858aceaf1da7ee5ff090fc04 authored over 4 years ago
cloud_tests: don't pass --python-version to read-dependencies (#465)

We dropped that parameter in 4d26848

e88f15a3bca93c82eb02c13e87f2b6839385639b authored over 4 years ago
networking: refactor is_physical from cloudinit.net (#457)

As the first refactor PR, this also includes the initial structure for tests.

LP: #1884619

882f1a5f2d5bafd08e6900a2782c3affa67c9d86 authored over 4 years ago
Enable use of the caplog fixture in pytest tests, and add a cc_final_message test using it (#461)

caplog is only available in pytest itself from 3.0 onwards. In xenial, we only have pytest 2.8.7...

66e114a660c53400e389f119781f378311b65108 authored over 4 years ago
RbxCloud: Add support for FreeBSD (#464)

Changes are made that simplify code and aim to properly support FreeBSD:

- use `util.find_dev...

baf11418c196ca72e6d570b64051d8ed35065abb authored over 4 years ago
Add schema for cc_chef module (#375)

Create a schema object for the chef module and validate this schema in the handle function of th...

b0eba6a4c3a25a13259c01ac4c9a35720fecfdd2 authored over 4 years ago
test_util: add (partial) testing for util.mount_cb (#463)

597be5e0722395638582ba541f61b29c6a7b444d authored over 4 years ago
.travis.yml: revert to installing ubuntu-dev-tools (#460)

My previous testing was insufficient: there is a branch of testing that
requires mk-sbuild, whi...

1933a4a2ce6c0903da46cd2bbc407936503f96a1 authored over 4 years ago
HACKING.rst: add details of net refactor tracking (#456)

6b5b5b4e77c04eef2c73bdc9103e85ebce93cc3e authored over 4 years ago
.travis.yml: rationalise installation of dependencies in host (#449)

We build in a schroot using sbuild, so we don't need Build-Depends
installed in the host; save ...

2be12238f1c55802eb14dfc5c4523283788ef4e4 authored over 4 years ago
Add dermotbradley as contributor. (#458)

7d5b4351ccbf5c6779cf749d1bec41e9486d9f9b authored over 4 years ago
net/networking: remove unused functions/methods (#453)

Namely, is_connected, is_wireless and is_present. None of these are
used in the cloud-init cod...

31b540524fd1dd5ae79bc703f581339fff1883e9 authored over 4 years ago
Jenkins: T2625: migrate to build library

0c0db14dec73e29c0b1d9e651e8f3dd4da87ae6a authored over 4 years ago
distros.networking: initial implementation of layout (#391)

This commit introduces the initial structure for the "cloudinit.net -> cloudinit.distros.network...

9a97a3f24e196401a9c54e9c7977ef6a03c98aeb authored over 4 years ago
cloud-init.service.tmpl: use "rhel" instead of "redhat" (#452)

We use "rhel" consistently everywhere else.

ddc4c2de1b1e716b31384af92f5356bfc6136944 authored over 4 years ago
Change from redhat to rhel in systemd generator tmpl (#450)

The name `redhat' is not used but rather `rhel' to identify the distro.

Signed-off-by: Eduard...

650d53d656b612442773453813d8417b234d3752 authored over 4 years ago
Hetzner: support reading user-data that is base64 encoded. (#448)

Hetzner cloud only supports user-data as a string (presumably utf-8).

In order to allow users...

76652f3e07b6f659b2fd166a6619cb427dc6bc7e authored over 4 years ago
HACKING.rst: add strpath gotcha to testing gotchas section (#446)

Co-authored-by: Rick Harding <[email protected]>

055731eade79d4121d1005469765207e425ac343 authored over 4 years ago
cc_final_message: don't create directories when writing boot-finished (#445)

If the instance symlink doesn't exist, then we shouldn't create a
directory in its place, becau...

0755cff078d5931e1d8e151bdcb84afb92bc0f02 authored over 4 years ago
.travis.yml: only store new schroot if something has changed (#440)

Prior to this change, the process of tarring up would mean that Travis
would always detect that...

609187cf1ffedee8c5d9d61d372c82c03d6442fd authored over 4 years ago
util: add ensure_dir_exists parameter to write_file (#443)

This allows us to disable the `ensure_dir` call when it isn't
appropriate.

40e72860e6a7d8876731cc1cfda4e499d119f2a1 authored over 4 years ago
printing the error stream of the dhclient process before killing it (#369)

This introduces a way to log the dhclient error stream, and uses it for the Azure datasource (wh...

d083a0315faf67c00acdecdc3f95c700edf6ba06 authored over 4 years ago
Fix link to the MAAS documentation (#442)

LP: #1883666

615fe62c0927e68349a1cd602c169eb699684f50 authored over 4 years ago
RPM build: disable the dynamic mirror URLs when using a proxy (#437)

When using an http proxy make sure to disable all the dynamic mirror
URLs. In particular:

-...

d4639837ff623f199afd3e44aa836bf4b845456e authored over 4 years ago
util: rename write_file's copy_mode parameter to preserve_mode (#439)

When updating the docstring to include it, I realised that the current
name is somewhat mislead...

3d13a9dd469f354d0ddc1e36be37d743b5a57c73 authored over 4 years ago
.travis.yml: use $TRAVIS_BUILD_DIR for lxd_image caching (#438)

This makes us more robust, as our caching won't start breaking if other
parts of the Travis bui...

e01e3ed5444c8093de47229e20abec440530d549 authored over 4 years ago
cli.rst: alphabetise devel subcommands and add net-convert to list (#430)

9912b000b27dfb9a42622f522bf12acb51ff74d0 authored over 4 years ago
Default to UTF-8 in /var/log/cloud-init.log (#427)

On a system with a non-utf8 default locale, the logger will silently
not log anything if the me...

287bfca19d8ed386cd41dbc47753b7711ac1c848 authored over 4 years ago
travis: cache the chroot we use for package builds (#429)

Prior to this change, we would debootstrap for every single integration
test run in Travis. Th...

318d154b8be1f50d1ebb0ed7451f63d6e330f985 authored over 4 years ago
test: fix all flake8 E126 errors (#425)

f3bd42659efeed4b092ffcdfd5df7f24813f2d3e authored over 4 years ago
Fixes KeyError for bridge with no "parameters:" setting (#423)

Reason: commit ded1ec8 introduced a regression whereby a bridge with no "parameters:" setting ca...

f083050478adc199648c980991f2bcece79ed31b authored over 4 years ago
When tools.conf does not exist, running cmd "vmware-toolbox-cmd config get deployPkg enable-custom-scripts", the return code will be EX_UNAVAILABLE(69), on this condition, it should not take it as error. (#413)

c6d09af67626c2f2241c64c10c9e27e8752ba87b authored over 4 years ago
Document CloudStack data-server well-known hostname (#399)

* Document CloudStack data-server well-known hostname
* Document fallback to default gateway
*...

e52ec4ebb8042e3be8c409252f6bbeb1fd767ee2 authored over 4 years ago
test: move conftest.py to top-level, to cover tests/ also (#414)

* test_opennebula: convert TestParseShellConfig to a pytest test

And allow it to run bash.

...

87b8080f3163574580a207f15ff308da6010b0ff authored over 4 years ago
Replace cc_chef is_installed with use of subp.is_exe. (#421)

This was brought up in review of #416.
Makes sense to remove the local copy of "is this executa...

4e534a7c22514d162e65cc773d44b706fe877cea authored over 4 years ago