Commit Graph

79 Commits

Author SHA1 Message Date
Andreas Jaeger ed1759a2a1 Retire repository
Fuel (from openstack namespace) and fuel-ccp (in x namespace)
repositories are unused and ready to retire.

This change removes all content from the repository and adds the usual
README file to point out that the repository is retired following the
process from
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project

See also
http://lists.openstack.org/pipermail/openstack-discuss/2019-December/011647.html

Depends-On: https://review.opendev.org/699362
Change-Id: Ifb810e26646fcb0018d012f1c9c97ede7a45cce9
2019-12-18 09:47:17 +01:00
OpenDev Sysadmins 8261c783d7 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:34:34 +00:00
Jenkins 816793c1af Merge "Prepare for using standard python tests" 2017-02-06 16:40:33 +00:00
Andreas Jaeger 705b10f68a Prepare for using standard python tests
Add simple script to setup mysql and postgresql databases, this script
can be run by users during testing and will be run by CI systems for
specific setup before running unit tests. This is exactly what is
currently done by OpenStack CI in project-config.

This allows to change in project-config the python-db jobs to
python-jobs since python-jobs will call this script initially.

See also
http://lists.openstack.org/pipermail/openstack-dev/2016-November/107784.html

Change-Id: Ie6febef4afcb62571a0619c7f31c2fb1bd3e4fe4
(cherry picked from commit 8e0957c776)
2017-02-02 20:04:37 +01:00
Dmitry Ukov a3171ef317 User can add all outofsync tasks to whitelist
Change-Id: Ic73913d72ed5eaecb8a44fad47413ad47d94287d
2017-01-24 09:48:04 +00:00
Dmitry Ukov 27b2574984 User can add all outofsync tasks to whitelist
Change-Id: Ic73913d72ed5eaecb8a44fad47413ad47d94287d
2017-01-24 13:29:43 +04:00
Jenkins d55fae0cca Merge "Make lcmv2 default" 2016-12-02 13:04:38 +00:00
Dmitry Ukov 75019a58dc Make lcmv2 default
Change-Id: Icfe3d74c7b886b354dd7546501b599e72150d4f6
2016-12-02 12:58:39 +00:00
Dmitry Ukov a04372c872 Make lcmv2 default
Change-Id: Icfe3d74c7b886b354dd7546501b599e72150d4f6
2016-12-02 14:56:24 +03:00
Dmitry Ukov c626c76d41 Include all file from fuel_external_git dir
Change-Id: I2dea68625853cb970a2626ce894ac79b25650986
2016-12-02 11:54:45 +00:00
Dmitry Ukov 967dde2487 Include all file from fuel_external_git dir
Change-Id: I2dea68625853cb970a2626ce894ac79b25650986
2016-12-02 14:11:06 +03:00
Dmitry Ukov bb14dd87f5 Migrations should be added to rpm package
Change-Id: Iba2ffcf8d54d6b532733c367961f52071e47a114
2016-12-02 08:46:00 +00:00
Dmitry Ukov 332b0008a9 Migrations should be added to rpm package
Change-Id: Iba2ffcf8d54d6b532733c367961f52071e47a114
2016-12-02 11:35:21 +03:00
Dmitry Ukov 99d1bc3110 Adjusted README file
Documented new git repository structure

Change-Id: Ie40441ba8be0c8177bb14b09598e099f55f1e141
2016-11-29 09:03:39 +00:00
Dmitry Ukov bbf94e3491 Adjusted README file
Documented new git repository structure

Change-Id: Ie40441ba8be0c8177bb14b09598e099f55f1e141
2016-11-28 16:05:36 +03:00
Dmitry Ukov a7bc4d88b1 Whitelist rules bulk deletion
User should be able to specify list of rule IDs to delete

Change-Id: I500aa50af377947e3d59b3dff179ebe3734cf988
2016-11-28 09:26:44 +00:00
Dmitry Ukov 6d9f6f0579 Whitelist rules bulk deletion
User should be able to specify list of rule IDs to delete

Change-Id: I500aa50af377947e3d59b3dff179ebe3734cf988
2016-11-28 12:24:01 +03:00
gecong1973 d492b19f45 Don't include openstack/common in flake8 exclude list
There is no this directory openstack/common which was used
to keep codes from oslo-incubator, we have retired oslo-incubator.
Removing openstack/commonfrom all OpenStack code in favor of the
Oslo libraries is a project wide goal for the Ocata release. So
don't use this directory any more. We should drop it for improving
searching efficiency.

