Skip to content

Commit 0ef9029

Browse files
committed
Merge branch '4.20' into main with 'ours' strategy
2 parents 4d14bf9 + 4124f43 commit 0ef9029

29 files changed

+2363
-51
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ build:
99
python: "3.11"
1010

1111
python:
12-
install:
13-
- requirements: requirements.txt
12+
install:
13+
- requirements: requirements.txt
14+
15+
sphinx:
16+
configuration: source/conf.py

source/_global.rst

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,20 @@
2525

2626
.. Latest version systemvm template name
2727
28-
.. |sysvm64-version| replace:: 4.20.0
29-
.. |sysvm64-name-xen| replace:: systemvm-xenserver-4.20.0-x86_64
30-
.. |sysvm64-name-kvm| replace:: systemvm-kvm-4.20.0-x86_64
31-
.. |sysvm64-name-vmware| replace:: systemvm-vmware-4.20.0-x86_64
32-
.. |sysvm64-name-hyperv| replace:: systemvm-hyperv-4.20.0-x86_64
33-
.. |sysvm64-name-ovm| replace:: systemvm-ovm-4.20.0-x86_64
28+
.. |sysvm64-version| replace:: 4.20.1
29+
.. |sysvm64-name-xen| replace:: systemvm-xenserver-4.20.1-x86_64
30+
.. |sysvm64-name-kvm| replace:: systemvm-kvm-4.20.1-x86_64
31+
.. |sysvm64-name-vmware| replace:: systemvm-vmware-4.20.1-x86_64
32+
.. |sysvm64-name-hyperv| replace:: systemvm-hyperv-4.20.1-x86_64
33+
.. |sysvm64-name-ovm| replace:: systemvm-ovm-4.20.1-x86_64
3434

3535
.. Latest version systemvm template URL
36-
.. |sysvm64-url-xen| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-xen.vhd.bz2
37-
.. |sysvm64-url-kvm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-kvm.qcow2.bz2
38-
.. |sysvm64-url-vmware| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-vmware.ova
39-
.. |sysvm64-url-hyperv| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-hyperv.vhd.zip
40-
.. |sysvm64-url-ovm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.0-x86_64-ovm.raw.bz2
36+
.. |sysvm64-url-xen| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-x86_64-xen.vhd.bz2
37+
.. |sysvm64-url-kvm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-x86_64-kvm.qcow2.bz2
38+
.. |sysvm64-url-kvm-aarch64| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-aarch64-kvm.qcow2.bz2
39+
.. |sysvm64-url-vmware| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-x86_64-vmware.ova
40+
.. |sysvm64-url-hyperv| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-x86_64-hyperv.vhd.zip
41+
.. |sysvm64-url-ovm| replace:: http://download.cloudstack.org/systemvm/4.20/systemvmtemplate-4.20.1-x86_64-ovm.raw.bz2
4142

4243
.. Images
4344
62 KB
Loading
44.4 KB
Loading
6.42 KB
Loading
26.7 KB
Loading
29.4 KB
Loading
27.7 KB
Loading

source/adminguide/accounts.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -697,11 +697,6 @@ In any OAuth 2.0 configuration admin has to use the redirect URI "http://<manage
697697
server IP to host table in the local system and assign a domain, something like "management.cloud". In that redirect URI looks like
698698
"http://management.cloud:8080/?verifyOauth"
699699

700-
.. image:: /_static/images/oauth-provider-registration.png
701-
:width: 400px
702-
:align: center
703-
:alt: OAuth provider registration
704-
705700
Following are the details needs to be provided to register the OAuth provider, this is to call the API "registerOauthProvider"
706701

707702
- **Provider**: Name of the provider from the list of OAuth providers supported in CloudStack
@@ -714,6 +709,11 @@ Following are the details needs to be provided to register the OAuth provider, t
714709

715710
- **Secret Key**: Secret Key pre-registered in the specific OAuth provider
716711

712+
.. image:: /_static/images/oauth-provider-registration.png
713+
:width: 400px
714+
:align: center
715+
:alt: OAuth provider registration
716+
717717
Cloudmonkey API call looks like
718718

719719
- register oauthprovider provider=google description="Google Provider"

source/adminguide/api.rst

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
KIND, either express or implied. See the License for the
1313
specific language governing permissions and limitations
1414
under the License.
15-
15+
1616
1717
The CloudStack API is a low level API that has been used to implement
1818
the CloudStack web UIs. It is also a good basis for implementing other
@@ -181,6 +181,29 @@ VMdata - a list of String arrays representing [“directory”, “filename”,
181181

182182
- default: config-2
183183

184+
Virtual machine password via ConfigDrive
185+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
186+
187+
The ConfigDrive metadata provider delivers the virtual machine password simultaneously in two variants, leaving which one to use to the user discretion:
188+
189+
1. As the ``<mountdir>/cloudstack/password/vm_password.txt`` file.
190+
191+
This file is intended to be used by an external script that runs inside the virtual machine every boot, and changes the password if needed.
192+
The init-script that implements this functionality can be found in the `Cloudstack source <https://github.com/apache/cloudstack/blob/main/setup/bindir/cloud-set-guest-password-configdrive.in>`_.
193+
194+
.. note::
195+
The ``vm_password.txt`` file is not compatible with cloud-init password module, so the cloud-init will ignore it.
196+
It is up to Cloudstack administrator to include the script processing it in the virtual machines and/or their templates.
197+
198+
2. As the ``<mountdir>/openstack/latest/vendor_data.json``.
199+
This is a standard password location supported by cloud-init's both ConfigDrive datasource and the password module.
200+
Therefore, this variant allows using cloud-init as the only tool for provisioning a virtual machine, without using external scripts.
201+
202+
.. warning::
203+
Cloud-init password module is designed to only perform the initial virtual machine password setup.
204+
It will ignore the changes in ``vendor_data.json`` after the first run. Therefore, resetting the virtual machine password from Cloudstack will not work with this variant.
205+
206+
184207
For more detailed information about the Config Drive implementation refer to
185208
the `Wiki Article
186209
<https://cwiki.apache.org/confluence/display/CLOUDSTACK/Using+ConfigDrive+for+Metadata%2C+Userdata+and+Password#:~:text=CLOUDSTACK%2D9813%20%2D%20(),%2Dkeys)%20and%20password%20files>`_

0 commit comments

Comments
 (0)