Setting hostname for nodes
We have been setting the Fuel server name & the server hostname via a script which matched the PXE mac.
We use 2 commands:
1) Set server name in Fuel
[root@fuel ~]#psql -U nailgun -h $PGHOST -c "UPDATE nodes SET name = 'A1_ru40' where id in (select node_id from node_nic_interfaces as ni where ni.mac = '00:21:
2) Set the server hostname
[root@fuel ~]# fuel node --node-id 0b:41 --hostname A1_ru40
DEPRECATION WARNING: /etc/fuel/
400 Client Error: Bad Request (hostname: u'A1_ru40' does not match '^([a-zA-
Question: What does this deprecation warning mean?
Is there a better way to set the Fuel master name and the server hostname?
Thanks,
Rob
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Rob Neff for more information if necessary.