Issues resolutions requiring manual application

Issues resolutions requiring manual application

Note

Before proceeding with the manual steps below, verify that you have performed the steps described in Apply maintenance updates.


[33738] Failure of Ironic Tempest tests for port lists

Pike, Queens

Fixed the issue with the test_list_ports and test_list_ports_details Tempest tests for Ironic failing due to mismatch of URLs in validate_self_link. The issue affected MCP deployments with the HTTPS protocol for OpenStack internal endpoints.

To apply the issue resolution:

  1. On the cluster level of the Reclass model, open the openstack/proxy.yml file for editing.

  2. Verify that the nginx_proxy_headers parameter is defined. For example:

    parameters:
      _param:
        ...
        nginx_proxy_headers:
          X-Forwarded-For:
            enabled: true
            value: '$proxy_add_x_forwarded_for'
          X-Forwarded-Proto:
            enabled: true
            value: '$scheme'
          X-Forwarded-Port:
            enabled: true
            value: '$server_port'
          Host:
            enabled: true
    
  3. Specify the NGINX proxy configuration for Ironic API:

    parameters:
      _param:
        ...
        nginx_proxy_openstack_api_ironic:
          proxy_set_header: ${_param:nginx_proxy_headers}
    
  4. Log in to the Salt Master node.

  5. Apply the changes on the proxy nodes:

    salt -C 'I@nginx:server and I@horizon:server' saltutil.refresh_pillar
    salt -C 'I@nginx:server and I@horizon:server' state.apply nginx.server