187 Commits

Author SHA1 Message Date
Lingxian Kong
798af4d02a Improve trove guest agent image building
- Add a new element 'guest-agent' for image building. This element is
  used when dev_mode=false, so that the trove code is downloaded into
  the image during the building phase rather than during the guest
  agent initialization.
- Improve trovestack sub-command 'build-image'.

  ./trovestack build-image ${datastore_type} \
     ${guest_os} \
     ${guest_release} \
     ${dev_mode}

- Improve documentation.

Story: #2005387
Task: #30375

Change-Id: I9d7acbd6a97f8c01b48b0f2cf94398d549d89124
2019-04-10 09:29:40 +12:00
Dariusz Krol
71b09bae42 User guide update to use Openstack client syntax
Change-Id: I13f80047cf1fb64f3452f20df58cc3cf21a17456
Signed-off-by: Dariusz Krol <dkrol3@gmail.com>
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-03-26 09:08:01 +00:00
Dariusz Krol
2663503930 Add documentation for managing databases and users
New entry added as an RST file with examples showing how to
create and manage users and databases on Trove instances
using Trove API.

Change-Id: I565f3b4d7c215c9508de127f1781638531d6fb45
Signed-off-by: Dariusz Krol <dkrol3@gmail.com>
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-03-19 21:24:13 +01:00
Dariusz Krol
f4b5c65dc0 Add upgrade status check - instances with assigned tasks
This check detects Trove instances in state other than Active
(identified by assigned None tasks), as such instances have some
kind of activity running, which requires communication between
the instance and Trove control plane.

Change-Id: I64901fd27dc97de8ee5e3bc693ec966d4f1a3346
Signed-off-by: Dariusz Krol <d.krol@samsung.com>
2019-01-15 19:54:03 +01:00
taoguo
e3c4c59dc4 Update http to https
modify http link to https link

Change-Id: I9550e78f3e70885b276f5623fb1cb6b32b6ce892
2018-11-12 10:09:04 +08:00
whoami-rajat
ace53c47fa Add trove-status upgrade check command framework
This adds basic framework for trove-status upgrade
check commands. For now it has only "check_placeholder"
check implemented.
Real checks can be added to this tool in the future.

Change-Id: Idfeab4c06cba6f841c17ab6e255a29e8707bfa55
Story: 2003657
Task: 26162
2018-10-22 12:56:28 +05:30
Marcin Piwowarczyk
dc7303a135 Be compilance with latest oslo.messaging
Support for the [oslo_messaging_rabbit] section has been removed in
oslo.messaging==9.0.0 package [1].
That's why integration tests failures on build devstack step.

This is the moment where we need to use the transport_url directive
in the [DEFAULT] section instead.

Moreover rpc_backend property (which was used in trove to enable fake
RPC backend) has been removed from DEFAULT section and API tests
fails on TIME_OUT as they starts on rabbit RPC backend.

Fake RPC can be now configured as described here [2]:
transport_url = 'fake:/'

[1] https://docs.openstack.org/releasenotes/oslo.messaging/unreleased.html
[2] https://docs.openstack.org/oslo.messaging/latest/configuration/conffixture.html

Change-Id: Id6c5a9198d5a213cb085407a1d8b534e7c755f69
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
2018-10-13 20:00:16 +02:00
zhangdebo
d040dc5246 Add blueprints and bugs link in documents
Change-Id: I0d5e1b427506e3965b892b130aca4022619de5ae
2018-09-29 03:34:48 -04:00
Zuul
9dbf894631 Merge "Format service apache2 reload section for Debian/Ubuntu" 2018-08-22 15:06:46 +00:00
jiansong
636e0053bd Remove nova conf for guestagent
It seems that the current guestagent only needs to communicate
through amqp, and does not need to interact with nova, so the
related nova configuration can be removed from the guestagent,
which can reduce some invalid configuration.

Similarly, we removed the related configuration of condutor
and guestagent in devstack plugin.

Change-Id: I3f0b3b445c053351c1f3e966d77ea228df0e94a7
2018-08-07 02:16:54 -07:00
Zuul
73f8033375 Merge "[doc] Use openstack client command to replace others" 2018-07-20 03:28:16 +00:00
Zuul
c41d8cee16 Merge "Update auth_uri option to www_authenticate_uri" 2018-07-19 18:17:09 +00:00
ericxiett
ae4dddbd9a Format service apache2 reload section for Debian/Ubuntu
Change-Id: I5e0c9a8f38a64208eb885086910b60da6a6b4ab7
2018-07-14 02:40:16 +00:00
Qian Min Chen
f3ca9f2a1c [doc] Use openstack client command to replace others
The neutron client commands will be deprecated,
and 'nova net-list' has already been deprecated, so use
openstack client commands to replace neutron client.

