OSD on controller-0 for ceph - Not able to add

Bug #1844968 reported by Akshay
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Low
Kristal Dale

Bug Description

Brief Description
-----------------
I am installing Bare metal AIO StarlingX R2 release. I have chosen:
- First menu: Select ‘Standard Controller Configuration’.
- Second menu: Select ‘Graphical Console’ or ‘Textual Console’ depending on your terminal access to the console port
- Third menu: Select ‘Standard Security Profile’

Just for info : While for Virtual AIO StarlingX R2 , First menu is "Select ‘All-in-one Controller Configuration’".

While adding an OSD on controller-0 for ceph, i am getting this error:
- Please install storage-0 or configure a Ceph monitor on a worker node before adding storage devices.

Severity
--------
Critical: Cannot add OSD for ceph.

Steps to Reproduce
------------------
1. Boot server with the starlingX R2 image.

2. Choose the following menu:
- First menu: Select ‘Standard Controller Configuration’.
- Second menu: Select ‘Graphical Console’ or ‘Textual Console’ depending on your terminal access to the console port
- Third menu: Select ‘Standard Security Profile’

3. eno4 for OAM
   eno1 for mgmt
   eno2 and eno3 for data networks.

4. Add OSD for Ceph. ( I am having two disks)
[sysadmin@controller-0 ~(keystone_admin)]$ system host-disk-list controller-0
+--------------------------------------+-------------+------------+-------------+----------+---------------+--------------+----------------------------------+-------------------------------------------------+
| uuid | device_node | device_num | device_type | size_gib | available_gib | rpm | serial_id | device_path |
+--------------------------------------+-------------+------------+-------------+----------+---------------+--------------+----------------------------------+-------------------------------------------------+
| 878243ef-b571-4548-932c-e496c70e6d8c | /dev/sda | 2048 | HDD | 446.625 | 0.0 | Undetermined | 003f9b3abf98c0142500f64f79f098cd | /dev/disk/by-path/pci-0000:18:00.0-scsi-0:2:0:0 |
| 4cd963fc-6583-4570-925a-68c4b48d2f1b | /dev/sdb | 2064 | HDD | 446.625 | 446.622 | Undetermined | 0046e251bf99c0142500f64f79f098cd | /dev/disk/by-path/pci-0000:18:00.0-scsi-0:2:1:0 |
+--------------------------------------+-------------+------------+-------------+----------+---------------+--------------+-------------

Expected Behavior
------------------
Able to add sdb to Ceph.

Actual Behavior
----------------
[sysadmin@localhost ~(keystone_admin)]$ system host-disk-list controller-0 | awk '/\/dev\/sdb/{print $2}' | xargs -i system host-stor-add controller-0 {}
Please install storage-0 or configure a Ceph monitor on a worker node before adding storage devices.

Reproducibility
---------------
I am getting this everytime.

System Configuration
--------------------
One node system

Revision history for this message
ANIRUDH GUPTA (anyrude10) wrote :

Hi Team,

I am also facing similar issue in Installing StarlingX on Bare Metal.

Just wanted to confirm that Do we need to use "Standard Controller Configuration" in Baremetal?

As far as I remember, we had used All-in-One configuration in Release 1 Virtual and Bare Metal.
In Release 2 Virtual also, we need to select All In One only.

Does it differ in Release 2 Baremetal? "Standard Controller Configuration" needs to be selected in that?

description: updated
Ghada Khalil (gkhalil)
tags: added: stx.storage
Revision history for this message
Ghada Khalil (gkhalil) wrote :

If you are installing an AIO (All-in-one) system on baremetal or virtual-env, you need to choose the menu option related to the All-in-one Controller configuration:
     Select ‘All-in-one Controller Configuration’

For AIO-simplex (1-node):
https://docs.starlingx.io/deploy_install_guides/current/bare_metal_aio_simplex.html

For AIO-duplex (2-node):
https://docs.starlingx.io/deploy_install_guides/current/bare_metal_aio_duplex.html

The "Standard Controller Configuration" is for multiple nodes (controllers + worker nodes and optionally storage nodes). The error returned indicates that a storage node or a worker node should be configured as well.

Are you saying the ‘All-in-one Controller Configuration’ is not available from the installer menu for your system? If so, what hardware are you using? Are you installing with legacy mode BIOS or UEFI?

tags: removed: stx.storage
Changed in starlingx:
status: New → Incomplete
Revision history for this message
Akshay (yadavakshay58) wrote :

Hi,

Please find the attached image of the document stating to choose "standard controller configuration" for first menu.
Thanks for clearing my doubt.

Ghada Khalil (gkhalil)
tags: added: stx.docs
Ghada Khalil (gkhalil)
tags: added: stx.2.0
Revision history for this message
Ghada Khalil (gkhalil) wrote :

Thank you for clarifying that this is a documentation issue.

There was a recent doc update to the baremetal install guides which addressed this issue (reported in Bug#: 1842993):
https://review.opendev.org/#/c/682967

Now looking at the latest guides for AIO as of 2019-09-26, you can see that the correct option is listed now.

AIO-Simplex:
https://docs.starlingx.io/deploy_install_guides/current/bare_metal/aio_simplex_install_kubernetes.html#install-software-on-controller-0

AIO-Duplex:
https://docs.starlingx.io/deploy_install_guides/current/bare_metal/aio_duplex_install_kubernetes.html#install-software-on-controller-0

4. Make the following menu selections in the installer:

First menu: Select ‘All-in-one Controller Configuration’

Second menu: Select ‘Graphical Console’ or ‘Textual Console’ depending on your terminal access to the console port

Third menu: Select ‘Standard Security Profile’

...Therefore, I am marking this as Fix Released and a duplicate of Bug#: 1842993

Changed in starlingx:
importance: Undecided → Low
status: Incomplete → Fix Released
assignee: nobody → Kristal Dale (kdale)
Revision history for this message
Ghada Khalil (gkhalil) wrote :

This has already been addressed by Kristal Dale under LP: 1842993

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.