summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2012-10-23multipart or cloud-config-archive, do not fail on unknown headersScott Moser
LP: #1065116
2012-10-23restart landscape after config or installThomas Herve
LP: #1070345
2012-10-15cc_landscape: do nothing if config not give. install landscape-client.Thomas Hervé
LP: #1066115
2012-10-05update ChangeLog for previous 2 commits.Scott Moser
Note, I've marked this as fixing LP: #1061964, but clearly it does not. that was fixed under revision 680. LP: #1061964
2012-10-01fix oauth time skew. actual implementation was returning 401 not 403.Scott Moser
This fixes (tested) bug 978127. The server was actually returning a 401 not a 403. As such, the fix here was insufficient. This will now take either of those 2 error codes. I've also tested it by changing the clock in the cloud-init upstart job with a stanza like below, and verifying that we do see the problem and then it resolve itself: pre-start script offset="10 minutes ago" past=$(date -R --date "$offset") date --set "$past" && echo ===== "set date to $past [$offset]" ===== || echo ===== "failed to set date to $past [$offset]" ==== end script LP: #978127
2012-09-19if a logged message fails, fallback to logging to stdoutJoshua Harlow
This most commonly occurs if a user-data script does '/sbin/poweroff' where syslog was being used. Once poweroff is invoked, syslog gets killed and logging would start to show stack traces. This generally tries to continue working instead, but log to stderr.
2012-09-14remove 'start networking' from cloud-init-nonetScott Moser
do not 'start networking' in cloud-init-nonet, but add cloud-init-container job that runs only if in container and emits net-device-added (LP: #1031065) LP: #1031065
2012-08-27DataSourceEc2: require 'instance-data' as top level domainScott Moser
In searching for the metadata service, require 'instance-data' to be at the top level domain. Previously any misconfigured 'search' in /etc/resolv.conf could result in unintended use of a metadata server. LP: #1040200
2012-08-24add changelog entryScott Moser
2012-08-22add support for creating initial users and groupsScott Moser
Added "userless" mode to cloud-init for handling the creation of the users and the default user on Ubuntu. The end goal of this is to remove the need for the 'ubuntu' user in the cloud images and to allow individuals to choose the default user name. LP: #1028503
2012-08-22add apt_reboot_if_required to reboot if requiredScott Moser
If an upgrade or package installation forced a reboot (such as a kernel upgrade), then we can optionally reboot at that point. This allows the user to not be into the newest available kernel without needing a reboot on their own. LP: #1038108
2012-08-22rework package mirror selectionScott Moser
There are several changes here. * Datasource now has a 'availability_zone' getter. * get_package_mirror_info * Datasource convenience 'get_package_mirror_info' that calls the configured distro, and passes it the availability-zone * distro has a get_package_mirror_info method * get_package_mirror_info returns a dict that of name:mirror this is to facilitate use of 'security' and 'primary' archive. * this supports searching based on templates. Any template that references undefined values is skipped. These templates can contain 'availability_zone' (LP: #1037727) * distro's mirrors can be arch specific (LP: #1028501) * rename_apt_lists supports the "mirror_info" rather than single mirror * generate_sources_list supports mirror_info, and as a result, the ubuntu mirrors reference '$security' rather than security (LP: #1006963) * remove the DataSourceEc2 specific mirror selection, but instead rely on the above filtering, and the fact that 'ec2_region' is only defined if the availability_zone looks like a ec2 az.
2012-08-20Add the "None" datasourceScott Moser
The None datasource is the last resort fallback datasource. It is identifiable by a property 'is_disconnected' that indicates that the datasource used is "not connected to a datasource". This will allow any thing that needs to run to still run in the absense of a DataSource. Also, we add a logging of the datasource found in final_message, and a warning if the None datasource is found. LP: #906669
2012-08-20mark bug 1010582 as fixed.Scott Moser
This was fixed in the previous commit, but not marked explicitly as such. LP: #1010582
2012-08-20add ssh-authkey-fingerprint config module, to print fingerprints to consoleScott Moser
Example output: ci-info: +---------+-------------------------+---------+-----------------+ ci-info: | Keytype | Fingerprint (md5) | Options | Comment | ci-info: +---------+-------------------------+---------+-----------------+ ci-info: | ssh-rsa | e3:..:84:81:72:38:..:6a | - | smoser@brickies | ci-info: | ssh-rsa | 21:..:32:8a:da:98:..:42 | - | smoser@bart | ci-info: | ssh-rsa | 7b:..:ac:a7:17:51:..:b2 | - | smoser@kaypeah | ci-info: +---------+-------------------------+---------+-----------------+
2012-08-14Add RHEVm and vSphere support as datasource AltCloudScott Moser
These changes add a new data source to cloud-init to support passing user data to RHEVm and vSphere. The user data is passed to RHEVm v3.0 (current version) using a floppy injection hook and to vSphere via cdrom device. RHEVm v3.1 will use a method similar to vSphere. Once available support for that is also expected.
2012-07-11add write-files module for "injecting" files (LP: #1012854)Scott Moser
This implements file writing via cloud-config. It also * adjusts other code to have user/group parsing in util instead of in stages.py, * renames decomp_str to decomp_gzip since it is more meaningful when named that (as thats all it can decompress). LP: #1012854
2012-07-09update ChangelogScott Moser
2012-07-01Adjust the changelog after adding 'hacking.py'harlowja
2012-06-30Add in more comments about what has been changed/adjusted/reworkedharlowja
2012-06-30Add comment about #includeonce/#include bug/changeharlowja
2012-06-29Start filling out the 0.7 changelog section.Joshua Harlow
2012-06-29[merge-from-trunk] use yaml.safe_load rather than yaml.loadScott Moser
Usage of yaml.safe_load had already occurred on rework branch
2012-06-29[merge from trunk] cc_salt_minion: install package salt-minion rather than saltScott Moser
2012-06-29[merge from trunk] Use --quiet when running apt-getScott Moser
2012-06-21use yaml.safe_load rather than yaml.loadScott Moser
LP: #1015818
2012-06-20cc_salt_minion: install package salt-minion rather than saltScott Moser
LP: #996166
2012-06-13Use --quiet when running apt-getScott Moser
Use the --quiet switch when running apt-get to get output suitable for logging, rather than with pretty progress updates designed for interactive use. This makes the log, as returned by GetConsoleOutput for instance, a little shorter and easier to read. Some action completion notices are also missed, but it's pretty clear still as no error output appears before cloud-init goes on to the next thing. Mer apt-get man page: Quiet; produces output suitable for logging, omitting progress indicators. LP: #1012613
2012-06-11Update with parsing of a requirments file, changelog for this new ↵Joshua Harlow
refactoring stuff and setup.py for both of those.
2012-05-22support relative path in AuthorizedKeysFileScott Moser
LP: #970071
2012-04-09fix chef documentation (LP: #960564)Scott Moser
LP: #960564
2012-04-05Allow a url to cloud-config data to be specified on kernel config lineScott Moser
In order to allow an ephemeral, or otherwise pristine image to receive some configuration, cloud-init will read a url directed by the kernel command line and proceed as if its data had previously existed. For more information, see doc/kernel-cmdline.txt
2012-04-04Provide informative message when user logs in with unsupported localeScott Moser
On the users's first login with a locale that is not supported (where 'locale' would give errors), inform the user on how they can generate the locales or install language support packages. LP: #859814
2012-03-26cc_chef: fix bug when validation_key was present, but validation_cert was notScott Moser
This fixes a bug in chef handling if the config contained the 'validation_key' key, but not the 'validation_cert' key. LP: #960547
2012-03-21cc_resizefs: run resizefs in the background during boot.Scott Moser
LP: #961226
2012-03-12Warn in user-data processing on non-multipart, non-handled dataScott Moser
If user-data is supplied that is not multipart, and is unhandled, then log a warning. A warning by default will get to the console, so the user can see it even if they cannot get into the instance. If they don't see it there, it would still be available in the cloud-init log.
2012-03-12wrap Changelog to < 80 charsScott Moser
2012-03-12import CloudStack data source [Cosmin Luta]Scott Moser
2012-03-09add option apt_pipelining to cloud-config to address s3 mirrors (LP: #948461)Scott Moser
Thanks to Ben Howard.
2012-03-08Add DataSourceMaaS, a Data Source for Ubuntu Machine as a ServiceScott Moser
LP: #942061
2012-02-17support reading network interface config from DataSourceNoCloudScott Moser
document usage of DataSourceNoCloud from vfat or iso disk.
2012-02-16update changelogScott Moser
2012-02-16DataSourceConfigDrive: support getting data from openstack config driveScott Moser
LP: #857378
2012-02-15DataSourceOVF: only search for OVF data on ISO9660 filesystemsScott Moser
I believe this will resolve LP: #898373 by making DataSourceOVF restrict its mounting of filesystems to iso9660. By doing this, it will never mount a ext3 (or btrfs or any fs that mountall would fsck) and thus will avoid any races with that. LP: #898373
2012-02-15Support salt minions via cloud-config [Jeff Bauer] (LP: #927795)Scott Moser
2012-01-30support empty lines in '#include' files (LP: #923043)Scott Moser
LP: #923043
2012-01-20in netinfo output (ci-info:), fill in empty fields with a "."Scott Moser
If you were trying to parse this output with something, an empty field would be difficult to handle, as you'd have to know the expected lengths of each field. The '.' means empty, but then all fields are non-whitespace delimited by one or more whitespace.
2012-01-17add support for add/remove CA Certificates via cloud-config (LP: #915232)Scott Moser
LP: #915232
2012-01-12fix pylint warnings (LP: #914739) [Juerg Haefliger]Scott Moser
LP: #914739
2012-01-12add unit test framework (LP: #890851)Scott Moser