Change-Id: Idb7d9782bb3af28cba7e318b0ed664641b5d731f
2018-07-12 11:13:17 +08:00
Tovin Seven
86fbe26add Trivial: Update pypi url to new url
Pypi url changed from [1] to [2]

[1] https://pypi.python.org/pypi/<package>
[2] https://pypi.org/project/<package>

Change-Id: I3470831e34b3bbeb2fb028b71312f51e5224b502
2018-04-20 17:31:45 +07:00
caoyuan
38a5679dac Update auth_uri option to www_authenticate_uri
Option auth_uri from group keystone_authtoken is deprecated[1].
Use option www_authenticate_uri from group keystone_authtoken.

[1]https://review.openstack.org/#/c/508522/

Change-Id: I46bb0acaf1dec9bb4b91d4a2180b3e7ed66741c2
2018-04-11 22:28:23 +08:00
Zuul
6ed15b20a9 Merge "Add Database service user guide" 2018-01-14 02:45:42 +00:00
Zuul
373868cd2a Merge "Add support for MySQL 5.7 on Ubuntu Xenial" 2018-01-09 19:20:48 +00:00
Zuul
77162ca941 Merge "Replace outdated image info in guest_cloud_init doc." 2018-01-09 03:56:48 +00:00
Luke Browning
36926f39e6 Add support for MySQL 5.7 on Ubuntu Xenial
Ubuntu Trusty continues to get MySQL 5.6.

The selection of the MySQL version is based on the version
of Ubuntu that is installed.  If the script trovestack is
invoked on Xenial, the version that is chosen is 5.7.  If
it is invoked on Trusty, then version 5.6 is chosen.

The only thing that is eliminated is the dubious combination
of MySQL 5.6 on Ubuntu Xenial.  This combination is probably
not supported by Ubuntu as it is down level from their
standard offering is probably not tested anywhere.

Note Xenial does not provide the 5.6 version of mysql.  This
was accomplished by initializing the Apt repo with the
Trusty software repository.

The size of the root file system is increased from 3 to 4 GBs
as the Mysql Xenial image does not fit in 3 GBs. This has an
impact on the flavors that are used by Trove for testing as the
name of the flavor includes the size of the root file system.

This is turn caused a change to each of the db specific test
config files as the trove falvors are referenced in them.

Change-Id: I4f4e497208b8f4728580e48239a8ae208e0a96dd
2018-01-08 14:57:56 -06:00
Zhao Chao
2bda6791af Replace outdated image info in guest_cloud_init doc.
The link of Ubuntu Cloud Archive is broken and was referring to daily
buildings. Using official released images instead.

Change-Id: I78352c72c667cae93c0865f79ded0ed5caff7560
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-05 16:55:23 +08:00
Zhao Chao
f41268d5c1 Fix integration cgit url in image building doc.
Change-Id: Idd5873151a5b8c83ac243bb42adee38a351fa99c
Signed-off-by: Zhao Chao <zhaochao1984@gmail.com>
2018-01-05 15:37:22 +08:00
caoyuan
7d40878b18 Remove the deprecated Nova-network
1. since the Nova-network has been deprecated, the install docs should
update too.
2. optimise the description

Change-Id: I651789b5f50a3c7ef5d68e4b720881d5b245b911
2017-12-13 10:29:39 +08:00
Zuul
8aad3ee2e4 Merge "Update URLs in documents according to document migration" 2017-11-24 01:36:10 +00:00
chenxing
4d99ae4bb3 Add Database service user guide
import the trove user guide from openstack-manuals

Closes-Bug: #1731209
Change-Id: I939e88bfb88234045b0a8b00ee0d6d623c6b10d1
2017-11-21 10:27:53 +08:00
jiansong
0a5b9f97d2 Update DIB doc
bin/disk-image-create was moved in a patch last year, this moves
disk-image-create to a regular python entry-point[1].Resulting in
our current document will be some problems. It seems that an
effective solution is to install DIB. Updated the relevant
information.

[1]:https://review.openstack.org/#/c/367157/

