← Back to team overview

cloud-init team mailing list archive

Cloud-init service showing inactive after startup.

 

Hi,

 

I have been start using cloud-init with cloudstack. So I start with password
generator module that is working perfectly fine.

 

Now I am working on growpart. So I installed recommended package and also
put datasource. But while my instance comes up after booting cloud-init
service showing inactive as so df -h not showing increased space but when I
manually started service "systemctl start cloud-init" then it UP
successfully and also increased space is showing in df -h.

 

So why it not UP during boot even I enable it so it start automatically.

 

I checked the logs of /run/cloud-init/ds-identify.log and it shows:

 

 

 

 

[up 4.03s] ds-identify

policy loaded: mode=search report=false found=all maybe=all
notfound=disabled

/etc/cloud/cloud.cfg.d/99_cloudstack.cfg set datasource_list:

no datasource_list found, using default: MAAS ConfigDrive NoCloud AltCloud
Azure Bigstep CloudSigma CloudStack DigitalOcean AliYun Ec2 GCE OpenNebula
OpenStack OVF SmartOS Scaleway Hetzner IBMCloud Oracle

DMI_PRODUCT_NAME=HVM domU

DMI_SYS_VENDOR=Xen

DMI_PRODUCT_SERIAL=eab4aadf-d5f0-5e3c-103b-46d58662fd64

DMI_PRODUCT_UUID=EAB4AADF-D5F0-5E3C-103B-46D58662FD64

PID_1_PRODUCT_NAME=unavailable

DMI_CHASSIS_ASSET_TAG=

FS_LABELS=

ISO9660_DEVS=

KERNEL_CMDLINE=BOOT_IMAGE=/vmlinuz-3.10.0-957.el7.x86_64
root=UUID=3eb8b3b2-ee2e-4920-ac03-1c6f44f8de11 ro crashkernel=auto rhgb
quiet LANG=en_US.UTF-8

VIRT=xen

UNAME_KERNEL_NAME=Linux

UNAME_KERNEL_RELEASE=3.10.0-957.el7.x86_64

UNAME_KERNEL_VERSION=#1 SMP Thu Nov 8 23:39:32 UTC 2018

UNAME_MACHINE=x86_64

UNAME_NODENAME=resize-new

UNAME_OPERATING_SYSTEM=GNU/Linux

DSNAME=

DSLIST=MAAS ConfigDrive NoCloud AltCloud Azure Bigstep CloudSigma CloudStack
DigitalOcean AliYun Ec2 GCE OpenNebula OpenStack OVF SmartOS Scaleway
Hetzner IBMCloud Oracle

MODE=search

ON_FOUND=all

ON_MAYBE=all

ON_NOTFOUND=disabled

pid=1839 ppid=1834

is_container=false

is_ds_enabled(IBMCloud) = true.

ec2 platform is 'Unknown'.

is_ds_enabled(IBMCloud) = true.

No ds found [mode=search, notfound=disabled]. Disabled cloud-init [1]

[up 4.14s] returning 1

 

 

As per the logs cloud-init disables because datastore not found. Can anyone
please help me on this.

 

 

Thanks & Regards,
Jyoti Yadav

 

 


Follow ups