Bug 1831911 - [CinderLib Integration] - The steps of CinderLib installation in 4.3.10 version didn't complete successfully
Summary: [CinderLib Integration] - The steps of CinderLib installation in 4.3.10 versi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.3.10
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Tal Nisan
QA Contact: Avihai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-05 22:23 UTC by Shir Fishbain
Modified: 2020-05-12 14:22 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-05-11 14:21:16 UTC
oVirt Team: Storage
Embargoed:


Attachments (Terms of Use)
Logs (5.62 MB, application/zip)
2020-05-05 22:33 UTC, Shir Fishbain
no flags Details
rpm_runnings (19.74 KB, application/zip)
2020-05-05 22:33 UTC, Shir Fishbain
no flags Details

Comment 1 Shir Fishbain 2020-05-05 22:33:24 UTC
Created attachment 1685464 [details]
Logs

Comment 2 Shir Fishbain 2020-05-05 22:33:51 UTC
Created attachment 1685465 [details]
rpm_runnings

Comment 3 Benny Zlotnik 2020-05-06 08:56:28 UTC
>http://download.devel.redhat.com/composes/latest-RHEL-7.8/compose/Server/x86_64/os/Packages/jbigkit-libs-2.0-11.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found            ]  0.0 B/s |    0 B  --:--:-- ETA 

You have issues with the mirros in your environment

>ObjectNotFound: error opening pool 'pool1'
You are using the wrong pool name. Run `ceph osd lspools` on the ceph machine to check what is the correct pool name

>but not run the VM with the MBD disk
os-brick is missing on the hosts

Comment 4 Shir Fishbain 2020-05-06 11:26:26 UTC
How can we deal with mirror failures? it seems like it is a known issue on rhel7. who can help with this issue?
It appears also in os-brick installation as apart of host configuration:

pytz-2016.10-2.el7.noarch.rpm  FAILED                                          
http://download.devel.redhat.com/composes/latest-RHEL-7.8/compose/Server/x86_64/os/Packages/pytz-2016.10-2.el7.noarch.rpm: [Errno 14] HTTP Error 404 - Not Found                 ] 140 kB/s | 4.0 MB  00:00:08 ETA 
Trying other mirror.
sysfsutils-2.1.0-16.el7.x86_64 FAILED                                          
http://download.devel.redhat.com/composes/latest-RHEL-7.8/compose/Server/x86_64/os/Packages/sysfsutils-2.1.0-16.el7.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found            ] 140 kB/s | 4.0 MB  00:00:08 ETA 
Trying other mirror.

Error downloading packages:
  pytz-2016.10-2.el7.noarch: [Errno 256] No more mirrors to try.
  python-paste-1.7.5.1-9.20111221hg1498.el7.noarch: [Errno 256] No more mirrors to try.
  sysfsutils-2.1.0-16.el7.x86_64: [Errno 256] No more mirrors to try.

Comment 5 Avihai 2020-05-10 09:25:37 UTC
Adding regression flags as this functionality(installing cinderlib) worked in RHV-4.3.8 downsteam compose to QE.

Raising severity to urgent as this issue blocks cinderLib/MBS feature as cinderLib installation with current downstream build does not work.

Also creating a managed block Ceph storage domain fails as well, breaking the core part of this feature thus adding test blocker flag as well.

Please fix ASAP.

Comment 6 Shir Fishbain 2020-05-11 14:21:16 UTC
The CinderLin installation on the 4.3.10-3 completed successfully, and the mirror issue fixed on 4.3.10-3.
After the update of yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky-1.noarch.rpm the mirror issue doesn't appear.

The creation of MBD doesn't complete successfully. 
I succeeded to complete the integration steps but still don't succeed to create MBD via the REST API of the drivers: ceph, netapp, 3par.

Version-Release number of selected component (if applicable):
Build name: RHV 4.3.10-3
ovirt-engine-4.3.10.1-0.1.master.el7.noarch
vdsm-4.30.46-1.el7ev.x86_64
Cinderlib version: 0.9.0

The integration steps that completed successfully on 4.3.10-3 :  
On the Engine:
    # engine-config -s ManagedBlockDomainSupported=true
    # su - postgres -c "psql -d template1 -c \"create database cinder owner engine template template0 encoding 'UTF8' lc_collate 'en_US.UTF-8' lc_ctype 'en_US.UTF-8';\""
    # systemctl restart rh-postgresql10-postgresql.service
    # systemctl restart ovirt-engine
    # yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky-1.noarch.rpm
    # sudo yum update -y
    # yum install -y openstack-cinder
    # yum install -y gcc python-devel
    # yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
    # sudo yum update -y
    # sudo yum install python-pip python-wheel
    # pip install cinderlib==0.9.0
    # pip install python-3parclient==4.2.8
    # pip install krest
    # pip install python-3parclient
    # yum install -y ceph-common

On the hosts:
    # yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-rocky/rdo-release-rocky-1.noarch.rpm
    # sudo yum update -y
    # yum install python2-os-brick -y
    # yum install ceph-common
    # systemctl restart vdsmd


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