Commit Graph

24 Commits

Author SHA1 Message Date
Al Bailey d59ba5fdc2 Remove unused inventory and python-inventoryclient
Neither of these components were maintained or used, and so are
being abandoned.

 - inventory was an old fork of the sysinv code
 - python-inventoryclient was an old fork of the cgts-client code

The devstack commands, although currently disabled, have also
been updated.

Change-Id: If6a109edbc70eb1bd92012f4261dec4a2c58fbd1
Story: 2004515
Task: 37538
Depends-On: https://review.opendev.org/701591
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2020-01-08 14:12:05 -06:00
Zuul b850a7a762 Merge "fix the spelling mistakes" 2019-10-07 14:41:20 +00:00
Marcela Rosales b5f12793a1 Update openSUSE OBS artifacts to build MTCE packages
The openSUSE spec files needs to have the path of the source code in
the setup to have the package generation automated through _service
file in OBS.

Change-Id: I2b7c08d5772025c02821dfb9fc944fff0f5b6f90
Story: 2006508
Task: 36812
Signed-off-by: Marcela Rosales <marcela.a.rosales.jimenez@intel.com>
2019-10-01 11:07:10 -05:00
Zuul f453a3fc7d Merge "Add inventory specfile for opensuse" 2019-09-20 14:23:16 +00:00
Zuul dcfbec3643 Merge "Minor zuul and tox cleanup related to package re-org" 2019-09-20 13:28:46 +00:00
Erich Cordoba e093c9caf8 Add inventory specfile for opensuse
The inventory package was enabled in the openSUSE build system,
however to improve the maintenance of the specfile it was
decided to move the specfile to the official repositories.

This specfile is being built from the invetory OBS project here:

https://build.opensuse.org/package/show/Cloud:StarlingX:2.0/inventory

Story: 2006508
Task: 36492

Change-Id: I016738b63af27782311dfd554b765fbf658c0288
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-09-19 18:38:47 -05:00
jiasirui 7868a59dcc fix the spelling mistakes
Change-Id: I7731f7446b48db18eb74bb6dd382eb6e8cb62269
2019-09-13 10:12:19 +08:00
Erich Cordoba f9e34e67e4 Remove shebang from non-executable scripts.
The Opensuse build system's linters complains on having shebangs on
scripts that are not set as executable.

Change-Id: I710bea103bb45b82e294d3cbaec2d60728221875
Signed-off-by: Erich Cordoba <erich.cordoba.malibran@intel.com>
2019-09-11 09:21:44 -05:00
Al Bailey f049bfa5f1 Minor zuul and tox cleanup related to package re-org
The utilities repo is referenced by metal.

The inventory tox.ini is not being triggered by zuul,
but would have failed if run locally.

Change-Id: I4cd044d8ad03fefa19189e790e4b87222bebc459
Story: 2006166
Task: 36532
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-09-09 10:35:11 -05:00
Scott Little c22f5b63ee tox.ini changes to reflect new location of tsconfig
Story: 2006166
Task: 35687
Depends-On: I6c62895f8dda5b8dc4ff56680c73c49f3f3d7935
Change-Id: If18c36da922cc5fc6f9732694042c20b2d465545
Signed-off-by: Scott Little <scott.little@windriver.com>
2019-09-05 14:49:55 -04:00
Kristine Bujold c25d088367 Collapse the glance filesystem into platform
The filesystem /opt/cgcs is removed and its content moved under
/opt/platform.

Resources related to drbd-cgcs and /opt/cgcs are updated to
drbd-platform and /opt/platform.

Removed references of tis-extensions-controller as this RPM
is no longer being built.

Tested in AIO-SX, AIO-DX and Standard hardware labs.

Depends-On: https://review.opendev.org/674360
Partial-Bug: 1830142

Change-Id: I49ee6023817b1ca14868b1bd5ab246f5a8c5d80b
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-08-07 14:17:30 -04:00
Don Penney 2cbb73f862 Update tox.ini files to use stein constraints
This updates the upper-constraints.txt used by tox for
installing python modules to reference the stable/stein
constraints.

Change-Id: I337321543b6f778721a656c575a26854a20ff5d5
Partial-Bug: 1834216
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-06-25 13:20:35 -04:00
Al Bailey 354c253d04 Cleanup unused constants
As part of the cleanup tasks for openstack, there are a number
of attributes that are being cleaned up such as concurrent_disk_operations
and instance_backing.

The inventory repo has duplicated references to these, so many of them
are being removed here to coincide with the cleanup in sysinv.

Note: there are far more values that can be cleaned up, but this is mainly
to remove all traces of the deprecated features, rather than a generic
cleanup of inventory.

Change-Id: I6d582c83d6e86aa6a08cb110e9f009ff9549006d
Story: 2004764
Task: 34274
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-06-21 15:03:31 -05:00
Saul Wold 67025c3bb2 metal: Convert wrsroot -> sysadmin
This also changes the group wrs_protected to sys_protected
to de-brand the user and group names.

Depends-On: I887464a20fc17d66529caea03be2b445156f9426
Change-Id: Icfd2faec0ba8236762c8045f5c244eaf13008ee4
Story: 2004716
Task: 28749
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2019-06-14 15:12:03 -07:00
Al Bailey d599a0f4ce Removing the is_kubernetes checks
The system capabilities check for is_kubernetes has
not been optional for quite a while.
The inventory component had an unused utility method that
was querying it, and has been removed.

Change-Id: Ibbe3591fab435fcf8647871acc6cbf9494a406b6
Story: 2004764
Task: 33604
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
2019-06-06 16:41:35 -05:00
Changcheng Liu 4d31b72aae Remove api/v0.1 to access to ceph mgr RESTful plugin
"restapi base url"(ceph.conf) is removed from ceph Mimic
version. remove the base url now.

Story: 2003605
Task: 28860

Depends-On: Ibfbecf0a8beb38009b9d7192ca9455a841402040
Change-Id: If4bfad6dfde1285ff68a139f7a95b91cc51b19bb
Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
Signed-off-by: Daniel Badea <daniel.badea@windriver.com>
2019-04-24 15:16:02 +00:00
Don Penney d6d9639c63 Update tox.ini files to adapt to repo renaming
Rename the stx-* repo references to drop the stx prefix.

Change-Id: I0f47cd0c438bec5ce3192ffe4fb56da17e795637
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-04-22 15:40:23 -04:00
Zuul 3e0b05cdbf Merge "[Trivial Fix] fix typos in docstrings" 2019-04-09 12:13:50 +00:00
Kristine Bujold 7eb571d9ee Remove wrs-configutilities SDK Module
Some of the APIs/constants were moved to controllerconfig.

With the StarlingX move to supporting pure upstream OpenStack, the
majority of the SDK Modules are related to functionality no longer
supported. The remaining SDK Modules will be moved to StarlingX
documentation.

Story: 2005275
Task: 30263
Depends-On: https://review.openstack.org/#/c/649175

Change-Id: I86b9857207135525de1687adff4657637060074a
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-04-01 16:03:33 -04:00
melissaml f68f3e06d0 [Trivial Fix] fix typos in docstrings
Story: 2005027
Task: 29506

Change-Id: I250e0d381f2e1b78d4a2c7bf9a1b6a5422b66a12
2019-02-21 14:46:06 +08:00
Zuul b01f8ea964 Merge "Inventory: store BMC password in Openstack Barbican." 2019-02-13 15:54:43 +00:00
Alex Kozyrev 938d9551c4 Inventory: store BMC password in Openstack Barbican.
Replacing existing mechanism of storing BMC passwords in Inventory.
Porting all the changes made in SysInv to Inventory to make them on par.
Inventory is going to use Barbican API instead of keyring to store
BMC passwords for MTCE as well.

Depends-On: I7102a9662f3757c062ab310737f4ba08379d0100
Change-Id: I74e971495fa7538d77cfebc28d76fd752af69f5e
Story: 2003108
Task: 27700
Signed-off-by: Alex Kozyrev <alex.kozyrev@windriver.com>
2019-02-06 13:20:20 -05:00
Jack Ding 9ececd7623 Remove nova storage aggregates
Remove the automated creation of storage host aggregates and host
population in inventory.

Story: 2004607
Task: 29068
Change-Id: I4a74a1ee1f8b3bc8dc6293a5c971d9c7ed1442b5
Signed-off-by: Jack Ding <jack.ding@windriver.com>
2019-01-25 09:56:09 -05:00
John Kung bd998017d5 SysInv Decoupling: Create Inventory Service
Create host inventory services (api, conductor and agent) and
python-inventoryclient.

The inventory service collects the host resources and provides a
REST API and client to expose the host resources.

Create plugin for integration with system configuration (sysinv)
service.

This is the initial inventory service infratructure commit.
Puppet configuration, SM integration and host integration with
sysinv(systemconfig) changes are pending and planned to be
delivered in future commits.

Tests Performed:
 Verify the changes are inert on config_controller installation
 and provisioning.
     Puppet and spec changes are required in order to create keystone,
     database and activate inventory services.

 Unit tests performed (when puppet configuration for keystone, database
 is applied):
     Trigger host configure_check, configure signals into
         systemconfig(sysinv).

     Verify python-inventoryclient and api service:
         Disks and related storage resources are pending.
         inventory host-cpu-list/show
         inventory host-device-list/show/modify
         inventory host-ethernetport-list/show
         inventory host-lldp-neighbor-list
         inventory host-lldp-agent-list/show
         inventory host-memory-list/show
         inventory host-node-list/show
         inventory host-port-list/show

     Tox Unit tests:
         inventory: pep8
         python-inventoryclient: py27, pep8, cover, pylint

Change-Id: I744ac0de098608c55b9356abf180cc36601cfb8d
Story: 2002950
Task: 22952
Signed-off-by: John Kung <john.kung@windriver.com>
2018-12-06 13:17:35 -05:00