foreman-users:
I'm running foreman-0.1.5-1.noarch with apache/passenger
when I go to this link:
http://foreman.example.com/statistics
gives this message: "No Inventory data has been found - add some
hosts and facts and try again"
Apache error log:
Couldn't find Operatingsystem without an ID
I've imported the hosts and facts with the "rake
puppet:import:hosts_and_facts RAILS_ENV=production"
I've got all of the data in MySQL, all of my puppet clients are
RHEL5.5 servers…
···
> select * from operatingsystems;
+----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
> id | major | name | minor | nameindicator | created_at |
updated_at | family_id | release_name |
+----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
> 2 | 5 | RedHat | 5 | NULL | 2010-10-06 14:37:50 |
2010-10-06 14:37:50 | 1 | |
+----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
1 row in set (0.00 sec)
please advise…
Hi,
Can you please have a look at bug #336 ( Bug #336: Facts not imported when running the task puppet:import:hosts_and_facts - Foreman )
and see if it helps you to diagnose or fix the problem you are facing ? It
was recently closed, but I couldn't test it.
···
On Thu, Oct 7, 2010 at 12:05 AM, Tim Lank wrote:
foreman-users:
I’m running foreman-0.1.5-1.noarch with apache/passenger
when I go to this link:
http://foreman.example.com/statistics
gives this message: “No Inventory data has been found - add some
hosts and facts and try again”
Apache error log:
Couldn’t find Operatingsystem without an ID
I’ve imported the hosts and facts with the “rake
puppet:import:hosts_and_facts RAILS_ENV=production”
I’ve got all of the data in MySQL, all of my puppet clients are
RHEL5.5 servers…
select * from operatingsystems;
±—±------±-------±------±--------------±--------------------±--------------------±----------±-------------+
id | major | name | minor | nameindicator | created_at |
updated_at | family_id | release_name |
±—±------±-------±------±--------------±--------------------±--------------------±----------±-------------+
2 | 5 | RedHat | 5 | NULL | 2010-10-06 14:37:50 |
2010-10-06 14:37:50 | 1 | |
±—±------±-------±------±--------------±--------------------±--------------------±----------±-------------+
1 row in set (0.00 sec)
please advise…
–
You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To post to this group, send email to foreman-users@googlegroups.com.
To unsubscribe from this group, send email to
foreman-users+unsubscribe@googlegroups.comforeman-users%2Bunsubscribe@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/foreman-users?hl=en.
from post#20 on this bug#336, I was able to get its item#1 (new host)
imported properly.
item#2 for the xenu virtual hosts though, it doesn't seem to populate
a "model" field even with the code snippet additions from the pastie
link for the populateFieldsFromFacts method.
···
On Thu, Oct 7, 2010 at 3:30 AM, Mohit Chawla wrote:
> Hi,
> Can you please have a look at bug #336 ( http://theforeman.org/issues/336 )
> and see if it helps you to diagnose or fix the problem you are facing ? It
> was recently closed, but I couldn't test it.
>
>
> On Thu, Oct 7, 2010 at 12:05 AM, Tim Lank wrote:
>>
>> foreman-users:
>>
>> I'm running foreman-0.1.5-1.noarch with apache/passenger
>>
>> when I go to this link:
>>
>> http://foreman.example.com/statistics
>>
>> gives this message: "No Inventory data has been found - add some
>> hosts and facts and try again"
>>
>> Apache error log:
>> Couldn't find Operatingsystem without an ID
>>
>> I've imported the hosts and facts with the "rake
>> puppet:import:hosts_and_facts RAILS_ENV=production"
>>
>> I've got all of the data in MySQL, all of my puppet clients are
>> RHEL5.5 servers....
>>
>> > select * from operatingsystems;
>>
>> +----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
>> > id | major | name | minor | nameindicator | created_at |
>> updated_at | family_id | release_name |
>>
>> +----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
>> > 2 | 5 | RedHat | 5 | NULL | 2010-10-06 14:37:50 |
>> 2010-10-06 14:37:50 | 1 | |
>>
>> +----+-------+--------+-------+---------------+---------------------+---------------------+-----------+--------------+
>> 1 row in set (0.00 sec)
>>
>> please advise....
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Foreman users" group.
>> To post to this group, send email to foreman-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> foreman-users+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/foreman-users?hl=en.
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Foreman users" group.
> To post to this group, send email to foreman-users@googlegroups.com.
> To unsubscribe from this group, send email to
> foreman-users+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/foreman-users?hl=en.
>