From f06d28fde61f28e80b6715b3d9002d9b235382bb Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Thu, 28 May 2020 18:58:26 +0200 Subject: [PATCH 1/4] Document CloudStack data-server well-known hostname --- doc/rtd/topics/datasources/cloudstack.rst | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/doc/rtd/topics/datasources/cloudstack.rst b/doc/rtd/topics/datasources/cloudstack.rst index 592328ead88..706aacb7205 100644 --- a/doc/rtd/topics/datasources/cloudstack.rst +++ b/doc/rtd/topics/datasources/cloudstack.rst @@ -9,14 +9,19 @@ dhcp lease information given to the instance. For more details on meta-data and user-data, refer the `CloudStack Administrator Guide`_. -URLs to access user-data and meta-data from the Virtual Machine. Here 10.1.1.1 -is the Virtual Router IP: +URLs to access user-data and meta-data from the Virtual Machine. +`data-server.` is a well-known hostname provided by the CloudStack virtual +router that points to the next UserData server (which is usually also +the virtual router). .. code:: bash - http://10.1.1.1/latest/user-data - http://10.1.1.1/latest/meta-data - http://10.1.1.1/latest/meta-data/{metadata type} + http://data-server./latest/user-data + http://data-server./latest/meta-data + http://data-server./latest/meta-data/{metadata type} + +If `data-server.` cannot be resolved, cloud-init will try to obtain the +virtual router's address from the system's DHCP leases. Configuration ------------- From c1950777d431997c884cc481ae68a49143fbd956 Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Tue, 9 Jun 2020 11:33:15 +0200 Subject: [PATCH 2/4] Document fallback to default gateway Co-authored-by: Daniel Watkins --- doc/rtd/topics/datasources/cloudstack.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/rtd/topics/datasources/cloudstack.rst b/doc/rtd/topics/datasources/cloudstack.rst index 706aacb7205..a24de34fcfa 100644 --- a/doc/rtd/topics/datasources/cloudstack.rst +++ b/doc/rtd/topics/datasources/cloudstack.rst @@ -21,7 +21,8 @@ the virtual router). http://data-server./latest/meta-data/{metadata type} If `data-server.` cannot be resolved, cloud-init will try to obtain the -virtual router's address from the system's DHCP leases. +virtual router's address from the system's DHCP leases. If that fails, +it will use the system's default gateway. Configuration ------------- From a5d2349b7ad6c74bd4e0ea71eee4b741a9e4a953 Mon Sep 17 00:00:00 2001 From: Gregor Riepl Date: Tue, 9 Jun 2020 11:37:42 +0200 Subject: [PATCH 3/4] Add onitake to CLA signers list --- tools/.github-cla-signers | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index 01916b702f7..94560a36666 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -7,3 +7,4 @@ nishigori smoser tomponline TheRealFalcon +onitake From fd5c02921b3bc82e35f8b6c5d52c20163d2f3ce7 Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Tue, 9 Jun 2020 09:52:37 -0400 Subject: [PATCH 4/4] alphabetise added name --- tools/.github-cla-signers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/.github-cla-signers b/tools/.github-cla-signers index 94560a36666..f98c7a4588f 100644 --- a/tools/.github-cla-signers +++ b/tools/.github-cla-signers @@ -4,7 +4,7 @@ dhensby lucasmoura matthewruffell nishigori +onitake smoser tomponline TheRealFalcon -onitake