You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I have been trying to sequentially boot ClickOS. I can not even create 100 clickos instances.
Starting the 82nd instance, when I try to used clickos-ctl to install a click configuration I got the error "Domain clickos82 does not seem to be a ClickOS domain".
My host has 16GB RAM and 8-core cpu. So in my experiment I fixed 4GB RAM for Xen Dom0 and pin cpus cores 0-2 to Dom0. For each ClickOS vm, I use "xl" to create the vm and then use clickos-ctl to install the configuration.
Does anyone experience the same problem or have any idea what may have caused it?
To indentify a domain as a ClickOS guest, clickos-ctl checks for the existence of /local/domain/<id>/data/clickos. This entry is created by a ClickOS domain upon boot.
What might be happening here is that the guests are booting slower after a certain point and the entry is not there yet. Have you tried wainting and then run clickos-ctl again?
If that doesn't work you need to provide more information. Namely the output of xl console <guest_82> and xenstore-ls /local/domain/<id_guest_82>.
Yes, I have tried waiting and then run clickos-ctl again. I checked the output of "xl console guest_82" and could see that the main thread has been created. Then checked the output of "xenstore-ls /local/domain/<id_guest_82>". The entry "/local/domain/82/data/clickos" does have been created.
Yes, correct. But the weird thing is if I change the domain name from like "ClickOS82" to "p82" in the domain configuration file, then this error message is gone. Do you know why this happens?
Interesting... What is the exact clickos-ctl command you use? Do you use a domain name? Maybe I have a bug in the domain name to domain id conversion code.
Activity
fmanco commentedon Sep 12, 2016
To indentify a domain as a ClickOS guest,
clickos-ctlchecks for the existence of/local/domain/<id>/data/clickos. This entry is created by a ClickOS domain upon boot.What might be happening here is that the guests are booting slower after a certain point and the entry is not there yet. Have you tried wainting and then run
clickos-ctlagain?If that doesn't work you need to provide more information. Namely the output of
xl console <guest_82>andxenstore-ls /local/domain/<id_guest_82>.stevepp commentedon Jan 13, 2017
Sorry to reply so late.
Yes, I have tried waiting and then run clickos-ctl again. I checked the output of "xl console guest_82" and could see that the main thread has been created. Then checked the output of "xenstore-ls /local/domain/<id_guest_82>". The entry "/local/domain/82/data/clickos" does have been created.
fmanco commentedon Jan 20, 2017
So, to clarify: even though
/local/domain/82/data/clickosexists at the time you runclickos-ctl, it still fails?stevepp commentedon Jan 20, 2017
Yes, correct. But the weird thing is if I change the domain name from like "ClickOS82" to "p82" in the domain configuration file, then this error message is gone. Do you know why this happens?
fmanco commentedon Jan 20, 2017
Interesting... What is the exact
clickos-ctlcommand you use? Do you use a domain name? Maybe I have a bug in the domain name to domain id conversion code.stevepp commentedon Jan 20, 2017
Here is the command I used to install a click configuration:
"clickos install -s clickos82 clickos82.click"
I guess so. There might be some bug in the code that converts domain name to domain ID.
fmanco commentedon Jan 20, 2017
Can you give the output of
strace -s 512 clickos install -s clickos82 clickos82.click?