Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Sep 26 21:35
    SchoolGuy milestoned #3260
  • Sep 26 21:35
    SchoolGuy milestoned #3260
  • Sep 26 20:10
    github-actions[bot] labeled #3260
  • Sep 26 20:10
    plazonic opened #3260
  • Sep 26 19:55
  • Sep 26 13:54
    plazonic commented #3253
  • Sep 26 06:25
    tpw56j commented #2888
  • Sep 25 17:53
    tpw56j commented #2888
  • Sep 25 15:47
    tpw56j commented #3259
  • Sep 25 15:38
    SchoolGuy commented #3259
  • Sep 25 15:35
    tpw56j commented #3259
  • Sep 25 15:22
    SchoolGuy commented #3259
  • Sep 25 15:17
    SchoolGuy labeled #3259
  • Sep 25 13:39
    tpw56j labeled #3259
  • Sep 25 13:39
    tpw56j opened #3259
  • Sep 24 14:58
    SchoolGuy commented #3257
  • Sep 24 14:53
    SchoolGuy milestoned #3253
  • Sep 24 14:53
    SchoolGuy commented #3253
  • Sep 24 14:47
    tpw56j commented #3257
holmesb
@holmesb
?
munmeet
@munmeet
2.7 is good fortune
Xavier Bachelot
@xavierba
@holmesb I don't know terraform apart from the name, but this is a possibility
look for something similar in terraform
Xavier Bachelot
@xavierba
something similar probably being COBBLER_URL="http://localhost:25151" in terraform
holmesb
@holmesb
Terraform looks at url = "http://cobbler.example.com/cobbler_api" @xavierba. I think that makes it XMLRPC
Xavier Bachelot
@xavierba
yeah, /cobbler_api is localhost:25151
so far, I think all I need atop of release32 branch is https://github.com/xavierba/cobbler/tree/32_backport
1 reply
I will give that a try on Thursday
Xavier Bachelot
@xavierba
there's also the broken 'cobbler get-loaders' which is annoying
1 reply
I'll probably look into it later
egotthold
@egotthold:matrix.org
[m]
But I see that the Webinterface is eagerly awaited. I will see that I put more priority in my free time onto it.
Xavier Bachelot
@xavierba
get-loaders is broken with 3.2.2, as the url from which the loaders are pulled as been removed. Unless the page has been restored since I built my new cobbler server. I had to fetch the loaders from my old cobbler server. Although I did noticed this is mentioned in a couple of places, I have not yet really looked into the discussions and patches.
holmesb
@holmesb
@xavierba, yes I'm going to try to get v3.2.x working too for the time being, and yes main obstacle is removal of loaders. Hopefully will be as simple as changing dlcontent.py's content_server = https://github.com/hbokh/cobbler-loaders per: https://github.com/cobbler/cobbler/issues/2660#issuecomment-859766544 I'll post if\when I get working, appreciate if you could do same
Xavier Bachelot
@xavierba
I completely understand that @egotthold:matrix.org rather want to move forward rather than backporting stuff, but with the current state of the webinterface and especially the xmlrpc, 3.3 is unsuitable for anyone in need of cobbler/terraform. Hence, the only hopefully temporary solution is to backport stuff to 3.2.
Xavier Bachelot
@xavierba
@holmesb I now see get-loaders has been patched out of the latest EPEL 8 package. But still I need to investigate/document how to properly set this up from the distro supplied loaders. And get the Fedora/EPEL package fixed if possible. Thanks for the links, it'll be useful.
@holmesb , I don't know what your own issues are, but here is a first try at it for my own purpose: https://github.com/xavierba/cobbler/tree/32_backport
completely untested
egotthold
@egotthold:matrix.org
[m]
@holmesb: Could you please create a bugreport in the terraform repository for this?
egotthold
@egotthold:matrix.org
[m]
Exactly this is what I am saying. And if that is the case we can very quickly change the client in a way that it doesn't leverage web-API endpoints...
munmeet
@munmeet
that's mint
Eric Chambers
@ericchambers1940
Hey Cobbler community. I believe I mentioned this back in September, but I finally got around to developing a Chef cookbook for setting up a Cobbler server using the latest version available in EPEL (flexibility may be added in the future allowing people to use their own Cobbler rpms). In it's current state, it can build a basic Cobbler server and make it ready to add and deploy systems. Future state is outlined under "To-do" in the repo's README. There's much to do and I'm enjoying working on this. https://github.com/ericchambers1940/cobbler3-cookbook
Eric Chambers
@ericchambers1940
Chef Infra is a CM tool I develop with on a daily basis. Prior to this, Cobbler cookbook development has been idle for several years. All existing Chef code was written for Cobbler 2.x.x
egotthold
@egotthold:matrix.org
[m]
@ericchambers1940: Thanks for contributing this! If you deem this production ready I would glady add it to our documentation and if you are interested in donating it to the Cobbler Namespace under a license of choice I would be very happy. But even the fact that you made it open source is superb! :)
Eric Chambers
@ericchambers1940
Absolutely! I would not deem it production ready, but will gladly keep you up to date when it is. As of now, this is a good foundation for others wanting to write their own Chef cobbler cookbook.
holmesb
@holmesb
FYI @egotthold, Terraform works fine with Cobbler v3.3.x :-) Hopefully my PRs that make the provider compatible will be merged: cobbler/terraform-provider-cobbler#10 & cobbler/cobblerclient#6
egotthold
@egotthold:matrix.org
[m]
@holmesb: Saw it. Left a comment on the first PR. Thanks a lot for both PRs! :)
Atul Yadav
@atulyadavtech
Hi Team , Sorry for the basic question, how to update the setting in Cobbler 3.2.2, as "/etc/cobbler/settings" not present ...
holmesb
@holmesb
Try /etc/cobbler/settings.yaml instead @atulyadavtech
dondster56
@dondster56
Using a freshly check out of 3.3.1, having issues with cobbler system add. The error is : cobbler system add --name=test --profile=rhel79-test
Traceback (most recent call last):
File "/usr/bin/cobbler", line 35, in <module>
sys.exit(app.main())
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 1344, in main
rc = cli.run(sys.argv)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 892, in run
self.object_command(object_type, object_action)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 977, in object_command
network_interface_fields, settings, object_action)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 724, in add_options_from_fields
_add_parser_option_from_field(parser, field, settings)
File "/usr/lib/python3.6/site-packages/cobbler/cli.py", line 695, in _add_parser_option_from_field
raise Exception("field %s default value (%s) is not listed in choices (%s)" % (name, default, str(choices)))
Exception: field power_type default value (ipmilanplus) is not listed in choices (['amt_ws', 'apc', 'apc_snmp', 'bladecenter', 'brocade', 'cisco_mds', 'cisco_ucs', 'compute', 'drac5', 'eaton_snmp', 'emerson', 'eps', 'evacuate', 'heuristics_ping', 'hpblade', 'ibmblade', 'idrac', 'ifmib', 'ilo', 'ilo2', 'ilo3', 'ilo3_ssh', 'ilo4', 'ilo4_ssh', 'ilo5', 'ilo5_ssh', 'ilo_moonshot', 'ilo_mp', 'ilo_ssh', 'imm', 'intelmodular', 'ipdu', 'ipmilan', 'kdump', 'mpath', 'redfish', 'rhevm', 'rsa', 'rsb', 'sbd', 'scsi', 'virt', 'vmware_rest', 'vmware_soap', 'wti', 'xvm'])
The error will also happen just doing "cobbler system add --help"
Forgot to mention this cobbler install is on rhel 8.4
dondster56
@dondster56
I got around the issue by changing the setting in settings.yaml but still needs to be fixed
holmesb
@holmesb

My cobblerd (latest) is failing to start. Not much indication why, just exits with error code 0. Last few lines in cobbler.log:
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | received on stderr:
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | shell trigger /var/lib/cobbler/triggers/sync/post/restart-dhcp.sh finished successfully
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | shell triggers finished successfully
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running python triggers from /var/lib/cobbler/triggers/change/
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running python trigger cobbler.modules.scm_track
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running python trigger cobbler.modules.managers.genders
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/change/

[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | shell triggers finished successfully
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - INFO | ### TASK COMPLETE ###
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running python triggers from /var/lib/cobbler/triggers/task/sync/post/
[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | running shell triggers from /var/lib/cobbler/triggers/task/sync/post/

[2022-01-28_102438_sync] 2022-01-28T10:24:41 - DEBUG | shell triggers finished successfully

I have some values in settings.yaml that are bookended by @ symbols. Eg "bootloaders_ipxe_folder: '@@ipxe_folder@@'". Should these be rendered to actual values? In the case of bootloaders_ipxe_folder, a directory?

egotthold
@egotthold:matrix.org
[m]
@holmesb: Yes they should be. The tests I did also replace the values, however if that is not working we need a bug report for this...
egotthold
@egotthold:matrix.org
[m]
@holmesb: Looking at the interface add problem now. :)
holmesb
@holmesb
cool, be a great one to nail @egotthold:matrix.org
egotthold
@egotthold:matrix.org
[m]
@holmesb: Mentioned you on the PR. Please have a look if time allows. :)
holmesb
@holmesb
I've responded @egotthold. Response to XMLRPC commands looks good now, but interface still doesn't actually get added
egotthold
@egotthold:matrix.org
[m]
@holmesb: Will answer on GH.
dondster56
@dondster56
Does anyone have a working Uefi network install of a RedHat 7.9 or 8.x working on cobbler 3.3.1? My virtual machine is able to load the BOOTX64.EFI just fine, but then just end up with a grub> prompt.
set serial_console=true
set serial_baud=0
set serial_line=0
set system="test"
set timeout=1
set default='test'
menuentry 'rmsds' --class gnu-linux --class gnu --class os {
echo 'Loading kernel ...'
clinux /images/RHEL79-x86_64/vmlinuz kssendmac inst.ks=http://xx.xx.xx.xx/cblr/svc/op/autoinstall/system/t
est
echo 'Loading initial ramdisk ...'
cinitrd /images/RHEL79-x86_64/initrd.img
echo '...done'
}
egotthold
@egotthold:matrix.org
[m]
I believe we have a discussion or issue for that one on GitHub. Maybe you find something interesting there.
dondster56
@dondster56
ok I will have a look around on there, thanks
dondster56
@dondster56
since 3.3.1 has no web interface, how do I add the autoinstall-meta to handle the inst.repo like was automatically done for you in previous version. Such as tree: 'tree': 'http://@@http_server@@/cblr/links/RHEL79-x86_64'
dondster56
@dondster56
I now have Uefi network booting working and got past the grub> prompt but the $tree variable isn't set as to why I need help with the above question
dondster56
@dondster56
sorry, that was my bad, I had autoinstall-meta instead of --autoinstall-meta for the cobbler distro edit command.
egotthold
@egotthold:matrix.org
[m]
Good news! I finally got time to work a littlebit on the WebUI this weekend. A few moments ago I was able to do a successfull login on the WebUI to a real Cobbler server. Progress is very slow and the code is definitly not production ready but we are slowly getting somewhere.
InterceptorF
@InterceptorF
Somehow in editing an ISO I have broken Cobbler: