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

Fix NFS mount #7

Merged
merged 2 commits into from
Oct 6, 2020
Merged

Fix NFS mount #7

merged 2 commits into from
Oct 6, 2020

Conversation

Gasol
Copy link
Contributor

@Gasol Gasol commented Oct 6, 2020

I don't know where does NFS constant come from, So I assume it would be nfs as literal string.

Here were the error message and storage settings I met:

nebula=> SELECT * FROM storages;
 id |                                    settings
----+---------------------------------------------------------------------------------
  1 | {"path": "127.0.0.1:/mnt/production", "title": "production", "protocol": "nfs"}
  2 | {"path": "127.0.0.1:/mnt/playout", "title": "playout", "protocol": "nfs"}
(2 rows)
2020-10-06 09:43:03 ERROR       nebula          Exception!

    Traceback (most recent call last):
      File "/opt/nebula/nx/agents.py", line 40, in run
        self.main()
      File "/opt/nebula/nx/storage_monitor.py", line 57, in main
        self.mount(storage)
      File "/opt/nebula/nx/storage_monitor.py", line 96, in mount
        elif storage["protocol"] == NFS:
    NameError: name 'NFS' is not defined
@martastain martastain merged commit fc6912f into nebulabroadcast:master Oct 6, 2020
@martastain
Copy link
Member

Of course. It actually means no one used NFS since version 5 was released. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants