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

xenserver-install-wizard assume there is pool by default while the host is not part of any pool #654

Open
haniserv opened this issue Jul 6, 2015 · 0 comments

Comments

@haniserv
Copy link

haniserv commented Jul 6, 2015

Hi

I am getting this error when running xenserver-install-wizard.
it will assume the host is part of pool while running xe pool-list gives nothing

the error is this
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range

other info:
Centos 6.6 clean install
pulled the code from this git repo

xe host-list
uuid ( RO) : ea1569d6-575a-4402-86d2-0cfd1a367a6b
name-label ( RW): unknown
name-description ( RW): Default install of XenServer

xe pool-list

Other issues faced:
init.d scripts are almost all bad they use --daemon instead of -daemon and vise versa
also there no status_of_proc bedefault in centos 6.6

full output of the command
xenserver-install-wizard
message-switch is running [ OK ]
forkexecd is running [ OK ]
xcp-networkd is running [ OK ]
xcp-rrdd is running [ OK ]
xenopsd-xc is running [ OK ]
xenopsd-xenlight is running [ OK ]
ffs: unrecognized service
xapi-storage-script is not running [FAILED]
squeezed is running [ OK ]
xapi is running [ OK ]
Permanently stopping xend
Stopping xend daemon: [ OK ]
OK: default kernel is xen
ffs: unrecognized service
ERROR: failed to start ffs
Starting xapi-storage-script:
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/share/xenserver-install-wizard/xapi.py", line 73, in start
x.login_with_password("root", "")
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 200, in
return lambda *params: self._login(name, params)
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 172, in _login
self.API_version = self._get_api_version()
File "/usr/lib/python2.6/site-packages/XenAPI.py", line 187, in _get_api_version
pool = self.xenapi.pool.get_all()[0]
IndexError: list index out of range
Caught list index out of range, retrying in 5s
Traceback (most recent call last):
File "/usr/bin/xenserver-install-wizard", line 84, in
xapi.start ()
File "/usr/share/xenserver-install-wizard/xapi.py", line 82, in start
raise Exception("Could not log in to XAPI")
Exception: Could not log in to XAPI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant