Closed alshaboti closed 5 years ago
1) README.md
issue; fixed in #14 and is now merged
2) Surprising that fuser
was missing in 16.04 by default; will add psmisc
to deps; fix in #17
3) Can't reproduce yet; @alshaboti could you possibly
a) confirm that it happens with the latest FAUCET master
b) provide a faucet.yaml
that triggers the bug?
c) include the output or log file from faucetagent.py
?
3) Looks like the same issue as #19 which is technically not a bug but expected behavior with an older version of FAUCET.
Created #20 to add FAUCET version 1.9.3+ version requirement to README.md
.
@alshaboti Can you confirm that the same config_files
exception occurs with FAUCET version 1.9.3 and FAUCET master?
I installed faucet from apt repo as follows.
apt-get install curl gnupg apt-transport-https lsb-release -y \
&& echo "deb https://packagecloud.io/faucetsdn/faucet/$(lsb_release -si
| awk '{print tolower($0)}')/ $(lsb_release -sc) main" | tee
/etc/apt/sources.list.d/faucet.list \
&& curl -L https://packagecloud.io/faucetsdn/faucet/gpgkey | apt-key
add - \
&& apt-get update \
&& apt-get install faucet -y
On Tue, May 21, 2019 at 12:44 PM lantz notifications@github.com wrote:
- Might be the same as #19 https://github.com/faucetsdn/faucetagent/issues/19 which is technically not a bug but expected behavior with an older version of FAUCET.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/faucetsdn/faucetagent/issues/16?email_source=notifications&email_token=AEE3Q3VDNR3Q2444B4UHRJLPWNAXBA5CNFSM4HN57WHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2N3ZA#issuecomment-494198244, or mute the thread https://github.com/notifications/unsubscribe-auth/AEE3Q3U4NS4QIYAISVLILGTPWNAXBANCNFSM4HN57WHA .
-- Best regards, Mohammed Al-Shaboti
It is Faucet version 1.9.2.
On Tue, May 21, 2019 at 1:37 PM Mohammed Alshaboti alshaboti.it@gmail.com wrote:
I installed faucet from apt repo as follows.
apt-get install curl gnupg apt-transport-https lsb-release -y \ && echo "deb https://packagecloud.io/faucetsdn/faucet/$(lsb_release -si | awk '{print tolower($0)}')/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/faucet.list \ && curl -L https://packagecloud.io/faucetsdn/faucet/gpgkey | apt-key add - \ && apt-get update \ && apt-get install faucet -y
On Tue, May 21, 2019 at 12:44 PM lantz notifications@github.com wrote:
- Might be the same as #19 https://github.com/faucetsdn/faucetagent/issues/19 which is technically not a bug but expected behavior with an older version of FAUCET.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/faucetsdn/faucetagent/issues/16?email_source=notifications&email_token=AEE3Q3VDNR3Q2444B4UHRJLPWNAXBA5CNFSM4HN57WHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2N3ZA#issuecomment-494198244, or mute the thread https://github.com/notifications/unsubscribe-auth/AEE3Q3U4NS4QIYAISVLILGTPWNAXBANCNFSM4HN57WHA .
-- Best regards, Mohammed Al-Shaboti
-- Best regards, Mohammed Al-Shaboti
Yes, you are right, it is because of Facuet version. I installed Faucet using pip3, and it works fine. Faucet version in apt is 1.9.2 and in pip3 is 1.9.4
Thanks
On Tue, May 21, 2019 at 1:50 PM Mohammed Alshaboti alshaboti.it@gmail.com wrote:
It is Faucet version 1.9.2.
On Tue, May 21, 2019 at 1:37 PM Mohammed Alshaboti alshaboti.it@gmail.com wrote:
I installed faucet from apt repo as follows.
apt-get install curl gnupg apt-transport-https lsb-release -y \ && echo "deb https://packagecloud.io/faucetsdn/faucet/$(lsb_release -si | awk '{print tolower($0)}')/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/faucet.list \ && curl -L https://packagecloud.io/faucetsdn/faucet/gpgkey | apt-key add - \ && apt-get update \ && apt-get install faucet -y
On Tue, May 21, 2019 at 12:44 PM lantz notifications@github.com wrote:
- Might be the same as #19 https://github.com/faucetsdn/faucetagent/issues/19 which is technically not a bug but expected behavior with an older version of FAUCET.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/faucetsdn/faucetagent/issues/16?email_source=notifications&email_token=AEE3Q3VDNR3Q2444B4UHRJLPWNAXBA5CNFSM4HN57WHKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODV2N3ZA#issuecomment-494198244, or mute the thread https://github.com/notifications/unsubscribe-auth/AEE3Q3U4NS4QIYAISVLILGTPWNAXBANCNFSM4HN57WHA .
-- Best regards, Mohammed Al-Shaboti
-- Best regards, Mohammed Al-Shaboti
-- Best regards, Mohammed Al-Shaboti
OK, when #20 is merged I will close this.
@alshaboti What distribution and version of linux are you using? I just checked the packaging server and it has debs for faucet 1.9.4.
This command might help you debug:
$ apt-cache policy python3-faucet
@gizmoguy I am using ubuntu:16:04, for some reason it was installing 1.9.2. Maybe I forgot to update it. It works fine now. sorry for this part. Thank you.
I think we can declare this as fixed in #20. Thanks everyone.
I am using gNMI faucet agent to remotely get and set faucet.yaml file.
gnmi_get works fine, but when I tried to use gnmi_set I get these issues: Note: I am using docker ubuntu:16.04 image.
1- gnmi_set $AUTH -replace=/:$(<faucet.yaml) not working
2- It works with qutation "$(<faucet.yaml)" but I got a new error "fuser not found"
F0518 13:13:52.315985 37 gnmi_set.go:160] Set failed: rpc error: code = Unknown desc = Exception calling application: [Errno 2] No such file or directory: 'fuser'
root@8c57dfa15a14:/pegler/etc/faucet# gnmi_set $AUTH -replace=/:"$(<faucet.yaml)" == setRequest: replace: < path: <
F0518 13:28:21.209323 55 gnmi_set.go:160] Set failed: rpc error: code = Unknown desc = Exception calling application: 'config_files'