Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

datasource problem after upgrade #5905

Open
jperon opened this issue Nov 28, 2024 · 5 comments
Open

datasource problem after upgrade #5905

jperon opened this issue Nov 28, 2024 · 5 comments
Labels
bug Something isn't working correctly incomplete Action required by submitter

Comments

@jperon
Copy link

jperon commented Nov 28, 2024

Bug report

Just filing this one as requested by the message itself. Here is what I get after upgrading my Debian vps on PulseHeberg:

**************************************************************************
# A new feature in cloud-init identified possible datasources for        #
# this system as:                                                        #
#   []                                                                   #
# However, the datasource used was: NoCloud                              #
#                                                                        #
# In the future, cloud-init will only attempt to use datasources that    #
# are identified or specifically configured.                             #
# For more information see                                               #
#   https://bugs.launchpad.net/bugs/1669675                              #
#                                                                        #
# If you are seeing this message, please file a bug against              #
# cloud-init at                                                          #
#    https://github.com/canonical/cloud-init/issues                      #
# Make sure to include the cloud provider your instance is               #
# running on.                                                            #
#                                                                        #
# After you have filed a bug, you can disable this warning by launching  #
# your instance with the cloud-config below, or putting that content     #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg                            #
#                                                                        #
# #cloud-config                                                          #
# warnings:                                                              #
#   dsid_missing_source: off                                             #
**************************************************************************

Steps to reproduce the problem

Just log into the system, for example with ssh.

Environment details

  • Cloud-init version: 24.3.1-2 (as reported by apt policy cloud-init)
  • Operating System Distribution: Debian sid
  • Cloud provider, platform or installer type: PulseHeberg

cloud-init logs

Doesn’t seem relevant here?
cloud-init.log

@jperon jperon added bug Something isn't working correctly new An issue that still needs triage labels Nov 28, 2024
@aciba90
Copy link
Contributor

aciba90 commented Nov 29, 2024

Hi @jperon, thanks for reporting. Could you please attach the logs?

This sounds very likely a consequence of some of the changes on platform identification in cloud-init. If you are sure that NoCloud is the datasource needed here and if /etc/cloud/cloud.cfg does not contain a datasource_list key with NoCloud, then I think one way to fix this would be adding to /etc/cloud/cloud.cfg:

datasource_list: [NoCloud]

@jperon
Copy link
Author

jperon commented Nov 29, 2024

@aciba90 Thanks for your attention. I added the log to first post.
I don’t know which datasource is needed: I think it’s part of the VPS hosting provisionning, as I didn’t install cloud-init myself. But adding the line datasource_list: [NoCloud] didn’t fix the problem (even after reboot).

@aciba90
Copy link
Contributor

aciba90 commented Dec 2, 2024

How about?

datasource_list: [NoCloud, None]

@jperon
Copy link
Author

jperon commented Dec 2, 2024

No, still same message.

@holmanb
Copy link
Member

holmanb commented Dec 2, 2024

@jperon please follow this guide so that this issue can be resolved.

@holmanb holmanb added incomplete Action required by submitter and removed new An issue that still needs triage labels Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working correctly incomplete Action required by submitter
Projects
None yet
Development

No branches or pull requests

3 participants