Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 06:01
    wanlitao starred cobbler/cobbler
  • May 16 19:55
    codecov[bot] commented #3108
  • May 16 19:46
    codecov[bot] commented #2897
  • May 16 19:45
    codecov[bot] commented #2884
  • May 16 19:45
    codecov[bot] commented #2994
  • May 16 19:42
    codecov[bot] commented #3108
  • May 16 19:41
    codecov[bot] commented #3108
  • May 16 19:40
    SchoolGuy synchronize #3108
  • May 16 19:40

    SchoolGuy on utils-inherit-naming

    Readd specific exceptions (compare)

  • May 16 16:00
    SchoolGuy synchronize #3002
  • May 16 16:00

    SchoolGuy on integrate-migration-scripts

    Integrate V2.x.x to V3.x.x migr… WIP: Integrate modules.conf mig… (compare)

  • May 16 15:49
    SchoolGuy synchronize #3071
  • May 16 15:49

    SchoolGuy on virt_file_size

    virt_file_size: Use float in al… Increase version to 3.3.3 CI: Update workflows to run aga… (compare)

  • May 16 15:27
    nikitavoloboev starred cobbler/cobbler
  • May 16 14:45
    xushiwei starred cobbler/cobbler
  • May 16 14:19
    codecov[bot] commented #3108
  • May 16 14:07
    SchoolGuy synchronize #3108
  • May 16 14:07

    SchoolGuy on utils-inherit-naming

    Tests: Adjust to missing Tuple … (compare)

  • May 16 13:06
    SchoolGuy commented #3108
  • May 16 13:03
    SchoolGuy review_requested #3108
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
(i'm not sure if this parameter is inherited from the profile or other object on cobbler)
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
wtf
after one restart:
cobbler.cexceptions.CX: "Error with distro rocky-8.4-minimal-x86_64 - kernel '/var/www/cobbler/distro_mirror/rocky-8.4-minimal-x86_64/images/pxeboot/vmlinuz' not found"
????/
this disapeared without modifying anything'
egotthold
@egotthold:matrix.org
[m]
9d0cd7d2: Well that could be that the Loop Mount of the Distro is not present anymore at that location anymore?
1 reply
Also please don't put files inside the Cobbler managed directories.
Regarding the webUI Situation: Can't help there for now since the old UI is gone and the new is a WIP...
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
and I need to reinstall again cobbler, reimport the images, etc
also, Im facing some issues trying to pass files with the partitioning definition using snippets
but this I don't know if its related directly with cobbler or the kickstart against rocky8
InterceptorF
@InterceptorF
Any idea when the new UI is going to be available?
InterceptorF
@InterceptorF
@SchoolGuy, looking at the cobbler-web github I see '[root@localhost local]# npm install
npm WARN saveError ENOENT: no such file or directory, open '/usr/local/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/usr/local/package.json'
so... what syntax did you use for the npm init? I know I need to run that to create the package.json file but no clue what you used. What is in your package.json?
egotthold
@egotthold:matrix.org
[m]
@InterceptorF: We are using Angular and thus you need the Angular CLI available. The package.json however should be just a normal npm file. I am using npm on a regular basis with that file. The project is kind of very very early but I am working on implementing the XMLRPC API currently: cobbler/cobbler-web#14
9d0cd7d2: Tat sounds like a lot of trouble. Sorry to hear that Cobbler broke. Do you have an idea what broke it? Maybe a package upgrade or a custom script?
1 reply
9d0cd7d2
@9d0cd7d2:matrix.org
[m]
not a problem at all, I had all the configs tracked on a git repo, so it was quite easy to recover the environment
egotthold
@egotthold:matrix.org
[m]
Okay perfect!
InterceptorF
@InterceptorF
So I am trying to import a debian10 custom ISO into cobbler 2.8.3 and the import is failing ...[root@cos-pxe-00 t]# cobbler import --name=ddn-flash-ALTAV-12.0.0-132837 --arch=x86-64 --path=/mnt/cobbler/Distros/ddn-flash-ALTAV-12.0.0-132837-71f96314ac1a-debug.ddn-signed/
task started: 2021-12-02_122801_import
task started (id=Media import, time=Thu Dec 2 12:28:01 2021)
Found a candidate signature: breed=suse, version=sles15generic
Found a candidate signature: breed=suse, version=opensuse15.0
Found a candidate signature: breed=suse, version=opensuse15.1
No signature matched in /var/www/cobbler/ks_mirror/ddn-flash-ALTAV-12.0.0-132837-x86-64
!!! TASK FAILED !!!
[root@cos-pxe-00 t]#
I see its trying to find a signature and coming up with a suse signature. Any ideas on how to remedy this import ?
InterceptorF
@InterceptorF
Do I need to 'create' a signature and if so how? I dont see anything in the docs on this...
egotthold
@egotthold:matrix.org
[m]
For this we are currently trying to establish libcobblersignatures. It is not perfect but at least that part of the project should be documented enough so you achieve what you are trying to achieve
andrewm659
@andrewm659
Any chance RHEL 8.5 could be added to the official signatures file?
consus
@consus:matrix.org
[m]
Yeah, sure
andrewm659
@andrewm659
Thank you!
andrewm659
@andrewm659

GEtting this error when trying to import RHEL-8.5
cobbler01 ~]$ sudo cobbler import --name=RedHat-8.5-x86_64 --breed=redhat --os-version=rhel8 --path=/mnt/iso1
task started: 2021-12-07_084759_import
task started (id=Media import, time=Tue Dec 7 08:47:59 2021)
running python triggers from /var/lib/cobbler/triggers/task/import/pre/*
running shell triggers from /var/lib/cobbler/triggers/task/import/pre/*
shell triggers finished successfully
Exception occurred: <class 'cobbler.cexceptions.CX'>
Exception value: 'Command failed'
Exception Info:
File "/usr/lib/python3.9/site-packages/cobbler/remote.py", line 98, in run
rc = self._run(self)

File "/usr/lib/python3.9/site-packages/cobbler/remote.py", line 289, in runner
self.remote.api.import_tree(

File "/usr/lib/python3.9/site-packages/cobbler/api.py", line 1461, in import_tree
utils.run_this(rsync_cmd, (spacer, mirror_url, path), self.logger)

File "/usr/lib/python3.9/site-packages/cobbler/utils.py", line 890, in run_this
die(logger, "Command failed")

File "/usr/lib/python3.9/site-packages/cobbler/utils.py", line 103, in die
raise CX(msg)

!!! TASK FAILED !!!

Wes Bryant
@wes.bryant_gitlab
I'm looking at doing some provisioning with Cent 9 stream, is there a plan to add the signatures for Cent 9 stream into Cobbler so I can import an ISO?
InterceptorF
@InterceptorF
@andrewm659 I use this at 8.3 successfully > mount -t iso9660 -o loop,ro /mnt/cobbler/Distros/rh8_3/rh8.3-x86_64-dvd.iso /mnt/importdir/ 446 cobbler import --name=rh8_3 --arch=x86_64 --path=/mnt/importdir/
maybe try a '[root ]# cobbler signature update'
InterceptorF
@InterceptorF
So I am getting a "[!] Installation Source (Error setting up software source) when I try to install rh8.3 on a new. and it was working a month ago,. Question is; where does cobbler tell me what the valid software source is? Is it in the profile report? If not there where does cobbler expect to get the 'software source' which I assume is the .iso file? I do use http://x.x.x.x/cblr/ and have tried http://x.x.x.x/cobbler as well to BaseOS, AppStream, isolinux... The install lost its way to the "software source".
andrewm659
@andrewm659
I tried a signature update. No good.
andrewm659
@andrewm659
So I just did a fresh install of cobbler on Fedora 35. I can get the pxeboot to work but it isn't able to reach the kickstart file. I cna't browse to it via http. Nor can I see where it was generated.
InterceptorF
@InterceptorF
I am still unable to import a custom debian kernel based on buster. >> [root@cos-pxe-00 ~]# cobbler import --name=ddn-flash-PEM-12.0.0.1-dev-debug.nojanus --breed=debian --arch=x86_64 --path=/mnt/s
task started: 2021-12-29_103227_import
task started (id=Media import, time=Wed Dec 29 10:32:27 2021)
No signature matched in /var/www/cobbler/ks_mirror/ddn-flash-PEM-12.0.0.1-dev-debug.nojanus-x86_64
!!! TASK FAILED !!!
Is there something missing from my command syntax ?
what signature in /var/www/cobbler/ks_mirror/ddn-flash-PEM-12.0.0.1-dev-debug.nojanus-x86_64 am I trying to match? or better yet what should be there as a signature to match?
InterceptorF
@InterceptorF
Can't I edit the signature file and just manually add my information somehow? and if so 'what' is cobbler seeking/ what do I need to add?
munmeet
@munmeet
squid!
andrewm659
@andrewm659
So I just upgraded my old Cobbler installation to Fedora 35, and I added some new distros and removed some folders from /var/www/cobbler/distro_mirror/. After removing the folders I reran cobbler sync, it just removed ALL the /var/www/cobbler/* folders. Basically borking my cobbler install.
andrewm659
@andrewm659
I filed a bug report on github.
InterceptorF
@InterceptorF
So instead of trying to import the the custom debian kernel I used 'cobbler distro add' instead and it took it. It still is not completing the install but at leaset it gets to a message stating "No root device specified. Boot arguments must include a root= parameter". Not sure where I would add that .
Chang-Yi Lee
@cy-lee
Hello, does anyone tried import/install VMware ESXi 6.7/7.x using Cobbler 3.2.2 ?
Chang-Yi Lee
@cy-lee
I filed an issue cobbler/cobbler#2889
fluffyrodent
@fluffyrodent:matrix.org
[m]

I have a question regarding the use of mkgrub.sh.

I am establishing an AlmaLinux 8.5 Cobbler server to auto install CentOS 7 machines - legacy boot, EFI boot and EFI with Secure Boot enabled each on bare metal and on HyperV.

I can't get grub.0 or grubx64.efi to get past loading the NBP , they just load it and bomb out to the grub> prompt.

I've installed the grub2 modules for the legacy and EFI scenarios - grub2-pc-modules and grub2-efi-x64-modules (efibootmgr is already present and I havent got to shim yet so forget that right now)

mkgrub does make the necessary -o output files (I don't care about other architectures)

My questions are

Should I be running it on a centos7 machine (target) or on the AlmaLinux server? Presently I am running on the AlmaLinux server as I figured that were probably close enough and it appears to be trying to work.

Secondly while the $SYSLINUX dir in the script default is fine , the $GRUB2_MOD_DIR default is not present in AlmaLinux (usr/share/grub2) only /usr/share/grub , however strangely the script as I said does work even so. Should I install some other modules?

Pardon my ignorance. Not a developer, a sysadmin (grey line these days)

Cobbler 3.2.2 from epel-release vanilla btw, with all dnf updates
Xavier Bachelot
@xavierba
HI there, I've been pestering devs with more or less correct PRs in the last few days, in the hope to get my own itches scratched in the upcoming 3.3.1 release. So far, so good, they're getting merged or are going to, so they should not be all that bad ;-)
However, since then, I discovered 3.3 lacks a web interface, which is likely a show stopper for me.
and this is also a showstopper for the EPEL maintainer of cobbler
so I have 2 questions:
  • Does the web interface removal impacts the use of the cobbler ansible module ? it makes use of the web API I think
  • is the 3.2 branch going to have more releases ? I would consider backporting some stuff from master to 3.2 if that is the case
Xavier Bachelot
@xavierba
oh, and one last, is there a status on the state of the new web interface for 3.3 somewhere ? I noticed there was no release for it yet.