Comments (7)
@dustymabe indeed, #147 plus #201 fixed this. Closing.
from afterburn.
Some more details on cloud reporting protocols.
Packet
A phone-home IP can be discovered from the metadata service. A simple JSON needs to be posted there. We are interested in reporting a "state":"succeeded"
. This is documented at https://support.packet.com/kb/articles/user-state
Azure
The wire server is provided as a custom DHCP option number 245 (a known/fallback one is at 168.63.129.16
). The /machine?comp=health
endpoint there expects an XML to be posted with some specific custom headers. The format of that has been reverse-engineered: https://github.com/larsks/azure-tools/blob/master/docs/api.md. We are interested in reporting <Health><State>Ready</State></Health>
. The corresponding WALinuxAgent logic is https://github.com/Azure/WALinuxAgent/blob/242278735745483ff63f5001d58ba0889c978936/azurelinuxagent/common/protocol/wire.py#L222
from afterburn.
The Azure DHCP option is needed for AzureStack and for ASM instances; ARM instances should use a consistent IP.
from afterburn.
@lucab: I've posted some relevant info about the Azure check-in along with a simplified bash script + systemd service to perform it in coreos/fedora-coreos-tracker#65
from afterburn.
For Azure specifically we might also need to bounce networking.
Ubuntu is cycling networking inside of cloud-init on Azure to DHCP to Azure with the correct hostname so the DDNS is updated for private network communications (which they note mimics what the agent is doing).
from afterburn.
copying this from coreos/fedora-coreos-tracker#102 (comment)
@dustymabe
I would say so unless it's a much larger work item than I'm currently assuming. You know much more about it than I do so maybe you can clue me in.
@arithx
Overall an initial implementation that doesn't tackle the DHCP option parsing is very straightforward and still covers most use cases of Azure (only missing ASM [legacy] & AzureStack machines).
So we may be able to break out the azure work into two parts. One that does DHCP option parsing and one that does not.
from afterburn.
was this fixed in #147 ?
from afterburn.
Related Issues (20)
- Release Afterburn 5.5.0 HOT 1
- Release Afterburn 5.5.1 HOT 1
- 30s delay on Azure boot: "Failed to get fabric address from DHCP" HOT 1
- Release 5.2.0 HOT 2
- systemd: excessive Requires/After can result in dependency failure HOT 2
- Test `providers::aws::mock_tests::test_aws_basic` is flaky HOT 2
- Test `providers::aws::mock_tests::test_aws_imds_versions` is flaky HOT 3
- Support IPv6 on AWS HOT 1
- Release 5.3.0 HOT 3
- afterburn-sshkeys fails if no ssh key in metadata on ibmcloud HOT 1
- Consider switching argument parsing to `clap_derive`
- Consolidate CloudStack metadata providers
- Consider enabling hostname service on subsequent boots
- Release Afterburn 5.4.0 HOT 2
- Release Afterburn 5.4.1 HOT 1
- configure user account based on azure provider specific information HOT 1
- Release Afterburn 5.4.2 HOT 7
- Afterburn reports incorrect OpenStack instance id HOT 2
- Release Afterburn 5.4.3
- Move away from `users` crate HOT 1
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 afterburn.