Skip to content
Snippets Groups Projects
Commit 76cf571c authored by baldwinlouie's avatar baldwinlouie Committed by Yas Naoi
Browse files

Issue #3238663 by baldwinlouie, yas: Use Maria DB 10.5.12 for CFn templates

parent b4a14faf
No related branches found
No related tags found
No related merge requests found
......@@ -77,3 +77,15 @@ To package the templates for your own usage, follow these steps:
3. Use the `<output_template_name.yaml>` to launch the Cloud Orchestrator stack.
4. Wait for the stack to launch. Then follow the instructions under
`Outputs` > `Instructions`.
Troubleshooting
===============
- If you encounter Drupal errors after building Cloud Orchestrator, please clear cache
by running `drush cr` or clearing cache from the Drupal UI.
A sample error that could be encountered is specified below. A cache clear
will fix this issue.
``
Uncaught PHP Exception Symfony\\Component\\Routing\\Exception\\RouteNotFoundException: "Route "update.manual_status" does not exist." at /var/www/cloud_orchestrator/docroot/core/lib/Drupal/Core/Routing/RouteProvider.php line 206,
``
......@@ -142,7 +142,7 @@ Parameters:
ConstraintDescription: Must contain only alphanumeric characters, underscores
and must be between 5 and 16 characters long.
MySQLPassword:
Description: Password for the RDS Username. Must be between 6 and 32 characters
Description: Password for the database username. Must be between 6 and 32 characters
and only contain alphanumeric characters and these special characters '_'`~!#$%^&*()_+,-.
Type: String
MinLength: '6'
......
......@@ -155,7 +155,7 @@ Parameters:
ConstraintDescription: Must contain only alphanumeric characters, underscores
and must be between 5 and 16 characters long.
MySQLPassword:
Description: Password for the RDS Username. Must be between 6 and 32 characters
Description: Password for the database username. Must be between 6 and 32 characters
and only contain alphanumeric characters and these special characters '_'`~!#$%^&*()_+,-.
Type: String
MinLength: '6'
......
......@@ -133,8 +133,8 @@ Resources:
DBInstanceClass: !Ref RDSInstanceType
DBName: !Ref DatabaseName
DBSubnetGroupName: !Ref DbSubnetGroup
Engine: MySQL
EngineVersion: 5.7.34
Engine: MariaDB
EngineVersion: 10.5.12
MasterUsername: !Ref MySQLUserName
MasterUserPassword: !Ref MySQLPassword
Port: '3306'
......
......@@ -325,8 +325,8 @@ Resources:
'username' => '${MySQLUserName}',
'password' => '${MySQLPassword}',
'prefix' => '',
'host' => 'localhost',
'port' => '3306',
'host' => '${DatabaseEndpointAddress}',
'port' => '${DatabasePort}',
'namespace' => 'Drupal\\\\Core\\\\Database\\\\Driver\\\\mysql',
'driver' => 'mysql',
);
......
......@@ -224,6 +224,12 @@ Resources:
apt-get update -yq
apt-get upgrade -yq
# Setup for Mariadb 10.5.12
apt-key adv --fetch-keys 'https://mariadb.org/mariadb_release_signing_key.asc'
add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.globo.tech/repo/10.5/ubuntu focal main'
apt-get update -yq
apt-get install -y python3-pip python3-setuptools apache2 \
zip unzip sendmail memcached libmemcached-tools mariadb-client mariadb-server
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment