Remove cisco references and add release note

The cisco hardware types and interfaces were removed in
Ie12eaf7572ce4d66f6a68025b7fe2d294185ce28. This removes the
last few references to them, and adds a release note about
their removal.

Change-Id: I6d11dda0132d999b2dbf6bbd47cac55336e1d079
Story: 2005033
Task: 29522
This commit is contained in:
Ruby Loo 2019-09-13 19:58:36 +00:00
parent a013860768
commit 7c5839064f
3 changed files with 16 additions and 37 deletions

View File

@ -114,12 +114,6 @@ IRONIC_HW_ARCH=${IRONIC_HW_ARCH:-x86_64}
# ipmi:
# <BMC address> <MAC address> <BMC username> <BMC password>
#
# cisco-ucs-standalone:
# <BMC address> <MAC address> <BMC username> <BMC password>
#
# cisco-ucs-managed:
# <BMC address> <MAC address> <BMC username> <BMC password> <UCS service profile>
#
# idrac:
# <BMC address> <MAC address> <BMC username> <BMC password>
#
@ -298,8 +292,7 @@ fi
# are ``ipmi``, ``snmp`` and ``redfish``.
#
# Additional valid choices if IRONIC_IS_HARDWARE == true are:
# ``cisco-ucs-managed``, ``cisco-ucs-standalone``, ``idrac``,
# and ``irmc``.
# ``idrac`` and ``irmc``.
IRONIC_DEPLOY_DRIVER=${IRONIC_DEPLOY_DRIVER:-ipmi}
# If the requested driver is not yet enable, enable it, if it is not it will fail anyway
@ -663,16 +656,6 @@ function is_deployed_by_ipmi {
return 1
}
function is_deployed_by_cimc {
[[ "${IRONIC_DEPLOY_DRIVER}" == cisco-ucs-standalone ]] && return 0
return 1
}
function is_deployed_by_ucs {
[[ "${IRONIC_DEPLOY_DRIVER}" == cisco-ucs-managed ]] && return 0
return 1
}
function is_deployed_by_ilo {
[[ "${IRONIC_DEPLOY_DRIVER}" == ilo ]] && return 0
return 1
@ -2132,17 +2115,6 @@ function enroll_nodes {
node_options+=" --driver-info ipmi_address=$bmc_address \
--driver-info ipmi_password=$bmc_passwd \
--driver-info ipmi_username=$bmc_username"
elif is_deployed_by_cimc; then
node_options+=" --driver-info cimc_address=$bmc_address \
--driver-info cimc_password=$bmc_passwd \
--driver-info cimc_username=$bmc_username"
elif is_deployed_by_ucs; then
local ucs_service_profile
ucs_service_profile=$(echo $hardware_info |awk '{print $5}')
node_options+=" --driver-info ucs_address=$bmc_address \
--driver-info ucs_password=$bmc_passwd \
--driver-info ucs_username=$bmc_username \
--driver-info ucs_service_profile=$ucs_service_profile"
elif is_deployed_by_ilo; then
node_options+=" --driver-info ilo_address=$bmc_address \
--driver-info ilo_password=$bmc_passwd \

View File

@ -125,14 +125,6 @@ audit_middleware_notifications:
topics = None
transport_url = ***
cimc:
action_interval = 10
max_retry = 6
cisco_ucs:
action_interval = 5
max_retry = 6
conductor:
api_url = http://10.223.197.220:6385
automated_clean = True

View File

@ -0,0 +1,15 @@
---
upgrade:
- |
The Cisco ``cisco-ucs-managed`` and ``cisco-ucs-standalone`` hardware types
and ``cimc`` and ``ucsm`` hardware interfaces were deprecated in Stein.
They have been removed in Train.
After upgrading, if any of these hardware types or interfaces are specified
in ironic's configuration options, the ironic-conductor service will fail
to start. Any existing ironic nodes with these hardware types or interfaces
will become inoperational via ironic after the upgrade. If these
hardware types or interfaces are being used, the affected nodes should be
changed to use other hardware types or interfaces; or install these hardware
types (and interfaces) from elsewhere separately. For more information, see
`story 2005033 <https://storyboard.openstack.org/#!/story/2005033>`_.