Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1458334

Summary: Invalid parameter transport on Class[Nova::Migration::Libvirt]
Product: Red Hat OpenStack Reporter: Gonéri Le Bouder <goneri>
Component: openstack-puppet-modulesAssignee: Emilien Macchi <emacchi>
Status: CLOSED NOTABUG QA Contact: Arik Chernetsky <achernet>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: aschultz, fzdarsky, srevivo, yroblamo
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-tripleo-puppet-elements-0.0.5-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-23 10:12:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gonéri Le Bouder 2017-06-02 15:27:01 UTC
Description of problem:

OSP8 deployment does not work anymore with the last OSP8 puddle. The compute deploy fails with this error:

[root@overcloud-compute-0 heat-admin]# /var/lib/heat-config/hooks/puppet < /var/run/heat-config/deployed/09138975-5bdc-4092-a3c4-f8204c026770.json
[2017-06-02 11:23:56,868] (heat-config) [DEBUG] Running FACTER_deploy_stack_id="overcloud-ComputeNodesPostDeployment-kkusbjccz3jv-ComputePuppetDeployment-4j3phyc5bgts/b7e6537a-1acd-417c-a95b-34cbb959c6e6"  FACTER_deploy_signal_verb="POST"  FACTER_deploy_resource_name="0"  FACTER_fqdn="overcloud-compute-0.localdomain"  FACTER_deploy_signal_id="http://192.168.120.101:8000/v1/signal/arn%3Aopenstack%3Aheat%3A%3A82a38827ec5f47e0bd0dceb579cb5922%3Astacks%2Fovercloud-ComputeNodesPostDeployment-kkusbjccz3jv-ComputePuppetDeployment-4j3phyc5bgts%2Fb7e6537a-1acd-417c-a95b-34cbb959c6e6%2Fresources%2F0?Timestamp=2017-06-01T23%3A03%3A30Z&SignatureMethod=HmacSHA256&AWSAccessKeyId=88b7ff266f49416cb458093d52f07af3&SignatureVersion=2&Signature=H4oxcjm%2FELoOupHNw4sDyyRgXgTtkQAt50ywwHNbKt4%3D"  FACTER_heat_outputs_path="/var/run/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770"  FACTER_deploy_signal_transport="CFN_SIGNAL"  FACTER_deploy_action="CREATE"  FACTER_update_identifier="{u'compute_config': {u'1': u'os-apply-config deployment 1c090bf3-c5be-41c0-a19e-b0c8e452f121 completed,Root CA cert injection not enabled.,None,', u'0': u'os-apply-config deployment 9aceaa35-775b-4f32-b3d9-67cd162ae901 completed,Root CA cert injection not enabled.,None,', u'2': u'os-apply-config deployment f65c9076-1698-487e-997a-f8a23f9facbe completed,Root CA cert injection not enabled.,None,'}, u'deployment_identifier': 1496356734, u'allnodes_extra': u'none'}"  FACTER_deploy_server_id="cfe73cfe-8bcc-4e47-8ed2-094de26b2d80"  puppet apply --detailed-exitcodes /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp
[2017-06-02 11:23:59,946] (heat-config) [INFO] Return code 1
[2017-06-02 11:23:59,946] (heat-config) [INFO] Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass
Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass
Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::host'; class ::nova::vncproxy has not been evaluated
Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_protocol'; class ::nova::vncproxy has not been evaluated
Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::port'; class ::nova::vncproxy has not been evaluated
Warning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_path'; class ::nova::vncproxy has not been evaluated
Error: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp:127 on node overcloud-compute-0.localdomain
Wrapped exception:
Invalid parameter transport
Error: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp:127 on node overcloud-compute-0.localdomain

[2017-06-02 11:23:59,946] (heat-config) [ERROR] Error running /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp. [1]

{"deploy_stdout": "", "deploy_stderr": "Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\nCould not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::host'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_protocol'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::port'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_path'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mError: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp:127 on node overcloud-compute-0.localdomain\nWrapped exception:\nInvalid parameter transport\u001b[0m\n\u001b[1;31mError: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/09138975-5bdc-4092-a3c4-f8204c026770.pp:127 on node overcloud-compute-0.localdomain\u001b[0m\n", "deploy_status_code": 1}

Version-Release number of selected component (if applicable):

puddles:
OSP: 2017-05-30.3
OSPd: 2017-05-30.1

Comment 1 Gonéri Le Bouder 2017-06-02 16:04:32 UTC
BZ1457204 is the same issue but with OSP7.

Comment 3 Alex Schultz 2017-06-02 17:13:02 UTC
That puddle is bad, this is fixed in the current puddles. The issue with the puddles was tracked in BZ1457138.  Please use 2017-06-02.1

Comment 4 Yolanda Robla 2017-06-22 16:05:19 UTC
I am hitting this error today, with a new deployment of OSP8
The version of the openstack-puppet-modules is:

Name        : openstack-puppet-modules
Arch        : noarch
Epoch       : 1
Version     : 7.1.5
Release     : 4.el7ost

Error on the deploy:

heat deployment-show 975d3308-8400-4069-9f50-ea00f775b766
{
  "status": "FAILED", 
  "server_id": "06b9dad8-1501-4876-9bd6-d72fe404b19c", 
  "config_id": "e3e75ce9-42cb-4706-b12f-72af33debe56", 
  "output_values": {
    "deploy_stdout": "", 
    "deploy_stderr": "Could not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\nCould not retrieve fact='apache_version', resolution='<anonymous>': undefined method `[]' for nil:NilClass\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::host'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_protocol'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::port'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mWarning: Scope(Class[Nova::Vncproxy::Common]): Could not look up qualified variable '::nova::vncproxy::vncproxy_path'; class ::nova::vncproxy has not been evaluated\u001b[0m\n\u001b[1;31mError: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/e3e75ce9-42cb-4706-b12f-72af33debe56.pp:127 on node overcloud-compute-0.localdomain\nWrapped exception:\nInvalid parameter transport\u001b[0m\n\u001b[1;31mError: Invalid parameter transport on Class[Nova::Migration::Libvirt] at /var/lib/heat-config/heat-config-puppet/e3e75ce9-42cb-4706-b12f-72af33debe56.pp:127 on node overcloud-compute-0.localdomain\u001b[0m\n", 
    "deploy_status_code": 1
  }, 
  "creation_time": "2017-06-22T15:43:12", 
  "updated_time": "2017-06-22T15:43:29", 
  "input_values": {}, 
  "action": "CREATE", 
  "status_reason": "deploy_status_code : Deployment exited with non-zero status code: 1", 
  "id": "975d3308-8400-4069-9f50-ea00f775b766"
}

Comment 5 Yolanda Robla 2017-06-22 16:26:36 UTC
Also, if it's relevant:

Name        : openstack-tripleo-heat-templates
Arch        : noarch
Version     : 0.8.14
Release     : 29.el7ost

Comment 6 Alex Schultz 2017-06-22 19:00:11 UTC
Is that version of openstack-puppet-modules from the undercloud or the deployed overclouds? This bug was originally due to images with the old version of openstack-puppet-modules used with the newer THT.  Please make sure you have openstack-tripleo-puppet-elements-0.0.5-2.el7ost and they are properly loaded

Comment 7 Gonéri Le Bouder 2017-06-22 20:31:41 UTC
Yolanda, I just did a successful OSP8 deployment with the last puddles.

Comment 8 Yolanda Robla 2017-06-23 10:12:21 UTC
I updated to the latest overcloud-full.qcow2 images and that worked. Seems it's bad to use latest undercloud packages, with a not updated OSP8 image for the overcloud.