Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ipfs add on azure filestore results in interrupted system call #7720

Open
lizelive opened this issue Oct 8, 2020 · 5 comments
Open

ipfs add on azure filestore results in interrupted system call #7720

lizelive opened this issue Oct 8, 2020 · 5 comments
Labels
kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization

Comments

@lizelive
Copy link

lizelive commented Oct 8, 2020

Version information:

go-ipfs version: 0.7.0
Repo version: 10
System version: amd64/linux
Golang version: go1.14.4

Description:

  1. do fresh install of ipfs on azure linux vm
  2. mount filesystem
  3. test filesystem works by copying a few files
  4. try to ipfs add files ipfs add -r -Q -p /mnt/dataset/
  5. works briefly and then fails with Error: read /mnt/dataset/sample.jpg: interrupted system call

I mounted some more drives and am copying the files and that seems to be working but I am wondering what i am doing well. I would prefer in the future not to need to do that as these are pretty big datasets and the extra copy stage takes several hours.

@lizelive lizelive added kind/bug A bug in existing code (including security flaws) need/triage Needs initial labeling and prioritization labels Oct 8, 2020
@welcome
Copy link

welcome bot commented Oct 8, 2020

Thank you for submitting your first issue to this repository! A maintainer will be here shortly to triage and review.
In the meantime, please double-check that you have provided all the necessary information to make this process easy! Any information that can help save additional round trips is useful! We currently aim to give initial feedback within two business days. If this does not happen, feel free to leave a comment.
Please keep an eye on how this issue will be labeled, as labels give an overview of priorities, assignments and additional actions requested by the maintainers:

  • "Priority" labels will show how urgent this is for the team.
  • "Status" labels will show if this is ready to be worked on, blocked, or in progress.
  • "Need" labels will indicate if additional input or analysis is required.

Finally, remember to use https://discuss.ipfs.io if you just need general support.

@jacobheun jacobheun added the need/analysis Needs further analysis before proceeding label Oct 9, 2020
@aschmahmann
Copy link
Contributor

aschmahmann commented Nov 6, 2020

Do you have any way for folks to reproduce this issue? Is it unique to Azure, or happening in other environments as well?

It looks like the issue is reading the file from the filesystem, not related to go-ipfs itself or its internal datastore, but if there's reproducible this is much easier to investigate.

@lizelive
Copy link
Author

lizelive commented Nov 6, 2020

@axelgMS
Copy link

axelgMS commented Jan 6, 2021

might be related to http://unixetc.co.uk/2020/04/06/interrupted-system-call-with-cifs-mount-on-kernel-5-3-0/

@edperry
Copy link

edperry commented May 6, 2021

Yes I am coming up with this problem too

My way to create this is deploy IPFS as docker and use AZURE file store to add space to the /

2021-05-05T17:24:09.044Z	ERROR	engine	blockstore.GetSize(QmcXW7gydQwur59SEt6jY4Dxo5qqCVM1RKmwofpvQnowh8) error: stat /data/ipfs/blocks/BZ/AFYBEIGSZNFA6E5LBBYGIVIO2P3EYCNB7OET6RZ5TOGPQPJHBL7RRTFBZ4.data: interrupted system call
2021-05-05T17:24:12.321Z	ERROR	engine	blockstore.GetSize(QmRR22joqkyQAgVaEHaLS5LdPxL8DBoTdPQ3Z4pRUPnep2) error: stat /data/ipfs/blocks/XU/AFYBEIBNWF67KUIOMQLEE4WJZNDH4WSMGYXASXZJCZIZEVYZXUOMGHFXUM.data: interrupted system call
2021-05-05T17:24:14.286Z	ERROR	engine	blockstore.GetSize(QmZRzRzZUTxPjNkuAPGv91eSG7uPhy3huiAtEYBit8rmRX) error: stat /data/ipfs/blocks/R6/AFYBEIFEZ3BJWCI4FY3O2YBDTYRK35FYWWCSJP2AAVJBY46LBMCJNSRR6Y.data: interrupted system call
2021-05-05T17:24:15.749Z	ERROR	engine	blockstore.GetSize(bafk2bzacea3u6gnvmj7sspyuuozxg3j5w6kcv4izdgl6terydob2nieo5dxng) error: stat /data/ipfs/blocks/XN/AFK2BZACEA3U6GNVMJ7SSPYUUOZXG3J5W6KCV4IZDGL6TERYDOB2NIEO5DXNG.data: interrupted system call
apiVersion: '2019-12-01'
type: Microsoft.ContainerInstance/containerGroups
location: westus
name: ipfs
properties:
  containers:
  - name: ipfs-node1
    properties:
      environmentVariables: []
      image: ipfs/go-ipfs
      ports:
      - port: 4001
      - port: 5001
      - port: 8080
      resources:
        requests:
          cpu: 1.0
          memoryInGB: 2
      volumeMounts:
      - mountPath: /data/ipfs
        name: dataipfs
      - mountPath: /export
        name: exportipfs
  osType: Linux
  restartPolicy: Always
  ipAddress:
    type: Public
    ports:
      - port: 4001
      - port: 5001
      - port: 8080
    dnsNameLabel: ipfsn1
  volumes:
  - name: dataipfs
    azureFile:
      sharename: sndatan1
      storageAccountName: sanipfsnode1
      storageAccountKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  - name: exportipfs
    azureFile:
      sharename: sndatan1
      storageAccountName: sanipfsnode1
      storageAccountKey: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
tags: {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws) need/analysis Needs further analysis before proceeding need/triage Needs initial labeling and prioritization
Projects
None yet
Development

No branches or pull requests

5 participants