Project

General

Profile

Bug #36371

Updated by Ewoud Kohl van Wijngaarden over 1 year ago

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=2196242  

 *Description of problem:* 

 Upgrade to Satellite 6.13 fails on db:seed step with error GraphQL::InvalidNameError: Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but 'RHEL OpenStack Platform' does not 


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

 Satellite 6.13.0 

 *How reproducible:* 

 In customer's environment  


 *Steps to Reproduce:*  

 ( Probably ) 

 1. Install a Satellite 6.12 and configure a Openstack based compute resource  
 2. Try upgrading it to Satellite 6.13 


 *Actual results:* 

 Upgrade fails: 

 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: Tasks: TOP => db:seed => db:load_config => environment 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: (See full trace by running task with --trace) 
 2023-05-08 11:53:15 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: '/usr/sbin/foreman-rake db:seed' returned 1 instead of one of [0] 
 2023-05-08 11:53:15 [ERROR ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: '/usr/sbin/foreman-rake db:seed' returned 1 instead of one of [0] 
 2023-05-08 11:53:15 [DEBUG ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Evaluated in 21.66 seconds 


 Seed error: 

 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: rake  
 aborted! 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: Graph 
 QL::InvalidNameError: Names must match /^[_a-zA-Z][_a-zA-Z0-9]*$/ but 'RHEL OpenStack Platform' does not 

 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/gems/gems/graphql-1.13.16/lib/graphql/name_validator.rb:8:in `validate!' 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/enum_value.rb:43:in `initialize' 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/member/accepts_definition.rb:154:in `initialize' 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/enum.rb:48:in `new' 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/gems/gems/graphql-1.13.16/lib/graphql/schema/enum.rb:48:in `value' 
 2023-05-08 11:53:15 [INFO    ] [configure] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]/returns: /usr/share/foreman/app/graphql/types/provider_friendly_name_enum.rb:4:in `block in <class:ProviderFriendlyNameEnum>' 


 *Expected results:* 

 No such issues and compute resources of any supported providers should not halt the upgrade process for any reason at all. 


 *Additional info:*

Back