Skip to content

Commit 2d52c40

Browse files
authored
Merge branch 'main' into main
2 parents f574a9a + 5b9a2aa commit 2d52c40

File tree

109 files changed

+514
-387
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+514
-387
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ On your computer, follow these steps to setup a local repository for working on
9090
.. code:: bash
9191
9292
$ git clone https://github.com/YOUR_ACCOUNT/cloudstack-documentation.git
93-
$ cd cloudstack-docs-install
93+
$ cd cloudstack-documentation
9494
$ git remote add upstream https://github.com/apache/cloudstack-documentation.git
9595
$ git checkout main
9696
$ git fetch upstream

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ docutils==0.20.1
22
Sphinx==7.2.6
33
sphinx-rtd-theme==2.0.0
44
readthedocs-sphinx-ext==2.2.5
5-
Jinja2==3.1.3
5+
Jinja2==3.1.5
80.6 KB
Loading
58.6 KB
Loading
29.1 KB
Loading
51.8 KB
Loading

source/adminguide/accounts.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,7 @@ For GitHub, please follow the instructions mentioned here `"Setting up OAuth 2.0
676676
In any OAuth 2.0 configuration admin has to use the redirect URI "http://<management server IP>:<port>/#/verifyOauth"
677677

678678
.. Note:: [Google OAuth 2.0 redirect URI] :
679-
Google OAuth 2.0 configuration wont accept '#' in the URI, please use "http://<management server Domain>:<port>/?verifyOauth"
679+
Google OAuth 2.0 configuration won't accept '#' in the URI, please use "http://<management server Domain>:<port>/?verifyOauth"
680680
Google does not accept direct IP address in the redirect URI, it must be a domain. As a workaround one can add the management
681681
server IP to host table in the local system and assign a domain, something like "management.cloud". In that redirect URI looks like
682682
"http://management.cloud:8080/?verifyOauth"

source/adminguide/api.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,16 @@ the user data:
6464
#. Run the following command to find the virtual router.
6565

6666
.. code:: bash
67+
6768
# cat /var/lib/dhclient/dhclient-eth0.leases | grep dhcp-server-identifier | tail -1
69+
6870
#. Access user data by running the following command using the result of
6971
the above command
7072

7173
.. code:: bash
74+
7275
# curl http://10.1.1.1/latest/user-data
76+
7377
Meta Data can be accessed similarly, using a URL of the form
7478
http://10.1.1.1/latest/meta-data/{metadata type}. (For backwards
7579
compatibility, the previous URL http://10.1.1.1/latest/{metadata type}

source/adminguide/backup_and_recovery.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ Backup Offerings
9292
------------------
9393

9494
Admins can import an external provider's backup offerings using UI or API for a
95-
particular zone, as well as manage a backup offering's lifecyle. Admins can also
95+
particular zone, as well as manage a backup offering's lifecycle. Admins can also
9696
specify if a backup offering allows user-defined backup schedules and ad-hoc
9797
backups. Users can list and consume the imported backup offerings, only root admins can import or
9898
delete offerings.

source/adminguide/events.rst

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,23 @@ changes can control the behaviour.
203203
204204
#. Restart the Management Server.
205205

206+
#. CloudStack creates the exchange ‘cloudstack-events’ which will receive messages containing CloudStack events; however will be no queues created.
207+
208+
To create a queue and bind with cloudstack-events the following steps are needed:
209+
210+
- Go to Queues tab and add a queue, e.g. 'cloudstack-queue’
211+
- Go to Exchanges tab and Bind to queue cloudstack-queue with the desired ‘Routing key’.
212+
213+
214+
#. Routing keys
215+
216+
The routing key is a list of words, delimited by a period ("."). CloudStack builds routing keys according to each event type, some examples are:
217+
218+
Some example of routing keys that match CloudStack events:
219+
- A pound symbol (“#”) indicates a match on zero or more words; thus, it will match any possible set of words;
220+
- Asterisk (“*”) matching any word and the period (“.”) delimiting example '\*.*.*.*.*'
221+
222+
206223
Kafka Configuration
207224
~~~~~~~~~~~~~~~~~~~
208225

@@ -214,7 +231,20 @@ changes can control the behaviour.
214231
which contains valid kafka configuration properties as documented in http://kafka.apache.org/documentation.html#newproducerconfigs
215232
The properties may contain an additional ``topic`` property which if not provided will default to ``cloudstack``.
216233
While ``key.serializer`` and ``value.serializer`` are usually required for a producer to correctly start, they may be omitted and
217-
will default to ``org.apache.kafka.common.serialization.StringSerializer``.
234+
will default to ``org.apache.kafka.common.serialization.StringSerializer``. A sample example which will be used by cloudstack for exporting of events
235+
236+
.. parsed-literal::
237+
238+
cat /etc/cloudstack/management/kafka.producer.properties
239+
240+
bootstrap.servers=<localhost>:9092
241+
acks=all
242+
topic=cs
243+
retries=1
244+
245+
246+
247+
218248
219249
#. Create the folder ``/etc/cloudstack/management/META-INF/cloudstack/core``
220250

0 commit comments

Comments
 (0)