Page MenuHomePhabricator

puppet run on a fresh eqiad instance complains about mount errors
Closed, ResolvedPublic

Description

Detials

First thing that happened when start to migrate some instances ;)

Project: wikidata-build

https://wikitech.wikimedia.org/wiki/Nova_Resource:Wikidata-build

Instance: wikidata-builder2

https://wikitech.wikimedia.org/wiki/Nova_Resource:I-00000109.eqiad.wmflabs
From Puppet

notice: /Stage[main]/Role::Labs::Instance/Mount[/home]/ensure: ensure changed 'unmounted' to 'mounted'
err: /Stage[main]/Role::Labs::Instance/Mount[/home]: Could not evaluate: Execution of '/bin/mount -o rw,vers=4,bg,hard,intr,sec=sys,proto=tcp,port=0,noatime /home' returned 32: mount.nfs: mounting labstore.svc.eqiad.wmnet:/project/wikidata-build/home failed, reason given by server:

No such file or directory

notice: /Stage[main]/Role::Labs::Instance/Mount[/data/project]/ensure: ensure changed 'unmounted' to 'mounted'
err: /Stage[main]/Role::Labs::Instance/Mount[/data/project]: Could not evaluate: Execution of '/bin/mount -o rw,vers=4,bg,hard,intr,sec=sys,proto=tcp,port=0,noatime /data/project' returned 32: mount.nfs: mounting labstore.svc.eqiad.wmnet:/project/wikidata-build/project failed, reason given by server:

No such file or directory
From Irc

12:54 PM <hashar> addshore: puppet might be triggered before /home had an opportunity to be configured/mounted
12:54 PM <hashar> ah no
12:54 PM <hashar> the NFS server has no home did for wikidata :]
12:54 PM <hashar> labstore.svc.eqiad.wmnet:/project/wikidata-build/home failed, reason given by server:
12:56 PM <scfc_de> I assume that should be created on project creation (well before instance creation); could you file a bug?
12:58 PM <scfc_de> (Or for legacy projects that were created before eqiad Labs: By the Labs admins :-).)


Version: unspecified
Severity: normal

Details

Reference
bz62252

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:59 AM
bzimport set Reference to bz62252.
bzimport added a subscriber: Unknown Object (MLST).

2:27 PM <Coren> addshore: The project was created without the 'shared home' and 'shared project dir' option?
2:27 PM — addshore does not recall
2:28 PM <Coren> addshore: Manage projects -> configure -> checkboxes at the top. :-)
2:30 PM <addshore> lovely Coren :D so tick those 2 boxes and re run puppet and magic things will whur and things shall be fixed? ;p
2:30 PM <Coren> addshore: There's a delay before those get created though; ~5min as a rule. But yeah.
2:30 PM <addshore> awesome :)

sebastian.brueckner wrote:

Why is this fixed? The same issue is still occuring (for the pubsubhubbub.eqiad.wmflabs instance).
Shouldn't puppet stop enforcing the two mount points in case the boxes aren't checked like at pmtpa?
We neither need shared home directories nor a project share, so applying this "fix" is just a waste of resources and unnecessary complexity for us.