Report this

What is the reason for this report?

Did DigitalOcean change the way hostnames are set for droplets from custom images?

Posted on April 25, 2020

It used to be the droplet’s name, but now it seems to be the original hostname. I’m running on a mountain pile of errors from my droplets because of that uninformed change.

Iaas should be reliable. The smallest of changes on the infrastructure can create a catastrophe for some operations, even more if it’s uninformed.

If that’s now a new policy, please, first manage to inform the developers that hold operations in DO before making changes on how the infrastructure behave, and secondly, always put an option for people that developed in the old assumptions of the infrastructure.

Unfortunately that small, uninformed change will hold my operation back for weeks.



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi there @joseassumpcao,

I had a chat with the support team, and I was informed that the hostnames are generally handled by cloud-init, which in general are pulled from the Droplet name.

It may be pulling this from metadata, but the exact detail would require analyzing (perhaps reviewing the logs at startup) the start-up process to identify what and when is being set.

Cloud-init and boto3 are python packages. I wonder if there is some change to the environment or some dependencies for the cloud-init that changes over that.

In terms of custom images, however, DigitalOcean does not define/specify the behavior. The release of cloud-init software on the Droplet determines that.

Regards, Bobby

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.