Bug 1857841 - Test cinderlib integration on ovirt-node
Summary: Test cinderlib integration on ovirt-node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: General
Version: 4.4.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.6
: ---
Assignee: Eyal Shenitzky
QA Contact: Shir Fishbain
URL:
Whiteboard:
Depends On: 1944600
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-07-16 16:23 UTC by Sandro Bonazzola
Modified: 2021-05-14 07:30 UTC (History)
14 users (show)

Fixed In Version: rhv-4.3.11-11
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-14 07:30:19 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: testing_ack+


Attachments (Terms of Use)

Description Sandro Bonazzola 2020-07-16 16:23:39 UTC
This is a request for adding support for cinderlib integration on ovirt-node

Comment 1 Sandro Bonazzola 2020-07-16 16:24:04 UTC
Pending a design.

Comment 2 Michal Skrivanek 2020-07-17 04:35:26 UTC
First someone needs to clarify if it does or doesn’t work. The original “request” is part of cinderlib feature, it was not supposed to be node specific in any way
It’s not an RFE, it’s an unverified claim...

Comment 3 Sandro Bonazzola 2020-07-17 06:46:32 UTC
Since nothing related to cinderlib must be pre-installed but just provided on additional repos, no change required in oVirt Node.
Updating this BZ to be a test only for now and moving to storage team.

Comment 5 Eyal Shenitzky 2020-08-10 10:45:57 UTC
I believe the needinfo is for Sandro.

Comment 7 Sandro Bonazzola 2020-08-25 09:02:50 UTC
Test scenario:
- Install engine with CinderLib integration enabled
- Add an oVirt Node / RHV-H
- Add Ceph storage using CinderLib integration
- Verify the storage can be used for creating VMs.

Comment 8 Shir Fishbain 2020-08-26 09:04:27 UTC
> Test scenario:
> - Install engine with CinderLib integration enabled
The engine installation on HE environment isn't supported and there is a bug on this issue:https://bugzilla.redhat.com/show_bug.cgi?id=1857595
I can take a non HE environment (Bare metal environment) install engine and running the CinderLin integration
then adding an RHV-H host. this is what you mean?
> - Add an oVirt Node / RHV-H
> - Add Ceph storage using CinderLib integration
> - Verify the storage can be used for creating VMs.

Comment 11 Sandro Bonazzola 2020-11-18 09:29:17 UTC
(In reply to Shir Fishbain from comment #8)
> > Test scenario:
> > - Install engine with CinderLib integration enabled
> The engine installation on HE environment isn't supported and there is a bug
> on this issue:https://bugzilla.redhat.com/show_bug.cgi?id=1857595
> I can take a non HE environment (Bare metal environment) install engine and
> running the CinderLin integration
> then adding an RHV-H host. this is what you mean?

yes, this is what I was meaning.

Comment 12 Shir Fishbain 2021-01-06 10:28:26 UTC
Still can't verify this bug because a new bug that I have opened about the "execution of optional-components setup that failed on Cinderlib database is required . (https://bugzilla.redhat.com/show_bug.cgi?id=1913224)
Moving this bug to 4.4.5

Comment 13 Shir Fishbain 2021-03-18 23:17:37 UTC
After discussion, this bug would be covered by RHVH hosts in the HE environment.
I succeeded to complete the CinderLib integration flow on HE environments with RHVH hosts(including "engine-setup --reconfigure-optional-components" on hosted engine environment). But the verification was failed because I didn't succeed to complete the integration flow of os-brick on the RHVH host. see the following ERRORS below. 

  Running setup.py install for wrapt ... done
  Running setup.py install for Yappi ... error
    Complete output from command /usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3aizql8c/Yappi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-k6v4aqy0-record/install-record.txt --single-version-externally-managed --compile:
    unable to execute 'cc': No such file or directory
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.6
    copying yappi/yappi.py -> build/lib.linux-x86_64-3.6
    running build_ext
    building '_yappi' extension
    creating build/temp.linux-x86_64-3.6
    creating build/temp.linux-x86_64-3.6/yappi
    gcc -pthread -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python3.6m -c yappi/_yappi.c -o build/temp.linux-x86_64-3.6/yappi/_yappi.o
    unable to execute 'gcc': No such file or directory
    error: command 'gcc' failed with exit status 1
    
    ----------------------------------------
Command "/usr/bin/python3.6 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-3aizql8c/Yappi/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-k6v4aqy0-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-3aizql8c/Yappi/

Version: vdsm-4.40.40-1.el8ev.x86_64

Comment 15 Michal Skrivanek 2021-03-25 08:11:41 UTC
please describe the exact steps you did. You mean the step "yum install -y python3-os-brick" failed?
Please attach logs too


Note You need to log in before you can comment on or make changes to this bug.