Stack update to OSP13 z10 fails with 'versioncmp' parameter 'a' expects a String value, got Undef

Solution In Progress - Updated -

Issue

  • Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef at /etc/puppet/modules/openstacklib/manifests/defaults.pp:9:6 on node
[root@compute-d-048 ~]# docker logs 206ecf9ba05b
+ mkdir -p /etc/puppet
+ cp -a /tmp/puppet-etc/auth.conf /tmp/puppet-etc/hiera.yaml /tmp/puppet-etc/hieradata /tmp/puppet-etc/modules /tmp/puppet-etc/puppet.conf /tmp/puppet-etc/puppet.conf.rpmnew /etc/puppet
+ rm -Rf /etc/puppet/ssl
+ echo '{"step": 6}'
+ TAGS=
+ '[' -n file,file_line,concat,augeas,cron,neutron_plugin_ml2,neutron_config,neutron_l3_agent_config,neutron_config,neutron_metadata_agent_config,neutron_config,neutron_agent_ovs,neutron_plugin_ml2 ']'
+ TAGS='--tags file,file_line,concat,augeas,cron,neutron_plugin_ml2,neutron_config,neutron_l3_agent_config,neutron_config,neutron_metadata_agent_config,neutron_config,neutron_agent_ovs,neutron_plugin_ml2'
+ origin_of_time=/var/lib/config-data/neutron.origin_of_time
+ touch /var/lib/config-data/neutron.origin_of_time
+ sync
+ set +e
+ export FACTER_deployment_type=containers
+ FACTER_deployment_type=containers
++ cat /sys/class/dmi/id/product_uuid
++ tr '[:upper:]' '[:lower:]'
+ export FACTER_uuid=4c4c4544-0052-4310-8038-c2c04f305732
+ FACTER_uuid=4c4c4544-0052-4310-8038-c2c04f305732
+ FACTER_hostname=compute-d-048
+ /usr/bin/puppet apply --summarize --detailed-exitcodes --color=false --logdest syslog --logdest console --modulepath=/etc/puppet/modules:/usr/share/openstack-puppet/modules --tags file,file_line,concat,augeas,cron,neutron_plugin_ml2,neutron_config,neutron_l3_agent_config,neutron_config,neutron_metadata_agent_config,neutron_config,neutron_agent_ovs,neutron_plugin_ml2 /etc/config.pp
Error: Facter: Facter.value uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Facter: Facter.value uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Could not autoload puppet/provider/service/bsd: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Facter: error while resolving custom facts in /usr/share/openstack-puppet/modules/stdlib/lib/facter/service_provider.rb: Could not autoload puppet/provider/service/bsd: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Facter: Facter.add uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Facter: Facter.value uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Could not autoload puppet/provider/service/debian: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Facter: error while resolving custom facts in /usr/share/openstack-puppet/modules/stdlib/lib/facter/service_provider.rb: Could not autoload puppet/provider/service/debian: Could not autoload puppet/provider/service/init: undefined method `downcase' for nil:NilClass
Error: Facter: Facter.fact uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Facter: Facter.value uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Facter: Facter.value uncaught exception: boost::filesystem::create_directories: Read-only file system: "/opt/puppetlabs/facter/cache/cached_facts"
Error: Facter: error while resolving custom fact "java_version": undefined method `downcase' for nil:NilClass
Warning: Found multiple default providers for package: norpm, yum, pip3; using norpm
Warning: Could not retrieve fact fqdn
Warning: Could not retrieve fact ipaddress
Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/module_data_backend
Warning: Undefined variable 'deploy_config_name';
   (file & line not available)
Warning: Undefined variable 'osfamily';
   (file & line not available)
Notice: hiera(): Cannot load backend module_data: cannot load such file -- hiera/backend/module_data_backend
Warning: Unknown variable: '::hostname'. at /etc/puppet/modules/tripleo/manifests/profile/base/neutron/plugins/ml2.pp:39:6
Warning: ModuleLoader: module 'neutron' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
   (file & line not available)
Warning: Unknown variable: '::puppetversion'. at /etc/puppet/modules/openstacklib/manifests/defaults.pp:9:17
Warning: ModuleLoader: module 'openstacklib' has unresolved dependencies - it will only see those that are resolved. Use 'puppet module list --tree' to see information about modules
   (file & line not available)
Error: Evaluation Error: Error while evaluating a Function Call, 'versioncmp' parameter 'a' expects a String value, got Undef at /etc/puppet/modules/openstacklib/manifests/defaults.pp:9:6 on node
+ rc=1
+ set -e
+ '[' 1 -ne 2 -a 1 -ne 0 ']'
+ exit 1

Environment

  • Red Hat OpenStack Platform 13.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content