[Openstack] [Fuel] node name issue

Jim Okken jim at jokken.com
Tue Sep 26 16:00:08 UTC 2017


also I should add, I dont have the original hard drives in the system so it
isn't because it is booting the old OS where these node names were set.
this is definitely the newly installed OS being given the wroing hostname



is there a database this is all kept in? maybe I could look around and find
where these old node names are being saved?

thanks!

-- Jim

On Mon, Sep 25, 2017 at 6:03 PM, Jim Okken <jim at jokken.com> wrote:

> hi all,
>
> I am using Fuel 10.
>
> i have 2 nodes I am trying to deploy as compute nodes. at one time in the
> past I was attempting to deploy them too. I assume back then their node
> names were node-11 and node-20.
>
> they were never successfully deploy and now I've worked out their hardware
> issues and are attempting to deploy them again. now Fuel has given them the
> names node-80 and node-81.
> (i may be at 80 in my node names but I only have 17 nodes so far)
>
> the deploy of these 2 nodes does not get past installing Ubuntu. The nodes
> reboot after Ubuntu is installed and come up incorrectly as node-11 and
> node-20. After that Fuel sits for a long while and then gives an error
> (pasted at the end of email). I assume the nodes come up with the wrong
> name/ip/ssh-key and Fuel can't contact them.
>
> I'm a novice at using the fuel and fuel2 cli's but I've tried deleting
> these nodes and removing from database. Then re-PXE boot the nodes and
> start a fresh deploy just to have them named node11 and 20 again. Fuel cli
> does show the correct host name for these nodes, but I've tried anyway to
> (re)set the host name for these node with no affect.
>
> If I try to delete node-11 and node-20 I get this error
> 404 Client Error: Not Found for url: http://10.20.243.1:8000/api/
> v1/nodes/?ids=11 (NodeCollection not found)
>
> what can I do to get past this please?
>
>
>
> Errors from the Fuel Astute log:
> 2017-09-25 21:06:28 ERROR [1565] Error running provisioning:
> #<RuntimeError: Could not find any hosts in discovery data provided> ,
> trace: ["/usr/share/gems/gems/astute-10.0.0/lib/astute/mclient.rb:178:in
> `rescue in initialize_mclient'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/mclient.rb:161:in `initialize_mclient'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/mclient.rb:51:in
> `initialize'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:421:in
> `new'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:421:in
> `run_shell_without_check'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/nailgun_hooks.rb:449:in `update_node_status'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:313:in
> `reboot_hook'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:38:in
> `block in process'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/nailgun_hooks.rb:26:in `each'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:26:in
> `process'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/image_provision.rb:117:in
> `reboot'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:273:in
> `soft_reboot'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:240:in
> `provision_piece'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:126:in `block (3 levels) in
> provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:309:in `call'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:309:in
> `sleep_not_greater_than'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:120:in `block (2 levels) in
> provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:119:in `loop'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:119:in `block
> in provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:118:in `catch'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:118:in
> `provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:52:in `provision'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/orchestrator.rb:109:in
> `provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:46:in
> `provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:37:in
> `image_provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:172:in
> `dispatch_message'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/server/server.rb:131:in `block in dispatch'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in
> `call'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in
> `block in each'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/server/task_queue.rb:56:in `each'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:56:in
> `each'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in
> `each_with_index'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in
> `dispatch'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:106:in
> `block in perform_main_job'"]
> 2017-09-25 21:06:26 ERROR [1565] Error occured while provisioning:
> #<Astute::MClientError: #<RuntimeError: Could not find any hosts in
> discovery data provided> >
> 2017-09-25 21:06:26 ERROR [1565] No more retries for MCollective client
> instantiation after exception: ["/usr/share/gems/gems/
> mcollective-client-2.8.4/lib/mcollective/rpc/client.rb:507:in
> `discover'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/mclient.rb:167:in
> `initialize_mclient'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/mclient.rb:51:in `initialize'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:421:in
> `new'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:421:in
> `run_shell_without_check'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/nailgun_hooks.rb:449:in `update_node_status'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:313:in
> `reboot_hook'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:38:in
> `block in process'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/nailgun_hooks.rb:26:in `each'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/nailgun_hooks.rb:26:in
> `process'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/image_provision.rb:117:in
> `reboot'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:273:in
> `soft_reboot'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:240:in
> `provision_piece'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:126:in `block (3 levels) in
> provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:309:in `call'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:309:in
> `sleep_not_greater_than'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:120:in `block (2 levels) in
> provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:119:in `loop'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:119:in `block
> in provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:118:in `catch'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/provision.rb:118:in
> `provision_and_watch_progress'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/provision.rb:52:in `provision'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/orchestrator.rb:109:in
> `provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:46:in
> `provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/dispatcher.rb:37:in
> `image_provision'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:172:in
> `dispatch_message'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/server/server.rb:131:in `block in dispatch'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in
> `call'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:64:in
> `block in each'", "/usr/share/gems/gems/astute-
> 10.0.0/lib/astute/server/task_queue.rb:56:in `each'",
> "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/task_queue.rb:56:in
> `each'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in
> `each_with_index'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:128:in
> `dispatch'", "/usr/share/gems/gems/astute-10.0.0/lib/astute/server/server.rb:106:in
> `block in perform_main_job'"]
> 2017-09-25 21:06:21 ERROR [1565] Retrying RPC client instantiation after
> exception: #<RuntimeError: Could not find any hosts in discovery data
> provided>
> 2017-09-25 21:06:16 ERROR [1565] Retrying RPC client instantiation after
> exception: #<RuntimeError: Could not find any hosts in discovery data
> provided>
> Version: 10.0
>
>
> -- Jim
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170926/b27f4e10/attachment.html>


More information about the Openstack mailing list