OpenDev is no longer running an openstackid instance and the puppet
module isn't used by the folks running the current instance. We can go
ahead and clean this repo up.
Depends-On: https://review.opendev.org/c/openstack/project-config/+/818170
Change-Id: Ifab5aa7a839d8353aee9acacd5fd2eec525cc924
fixed permission due generating the pickle
file was not allowed.
Change-Id: I18f5a832753c393ba01cec6e3318191a1e639c1f
Signed-off-by: smarcet <smarcet@gmail.com>
* setting the proper storage permissions
at the end of deployment
* refactoring
Change-Id: I75aca729ebaa9b3bf6c367592b0c42dd9221a856
Signed-off-by: smarcet <smarcet@gmail.com>
* Moved Redis clear cache routine to its own function.
* Moved ORM clear cache routine to its own function.
* Set proper execution permissions for artisan command.
Change-Id: Icdb4740621d6f9c7310d1b6bb52ce1db43652882
* removed installation of n package ( not needed any more
due that we are installing latest nodejs version)
* added sudo to npm install due lack of permissions on
local node_modules
* added code to ensure correct tree structure of storage
folder
Change-Id: I66c8a3f52d05a74b4ed190710739c75ed05b6d05
Added php 7.x support and xenial support using external
ppa from andrej
Depends-On: https://review.openstack.org/611936
Change-Id: Ic30cc62216be3035c363fa0203a757df662acf47
adding an extra checking on storage folder structure
when site is updated, to avoid breaking the site
on LV5.x migration.
Change-Id: Idcdd4ebb20b1cf9f5782cd4f75ffdedea1c64438
In order to allow IDP upgrade from
LV 4.x to LV 5.X
(https://review.openstack.org/#/c/305521/)
puppet and shell scripts
were update to support diferent versions
or laravel through config variable $laravel_version
( default value to version 4 so production would not
get affected ).
Change-Id: I76a7093f3c88c72256f638d5c56cc8799643b69d
In order to avoid 503 by timeouts from
php-fpm service timeout values were increased
as also the max request nbr
per php child proccess.
Change-Id: I06d94b88716895987ea97cf86365b39caeafa385
In order to avoid http 503 errors and taking a look
at php fpm logs , its has been increased the
start_servers, min_spare_servers and max_spare_servers
values to avoid erros like WARNING: [pool www] seems busy
(you may need to increase pm.start_servers, or
pm.min/max_spare_servers).
Change-Id: I5d47625ac4702c1b6704c66967d76fac2a895907
formerly we were using settings for php5-fpm pool that
werent suitable for our server configuration.
Server has 14G of free ram and we were using
pm.max_children = 4096, having in consideration that php process
has an avg of 64 MB that give us large number of needed
RAM that exceeds our current configuration
i changed to pm.max_children = 200, a more suitable number
for our current config
rite now the avg php if given us 25 MB per process
so i guess that we should do a monitoring of this value, an
increase the max_children setting as we needeed on the fly.
Change-Id: Ibab02f7a88e08cb94d58168e545e6da0cf8d2e7f
* removed php5enmod ( it does not exists on precise)
* updated config to use class apache::mod::event intead
on custom config file
Change-Id: Ic7610a5f93c9d5eb3d1673ede3ad41227a6537db
* Updated site config to change MPM from fork to event model
and to start using php5-fpm (fast cgi) to get a better site
performance and a better use or server resources.
* Updated mysql php driver to newer one (php5-mysqlnd).
* Added missing dependencies : php5-json (json functions) and
php5-gmp( big number functions used by jose4php).
* Replaced puppet-httpd with puppetlabs-apache.
* added www.conf to tweak php5-fpm connection settings
* update vhost template to support proxy_fcgi.
* updated apache connections settings to improve performance on
mpm events.
* updated dependency to puppetlabs/apache (1.8.1)
Change-Id: I66c6ad413a6b0c31a19cc663058a53edc3bec5cc
Tweeaked apache connection settings on prefork MPM to allow better
performance at larger client volumes and server sizes. Make this
safe for Trusty as well, for ease of upgrading in the near future.
Change-Id: I0f52eabc8218b12392a2ac75d3ce3a5a85e01df5
added db seeding support configuration on install site command
by default is disabled to avoid overwriten existent db
Change-Id: Iba74a5f6f8a08f73d73bc0ca2d499ea215cf8c8a
nodejs default version is too old
so now its install n node manager to install
latest one, also installing bower directly on update site/install site
command
Change-Id: I1a2c377db24f66a6138a07e4b2f284a02083f364
improved bower support using nodejs native module
instead of custom logic used on former approachs.
Change-Id: Icf1cea6b78d385cf085432937b5373c6958f6fd0
Fix all of the bashate failures. Also, bashate will install its negative
tests in its virtualenv, so we need to generate a list of files to pass to
bashate that excludes .tox/
Change-Id: I55559bf6137f705aec9a7f277928ad8d4cadc2ca
Update openstackid site into a new slot when a new release available
on tarballs.openstackid/openstackid site.
Change-Id: I59580f5a9d7b4ef09daea4c981977327d29804ff
Openstackid deploy tool now tracks the deployed site version
from tarballs.openstack.org and deploy.sh status command display
UPDATE AVAILABLE when a new release is available.
Change-Id: I8bbc3bfceca37d00c3bba78995e3aff01b671aa4
Implements: blueprint openid-oauth2-infra-implementation-puppet-script
Prepares a raw server with all software stack needed to run
openstackid project:
* installs PHP
* installs Apache
* installs Redis Server
* creates a initial environment configuration for laravel application
(using *.erb templates)
Change-Id: If6216da0d70a45609076e8111a67055dbc87c9e4