5 Commits

Author SHA1 Message Date
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
Don Penney
061b0f2c3c Remove sdk package from python-inventoryclient.spec
A previous update removed the "%files sdk" section from
the python-inventoryclient.spec file, but missed removal
of the "%package sdk" section. As a result, the build
system looks for the python-inventoryclient-sdk package
when checking if a rebuild is required. But because the
"%files" was removed, the package is not built. This leads
the build system to decide it needs to rebuild.

Change-Id: I753212a17eca59699c2122c55eac313d1f9ed94f
Partial-Bug: 1830284
Signed-off-by: Don Penney <don.penney@windriver.com>
2019-05-23 17:03:11 -04:00
Kristine Bujold
cd2ac0de05 Remove remote-clients SDK Module from StarlingX
Spec files no longer requires specific remote-clients SDK actions. Also
remove reference of remote client bsp-files.

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: 30153

Change-Id: I1128abddc52b5bd426fcb27ef30c46be79caa576
Signed-off-by: Kristine Bujold <kristine.bujold@windriver.com>
2019-03-22 16:19:06 -04: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
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