Change-Id: Idf1c15491ca77f4bd06a7b13aec676c84d15a800
2017-11-13 06:17:16 +00:00
Zuul
7f53205e88 Merge "Fix to use "." to source script files" 2017-11-03 19:01:57 +00:00
melissaml
1a999f084b Update URLs in documents according to document migration
Change-Id: I4ef8a26df071746b6855a6a278840abdd77f2607
2017-11-03 17:17:01 +08:00
David Rabel
84af1645ac Fix indent in docs
Change-Id: Ic83980366fda6ce82e04a3c45777092ef14bae5f
2017-10-28 16:32:55 +02:00
David Rabel
14b2778b73 Remove Mitaka reference in install/dashboard.rst
Remove references to Mitaka.
Remove reference to bug.
Remove tag referenced in the document.
Some small fixes.

Change-Id: Ia0b8f6e465b4417178dbbcd5e186610e65255a08
Closes-Bug: #1725191
Closes-Bug: #1725192
2017-10-25 16:54:44 +00:00
melissaml
54f1b8b00b Fix to use "." to source script files
Adhering to coding conventions. Refer to ``Code conventions`` at
https://docs.openstack.org/contributor-guide/ for details.

Change-Id: If19a4335c23a98a5bb94db9595a277de6ea7f516
2017-08-29 00:25:50 +08:00
Fan Zhang
327eb48384 Remove inexistent option in install guide.
Remove notifier_queue_* because the options are no longer needed and
should be removed.

Closes-bug: #1706528

Change-Id: Idfd205473f1756a69d0d9607e9f8c1dd9780553c
2017-08-07 09:33:58 +08:00
Doug Hellmann
9d39a42e3e move from oslosphinx to openstackdocstheme
Change-Id: I3089bda6683322f21addd2999ab193de3c070fe3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 09:10:07 -05:00
Doug Hellmann
46c9b84d44 import content from cli-reference guide in openstack-manuals
Change-Id: Ie26dfefcdb684996050ce50ef17de5eeef69fc01
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 08:52:53 -05:00
Doug Hellmann
0e4e71f419 import admin-guide content from openstack-manuals
Change-Id: I8d3bd82b959ce1e44c212b692e2ce7343373b2c5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 08:48:44 -05:00
Doug Hellmann
0859794433 rearrange existing docs to fit the new standard layout
Refer to
https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html
for details.

Change-Id: Icd7cca752c8b87eb4543f0307bbf6e7ae07194b5
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-07-14 08:47:01 -05:00
Trevor McCasland
4a16721e07 TrivialFix: Update api-ref link
Currently the link in our developer documentation to our api-ref
is old. This updates it to the new one.

Change-Id: I68a36d4136422b823f2a71f3ea579896c7813c81
2017-06-15 14:32:25 -05:00
Jenkins
404a2f0322 Merge "Fix glance cli option" 2017-06-15 04:30:49 +00:00
Trevor McCasland
7d528fdda0 How to create a trove instance
For the longest time I've had a hard time understanding why my instances
were in ERROR or stuck in BUILD state. This guide fills in the
missing details that are necessary for setting up a trove instance.

I hope this guide will expand into other debugging steps/tips but
this is a good start.

I often found myself reserving too many resources that weren't
available. I didn't realize the virtual machine hogs so much of
the resources, or at least on my machine that is.

This guide will help those who are new to the world of cloud
computing and give them an understanding of how a trove instance
relates to your system's hardware.

Change-Id: I2dcfadb77b2a66f7e4ba3363aa54c8ad89605a88
2017-05-26 18:10:40 +00:00
Amrith Kumar
20d51467c7 enable trove-api behind mod-wsgi
This change enables behind mod-wsgi as part of the community pike goal
goal-deploy-api-in-wsgi.

The change includes:

    - the wsgi script files to run trove api under apache
    - updates to the devstack plugin
    - a basic deploy doc which explains this change

Change-Id: Icdd39b47a1be426e87a5d09f9e9d567af1974a9c
Depends-On: I3d6f6649430ee40879de15fee0b215dc32e8b666
Closes-Bug: #1681478
2017-04-25 06:54:29 -04:00
Amrith Kumar
a97bbad1c3 fix the gate: heat-cfntools was yanked out from under us
I don't know why we even needed heat-cfntools but we appear to have
depended on it. In commit c653eaee1c4091701e8da0f2c6f193e7126d8c49,
this was yanked unceremoniously. So I'm making us no longer reference
it other than the help string in dib's usage (which I won't bother to
fix).

