Actions
Bug #2372
closedimporting fails on weird operatingsystemrelease
Description
I'm currently doing some development to get cisco switches under puppet management. Some of those devices report their operatingsystemrelease as '12.2(55)SE5'. When trying to push those facts to foreman with the push_facts script, the first push emits the following message and fails to populate the overview values like OS and version:
Started POST "/fact_values/create?format=yml" for 10.1.105.39 at 2013-04-04 13:47:52 +0000 Processing by FactValuesController#create as YML Parameters: {"facts"=>"[FILTERED]"} No smart proxy server found on [] Failed to save switch.example.com: Validation failed: Minor is not a number Rendered text template (0.0ms) Completed 200 OK in 175ms (Views: 0.9ms | ActiveRecord: 67.2ms)
I've confirmed that (manually) setting the operatingsystemrelease to '12.2.(55)SE5' results in a properly populated host.
Files
Actions