Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

koan can't get port for profile #28

Open
wanghaiqing2015 opened this issue Jan 25, 2019 · 1 comment
Open

koan can't get port for profile #28

wanghaiqing2015 opened this issue Jan 25, 2019 · 1 comment
Labels

Comments

@wanghaiqing2015
Copy link

wanghaiqing2015 commented Jan 25, 2019

cobbler server change port to 10080,use below command fail to get URL for profile.Should add http_port to URL path.

command:
koan --server=192.168.10.112 --port 10080 --virt --virt-name=main5 --virt-bridge=br0 --profile=centos7.4-x86_64

error message:

[root@www ~]# koan --server=192.168.10.112 --port 10080 --virt --virt-name=main5   --virt-bridge=br0  --profile=centos7.4-x86_64
- looking for Cobbler at http://192.168.10.112:10080/cobbler_api
- reading URL: http://192.168.10.112/cblr/svc/op/ks/profile/centos7.4-x86_64
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/koan/utils.py", line 125, in urlread
    fd = urllib2.urlopen(url)
  File "/usr/lib64/python2.7/urllib2.py", line 154, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 431, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 449, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 409, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1244, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1214, in do_open
    raise URLError(err)
URLError: <urlopen error [Errno 111] Connection refused>
- ['/usr/bin/virt-install', '--version']
- ['virt-install', '--version']
- ['virt-install', '--os-variant', 'list']
- ['osinfo-query', '-f', 'short-id', 'os']
Cannot find install source in kickstart file, aborting.
@wanghaiqing2015
Copy link
Author

Anyone?

@SchoolGuy SchoolGuy added the bug label Jul 31, 2019
@SchoolGuy SchoolGuy moved this to Bug Reports in Koan Sep 26, 2022
@SchoolGuy SchoolGuy added this to Koan Sep 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Bug Reports
Development

No branches or pull requests

2 participants