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
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
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
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
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
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
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
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
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
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
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
Added storage section for elk config and keystone_authtoken section
for keystone related configurations
Change-Id: Iba3e1c97bfd58fb39c6f9208e31014dde8658f2f
Closes-Bug: #1565737
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
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
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
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
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
Adds an endpoint to the api for the registration of freezer clients
Change-Id: I1ca2a5e0021d383df70dfd001ab12967714c35bc
Implements: blueprint freezerclient-registration
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
First implementation of the freezer API.
Slightly more than a skeleton with basic functionality
Change-Id: Iae04affea3aa0f4a943599b528df49d9d4a5b845
Implements: blueprint freezer-api-first-rel