Change-Id: Id4ff616ccb2dd28dac6d6ac40c9637644b783343
2016-11-25 20:33:13 +00:00
Dmitry Ukov e2c4e91930 Added support global and cluster overrides
Change-Id: I0188d8f0b1e095d1de20a12b5f9279c9b66d8ff5
2016-11-25 20:19:03 +00:00
Dmitry Ukov e7fe804207 Added support global and cluster overrides
Change-Id: I0188d8f0b1e095d1de20a12b5f9279c9b66d8ff5
2016-11-25 20:11:25 +00:00
Dmitry Ukov c6ab6b5be8 Fixed issues with --key parameter
Added logic for gitrepo object to handle repositories without keys

Change-Id: Icef48dc98a8166ee1f21c0be64b61cad8eab9123
2016-11-25 20:01:35 +00:00
Dmitry Ukov dac3b9018b Fixed issues with --key parameter
Added logic for gitrepo object to handle repositories without keys

Change-Id: Icef48dc98a8166ee1f21c0be64b61cad8eab9123
2016-11-25 19:55:45 +00:00
Dmitry Ukov 663a12d1c0 Added OSLO_PACKAGE_VERSION env variable
Python pbr module requires .git directory to determine package version.
Perestroika creates sources tarball using git archive command which
removes .git folder

Change-Id: I74f2b6c62f9c388507d3e8ea6fe853906ee20859
2016-11-25 19:21:02 +00:00
Dmitry Ukov 16a9e9a9bb Added OSLO_PACKAGE_VERSION env variable
Python pbr module requires .git directory to determine package version.
Perestroika creates sources tarball using git archive command which
removes .git folder

Change-Id: I74f2b6c62f9c388507d3e8ea6fe853906ee20859
2016-11-25 22:08:24 +03:00
Dmitry Ukov 8a1705988e Fixed spec file
Change-Id: I546db287a8e55e169878f7c5b9c203989c5e4368
2016-11-25 18:07:06 +03:00
Dmitry Ukov 6f6ca2a9cf Fixed spec file
Change-Id: I546db287a8e55e169878f7c5b9c203989c5e4368
2016-11-25 00:04:21 +03:00
Dmitry Ukov 7c83e52cf8 Added spec file for rpm build
Change-Id: I9e6b20430503b1b988bb6eb95968a8bbff01fc0b
2016-11-24 16:14:21 +03:00
Dmitry Ukov b68ed1576f Removed init repository
This feature is not needed since repositiry structure should be Hiera
compatible

Change-Id: I59b6847af9d470c5bc7ac208d09e5bf68f18ceb1
2016-11-24 12:14:33 +03:00
Dmitry Ukov 57c3662b32 Removed configuration files download command
This is not needed with new approach since extension controls
YAML-formatted files used for Hiera

Change-Id: Iebdda9532594f4fea9a7a21fb68122940fa39cac
2016-11-24 11:07:33 +03:00
Dmitry Nikishov a954afd3bd Refactored filter_changes in fuelclient_audit
Improved code readability

Change-Id: Icdaf42d70cee088422dee805958a5228c4b09dfd
2016-11-18 17:09:09 +03:00
Dmitry Nikishov a2bd542d26 Added default whitelist
Change-Id: I32318739661629d733fde4fb0c168108cf490eb5
2016-11-18 16:59:37 +03:00
Dmitry Nikishov 5d697ffbab Implemented unique constraint for rules
Change-Id: Ia59e2d350af58a0c85269718c704cee0c50a4422
2016-11-18 13:25:02 +00:00
Dmitry Nikishov b5ee1f6d17 Extended whitelist with task name
Change-Id: Id832b0c66256b8808ac17c657c7077b6d2164803
2016-11-18 16:22:49 +03:00
Dmitry Nikishov ec68268b3b Implemented basic CLI operations with whitelist
Change-Id: I4ccf158807099add16a5082d8a461205447d7fa0
2016-11-18 16:12:30 +03:00
Dmitry Nikishov 79a59c52f0 Added changes whitelists to API
Change-Id: I470caeaf0145ad1f967a9ad71fc4b90908509a44
2016-11-18 15:28:47 +03:00
Dmitry Nikishov be68d28707 Added audit-enforce command
This command performs audit run on
the environment, associated with the target
repo. After that, if there are any outofsync
Puppet resources, it performs an enforcement
run, that will sync these resources.

