Cannot create host from webui
-
Hi!
I am making tests of 1.2 version as soon I will do an upgrade of working 0.32 version. Up to now some of my problems are solved, but a “funny” one I cannot figure out. On the web management page i cannot create hosts! Isnt it strange? I add details of host, select image, etc. click add, then page says up there host is added. But I cannot see no host in list. Even more, i can redo again and again, getting no error messages, so seems database is intact (same mac and host all time) and registers no actual hosts.
Any suggestion where I can find solution?
system: ubuntu 14.04 lts (stock install), and fog 1.2. Btw on ubutu 12.04 lts it works, that is not an option for understanding the problem to skip OS update. Once I will have to, so better be prepared.
-
Um, what?
Do the hosts that you “register” exist in the DB? Yes you may have to actually peer into the real database to find out. Do you have ID Entries of 0?
Maybe you could verify that the database for the hosts table is in working order running a repair on it?
-
hi!
Sorry for not properly detailed question, I try to fill in some holes, and do more test. I did the approximate following to produce the issue: installed a stock, unmodified ubuntu 14.04 (I know about supported OS versions, but foregoing tests are needed for future), downloaded latest fog (1.2.0). Installation went ok on both sides. For my tests I needeed 1 host and 1 image, so I did preparation. Created the image (webui, put in file and os type details), was ok I could see it after page refresh, too. Created the host item (mac, os, image selection, etc). It said in the hovering info, host is added normally.
I did some other preparation with the host itself, then I checked the host list. There came the surprise, no host is list. I checked the image, there it was. From that on I made test of creating hosts. Import csv, import from .sql files, all were ok, but manual host creation was still missing. I know that most of my hosts are registered from host itself or mass import as csv, but was completly shocked that i cannot create host from webui.
As I have spare hw shortage now for test, I go back to virtual machines and do more test, get more information, too. As I am finished, i will fill in maybe more holes in informations. And ofc I did digging on forum for mentioning this before, but all I could find was not totally same issues, this is why I posted mine (basically no error in any logs and host is not craeated, with no warnings or so)
more on it: I had no entry in host db at all. i can only see the image entry. Like i created host to /dev/nul
[quote=“Tom Elliott, post: 36921, member: 7271”]Um, what?
Do the hosts that you “register” exist in the DB? Yes you may have to actually peer into the real database to find out. Do you have ID Entries of 0?
Maybe you could verify that the database for the hosts table is in working order running a repair on it?[/quote]
-
I know that I disappeared a bit with this issue, but as I wanted to make a reproducable version of this problem I created many virtual box instances to make a closer look on the problem. And now, for reason unknown, I cannot reproduce the issue. Hosts are created as I want them to be, etc. Really, really dont get the problem, what happened. If I again can reproduce the issue maybe I will be aware of the reasons.