Also disabling the nfv devstack jobs. These jobs are failing
after the recent repo restructuring due to failures in the
FM devstack setup. The jobs can be re-enabled in the future
(after the issues are fixed), if there is some value in
doing so.
Change-Id: Ib443edc76ca636c83331945de74d875ffb3592ac
Story: 2004515
Task: 36579
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
if the entity_type of alarms/logs "instance", they
are related to VM instance and should be managed by
openstack. So we need to raise/clear them by restful
api of fm services in pods.
changes:
1. point vim webserver to fm in pods
2. change alarm/log interface of nfvi
3. change nfvi alarm/log configure file
add param "fault_management_pod_disabled" with 'True' as
the default value into config file to disable nfvi raise
alarms to containerized fm. it will be removed in future
Depends-On: https://review.opendev.org/658740/
Depends-On: https://review.opendev.org/648814/
Story: 2004008
Task: 28876
Change-Id: I373f1f8cd6a69b96f70c99c46e6580002c09efc0
Signed-off-by: SidneyAn <ran1.an@intel.com>
This commit re-orders the imports to allow enabling in flake8:
H306: imports not in alphabetical order
This change should have no functional impact on the code
Scenario tests all passing.
Story: 2004515
Task: 28684
Change-Id: I412474dfdd1ee9d7deade7f7d6aca32085c0f3f2
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
This code has zero impact on python2.
ex:
from six.moves import http_client as httplib
print httplib
<module 'httplib' from '/usr/lib64/python2.7/httplib.pyc'>
This code will not be testable in python3 until all other
incompatible components are updated.
Story: 2004241
Task: 28038
Change-Id: I9679067f412d4cdf57fb183de2fa59b42de3a99e
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
Adding support to the VIM for containerized keystone. The
VIM will now support two keystone instances:
- platform: bare metal keystone used to authenticate with
platform services (e.g. sysinv, patching)
- openstack: containerized keystone used to authenticate with
openstack services (e.g. nova, neutron, cinder)
For now, the VIM will use the same baremetal keystone for both
the platform and openstack, because we still only deploy with
the baremetal keystone.
Story: 2002876
Task: 26872
Depends-On: If4bd46a4c14cc65978774001cb2887e5d3e3607b
Change-Id: Id1ec639aa347e0c4e4019576d3c36c8c72aefedf
A number of changes were done to the imports in the files.
- Clean up flake8 H301 multiple imports per line
- Remove noqa from top of files, allowing flake8 to run
on all files.
- Clean up relative imports in most places. This will
simplify python3 support later.
- Partially sort the imports. A later commit will
enable that check since doing that here would have made
the changeset even bigger.
Story: 2003499
Task: 26561
Change-Id: Id5f95559f0d4604f4db1a1d74098063fd510142c
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
These errors are no longer suppressed:
E225 missing whitespace around operator
E226 missing whitespace around arithmetic operator
E231 missing whitespace after ','
E241 multiple spaces after ','
Story: 2003499
Task: 26386
Change-Id: Ic97e46b0a3b57456740a2a5935a8a3e6d3b81427
Signed-off-by: Al Bailey <Al.Bailey@windriver.com>
Update NFV to use FM rest API service:
Add a NFVI open stack plugin for FM
Update the NFV infrastructure and web server to use FM plugin
Update sysinv plugin and remove get alarms and logs calls
Story: 2002828
Task: 22747
Depends-On: https://review.openstack.org/#/c/591452/
Change-Id: I60ff74ccfb2ec2eaad427a23fe4d58d4fc49ab79
Signed-off-by: Tao Liu <tao.liu@windriver.com>