Comments (3)
Launchpad user Scott Moser(smoser) wrote on 2011-10-31T15:54:53.533939+00:00
Garret, I pulled your systemd files from Fedora under revno 465.
If there is other work to do, let me know.
from cloud-init.
Launchpad user Kevin Brackney(kbrackney) wrote on 2012-02-16T16:10:19.513893+00:00
Installed Packages
Name : cloud-init
Arch : noarch
Version : 0.6.2
Release : 0.7.bzr457.fc16
Under Fedora 16, the systemd resource cloud-config.target is defined as requiring both cloud-init-local.service and cloud-init.service. If no local datastore is defined (as possibly in an EC2 deployment), the cloud-init-local.service exits with a non-zero return code causing a cascade of failures related to dependent services:
Feb 15 18:47:09 domU-12-31-39-00-85-B2 [CLOUDINIT] cloud-init[INFO]: cloud-init start-local running: Wed, 15 Feb 2012 23:47:09 +0000. up 9.73 seconds
Feb 15 18:47:09 domU-12-31-39-00-85-B2 [CLOUDINIT] init.py[DEBUG]: searching for data source in ['DataSourceNoCloud', 'DataSourceOVF']
Feb 15 18:47:09 domU-12-31-39-00-85-B2 [CLOUDINIT] init.py[DEBUG]: Did not find data source. searched classes: ['DataSourceNoCloud', 'DataSourceOVF']
Feb 15 18:47:09 domU-12-31-39-00-85-B2 systemd[1]: cloud-init-local.service: main process exited, code=exited, status=1
Feb 15 18:47:09 domU-12-31-39-00-85-B2 systemd[1]: Job cloud-final.service/start failed with result 'dependency'.
Feb 15 18:47:09 domU-12-31-39-00-85-B2 systemd[1]: Job cloud-config.service/start failed with result 'dependency'.
Feb 15 18:47:09 domU-12-31-39-00-85-B2 systemd[1]: Job cloud-config.target/start failed with result 'dependency'.
Feb 15 18:47:09 domU-12-31-39-00-85-B2 systemd[1]: Unit cloud-init-local.service entered failed state.
cloud-init-local.service - Initial cloud-init job (pre-networking)
Loaded: loaded (/lib/systemd/system/cloud-init-local.service; enabled)
Active: failed since Wed, 15 Feb 2012 18:57:58 -0500; 1h 8min ago
Process: 374 ExecStart=/usr/bin/cloud-init start-local (code=exited, status=1/FAILURE)
CGroup: name=systemd:/system/cloud-init-local.service
Suggest changing the /lib/systemd/system/cloud-config.target definition to remove the mandatory requirement on cloud-init-local.service and make it optional. This should then allow the instance to be configured appropriately from the cloud-providers metadata/userdata resource as the remaining services will be allowed to run.
from cloud-init.
Launchpad user Garrett Holmstrom(gholms) wrote on 2012-02-17T18:28:56.115264+00:00
Good catch, Kevin. cloud-init shouldn't be failing when no data source exists. That is fixed in bzr rev. 524.
from cloud-init.
Related Issues (20)
- Failed to install packages when cloud-init installs gpg to dearmor key HOT 5
- Network v1 to ENI rendering uses `bond_miimon` rather than `bond-miimon`
- datasource_list no longer allowed in a cloud-init file HOT 7
- No longer ignores unmatched ethernet devices HOT 2
- disk_setup (and probably fs_setup) does not work with nvme drives HOT 5
- Unexpected routing policy added in EC2 instance with multiple interfaces
- [enhancement]: azure password hashing
- ds-identify doesn't play nice with SELinux HOT 2
- fix flaky integration test
- [enhancement]: wsl datasource - Inherit user from Windows HOT 2
- AttributeError: module 'cloudinit.log' has no attribute 'getLogger' when running cloud-init init --local HOT 4
- [enhancement]: (systemd) allow cgroup cleanup
- cloud-init network fails in ipv6-only subnet with multi-NICs (KeyError: 'subnet-ipv4-cidr-block') HOT 2
- [docs]: missing redirect (en/latest/topics/availability.html) HOT 1
- Cloud-init Hangs on System Time Change When Datasource is Unreachable HOT 2
- tcp: Re-use tcp sessions
- DataSourceNoCloudNet not configurable via config files HOT 11
- Cloud-init 24.1 fails if cloud-init local runs before the network adapter is loaded HOT 4
- Cloud-init 23.4 introduces hard requirement on snap store connectivity for `package_update_upgrade_install`
- Unclear reason for cc_users_groups supporting both "passwd" and "hashed_passwd" options for users
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cloud-init.