Bug 2113872 - [OSP 17.0] Deploy manila with nfs ganesha and an external ceph cluster fails
Summary: [OSP 17.0] Deploy manila with nfs ganesha and an external ceph cluster fails
Keywords:
Status: CLOSED DUPLICATE of bug 2119563
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 17.0 (Wallaby)
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: OSP Team
QA Contact: Joe H. Rahme
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-08-02 08:44 UTC by Sergey Bekkerman
Modified: 2022-08-29 15:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-08-29 15:14:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-17952 0 None None None 2022-08-02 08:53:12 UTC

Description Sergey Bekkerman 2022-08-02 08:44:34 UTC
Description of problem:
I tried to deploy OSP 17  manila with external ceph and ganesha. The deployment failed with the error: 

    "msg": "Running 1 cephadm playbook(s) (immediate log at /home/stack/overcloud-deploy/overcloud/config-download/overcloud/cephadm/cephadm_command.log)"
}
2022-08-02 08:35:01.555772 | 5254008a-cd40-f028-a86b-0000000082c0 |     TIMING | tripleo_run_cephadm : Notify user about upcoming cephadm execution(s) | undercloud | 0:06:51.916628 | 0.04s
2022-08-02 08:35:01.570251 | 5254008a-cd40-f028-a86b-0000000082c1 |       TASK | run cephadm playbook
2022-08-02 08:35:02.689224 | 5254008a-cd40-f028-a86b-0000000082c1 |    CHANGED | run cephadm playbook | undercloud
2022-08-02 08:35:02.690420 | 5254008a-cd40-f028-a86b-0000000082c1 |     TIMING | tripleo_run_cephadm : run cephadm playbook | undercloud | 0:06:53.051275 | 1.12s
2022-08-02 08:35:02.704883 | 5254008a-cd40-f028-a86b-0000000082c2 |       TASK | search triple_run_cephadm_output of cephadm run(s) non-zero return codes
2022-08-02 08:35:02.743103 | 5254008a-cd40-f028-a86b-0000000082c2 |      FATAL | search triple_run_cephadm_output of cephadm run(s) non-zero return codes | undercloud | error={"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result"}
2022-08-02 08:35:02.743928 | 5254008a-cd40-f028-a86b-0000000082c2 |     TIMING | tripleo_run_cephadm : search triple_run_cephadm_output of cephadm run(s) non-zero return codes | undercloud | 0:06:53.104785 | 0.04s

Ansible log showed that there were no hosts matched:
2022-08-02 08:35:02,184 p=481289 u=stack n=ansible | [DEPRECATION WARNING]: ANSIBLE_CALLBACK_WHITELIST option, normalizing names to 
new standard, use ANSIBLE_CALLBACKS_ENABLED instead. This feature will be 
removed from ansible-core in version 2.15. Deprecation warnings can be disabled
 by setting deprecation_warnings=False in ansible.cfg.
2022-08-02 08:35:02,557 p=481289 u=stack n=ansible | [DEPRECATION WARNING]: "include" is deprecated, use include_tasks/import_tasks 
instead. This feature will be removed in version 2.16. Deprecation warnings can
 be disabled by setting deprecation_warnings=False in ansible.cfg.
2022-08-02 08:35:02,594 p=481289 u=stack n=ansible | [WARNING]: Could not match supplied host pattern, ignoring: ceph_mon

2022-08-02 08:35:02,595 p=481289 u=stack n=ansible | PLAY [Deploy Ceph with cephadm] ************************************************
2022-08-02 08:35:02,596 p=481289 u=stack n=ansible | skipping: no hosts matched
2022-08-02 08:35:02,597 p=481289 u=stack n=ansible | PLAY [Distribute the admin keyring] ********************************************
2022-08-02 08:35:02,597 p=481289 u=stack n=ansible | skipping: no hosts matched
2022-08-02 08:35:02,598 p=481289 u=stack n=ansible | PLAY RECAP *********************************************************************
2022-08-02 08:35:02,598 p=481289 u=stack n=ansible | 2022-08-02 08:35:02.598518 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-02 08:35:02,599 p=481289 u=stack n=ansible | 2022-08-02 08:35:02.598902 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Total Tasks: 0          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-02 08:35:02,599 p=481289 u=stack n=ansible | 2022-08-02 08:35:02.599265 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elapsed Time: 0:00:00.006372 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-08-02 08:35:02,599 p=481289 u=stack n=ansible | 2022-08-02 08:35:02.599661 |                                 UUID |       Info |       Host |   Task Name |   Run Time
2022-08-02 08:35:02,600 p=481289 u=stack n=ansible | 2022-08-02 08:35:02.600024 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ End Summary Information ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Deployment script:

openstack overcloud deploy \
  --timeout 100 \
  --templates /usr/share/openstack-tripleo-heat-templates \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/manila-cephfsganesha-config.yaml \
  --environment-file /usr/share/openstack-tripleo-heat-templates/environments/services/octavia.yaml \
  --libvirt-type kvm \
  --stack overcloud \
  -r /home/stack/hybrid_templates/roles/roles_data.yaml \
  -e /home/stack/hybrid_templates/roles/nodes.yaml \
  --deployed-server \
  -e /home/stack/templates/overcloud-vip-deployed.yaml \
  -e /home/stack/templates/overcloud-networks-deployed.yaml \
  -e /home/stack/templates/overcloud-baremetal-deployed.yaml \
  --disable-protected-resource-types \
  --networks-file /home/stack/hybrid_templates/network/network_data_v2.yaml \
-e  /usr/share/openstack-tripleo-heat-templates/environments/external-ceph.yaml \
-e /home/stack/hybrid_templates/external_ceph_rhos_16_with_manila.yaml \
--networks-file /home/stack/hybrid_templates/network/network_data_v2.yaml \
-e /home/stack/hybrid_templates/network/network-environment_v2.yaml \
-e /home/stack/hybrid_templates/hostnames.yml \
-e /usr/share/openstack-tripleo-heat-templates/environments/services/neutron-ovn-ha.yaml \
-e /home/stack/hybrid_templates/debug.yaml \
-e /home/stack/hybrid_templates/nodes_data.yaml \
-e /home/stack/hybrid_templates/ntp_pool.yaml \
-e /home/stack/hybrid_templates/config_heat.yaml \
-e ~/containers-prepare-parameter.yaml \
-e /home/stack/hybrid_templates/ovn-extras.yaml \
-e /home/stack/hybrid_templates/l3_fip_qos.yaml \
-e /home/stack/hybrid_templates/set-nova-scheduler-filter.yaml \
-e /home/stack/hybrid_templates/manila-cephganesha.yaml

Comment 1 Giulio Fidente 2022-08-03 14:49:20 UTC
can you attach cephadm_command.log and custom templates/env files from /home/stack ?

Comment 7 John Fulton 2022-08-29 15:14:53 UTC

*** This bug has been marked as a duplicate of bug 2119563 ***

Comment 8 John Fulton 2022-08-29 15:16:23 UTC
We reproduced it in https://bugzilla.redhat.com/show_bug.cgi?id=2119563 which is now verified.


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