Commit Graph

49 Commits

Author SHA1 Message Date
Andreas Jaeger c119b995e1 Update api-ref location
The api documentation is now published on docs.openstack.org instead
of developer.openstack.org. Update all links that are changed to the
new location.

Note that redirects will be set up as well but let's point now to the
new location.

For details, see:
http://lists.openstack.org/pipermail/openstack-discuss/2019-July/007828.html

Change-Id: I111561b6081306ef5069140a6d00252ee04c7efb
2019-07-30 09:38:57 +02:00
wu.chunyang 8eb00b05f4 Replace git.openstack.org URLs with opendev.org URLs
Thorough replacement of git.openstack.org URLs with their
opendev.org counterparts.

Change-Id: I342dfe342de175f0d52a41a6c9366ce621842053
2019-04-23 18:58:12 +08:00
Nguyen Hai Truong e7f65a7c61 Add the project source code repository in README
Change-Id: I187bc9f86af4a2f01110b396752b150ad10207ea
2018-11-05 00:39:09 -08:00
ZhijunWei 32ac17c844 fix bug link in readme
Change-Id: Ib8eadd80278aae306abb68ffdfd07f113b002761
2018-08-30 22:09:41 -04:00
wangqi bdb6513b0f Update links in README
Change the outdated links to the latest links in README

Change-Id: I7eec91ba115e75bb7ef866d1b5ed2587c104300b
2018-03-02 05:57:49 +00:00
Saad Zaher 84fa303f68 Update freezer-api README.rst
Change-Id: I2b94315751cddd8e977d6be094dd0188e66c8bb5
2018-02-20 15:37:04 +00:00
Jenkins 3d5a57c1d8 Merge "Improve README" 2017-09-11 17:50:50 +00:00
Vitalii Nogin 494e9ee748 Improve README
Added installation steps for ES.

Change-Id: I51ef084c8a09ba9ba62aff21707f90c92d9643f1
2017-09-08 14:00:47 +00:00
Hangdong Zhang 7244fa3799 Update URLs in documentation
Update URLs according to OpenStack document migration

Change-Id: Ib442a2eea4d476ee92c8b40aed6b24b66572dd62
2017-07-20 14:27:55 +08:00
yfzhao 4c8da184fe Replace http with https in openstack.org
In freezer, some of the openstack.org use https and some of them are http.
 Use https instead of http to ensure the safety without containing our
account/password information.

Change-Id: Ib4fac120e2a66b2f0a2939b01e63d9fb8356db78
2017-05-04 15:02:46 +08:00
Pengju Jiao 8c99dcefb7 Add 'freezer_action' to action schema
Currently we can create a new action with invalid
action file that has no 'freezer_action' option
correctly, but when we get the action info with
'freezer action-list', it will show the default
and invalid values. So this patch add 'freezer-action'
to the json validation.

Depends-On: I45c419852b177e1d1b067bb5b7f25a60c6c88f7f
Change-Id: Id4619ae625865df585dfadb0761f711f702aa1ab
Closes-Bug: #1677188
2017-04-20 08:50:33 +08:00
Pengju Jiao 94dbb1819d Fix description for 'Freezer sessions management' and 'Session-Job
association' in README.rst

Incorrect description for 'Freezer sessions management' and
'Session-Job association' in README.rst, change the description
of 'DELETE' from 'adds the job to the session' to 'removes
the job from the session'.

Change-Id: I1d2be9f40982735e8985bbfb2bbc079620d15873
2016-12-06 18:32:01 +08:00
Jenkins 430f23a87d Merge "Show team and repo badges on README" 2016-11-25 17:12:32 +00:00
Flavio Percoco 9154cb18bd Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

b'https://gist.github.com/77f0b5e198b02d21615ce239b5d42c20\n'

