Resolving Templates

Hello,

I'm trying to get started with Foreman, and I'm having a rather difficult
time. I'm using Fedora 19, which means the nightly repository for now
(foreman-1.2.9999-5.201307080934gitbae0bea.fc19.noarch).

Foreman installs fine, and I get all the basics working (various services,
foreman-proxy, etc.).
I'm working my way through this YouTube guide (
http://www.youtube.com/watch?v=eHjpZr3GB6s) on how to setup provisioning. I
complete everything just as in the video. I've setup and associated all the
provisioning activities: architectures, domains, installation media,
operating systems, partition tables, provisioning templates, and subnets.

I edited the Kickstart Default and Kickstart default PXELinux templates,
and associated them with my Fedora 19 operating system. Everything looks
good so far.

I go through the process of creating a host, but when I try to resolve the
templates on the operating system tab, I don't get anything.

What's even stranger is that I setup Foreman last night, and I was able to
see those templates, for a time. Then, the Default Kickstart template
stopped resolving for no reason.

I figured that I did something wrong, so I rebuilt the Foreman VM, and now
I can't get any resolution.

I've read carefully through the Foreman logs, but there aren't any errors.
I tried looking around in the database, and from what I can tell, the
relationship exists properly.

foreman=# select id,name,major from operatingsystems;
id | name | major

··· ----+--------+------- 1 | Fedora | 19 (1 row)

foreman=# select id,name from config_templates;
id | name
----±---------------------------
2 | Preseed default PXElinux
3 | Kickstart default gPXE
5 | RHEL Kickstart Default
6 | Preseed Default
7 | Preseed Default Finish
1 | Kickstart default PXElinux
8 | vmware
9 | puppet.init
10 | epel
11 | redhat_register
12 | puppet.conf
13 | http_proxy
14 | Grubby Default
15 | PXE Default File
16 | Jumpstart Default
17 | Jumstart Default Finish
18 | Jumpstart default PXEGrub
19 | YaST2 default PXELinux
20 | YaST2 Default
21 | PXE Localboot Default
4 | Kickstart Default
(21 rows)

foreman=# select * from config_templates_operatingsystems ;
config_template_id | operatingsystem_id
--------------------±-------------------
4 | 1
1 | 1
(2 rows)

Any help would be greatly appreciated.

Thanks,
Justin

I feel like a dummy. I missed the operating systems -> templates tab.

Justin

··· On Friday, July 12, 2013 10:40:41 AM UTC-5, Justin Brown wrote: > > Hello, > > I'm trying to get started with Foreman, and I'm having a rather difficult > time. I'm using Fedora 19, which means the nightly repository for now > (foreman-1.2.9999-5.201307080934gitbae0bea.fc19.noarch). > > Foreman installs fine, and I get all the basics working (various services, > foreman-proxy, etc.). > I'm working my way through this YouTube guide ( > http://www.youtube.com/watch?v=eHjpZr3GB6s) on how to setup provisioning. > I complete everything just as in the video. I've setup and associated all > the provisioning activities: architectures, domains, installation media, > operating systems, partition tables, provisioning templates, and subnets. > > I edited the Kickstart Default and Kickstart default PXELinux templates, > and associated them with my Fedora 19 operating system. Everything looks > good so far. > > I go through the process of creating a host, but when I try to resolve the > templates on the operating system tab, I don't get anything. > > What's even stranger is that I setup Foreman last night, and I was able to > see those templates, for a time. Then, the Default Kickstart template > stopped resolving for no reason. > > I figured that I did something wrong, so I rebuilt the Foreman VM, and now > I can't get any resolution. > > I've read carefully through the Foreman logs, but there aren't any errors. > I tried looking around in the database, and from what I can tell, the > relationship exists properly. > > foreman=# select id,name,major from operatingsystems; > id | name | major > ----+--------+------- > 1 | Fedora | 19 > (1 row) > > foreman=# select id,name from config_templates; > id | name > ----+---------------------------- > 2 | Preseed default PXElinux > 3 | Kickstart default gPXE > 5 | RHEL Kickstart Default > 6 | Preseed Default > 7 | Preseed Default Finish > 1 | Kickstart default PXElinux > 8 | vmware > 9 | puppet.init > 10 | epel > 11 | redhat_register > 12 | puppet.conf > 13 | http_proxy > 14 | Grubby Default > 15 | PXE Default File > 16 | Jumpstart Default > 17 | Jumstart Default Finish > 18 | Jumpstart default PXEGrub > 19 | YaST2 default PXELinux > 20 | YaST2 Default > 21 | PXE Localboot Default > 4 | Kickstart Default > (21 rows) > > foreman=# select * from config_templates_operatingsystems ; > config_template_id | operatingsystem_id > --------------------+-------------------- > 4 | 1 > 1 | 1 > (2 rows) > > Any help would be greatly appreciated. > > Thanks, > Justin >