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

Policy editing is not stable #793

Closed
manrodrigues opened this issue Jan 25, 2022 · 4 comments
Closed

Policy editing is not stable #793

manrodrigues opened this issue Jan 25, 2022 · 4 comments
Assignees
Labels
bug Something isn't working OKR Q1 orb-ui Anything related to the angular UI p1 An issue that needs to be addressed fast. Such an issue that blocks the majority of users

Comments

@manrodrigues
Copy link
Contributor

manrodrigues commented Jan 25, 2022

After update orb-agent i'm not enable to edit a policy anymore.

Using the agent provisioned with old version I was able to edit, but using agent provisioned with last version, editing is not enabled.

  • I tried on localhost and the behavior is the same
  • I removed the old agent and provisioned another one using new orb-agent (using tester@email.com account) and editing of the same policies that were working before, is not working anymore

edit_policies

@manrodrigues manrodrigues added bug Something isn't working p1 An issue that needs to be addressed fast. Such an issue that blocks the majority of users labels Jan 25, 2022
@iatdaitan iatdaitan added the orb-ui Anything related to the angular UI label Jan 28, 2022
@gpazuch
Copy link
Contributor

gpazuch commented Jan 28, 2022

I'll need to debug this scenario to find out what is happening.

When talking about versions, @manrodrigues , you mean versions of the orb-agent or the orb-ui?

@iatdaitan iatdaitan changed the title Policy edition is not stable Policy editing is not stable Feb 4, 2022
@manrodrigues
Copy link
Contributor Author

manrodrigues commented Feb 9, 2022

Orb live:
Editing working!!!

{"name":"policy-fail-editing","description":"","backend":"pktvisor","tags":{},"version":1,"policy":{"kind":"collection","input":{"tap":"default_pcap","input_type":"pcap"},"handlers":{"modules":{"handler_dns_1":{"type":"dns"}}}}}

@manrodrigues
Copy link
Contributor Author

Localhost:
Editing not working:

{"id":"6b0a07ff-4721-4ae0-8caf-d4648b415471","name":"policy-localhost-error","tags":{},"backend":"pktvisor","schema_version":"1.0","policy":{"handlers":{"modules":{"handler_dns_1":{"filter":{},"type":"dns"}}},"input":{"input_type":"pcap","tap":"default_pcap"},"kind":"collection"},"ts_last_modified":"0001-01-01T00:00:00Z"}

@manrodrigues
Copy link
Contributor Author

ok

image

{"level":"info","ts":1644429158.613835,"caller":"pktvisor/pktvisor.go:247","msg":"pktvisor stdout","log":"[2022-02-09 17:52:38.613] [visor] [info] REQUEST: POST /api/v1/policies 200"}
{"level":"info","ts":1644429158.6139433,"caller":"policyMgr/manager.go:175","msg":"policy applied successfully","policy_id":"7d0ad672-8c51-417b-85f9-7f7849a7e46f","policy_name":"policy-dns"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working OKR Q1 orb-ui Anything related to the angular UI p1 An issue that needs to be addressed fast. Such an issue that blocks the majority of users
Projects
None yet
Development

No branches or pull requests

3 participants