Bug 1305150 - [RFE] Provide Calamari API support in overcloud full image
Summary: [RFE] Provide Calamari API support in overcloud full image
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 8.0 (Liberty)
Hardware: All
OS: Unspecified
medium
high
Target Milestone: ---
: 11.0 (Ocata)
Assignee: Jeff Brown
QA Contact: Yogev Rabl
Derek
URL:
Whiteboard:
: 1299093 (view as bug list)
Depends On:
Blocks: 1387432 1419948 1458798
TreeView+ depends on / blocked
 
Reported: 2016-02-05 20:05 UTC by Kyle Bader
Modified: 2023-09-14 03:17 UTC (History)
35 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-27 12:26:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kyle Bader 2016-02-05 20:05:44 UTC
Description of problem:

Calamari's client packages are not installed on the base image for Ceph Monitors and OSD Hosts. This is required for Calamari to function properly.

Expected results:

Calamari's client packages installed on the base image for Ceph Monitors and OSD Hosts.

Comment 2 arkady kanevsky 2016-02-05 20:23:51 UTC
For us Ceph monitors are deployed on controllers nodes.

For making the calamari connection to OSDs and monitors what user should run the connection process? Is is heat_admin?

Comment 3 Mike Burns 2016-02-12 15:52:44 UTC
Can you list exactly what packages we need to include?  Is it just calamari-clients?

Is that shipped anywhere other than the calamari repo in CDN?

Comment 4 John Williams 2016-02-12 15:58:51 UTC
In order to get Calamari to communicate with the Controller nodes (MONs) and Storage nodes (OSDs) I had to manually create a tar archive file containing the following rpms and copy the archive to the nodes and manually install them: 

diamond-3.4.67-4.el7cp.noarch.rpm
openpgm-5.2.122-3.el7cp.x86_64.rpm
python-babel-0.9.6-8.el7.noarch.rpm
python-crypto-2.6.1-1.el7cp.x86_64.rpm
python-jinja2-2.7.2-2.el7cp.noarch.rpm
python-markupsafe-0.11-10.el7.x86_64.rpm
python-msgpack-0.4.5-1.el7cp.x86_64.rpm
python-zmq-14.3.1-1.el7cp.x86_64.rpm
salt-2014.1.5-3.el7cp.noarch.rpm
salt-minion-2014.1.5-3.el7cp.noarch.rpm
sshpass-1.05-5.el7cp.x86_64.rpm
zeromq3-3.2.5-1.el7cp.x86_64.rpm

This list includes the packages and their dependencies. Here are the command I used for installation:

rpm -ivh diamond-3.4.67-4.el7cp.noarch.rpm     
rpm -ivh salt-minion-2014.1.5-3.el7cp.noarch.rpm \
         salt-2014.1.5-3.el7cp.noarch.rpm \
         python-zmq-14.3.1-1.el7cp.x86_64.rpm sshpass-1.05-5.el7cp.x86_64.rpm \
         zeromq3-3.2.5-1.el7cp.x86_64.rpm openpgm-5.2.122-3.el7cp.x86_64.rpm

Comment 5 John Williams 2016-02-12 15:59:14 UTC
In order to get Calamari to communicate with the Controller nodes (MONs) and Storage nodes (OSDs) I had to manually create a tar archive file containing the following rpms and copy the archive to the nodes and manually install them: 

diamond-3.4.67-4.el7cp.noarch.rpm
openpgm-5.2.122-3.el7cp.x86_64.rpm
python-babel-0.9.6-8.el7.noarch.rpm
python-crypto-2.6.1-1.el7cp.x86_64.rpm
python-jinja2-2.7.2-2.el7cp.noarch.rpm
python-markupsafe-0.11-10.el7.x86_64.rpm
python-msgpack-0.4.5-1.el7cp.x86_64.rpm
python-zmq-14.3.1-1.el7cp.x86_64.rpm
salt-2014.1.5-3.el7cp.noarch.rpm
salt-minion-2014.1.5-3.el7cp.noarch.rpm
sshpass-1.05-5.el7cp.x86_64.rpm
zeromq3-3.2.5-1.el7cp.x86_64.rpm

This list includes the packages and their dependencies. Here are the command I used for installation:

rpm -ivh diamond-3.4.67-4.el7cp.noarch.rpm     
rpm -ivh salt-minion-2014.1.5-3.el7cp.noarch.rpm \
         salt-2014.1.5-3.el7cp.noarch.rpm \
         python-zmq-14.3.1-1.el7cp.x86_64.rpm sshpass-1.05-5.el7cp.x86_64.rpm \
         zeromq3-3.2.5-1.el7cp.x86_64.rpm openpgm-5.2.122-3.el7cp.x86_64.rpm

