- Uncomment Ubuntu upgrade/update lines. On Sept. 30th 2021
ca-certificates DST Root CA X3 expired, until a new Bento box with
the update is released we need to update it.
- Purge simplejson before to stack Devstack, that library should
be handled by pip.
Change-Id: If23af3415be43bcb0b5b5de284c3b809c30de453
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I06373169d986628c7403d226b7f91a065dc320fb
We want to migrate to the latest Ubuntu LTS release 18.04 aka Bionic.
See [0] for the big picture.
This change:
* installs Node.js from Ubuntu packages,
* removes apt-get `-y` option which is included in devstack's wrapper
function.
[0] https://etherpad.openstack.org/p/devstack-bionic
Story: 2004474
Task: 28174
Change-Id: I7ed847ee5f4f203f112dd051f0fb157a11907a75
Depends-On: https://review.openstack.org/618169
Commit enables storm-{logviewer,ui} for the purposes
of the local development but keeps them disabled
in the gate runs.
Depends-On: Iccc30d411a49b9e47d6625909427f071397aedfd
Change-Id: I8cc2d6c616eff9ab058b24f837c655228b84f184
openstack/devstack-dev has removed zookeeper support.
For details see [1].
Following commits brings back zookeper as it was
previously installed from devstack.
Extra:
* added concepts of devstack dependencies. That speeds
up installation a bit as common packages are installed
prior to the plugin code
Ref:
[1] c0d16c279a
Change-Id: I0323eacb5cbba8418550e3322189104c35cf4c36
When vagrant-cachier is enabled, it caches downloaded files in the host so
that apt-get doesn't have to download them from the internet every time
"vagrant up" is run.
This patch enables the same behaviour for files downloaded by pip, Maven,
Node.js and npm.
OpenStack files are still freshly downloaded via Git clone - this patch
only affects the 3rd-party dependencies.
The result is that, on my laptop via corporate proxy, a "vagrant up" takes
27 minutes instead of > 1 hour.
Change-Id: I5f81a217a30abce9ba2ecea6f3c1884ae40595e2
Add -p flag to mkdir to avoid error when directory exists, e.g. on a
"vagrant provision" after a "vagrant up"
Remove "pip install numpy" and "pip install monascaclient" - they fail (and
therefore do nothing) on "vagrant up" because pip is not yet installed when
they are invoked.
Change-Id: I96d5eb492414b504d9c6cd2fbd238aeba2e5d9f5
Following commit provides:
- possibility of using postgres as database backend
- possibility of using ORM mapping in monasca:
- API
- Thresh
- Notification
Additionally:
- different approach of providing configuration settings
- removed unused winchester schema
- reworked execution phases of the plugin:
-- installing dependencies in the beginning
Implements: blueprint postgres-cli-support
Change-Id: Iae561b0c7e6b90cc7c9f5b122c0e4b37bc5ef843
Modify Vagrant box from ubuntu/xenial64 to bento/ubuntu-16.04.
This resolves the issue with the read only file system due to
the scsi driver issue in the ubuntu/xenial64 Vagrant box. See
the review at, https://review.openstack.org/#/c/366024, for
more details and discussion.
bento/ubuntu-16.04 uses the SATA driver and the prior issues
that we had run into with the bento box not working either
have been resolved. Note, we had tested bento/ubuntu-16.04
earlier and it did not work, but whatever issue that we had
been running into has now been resolved.
Change-Id: Ia754dc83fe65f391bee1e5e51851334a856309e8
Devstack provides zookeeper OOTB.
This patch removes the need of manual installation
of zookeeper.
Change-Id: I3278ee57023fe4a9e8acc9a6f40eac43b865ed55
It turns out that granting of permissions
in database is possible only from localhost.
For that reason the gate is passing, because
MYSQL_HOST there is equal to localhost. Therefore
following changes moves granting permissions
outside of the schema file directly inside the
plugin.sh.
Had to move loading schema into post-config phase
after devstack has mysql properly configured. However
that also required deffering starting of the services.
Change-Id: I5fad26075cf4521293e1b77307f9fbe98c840f54
Following commits embraces GIT_DEPTH flag
from devstack and sets it to 1.
This change removed cloning entire repositories
and goes into shallow clone concept. However
only recent commit is required to get
proper status of given repo.
Change-Id: I4dfa4c2cdb76cdf18bf57af10b3fd6aa57aaafce
There is a variable that tells what is the database (mysql)
password. However plugin.sh is using a hardcoded password.
Commit provides using DATABASE_PASSWORD in a way similar
to DEVSTACK.
Additionally substituted hardcoded database user and host
with variables:
* DATABASE_USER
* MYSQL_HOST
Change-Id: I7967c42b78037d922c6dd7a638a6232266313d83
Because the user name and password is a fixed value, it did not work when you modify the local.conf.
It obtains the token using the user and password that has been set in local.conf to create a monasca-service.
Change-Id: I1fd96e1b996537716da41e4985844fd8e739357d
Closes-bug: #1528100
Move monasca-api to virtualenv
Use username/password in service creation script
Change VagrantFile to clone devstack from master
Remove oslo version limits in requirements
Move monasca-agent to separate virtual env
Install psutil manually for compatability
Change-Id: If97f1c011f61098ef5427e026b6ce77736c0f237
Fix coment about default implementations.
The Python implementations are the default
implementations.
Change-Id: I76a77d017602a33dfe4221d683ff4557c24eecca
Use SERVICE_HOST for ip addresses for services.
Only clean Horizon if the Horizon service is enabled.
Change-Id: Iecf2d0a80ebba9435a9e0f0b4cbe135c4dab2c04
Set SERVICE_HOT=192.168.10.6. When OpenStack services register with
Keystone, this will register using the IP address that is accessible
from the host OS.
Enable the vagrant-cachier to speed-up subsequent deploys.
Disable all OpenStack services except for mysql, rabbit, key and
monasca. This will reduce the size of the VM and speed-up
deploys.
Change-Id: I791cce4dbf3a7f1c2297fb288886aae35ada4658