Change-Id: I82721eb5f20383d2c0b7618050ab27517d21d15d
2016-11-18 15:26:23 +03:00
Dmitry Ukov 94372326df Added new logic for deployment data generation
* All files are in yaml format
* Hierarchy is static now

Change-Id: Iccd605d13940457bfb087607ef99f86dd2db76dd
2016-11-14 17:14:41 +03:00
Dmitry Ukov 159301b4fc Introduced v1 LCM logic
This logic will handle ini-file based approach

Change-Id: Ifc892d595cffd0bcef5eca30a82013fa3346a8a2
2016-11-11 13:41:07 +03:00
Dmitry Ukov 82efc7e153 Resources moved to top level of configuration hash
Change-Id: I6884d0eff2c247dd75f76c4d39d7406249201c90
2016-11-10 17:07:19 +03:00
Dmitry Ukov 8975dfbc56 Documentation refactoring
* Added steps to enable extension (new for MOS 9.1)
* Improved 'How to Use' section
* API and CLI documentation moved to doc directory

Change-Id: Ic2b1c50ea3b17671f738933a765a28945eb273f8
2016-11-09 10:03:20 +00:00
Dmitry Ukov 10837a767a Improved unittests for utils
Change-Id: I3fce26a826fc1e61b4f506a714d4cb53364012b3
2016-11-08 14:52:43 +00:00
Dmitry Nikishov 19fe1fcb17 Added audit run and outofsync commands
fuel2 audit noop starts the
noop run on the environment

fuel2 audit list outofsync
checks the puppet reports of the deployment task and
extracts all the resources, that would have changed
during the actual puppet run.

Change-Id: Ibf2f5467fd6b05cf437f59fdb462bbde14635632
2016-11-02 16:05:55 +03:00
Dmitry Nikishov e1bd7e7244 Moved gitrepo-related commands to a separate file
This commit moves handlers for gitrepo-related commands
from fuelclient.py to fuelclient_gitrepo.py to do 2
things:
- overcome potential shadowing issues (from fuelclient import)
- prepare for introduction of audit-related subcommands, which
  would be placed in a separate file

Change-Id: Ia216205482de210b2a1126b9d62d2359fbf60005
2016-11-01 16:57:41 +03:00
Alexander Kislitsky 910b4ccf85 Documentation and CLI command description fixed
Change-Id: I6a4cf58bfd5250e44363cd4a6895bcc24ea5552a
2016-10-04 10:36:38 +00:00
Jenkins 8b6046f787 Merge "Fuelclient version 10 handled" 2016-10-03 15:21:26 +00:00
Dmitry Ukov 0e58b576b3 Extension performance improvement
* Introduced Git repo stat TTL. This helps to avoid unnecessary fetch
  requests to remote repository
* Configuration file restructured. It's easier to have mapping for file
  name in Git repository on resource rather then vise versa

Change-Id: I222199fc8aa203966a465508d4ecd8477f0fac3e
2016-09-27 17:20:54 +03:00
Dmitry Ukov 40e1ede7b9 Introduced master node management strategy
* Only one Git repository is allowed to manage Fuel master node
* Repo SQL model extended with flag which determines wither a particular
  repo manages Fuel mater node
* Master config mapping moved to a separate section

Change-Id: I7137393a5a42bb57cc14ceb738b18e37251e9368
2016-09-27 11:09:12 +03:00
Dmitry Ukov 5a11df2194 Added data serialisation for master node resources
* Introduced new configuration parser driver
* All drives should be placed in drivers folder
* Master node data are serialised for cluster object

Change-Id: I4ab4b54530272a76337357ce981e2144fb67fd71
2016-09-26 11:30:41 +03:00
Alexander Kislitsky 196f9c2795 Fuelclient version 10 handled
In python-fuelclient >= 10 APIClient was renamed to DefaultAPIClient

Change-Id: Id5ca9217f06dd2804153d15b3e0fae513d635285
2016-09-22 18:00:25 +03:00
Dmitry Ukov 78fec444ad Migrated extension to Fuel 9.1 support
* Added new decorators to handler
* Pipeline updated with method from node deployment info
* Fixed clone via ssh procedure. GIT_SSH_COMMAND is supported noly by
  git 2.3+ but 1.8 is installed on master node

Change-Id: Icfefa281ce8fa549412a6b219f28abb8d84c6dd8
2016-09-19 12:04:23 +03:00