Incorrectly associated partition tables

Hello,

after our recent upgrade from 1.5.x -> 1.9.3 (upgraded in steps, so 1.5 -> 1.6.x etc.), some things still need some cleaning.

At the moment, some partition tables are incorrectly associated to the operating system.
Example from the Partition Tables [1]:
Name: Kickstart bird-psda, OS families: RedHat, Operating systems: CentOS Linux 7.1.1503, Debian 7.5, Debian 7.6, Debian 7.7, Debian 7.8, Debian 8.1, and Debian 8.2

Now a user could use a Preseed ptable for Kickstart, which obviously results into a broken installation.
From the web UI, I am unable to fix this. The ptable tab in the operating system menu does not display the preseed templates for RedHat based os and vice versa.
The ptables itself have the correct OS family specified.

Can I just clean this up directly in the database?
The association seems to be stored in "operatingsystems_ptables", where I would delete the wrong association.

[1] https://www.desy.de/~sdietric/foreman-ptables.png

Regards,
Stefan

··· -- ------------------------------------------------------------------------ Stefan Dietrich Deutsches Elektronen-Synchrotron (IT-Systems) Ein Forschungszentrum der Helmholtz-Gemeinschaft Notkestr. 85 phone: +49-40-8998-4696 22607 Hamburg e-mail: stefan.dietrich@desy.de Germany ------------------------------------------------------------------------

Just for reference, I deleted the incorrect association directly in the database after creating a backup.
Worked without issues!

··· ----- Original Message ----- > From: "Dietrich, Stefan" > To: foreman-users@googlegroups.com > Sent: Sunday, December 13, 2015 4:17:35 PM > Subject: [foreman-users] Incorrectly associated partition tables

Hello,

after our recent upgrade from 1.5.x -> 1.9.3 (upgraded in steps, so 1.5 -> 1.6.x
etc.), some things still need some cleaning.

At the moment, some partition tables are incorrectly associated to the operating
system.
Example from the Partition Tables [1]:
Name: Kickstart bird-psda, OS families: RedHat, Operating systems: CentOS Linux
7.1.1503, Debian 7.5, Debian 7.6, Debian 7.7, Debian 7.8, Debian 8.1, and
Debian 8.2

Now a user could use a Preseed ptable for Kickstart, which obviously results
into a broken installation.
From the web UI, I am unable to fix this. The ptable tab in the operating system
menu does not display the preseed templates for RedHat based os and vice versa.
The ptables itself have the correct OS family specified.

Can I just clean this up directly in the database?
The association seems to be stored in “operatingsystems_ptables”, where I would
delete the wrong association.

[1] https://www.desy.de/~sdietric/foreman-ptables.png

Regards,
Stefan

Stefan Dietrich Deutsches Elektronen-Synchrotron (IT-Systems)
Ein Forschungszentrum der Helmholtz-Gemeinschaft
Notkestr. 85
phone: +49-40-8998-4696 22607 Hamburg
e-mail: stefan.dietrich@desy.de Germany


You received this message because you are subscribed to the Google Groups
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.