Change-Id: I3cde6b7ba43fdd757a3994d0f3ac6ebec554538c
Caused-By: I221c5a3f82a2500c90646fc69439a210cf64e5e1
Related: I221c5a3f82a2500c90646fc69439a210cf64e5e1
2017-04-17 20:01:50 +00:00
Trevor McCasland
0ad14972eb Remove redstack reference
This should be the last one.

Change-Id: I8c90166ec665b7e5960ea4331bc14f4cf8f4e752
Depends-On: Ic64d91e082102057417995a0f6851d03b9e0ca74
2017-03-10 13:25:54 +00:00
Andreas Jaeger
a23e5451fb Sphinx: Treat warnings as errors
Add warning-is-error to setup.cfg to treat sphinx warnings as errors.
Fix all existing warnings so that docs build with this change.
Also fix some display problems in secure_oslo_messaging.

Change-Id: I7b2fe76cfc388c49f6be4c2d62e983b19bd7e927
2017-03-03 22:16:49 +01:00
Takeaki Matsumoto
59fe90ec2d Fix glance cli option
When creating image with local file,
"--file" should be used.

Change-Id: Ifdc028b9df2571c4fc554075cda32c90dbeec0ff
2017-02-14 14:36:41 +09:00
Anh Tran
fd877531d6 Typo fix: encouter => encounter, lastest => latest
Change-Id: Ie78dc6427213ce4ead696a5649bc32bceac68c3a
2017-01-26 11:15:12 +07:00
Amrith Kumar
a7115e22f7 secure oslo_messaging.rpc
This is an interim commit of the changes for secure
oslo-messaging.rpc. In this commit we introduce the code for
serializers that will encrypt all traffic being sent on
oslo_messaging.rpc.

Each guest communicates with the control plane with traffic encrypted
using a per-instance key. This includes both traffic from the
taskmanager to the guest as well as the guest and the conductor.

Per-instance keys are stored in the infrastructure database. These
keys are further encrypted in the database.

Tests that got annoyed have been placated.

Upgrade related changes have been proposed. If an instance has no key,
no encryption is performed. If the guest gets no key, it won't
encrypt, just pass through. When an instance is upgraded, keys are
added.

The output of the trove show command (and the show API) have been
augmented to show which instances are using secure RPC communication
** if the requestor is an administrator **.

A simple caching mechanism for encryption keys has been proposed; this
will avoid the frequent database access to get the encryption
keys. For Ocata, to handle the upgrade case, None as an encryption_key
is a valid one, and is therefore not cached. This is why we can't use
something like lrucache.

A brief writeup has been included in dev docs
(dev/secure_oslo_messaging.rst) which shows how the feature can be
used and would help the documentation team write up the documentation
for this capability.

Change-Id: Iad03f190c99039fd34cbfb0e6aade23de8654b28
DocImpact: see dev/secure_oslo_messaging.rst
Blueprint: secure-oslo-messaging-messages
Related: If0146f08b3c5ad49a277963fcc685f5192d92edb
Related: I04cb76793cbb8b7e404841e9bb864fda93d06504
2017-01-11 07:56:35 -05:00
jiansong
40ab14ea1b Removing reference to trove-integration in doc index
There is a reference to trove-integration in the doc index; removing
that.

Change-Id: Ia22b97e286e25da42e658cb2617c4bffaced475e
2016-12-07 01:58:53 +00:00
Jenkins
77882fdc5f Merge "clean up references to trove-integration and redstack" 2016-11-20 20:32:49 +00:00
Amrith Kumar
126e121a4e clean up references to trove-integration and redstack
Our readmes and rst files had references to trove-integration and
redstack. This commit cleans up those references.

Jian Song had also been trying to make some of these kinds of changes
to the documentation and to reduce conflicts and merges, I'd requested
him to hold off. As a result, I think it is only fair that I list him
as a co-author.

Change-Id: I685659391fd04eefd250e72d789da5a0d7b7aace
Co-Authored-By: jiansong <jian.song@easystack.cn>
2016-11-18 11:51:47 -05:00
ChangBo Guo(gcb)
6932c03e59 Add reference to OpenStack documentation
Add additional information with links to the Trove installation guides
found in the OpenStack documentation.

Co-Authored-By:jiansong <jian.song@easystack.cn>
Change-Id: Ic46b84a48faf77e1a609d2abf94fffb002e92112
2016-11-02 01:34:15 +00:00