Change-Id: I610694a3c84dd78f6c0785e74015cd1ab33f2dd1
2016-11-25 14:17:17 +01:00
Shangzhong Zhu e4162efc9e API routes section error in freezer-api README.rst
Change-Id: I0499ec40cada5a6b1d74f87a42ff97df2378647e
Closes-Bug: #1642195
2016-11-16 17:19:24 +08:00
Shangzhong Zhu 1f473e5b1d Update freezer-api README.rst
In the "edit config file" section,
add "sudo cp etc/freezer/policy.json /etc/freezer/policy.json"

Change-Id: Iabdcef31226f5accdbcadd9d3d21f010ee5de590
Closes-Bug: #1637949
2016-10-31 17:09:44 +08:00
caowei 84487bfb76 Fix the step of editing configure file in freezer-api/README.rst
Change-Id: Ib5b1df0d8e5f66050d6208c072026ce2e5bf969b
Closes-Bug: #1625492
2016-09-20 16:34:20 +08:00
Jenkins cbe147c863 Merge "Add display-name to freezer-api Apache config" 2016-08-26 10:10:37 +00:00
Deklan Dieterly ff594fec8b Fix bug in README.rst
Fix minor bug in README.rst to see if the gate
job is working.

Change-Id: I18e9a9e8f695cebbbf57b9930b3891973dc1bcf9
2016-07-29 16:41:11 -06:00
Jenkins 5265ca695d Merge "Fix Rst grammar avoid to change every time when change order" 2016-07-28 13:28:10 +00:00
Jenkins 150111bf9d Merge "freezer-api README.rst needs to be updated" 2016-07-28 10:50:47 +00:00
yangyapeng 338b9254ec Fix Rst grammar avoid to change every time when change order
Change-Id: Ib387a2bcc7c5897bea37d22d4566b51f1e495f2c
Closes-Bug: #1604245
2016-07-20 01:54:58 +00:00
shangzhong.zhu afe97aa315 freezer API document error in README.rst
1. Installation
1.1 Install required packages
    # git clone https://git.openstack.org/openstack/freezer-api.git
    # cd freezer-api && sudo python setup.py install
1.2 Install freezer_api
    # pip install -r requirements.txt

The command for installing the freezer-api and its dependencies is
contrary.

The command "pip install ./" should be used to install freezer-api
and its dependencies instead of "pip install -r requirement.txt" and
"sudo python setup.py install".

Change-Id: Iea1ba7d7f6f6a3995988eec1d0bec5e7fb84ef9c
Closes-Bug: #1597560
2016-07-19 12:09:25 +00:00
Tim Buckley 6cbd0424f1 Add display-name to freezer-api Apache config
This adds 'display-name=%{GROUP}' to the freezer-api Apache template.
Currently, freezer-api's processes are all named 'httpd' making it
impossible for monitoring tools like monasca to find the correct
processes to watch. By setting 'display-name', the process will be
renamed to the process group ('freezer-api') making it possible to
monitor.

Change-Id: Ia247843d77f9b9148907e1cec80f47fdd394532b
2016-07-11 10:48:35 -06:00
Domhnall Walsh 964f6e717d Fix falcon version detection for falcon==0.1.6
Change-Id: I069fcfa04fe6c9ac127f0afedf22a97df8200b7b
Closes-Bug: #1598820
Closes-Bug: #1598819
2016-07-04 17:11:01 +01:00
liujiong 5a99029e04 freezer-api README.rst needs to be updated
Info of API registration in README.rst is not updated with the
latest openstack version. Change user-create/service-create/endpoint-create
from keystone command to openstack command.

Closes-bug: #1592242
Change-Id: Iff1924632835f92278e0cc7a666b8056655bd8e7
2016-06-29 11:15:26 +08:00
Saad Zaher 94200bc073 Moving to freezer-manage to create/update/delete mappings
Use freezer-manage instead of freezer-db-init to create/update/delete
elasticsearch mappings. freezer-manage will add couple of more
functionalities. freezer-manage reads from the same configuration
file like freezer-api and uses the same db info.

How to use:

To create the mappings::

freezer-manage db sync

To update the mappings::

freezer-manage db update

