Comment 13 for bug 1868077

Revision history for this message
Scott Moser (smoser) wrote : Re: [Bug 1868077] Re: A new feature in cloud-init identified possible datasources for this system as:['Ec2', 'None']. However, the datasource used was: Azure

It really seem slike you still have /var/lib/waagent around.
  See lines in your log like:
2020-03-21 07:36:37,988 - stages.py[DEBUG]: restored from checked
cache:ataSourceAzure [seed=/var/lib/waagent]

For reference, could youp lease attach:
   tar -C /var/lib/ -cvf var-lib-cloud.tar.gz cloud/

The instance should *not* have "restored from checked cache". The
above will help us to see what went wrong there.

And then you should do:
  rm -Rf /var/lib/waagent
  cloud-init clean --logs --seed

then try again.
And for

On Sat, Mar 21, 2020 at 3:50 AM Mohammed Sameer B
<email address hidden> wrote:
>
> @Scott,
>
> I have removed walinuxagent and deleted /var/lib/waagent. But when I
> restart the server, again I am facing the issue. I have attached cloud-
> init collect-logs output for our reference.
>
>
> Thanks
>
> ** Attachment added: "cloud-init.tar.gz"
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1868077/+attachment/5339604/+files/cloud-init.tar.gz
>
> --
> You received this bug notification because you are subscribed to cloud-
> init in Ubuntu.
> https://bugs.launchpad.net/bugs/1868077
>
> Title:
> A new feature in cloud-init identified possible datasources for this
> system as:['Ec2', 'None']. However, the datasource used was: Azure
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1868077/+subscriptions