[LU-4681] llmount.sh error message when parsing NID can be better defined Created: 27/Feb/14  Updated: 03/Jun/14  Resolved: 06/May/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.6.0

Type: Bug Priority: Minor
Reporter: Bobbie Lind (Inactive) Assignee: Bobbie Lind (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Severity: 3
Rank (Obsolete): 12869

 Description   

When running llmount.sh it can error when trying to parse the NID while formatting the OSTs. It errors with the following:

Formatting mgs, mds, osts
Format mds1: /tmp/lustre-mdt1
Format ost1: /tmp/lustre-ost1
mkfs.lustre: Can't parse NID 'lustremaster@tcp'
mkfs.lustre: exiting with 1 (Operation not permitted)

This error could be better stated by saying that 'hostname' with address needs to be added to /etc/hosts, or something to give users a better idea how to fix this problem.



 Comments   
Comment by Andreas Dilger [ 28/Feb/14 ]

In particular, this issue relates to the loopback address 127.0.0.1, which some distros set up for the hostname in /etc/passwd instead of a proper externally-visible IP address.

Comment by Bobbie Lind (Inactive) [ 28/Mar/14 ]

Patch submitted http://review.whamcloud.com/9848

Comment by Bobbie Lind (Inactive) [ 06/May/14 ]

Landed for 2.6

Generated at Sat Feb 10 01:44:55 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.