*Solved!* Because I installed Foreman on a VM, I also have to enable *foreman_compute_libvirt* puppet module (luckily, we can run *foreman-installer* multiple times without breaking the system): # foreman-installer --enable-foreman-compute-libvirt
After it completed (and about 15 minutes passed), the host automatically appears in Foreman without having to run *puppet agent --test* again, didn't know why. เมื่อ วันพุธที่ 17 สิงหาคม ค.ศ. 2016 16 นาฬิกา 51 นาที 54 วินาที UTC+7, Wee Sritippho เขียนว่า: > > Hi, I'm following this guide: > https://theforeman.org/manuals/1.12/index.html#2.2PuppetManagement > > When I run: > > # puppet agent --test > > I got these result: > > Warning: Unable to fetch my node definition, but the agent run will >> continue: >> Warning: Find /puppet/v3/node/ >> foreman.forest.go.th?environment=production&configured_environment=production&tra... >> >> resulted in 404 with the message: {"message":"Not Found: Could not find >> node foreman.forest.go.th","issue_kind":"RESOURCE_NOT_FOUND"} >> Info: Retrieving pluginfacts >> Info: Retrieving plugin >> Error: Could not retrieve catalog from remote server: Error 500 on >> SERVER: Server Error: Could not find node 'foreman.forest.go.th'; cannot >> compile >> Warning: Not using cache on failed catalog >> Error: Could not retrieve catalog; skipping run >> > > Which is OK (according to the guide). However, when I click the *Hosts* > tab > All hosts, my Foreman host isn't visible in the list. > > How should I fix this? Thank you. > > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
