Bug 4864 - cobbler start failed
Summary: cobbler start failed
Status: NEW
Alias: None
Product: Anolis OS 8
Classification: Anolis OS
Component: Others (show other bugs) Others
Version: 8.8
Hardware: All Linux
: P3-Medium S3-normal
Target Milestone: ---
Assignee: Jacob
QA Contact: shuming
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-05 09:25 UTC by ak7
Modified: 2023-05-05 09:25 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ak7 2023-05-05 09:25:40 UTC
Description of problem:


Version-Release number of selected component (if applicable):
[root@an88 ~]# cat /etc/anolis-release 
Anolis OS release 8.8

[root@an88 ~]# uname -r
5.10.134-13.an8.x86_64

How reproducible:


Steps to Reproduce:
1.yum -y install cobbler cobbler-web dhcp-server tftp-server pykickstart httpd rsync xinetd
2.systemctl start cobblerd.service 
3.systemctl status cobblerd.service

Actual results:
[root@an88 ~]# systemctl status cobblerd.service
● cobblerd.service - Cobbler Helper Daemon
   Loaded: loaded (/usr/lib/systemd/system/cobblerd.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

May 05 09:08:37 an88 systemd[1]: cobblerd.service: Succeeded.
May 05 09:08:47 an88 systemd[1]: Starting Cobbler Helper Daemon...
May 05 09:08:47 an88 systemd[1]: Started Cobbler Helper Daemon.
May 05 09:08:47 an88 cobblerd[61134]: Traceback (most recent call last):
May 05 09:08:47 an88 cobblerd[61134]:   File "/usr/bin/cobblerd", line 75, in main
May 05 09:08:47 an88 cobblerd[61134]:     api = cobbler_api.CobblerAPI(is_cobblerd=True)
May 05 09:08:47 an88 cobblerd[61134]:   File "/usr/lib/python3.6/site-packages/cobbler/api.py", line 94, in __init__
May 05 09:08:47 an88 cobblerd[61134]:     self.dist, self.os_version = utils.os_release()
May 05 09:08:47 an88 cobblerd[61134]: TypeError: 'NoneType' object is not iterable
May 05 09:08:48 an88 systemd[1]: cobblerd.service: Succeeded.


Expected results:
cobblerd is running

Additional info:
不确定这几个命令是否足有了。
yum -y install cobbler cobbler-web dhcp-server tftp-server pykickstart httpd rsync xinetd