Commit Graph

45 Commits

Author SHA1 Message Date
Martin Chacon Piza a9f84a0263 Fix Vagrantfile
- 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
2021-10-01 16:26:59 +02:00
Martin Chacon Piza bbc9522bb5 Migrate DevStack plugin to Ubuntu Focal
We want to migrate to the latest Ubuntu LTS release 20.04 aka Focal.

Change-Id: Ie8f08a4b2124ff0d726b5faf3b2b4d89200e444e
Story: 2007865
Task: 40197
Depends-On: https://review.opendev.org/#/c/734700
2020-10-13 07:47:29 +00:00
Adrian Czarnecki 1e3e1173ad Update devstack plugin to support new api
Merge log-api and api

Story: 2003881
Task: 36195

Depends-On: https://review.opendev.org/681419/
Change-Id: Idb2361e5ab701cd3dee4eabb4b43116f6e1205c4
2019-12-04 13:52:57 +01:00
Adrian Czarnecki 1629b13ac2 Make python3 default for devstack
Change-Id: I6f5fe641b1a9a98cc73b44477680f6363ddd2e84
2019-07-18 13:56:55 +02:00
Witek Bedyk 37da650dc5 Update DevStack git repository URL in Vagrantfile
Change-Id: Ia127e0148c9e2b68c9b222591802cb5538e3154e
2019-07-01 13:26:44 +02:00
Dobroslaw Zybort 65def2e6df Improve devstack vagrantfile
Add `lnav` (Logfile Navigator) to tools installed by default.

Add commented out `USE_PYTHON3` variable and tempest plugin.

Story: 2005432
Task: 30470
Change-Id: Icaedb2f2a241dcd850cf942d31bc834d802fc841
2019-04-11 11:32:59 +02:00
Ian Wienand a936c123aa Replace openstack.org git:// URLs with https://
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
2019-03-24 20:34:14 +00:00
Witold Bedyk 35fc6cf70a Migrate DevStack plugin to Ubuntu Bionic
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
2018-12-03 13:59:42 +01:00
Dobroslaw Zybort c1adf3b30d Show how to enable more OpenStack services in devstack
Change-Id: If599eda62aeedacdd5660d8efc2462ad83da2ae6
2018-07-03 14:31:28 +02:00
Adrian Czarnecki 5359e4e633 Enable uWSGI support in devstack
Story: 2001464
Task: 6181
Change-Id: If4329e51feebeb68538917d7a68aad53ae469b07
2018-06-12 14:36:46 +02:00
Tomasz Trębski 4a652c654d Enable ui & logviewer locally
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
2018-05-11 14:27:04 +00:00
Tomasz Trębski bfcd3eeece Restore zookeeper to devstack
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
2017-05-27 18:08:53 +00:00
Darren Hague 279dc30ad1 devstack/Vagrant: cache files missed by vagrant-cachier plugin
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
2017-03-31 12:38:39 +00:00
Jenkins 488c9c186f Merge "devstack/vagrant: Add 127.0.0.1 to no_proxy list" 2017-03-24 09:48:25 +00:00
Darren Hague 30d91748ff devstack/vagrant: Add 127.0.0.1 to no_proxy list
Fixes issue when installing influxdb schema which uses URL
  http://127.0.0.1:8086/query

Change-Id: Id536d923d30f0e4205910d4d474236d32604a173
2017-03-21 14:34:48 +00:00
Darren Hague 17a06eafe5 devstack/vagrant: fix error messages
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
2017-03-21 10:05:32 +00:00
Tomasz Trębski 161ad011d1 Enabling Postgres + ORM in devstack
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
2017-02-08 12:29:04 +00:00
Roland Hochmuth b293fed12f Resolve hang with grub-pc
Change-Id: I8df014d0d8cd109d797c29b787a83ce465d31e64
2017-01-27 23:06:22 -07:00
Roland Hochmuth afeac3a3e8 Modify Vagrant box to bento/ubuntu-16.04
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
2016-12-18 09:07:51 -07:00
Shinya Kawabata 72acb84f02 Migrate devstack to xenial
Migrate upstart to systemd.

Change-Id: I351ce88ca8b26e1bdcc6eb61fd41960ad8774ffb
2016-11-03 18:16:44 +09:00
Tomasz Trębski d96714396a Use devstack dlm-zookeeper functionality
Devstack provides zookeeper OOTB.
This patch removes the need of manual installation
of zookeeper.

Change-Id: I3278ee57023fe4a9e8acc9a6f40eac43b865ed55
2016-10-29 03:39:44 +02:00
Artur Basiak e60b636ac9 Remove unnecessary condition
Use variables from Vagrant file for local deployement.
Use variables for gate from settings file.

Change-Id: Ibd1dc622d4d095c1899c06c61e7aa7b1db084aaf
2016-10-24 07:19:04 +02:00
Jenkins c0d849dcc0 Merge "Speed up local deployment" 2016-10-19 20:48:27 +00:00
Tomasz Trębski 01d9fabbbd Fix local deployment
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
2016-10-19 08:27:45 +02:00
Tomasz Trębski 2b4614b86e Speed up local deployment
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
2016-10-17 08:59:04 +02:00
Tomasz Trębski 0d8e0c8a2e Use database password from variable
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
2016-10-12 04:28:09 +00:00
Shinya Kawabata e98d29bd0e Use apt-get wrapper function
apt_get function is useful for environment under proxy.

Change-Id: If6fc936b25151efea8803040886d9b0dbe8c948b
2016-08-24 17:42:23 +09:00
Shinya Kawabata 36e5d4225b Add Cassandra support to devstack
Change-Id: I76af9bb58240ee7401cd9bddf991bc65410154c7
Implements: blueprint monasca-cassandra
Depends-on: I9ddbd2037fb6b989dee5e33945df9dd08afa84e8
Depends-on: I2152057ef4843b555a21118cb20bd9eff36c3b7a
2016-08-05 01:15:15 +09:00
Roland Hochmuth 036e41734a Add support for Vertica in the DevStack plugin
Change-Id: I9691bdbb8e3ce6f613a16370f99e5216c4a07ca1
2016-03-26 11:34:08 -06:00
satsuki_fukazu b67156cfcb devstack install fails at monasca-api
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
2016-02-03 07:08:14 +09:00
Ryan Brandt b6a44d9244 Fix create service script
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
2016-01-22 10:44:07 -07:00
Deklan Dieterly 2a6270b43f Fix comment about default implementations
Fix coment about default implementations.
The Python implementations are the default
implementations.

Change-Id: I76a77d017602a33dfe4221d683ff4557c24eecca
2015-11-18 14:10:38 -07:00
Deklan Dieterly e1eda65caa Use SERVICE_HOST for ip addresses
Use SERVICE_HOST for ip addresses for services.
Only clean Horizon if the Horizon service is enabled.

Change-Id: Iecf2d0a80ebba9435a9e0f0b4cbe135c4dab2c04
2015-11-17 13:43:02 -07:00
Jenkins c9b59e6d77 Merge "Make Python implementations the default" 2015-11-09 21:50:28 +00:00
Roland Hochmuth ab2a87c7c7 Removed some extraneous spaces
Change-Id: I8212747a5cf8c1ecdec5dd2a1e170e6b6c5ec634
2015-11-09 13:25:32 -07:00
Deklan Dieterly f59ce0a489 Make Python implementations the default
Default the Monasca API and Monasca Persister to use
the Python implementations.

Change-Id: I890e82037efd5fc2f60e501cbde1935855efd66f
2015-11-09 10:08:35 -07:00
Roland Hochmuth 86f731545a Set SERVICE_HOST, enable cache, install key, tempest and monasca only
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
2015-11-07 13:38:04 -07:00
Joe Keen 1c7684bcf3 Added additional IPs to no_proxy variable
Tempest tries to hit these new IPs for authentication

Change-Id: If6b291ce6ffcb913f9c6be7cb7d408fb6e4d7675
2015-11-04 13:58:30 -07:00
Roland Hochmuth 61fadd0d6f Modified passwords for DevStack in the Vagrantfile
Change-Id: Ifff6aca5ba4f294f48c65f5d0854c30000d483f3
2015-11-03 14:55:15 -07:00
Joe Keen 278304b4c0 Added /vagrant_home mount point and fixed plugin name
Change-Id: I6bfac30f2edfa9bb91f0fe2e940e66c6a84300d1
2015-10-27 15:59:43 -06:00
Joe Keen 65a91c6b8b Added proxy settings for maven
Change-Id: Ie4bb49e887e3046298e4b13f5cca90dcaa84462c
2015-10-27 10:13:43 -06:00
Joe Keen 3c93a9666f Added proxy setting and git:// redirect
Change-Id: Ia7ad93bdff66b5c049f457aee70a30269eb940dc
2015-10-23 15:40:49 -06:00
Roland Hochmuth e2ab1e6609 Updated for migration from Stackforge to OpenStack
Change-Id: I4b3f329ae5ddc20ccc590b7ed5921d0de5aee356
2015-10-20 14:57:30 -06:00
venkatamahesh ca51563c8b Change the repositories from stackforge to openstack
Change-Id: I9555d36bd92d7b2e6c8fb1c0cc1e01da3a6c655b
2015-10-19 09:01:32 +05:30
Roland Hochmuth 77ea991b03 Add a Vagrantfile for deploying DevStack in a VM
Change-Id: Id63bbee4e0fa3421c758b644f78283e509b25cbd
2015-10-14 22:40:37 -06:00