-
Notifications
You must be signed in to change notification settings - Fork 127
General: FAQ
This section groups all common problems you may have installing or using Archipel.
First of all, and before continuing, update your copy or Archipel Agent doing # easy_install -U archipel-agent Then try using http://app.archipelproject.org for the GUI or get the latest nightly build from http://nightlies.archipelproject.org, then try again. If problem is still present, you can continue to read this FAQ.
You can use :
- Chromium (All platform) : best choice
- WebKit (Mac OS) : the other best choice
- Chrome (All platform)
- Safari (Mac OS)
- Firefox (All platform)
- ReKong
Are you kidding ?
501 error means "Not Implemented". This is because your agent can't process the request (i.e. your request has not been catches by any XMPP handlers). There are several reasons:
- One of the agent's module has not been loaded for some reason. Read carefully the beginning of archipel.log to track down for
ERROR
at early initialization process. Most of these errors are due to missing configuration tokens. - Or, you are not up to date. Even if you think so, that's wrong. You are not. Try to Reset EGG installation.
Install the xmpppy package with easy_install, at least the package in Ubuntu is too old
When I want to launch Archipel GUI and I look at the Debug Console, I have a lot of error telling "Info.plist" not found
This is not a problem. This is the way Cappuccino determines if a folder is a bundle or a framework or just a standard folder. It tries to get Info.plist from folders and this can result as a 404 error displayed in the console.
Your XMPP admin account SHOULD to be called "admin" (for example [email protected]). Otherwise, you need to add your admin account name in to the Resources/admin-accounts.js
file, in the client folder being served by your web server.
you get something like ERROR ::2011-01-14 16:09:09::<archipelHypervisor.TNArchipelHypervisor instance at 0x14ab5f0>.iq_get_permission: exception raised is : No connection has been defined for this thread or process
. This mean you use a too old version of python SQLAlchemy. You MUST use the easy_install package of SQLAlchemy, not the one eventually packaged in your distribution. Remove any installation of this egg, and reinstall it with
# easy_install SQLAlchemy
I have sucessfully installed archipel, I'm connected, and I have added the hypervisor in the roster, but it is displayed as "Offline"
You probably have manually created the hypervisor account using ejabberdctl
which is bad. You have now two solutions:
- change the account of the hypervisor of the token
hypervisor_xmpp_jid
in thearchipel.conf
file and restart Archipel. - unregister the account using
ejabberdctl unregister hypervisor FQDN
and restart Archipel.
YOU MUST NOT CREATE ANY XMPP ACCOUNT FOR ARCHIPEL ENTITIES. Manually account can be created for users
export PYTHONDONTWRITEBYTECODE as empty value first and rerun easy_install # export PYTHONDONTWRITEBYTECODE= # easy_install archipel-agent
New VM button is a future feature stuff. Do not use it at the moment. To create a VM, go to an hypervisor, "Virtual Machine" tab and click on the "+" button.
For hackerz: You can use our fork of ejabberd with needed fixes, see https://github.com/primalmotion/ejabberd/tree/archipel-v2.1.8
Most of the time, you will get some error in the console saying "Unable to connect to 127.0.0.1:69XX". This is because for some reasons, the Archipel Agent hasn't be able to find its public IP. To fix this, edit /etc/archipel/archipel.conf
, and change the value of the token machine_ip = auto
to machine_ip = X.X.X.X
where X.X.X.X
is your hypervisor's public IP. Then restart the agent and then the virtual machines from Archipel GUI. It should work.
Also note that the VNC connections are initiated from your browser using a websocket proxy. This proxy uses a port equals to VNC-port + 1000. So if your VM uses the port 5901, Archipel will connect to the proxy listening to 6901. Obviously, you must be able to connect to these porta from the computer that runs the browser that runs Archipel GUI.
If you are using centos 6.0 in this case (http://lists.centos.org/pipermail/centos-virt/2011-October/002649.html), snapshot through the binary savevm isn't supported with version 0.8.1 of libvirt. Waiting for availability of centos 6.1, you can alternatively use the Continuous Realease repo and you will benefit of libvirt 0.8.7. Have a look here : http://lists.centos.org/pipermail/centos-announce/2011-September/018078.html Follow those 5 steps :
- yum install centos-release-cr
- add "priority 1" at the end of /etc/yum.repos.d/CentOS-CR.repo
- yum install libvirt
- check version of libvirt : rpm -qva | grep libvirt
- service archipel restart
It should work now.