Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 14:58
    SchoolGuy commented #3257
  • 14:53
    SchoolGuy milestoned #3253
  • 14:53
    SchoolGuy commented #3253
  • 14:47
    tpw56j commented #3257
  • 14:29
    SchoolGuy commented #3257
  • 14:28
    SchoolGuy labeled #3257
  • 14:28
    SchoolGuy commented #3256
  • 14:24
    SchoolGuy milestoned #3256
  • 14:24
    SchoolGuy milestoned #3256
  • 14:24
    SchoolGuy milestoned #3255
  • 14:23
    SchoolGuy assigned #3255
  • 14:23
    SchoolGuy review_requested #3256
  • 14:22
    SchoolGuy labeled #3255
  • 14:22
    SchoolGuy edited #3257
  • 14:21
    SchoolGuy commented #3257
  • 11:56
    codecov[bot] commented #3250
  • 11:56
    codecov[bot] commented #3252
  • 11:56
    codecov[bot] commented #3245
  • 11:56
    codecov[bot] commented #3244
  • 11:56
    codecov[bot] commented #3213
egotthold
@egotthold:matrix.org
[m]
Sooo regarding the Web Interface... It turns out Cobbler can do more then I can handle on my own. I have put a lot of time in starting to create the XMLRPC API and the API Client in Angular but so far I am not there to present something usable. However feel free to look at the Draft PR I created...
In regard to 3.2.x releases... No I haven't planned anything there because of the huge changes I made on master I personally believe that it is not reasonable to try doing a port. I would love to see more activity in fixing bugs on master so we can finally push out the next 3.3.x release.
Xavier Bachelot
@xavierba
@egotthold:matrix.org So I guess 3.3 is definitely a nogo for me and probably others, until at least http://cobbler_host/cobbler_api is usable. And if 3.2 is frozen and won't see a new release, then I'll have to lobby the EPEL maintainer to include patches, which is less likely to happen if it's not coming from upstream SCM. I do need cobbler to be able to install CentOS 6, 7, 8 and 9 and also to be able to pilot it from ansible. None of the cobbler releases matches both criterion.
1 reply
holmesb
@holmesb
"XMLRPC...so far I am not there to present something usable" - am I right to assume this means Terraform won't work with >=v3.3.0
3 replies
?
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'