Importing rhsm facts doesn't set the virtual flag
The rhsm_fact_parser doesn't properly set the the virtual flag. This is due to reason, that the
FactParser expects the virtual interface identifier in a form of 'eth0_1' while the rhsm
This leads to errors when importing the facts for a host, that was provisioned with virtual interfaces:
[ERROR 2016-06-30 03:23:04 main] rake aborted!
ActiveRecord::RecordInvalid: Validation failed: Identifier Can't add or remove `.` from identifier
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/transactions.rb:273:in `block in save!'
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/transactions.rb:329:in `block in with_transaction_returning_status'
/opt/rh/rh-ror41/root/usr/share/gems/gems/activerecord-4.1.5/lib/active_record/connection_adapters/abstract/database_statements.rb:201:in `block in transaction'
#1 Updated by Ivan Necas almost 3 years ago
- Subject changed from Upgrade failed at step: update_subscription_facet_backend_data with error: Validation failed: Identifier Can't add or remove `.` from identifier to Importing rhsm facts doesn't set the virtual flag
- Description updated (diff)
- Category changed from Upgrades to Subscriptions