This project is mirrored from https://gitee.com/cowcomic/pixie.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer.
  1. 14 May, 2021 18 commits
  2. 13 May, 2021 18 commits
    • Michelle Nguyen's avatar
      PP-2736 Update vz hearbeat proto to contain autoUpdate config · 45cd44de
      Michelle Nguyen authored
      Summary:
      we are moving the autoupdate config to helm charts, which ultimately leads to a configmap.
      this diff adds autoUpdate to the heartbeat, so that the vizier can inform vzmgr of whether autoupdate is disabled or not.
      
      Test Plan: n/a
      
      Reviewers: zasgar, vihang, nserrino
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2736
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8601
      
      GitOrigin-RevId: 68b6aab8e1e13367d988376513e59d71902e096e
      45cd44de
    • Michelle Nguyen's avatar
      PP-2736 Disable users to enable/disable auto-update from CLI · 34cf0492
      Michelle Nguyen authored
      Summary: we are updating autoUpdate so that users can disable/enable it from a helm chart config. this means we should disable our old scheme of changing autoupdate, as we want to avoid a complex splitbrain problem where it can be updated from two separate methods
      
      Test Plan: tried it out, `px config update` will complain this field is no longer update-able through this method
      
      Reviewers: vihang, zasgar, nserrino
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2736
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8600
      
      GitOrigin-RevId: 94de2e6594bf19c895dc9d62163cc91d9604e12e
      34cf0492
    • Michelle Nguyen's avatar
      PC-900 Add UpdateOrgUser proto in profile service · aa26bd54
      Michelle Nguyen authored
      Summary: this diff updates UpdateUser so that we can also set the "isApproved" field. there are permission checks to make sure the user can update their profile picture/another user is authorized to approve the user.
      
      Test Plan: existing tests pass  + new unit tests
      
      Reviewers: vihang, philkuz, nserrino
      
      Reviewed By: vihang, philkuz
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8570
      
      GitOrigin-RevId: db872709324060f144241c85e6b3e1de1c577c3e
      aa26bd54
    • Michelle Nguyen's avatar
      Revert "[PC-674] UI Performance Improvements; start to untangle state management" · 19c20562
      Michelle Nguyen authored
      Summary:
      This reverts commit ed05cc19bb9ace61579aa5591ed9d552f2917dc2.
      this introduces a few bugs, such as breaking tracepoint execution, and incorrect handling of error states when a user runs an invalid script.
      
      Test Plan: ran on staging. confirmed the existing bugs are gone.
      
      Reviewers: vihang, nlanam
      
      Reviewed By: vihang, nlanam
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8599
      
      GitOrigin-RevId: 676173af1221c4e3dc3cacce57ef5a59284d5bfd
      19c20562
    • Vihang Mehta's avatar
      Remove/reserve some deprecated proto fields · cfe03a4f
      Vihang Mehta authored
      Summary: Move reserved to the bottom, remove fields marked as deprecated.
      
      Test Plan: Existing tests.
      
      Reviewers: zasgar
      
      Reviewed By: zasgar
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8560
      
      GitOrigin-RevId: 6d028b664deaa54105d0983b677a9e1ea76f8ccd
      cfe03a4f
    • Vihang Mehta's avatar
      Fix hydra clients valid callbacks · 8714b413
      Vihang Mehta authored
      Summary: TSIA
      
      Test Plan: Ran it
      
      Reviewers: philkuz
      
      Reviewed By: philkuz
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8592
      
      GitOrigin-RevId: 9533ab31b40dc59011d0cdaef840a7e6ce83ce10
      8714b413
    • Omid Azizi's avatar
      Test for BPF map leaks caused by Unix Domain Sockets · d7e12450
      Omid Azizi authored
      Summary:
      This contains a disabled test that demonstrates that we have a BPF map leak with Unix domain sockets.
      
      Next step will be to figure out how to fix the BPF map leak.
      
      Test Plan: This is a demonstrative test.
      
      Reviewers: #stirling, yzhao
      
      Reviewed By: #stirling, yzhao
      
      Subscribers: yzhao
      
      JIRA Issues: PP-2735
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8580
      
      GitOrigin-RevId: 52dcb288b3ef108ecb7a4708fe7b4e20f187de21
      d7e12450
    • Omid Azizi's avatar
      UnixSocket class · dcdc4e22
      Omid Azizi authored
      Summary: Parallels TCPSocket. To be used in a test for leaking BPF map entries.
      
      Test Plan: Test included.
      
      Reviewers: #stirling, yzhao
      
      Reviewed By: #stirling, yzhao
      
      Subscribers: yzhao
      
      JIRA Issues: PP-2735
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8579
      
      GitOrigin-RevId: d0d60edb0ff36291bbc672bb1c7a5d435d3a5641
      dcdc4e22
    • Omid Azizi's avatar
      Random collection of clean-ups · d97be706
      Omid Azizi authored
      Summary: Spawning off from a forth-coming large diff. Trying to make that more reviewable.
      
      Test Plan: Existing tests
      
      Reviewers: #stirling, jps
      
      Reviewed By: #stirling, jps
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8565
      
      GitOrigin-RevId: 24310fb9531b7d9b4da8c5f271046181ef59ec30
      d97be706
    • Pete Stevenson's avatar
      perf_profiler: Symbolizer class to own an instance of ebpf::BPFStackTable & improve tests. · 7d8ad54a
      Pete Stevenson authored
      Summary: In the stirling perf-profiler, refactor the symbolizer class such that it creates and owns an instance of ebpf::BPFStackTable, i.e. for the sole purpose of gaining access to the BCC symbolization API. Previously, we inadvertantly and inefficiently used two instances of the same because of our double buffering technique. This change also improves the test cases for the symbolizer and for the perf profile connector.
      
      Test Plan: Existing (and improved) tests.
      
      Reviewers: #stirling, oazizi
      
      Reviewed By: #stirling, oazizi
      
      Subscribers: oazizi
      
      JIRA Issues: PP-2688
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8584
      
      GitOrigin-RevId: 44a53af140d60edcbb2e40b379c167cfea1dd8c0
      7d8ad54a
    • Pete Stevenson's avatar
      perf_profile_connector.cc: re-sort the function bodies to be in 'call-stack' order · b84b0d49
      Pete Stevenson authored
      Summary: This is not a code change, just moving the function bodies around in file perf_profile_connector.cc. We re-sort the function bodies to be in 'call-stack' order.
      
      Test Plan: Existing tests
      
      Reviewers: #stirling, yzhao, oazizi
      
      Reviewed By: #stirling, yzhao, oazizi
      
      JIRA Issues: PP-2688
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8576
      
      GitOrigin-RevId: 1e2141493030ef98c7ea74263bfbb03bd0545b5f
      b84b0d49
    • Omid Azizi's avatar
      BCCWrapper: Kernel Tracepoint support · 9157a77a
      Omid Azizi authored
      Summary: Plan on using tracepoints for some BPF map leak cleanup.
      
      Test Plan: Basic test added.
      
      Reviewers: #stirling, jps
      
      Reviewed By: #stirling, jps
      
      Subscribers: jps
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8586
      
      GitOrigin-RevId: 6085d798da8ec6f3048a938b4d30a480afeeab47
      9157a77a
    • Phillip Kuznetsov's avatar
      PP-2668: Disable specific profile subtest, and re-enable overall profile_test · 2b0c222e
      Phillip Kuznetsov authored
      Summary: profile test has a lot of critical tests that should be enabled. I disabled one test so that the rest can function.
      
      Test Plan: Ran the tests and had no problems. Test was now discovered in other places.
      
      Reviewers: michelle, vihang, zasgar
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2668
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8590
      
      GitOrigin-RevId: ebf9e020d9881ceb359a9bfae6aa9477a83616af
      2b0c222e
    • Phillip Kuznetsov's avatar
      PC-901: Default approve user that creates an org. · 9b73cc57
      Phillip Kuznetsov authored
      Summary: Users that create an organization should be default approved.
      
      Test Plan: Tested on skaffold. Users who create an org will be default approved. Subsequent users will not be approved.
      
      Reviewers: michelle, vihang, zasgar
      
      Reviewed By: michelle
      
      JIRA Issues: PC-901
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8588
      
      GitOrigin-RevId: 7b4d2786036e8cb7ac9f7445e1d1c3672e858865
      9b73cc57
    • Vihang Mehta's avatar
      Make cloud-proxy config accept any domain name · 4a3efaf3
      Vihang Mehta authored
      Summary:
      We used to hardcode valid server_name values in the cloud ngingx config.
      To enable OSS pixie deployments, we need these to be configurable by demand.
      
      nginx/openresty do not allow use of variables in the `server_name` directive,
      so instead we use a script to call out to `sed` and set the `server_name` value
      based on the `PL_DOMAIN_NAME` env and then start up openresty.
      
      Test Plan:
      Ran a dev cloud. Inspected the nginx config inside the proxy container
      noticed that the server_name values were correctly set.
      Deployed viziers to dev cloud. Accessed via the browser. It all worked.
      
      Reviewers: zasgar, michelle
      
      Reviewed By: zasgar, michelle
      
      JIRA Issues: PC-908
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8587
      
      GitOrigin-RevId: 1bb11a87e9aa8ff723d7a32d296f35b1a0862b3e
      4a3efaf3
    • Vihang Mehta's avatar
      Fix create_cloud_sercrets for MacOS · edaa3093
      Vihang Mehta authored
      Summary:
      Using `LC_CTYPE` seems to not work with the BSD based tr on macOS.
      Setting `LANG` seems to work on macOS and linux.
      
      Test Plan: Try it out on macOS and Linux
      
      Reviewers: philkuz, michelle
      
      Reviewed By: michelle
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8585
      
      GitOrigin-RevId: c49ec7fa6b0ea809d0afc641e410868c6a804842
      edaa3093
    • Michelle Nguyen's avatar
      PP-2630 Update slackin to use public oss image path · d4355946
      Michelle Nguyen authored
      Summary: docker pushed the pl-dev-infra image to the new image path.
      
      Test Plan: n/a
      
      Reviewers: zasgar, vihang
      
      Reviewed By: vihang
      
      JIRA Issues: PP-2630
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8540
      
      GitOrigin-RevId: d0f20c927c2fc61e073469293ac3f16d20650e43
      d4355946
    • Michelle Nguyen's avatar
      Remove namespace from template generator · a6c2cd62
      Michelle Nguyen authored
      Summary: The namespace is templated, so there's no need to pass in the namespace anywhere. cleaning things up so we have less random "pl"s in our codebase.
      
      Test Plan: it builds
      
      Reviewers: vihang, nserrino
      
      Reviewed By: vihang
      
      Differential Revision: https://phab.corp.pixielabs.ai/D8577
      
      GitOrigin-RevId: 2948a8944a1f471b490326589fdcdd1b81939957
      a6c2cd62
  3. 12 May, 2021 4 commits