To remove the mappings::

freezer-manage db remove

To print the mappings::

freezer-manage db show

To update settings:

freezer-manage db update-settings

Change-Id: Ib1f8265b780c1e2300bcba45183309ea06c673d3
Implements: blueprint move-to-freezer-manage
Closes-Bug: #1587408
2016-06-20 11:25:06 +00:00
Saad Zaher 525c7f12cb Move to Paste and Paste-deploy
Start using Paste and Paste deploy for providing some flexability
to system administrator while deploying freezer-api.

Implements blueprint move-to-paste

Change-Id: I3f68a98ae7822495627791edb5be125556ff0b98
2016-05-31 17:19:59 +00:00
Deklan Dieterly 0b5f4fc1a2 Fix RST error in README
Fix one RST error in README.
Makes all errors go away in RST editors.

Fixes 'Title length must match the underline' error.

Change-Id: I9c9c51248046d2305a49857e7429a3d4fb4af85b
2016-05-23 09:27:40 -06:00
Deklan Dieterly fc37320b92 Fix RST syntax in README
Fix errors in RST syntax in the
README file.

Makes README file format correctly in
RST viewers.

Removes README file errors in RST viewers.

Change-Id: I66d42968c6a385a1f8503ec4cee2181501b0702c
2016-05-19 16:38:15 -06:00
Jenkins 59a3e2c079 Merge "Fix documentation: There is no update endpoint for backups" 2016-05-18 18:33:45 +00:00
Jonas Pfannschmidt 39ac6c3b19 Fix documentation: There is no update endpoint for backups
Change-Id: I603bd84f39607f77c5b0f83c2f46a50756f5ab0e
2016-04-22 12:48:37 +01:00
Jonas Pfannschmidt efe376d422 Fix documentation: offset instead of marker
Change-Id: Ic746b5fdb443f1663d258f50dfadef85cd032d57
2016-04-20 17:04:55 +01:00
Deklan Dieterly b0735e2da1 Add Freezer API Tempest Tests
Add Freezer API Tempest tests
to increase testing coverage.

Change-Id: Iad14ffd1a663d1b0397fac08443fd194926954e8
2016-04-05 12:48:52 -06:00
Saad Zaher 153279105e Adding storage, keystone_authtoken sections to sample config
Added storage section for elk config and keystone_authtoken section
for keystone related configurations

Change-Id: Iba3e1c97bfd58fb39c6f9208e31014dde8658f2f
Closes-Bug: #1565737
2016-04-04 17:27:29 +01:00
Saad Zaher d4e727d033 Switch Freezer-api to oslo.config and oslo.log
Switching freezer-api to oslo config opts and oslo logging opts to
follow Openstack standards and benfit from oslo libraries

Change-Id: I1b97db2e02087dccca3be25246c275d4e778094f
Implements: blueprint switch-api-to-oslo-config
2016-04-04 10:52:16 +01:00
Pierre-Arthur MATHIEU bdb743aef6 Add support for properties that span across all action of a job
Added support for action_defaults

Change-Id: Iccc6faf6472cce12c69d4bcbe7fe05cffa902df1
2015-11-23 16:55:25 +00:00
venkatamahesh 53399ef1d8 Change the repository from stackforge to openstack
Change-Id: Ice1877c1253c0d592cb17cb9d1db85ccd43af00a
2015-10-18 15:04:13 +05:30
Fabrizio Vanni 8c43204bfd devstack plugin interface
adds interface files for freezer-api to be installed
as a devstack plugin

Change-Id: I8e7d2d8ee973b6c6b88208cdb38c9aa6d69ca13d
2015-10-16 12:50:14 +01:00
Fabrizio Vanni b5ac449ec2 update type deletion policy in db-init
Types with not-matching mappings are not deleted by default.
When elasticsearch fails to merge the new mapping with the
existing one an error is returned.

The type is deleted only when explicitly requested, either
interactively or providing the following command-line parameter:

    --erase