Comment 6 Rhys Oxenham 2016-02-24 13:22:17 UTC
See this WIP commit upstream, explains what's required to integrate Calamari with TripleO

https://review.openstack.org/#/c/242267/2/environments/README-calamari.md

Comment 7 Mike Burns 2016-03-10 20:22:50 UTC
Based on a discussion today, this request is meant to reduce the need to add the packages using virt-customize.  virt-customize is an option as long as there is an easy path to package updates from CDN.  

This can be achieved with the proper entitlements and repos enabled on the overcloud nodes.

Only action left here is to figure out what those entitlements and repos are.

Comment 8 John Williams 2016-03-10 20:34:03 UTC
Repo, rhel-7-server-rhceph-1.3-mon-rpms, provides the salt-minion and diamond packages and dependencies. 

Below are the steps, I use to customize the images for those with those packages.  This assumes one has already satisfied the requirements for using virt-customize by installing libguestfs-tools. 

virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager register --username=<account username> --password=<password>'
virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager attach --pool=8a85f9824bfa390f014c4ce815663779'
virt-customize -a overcloud-full.qcow2 --run-command 'yum-config-manager --enable rhel-7-server-rhceph-1.3-mon-rpms'
virt-customize -a overcloud-full.qcow2 --install diamond 
virt-customize -a overcloud-full.qcow2 --install salt-minion --selinux-relabel
virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager remove --all'
virt-customize -a overcloud-full.qcow2 --run-command 'subscription-manager unregister'

Comment 9 Neil Levine 2016-03-14 18:26:07 UTC
*** Bug 1299093 has been marked as a duplicate of this bug. ***

Comment 10 John Williams 2016-03-14 20:17:45 UTC
Does this mean you now have an overcloud image that contains the diamond and salt-minion and required packages?  If so, will this be part of Beta9?

Comment 11 Mike Burns 2016-03-31 18:47:43 UTC
Radek, removing doc text for now.  We're not fixing this in osp 8.

John, No, these packages will not be in the image in OSP 8.  To include them, you'll need to use virt-customize as in comment 8.

Comment 12 Radek Bíba 2016-04-01 06:11:40 UTC
ACK, thanks Mike.

Comment 13 Mike Burns 2016-04-07 21:07:13 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 14 Mike Burns 2016-04-11 13:48:15 UTC
Radek,  looks like the doc text still got into the release notes for the RC.  Can we get it removed?

Comment 15 Radek Bíba 2016-04-11 14:02:37 UTC
Oops. Looks like the text was pulled into the doc on March 23 and survived the requires_doc_text-. I'll remove it in git.

I can have the RN doc re-uploaded to the Portal. Is there any other place where an update is needed?

Thanks!

Comment 16 Kurt Hey 2016-04-11 14:11:31 UTC
Did BZ#1309455 make it into the release or should it be pulled from the doc's as well?

Comment 17 Radek Bíba 2016-04-11 14:19:57 UTC
Bug 1309455 is in the RN, too.

(For those who aren't sure where to look: https://access.redhat.com/documentation/en/red-hat-openstack-platform/version-8/release-notes/ )

Comment 23 Federico Lucifredi 2016-09-01 12:44:05 UTC
The automatic install of USM will include the Calamari component (API), which will be manually deployed in OSP-10, and will have to be baked into the Ceph images in OSP-11.

retargeting to 11.

Comment 24 Federico Lucifredi 2016-09-01 12:58:13 UTC
let me phrase this more clearly: in OSP-11, we will need the Calamari API to be part of the base Ceph image. USM itself will run in its own VM.

Comment 25 arkady kanevsky 2016-09-01 13:37:26 UTC
This BZ is targeted for Liberty. So, expect we need to dup this bug for OSPs up to OSP11.

Is overcloud image contain client libraries for Storage Console?
If not then we need another BZ for it.
Depending whether Ceph 2.0 is supported with OSP9, OSP10, OSP11 then we need these libraries for each one of them.

Comment 26 Mike Burns 2016-09-01 14:03:11 UTC
The Version field says 8.0 -- that's the version it's reported against.  The Target Release is where we're currently targeting and that says Ocata/11.  

This bug is tracking including the client libraries which is being targeted for 11.  OSP 9 natively supports Ceph 1.3, so we won't be backporting it to there.  OSP 10 is tricky.  This is an RFE, and we're past feature freeze.  For 10, it likely makes more sense to add these packages using virt-customize.

Comment 27 Federico Lucifredi 2016-09-01 14:08:28 UTC
I believe the expectation for OSP-10 is a manual install procedure for USM. That procedure will include steps to install the Calamari API, also manually.

Bug is targeted at 11 to track baking the Calamari API bits into the image at that time.

Comment 36 Red Hat Bugzilla 2023-09-14 03:17:24 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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