Adds the possibility to select the specific mapping to upload
with the following command-line parameter:

 --mapping <specific-mapping>

Change-Id: If18fdba770790d8af03475d45da28c2e40fb7da6
2015-09-09 19:04:41 +01:00
memo a903741ff9 Fix for configuration deployment.
freezer-api.conf now is deployed manually in case /etc
is not reachable by the user

Change-Id: I2a63222d9b6eae143c60a5e777f750721887db1c
2015-08-05 05:35:05 +00:00
Fausto Marzi 1531ac7cab Fixed package name to consistent with repo name
Now the package name is freezer-api instead of freezer_api.
This is consistent with the repo name and package name.
Also the README insttructions are updated
2015-08-04 11:25:43 +01:00
Fabrizio Vanni a389bf79fb freezer scheduler
The freezer scheduler is to be executed
as daemon process on the client machines

It has the following responsibilities:

  * when using the api:
    - register -if necessary- as a client in the api
    - download the list of jobs from the api
    - schedule the jobs for execution
    - launch the freezer client at the scheduled time
    - collect metadata and exit codes and upload them to the api
    - periodically poll the api for new/updated jobs
    - if a job is part of a session (a coordinated group of jobs)
      it updates the session status when job starts/stops

  * when not using the api
    - load jobs configurations from files
    - schedule the jobs for execution
    - launch the freezer client at the scheduled time

The freezer scheduler can also be used to manage jobs
and sessions using the following positional parameters:

  job-list
  job-get
  job-create
  job-delete
  job-start
  job-stop
  session-list
  session-get
  session-create
  session-delete
  session-list-job
  session-add-job
  session-remove-job

or to register the client in the api using the positional parameter:

  register

Implements blueprint: freezer-scheduler-start

Change-Id: I06ae202a0f464f7240c137744a5b54d1177cabd9
2015-07-10 18:51:17 +01:00
Fabrizio Vanni f4a9d19a12 Add api support for jobs
removes distinction between actions and configs in the api

The v1/jobs endpoint is the single point of access to the api
to store, search and retrieve operating instruction about
a single freezer run.

optional scheduling informations can be added to a job to
allow for future/recurrent job execution.

removes api endpoints
  - v1/actions
  - v1/configs

adds api endpoints:
  - v1/jobs

Implements blueprint: freezer-api-jobs

Change-Id: Ideeef14dfccd21ddd10b4faa438124c04d2e1ff8
2015-06-21 18:13:54 +00:00
Jonas Pfannschmidt ea9a87e84b Changed client data description to include "hostname""
Change-Id: I688c6cd7d5678b886bece6ffb8fa569842e25d5f
2015-05-20 20:09:33 +00:00
Fabrizio Vanni 5aa02c14ed freezer api support for action
Adds an endpoint to the api for managing actions

Change-Id: I8a84ea4aa46a7acaecb103aa20f3dc8acd128d0c
2015-05-13 19:05:25 +01:00
Fabrizio Vanni c86f04978e freezer api support for client registration
Adds an endpoint to the api for the registration of freezer clients

Change-Id: I1ca2a5e0021d383df70dfd001ab12967714c35bc
Implements: blueprint freezerclient-registration
2015-04-30 14:07:19 +01:00
Fabrizio Vanni 94d558c25a client retrieval of freezer api endpoint
The api client queries keystone to obtain the freezer api endpoint,
provided that the freezer api service and endpoint have been registered in
keystone.

An optional parameter to specify the api endpoint is supported

Change-Id: I6626a60d1fd5d18a59376165e94c789832865ae0
Implements: blueprint freezer-apiclient-endpoint
2015-04-27 11:16:47 +01:00
Fabrizio Vanni acbc7aefae Freezer API
First implementation of the freezer API.
Slightly more than a skeleton with basic functionality

Change-Id: Iae04affea3aa0f4a943599b528df49d9d4a5b845
Implements: blueprint freezer-api-first-rel
2015-04-08 18:25:45 +01:00