consul/.changelog
Dhia Ayachi d24156db14 generate a single debug file for a long duration capture (#10279)
* debug: remove the CLI check for debug_enabled

The API allows collecting profiles even debug_enabled=false as long as
ACLs are enabled. Remove this check from the CLI so that users do not
need to set debug_enabled=true for no reason.

Also:
- fix the API client to return errors on non-200 status codes for debug
  endpoints
- improve the failure messages when pprof data can not be collected

Co-Authored-By: Dhia Ayachi <dhia@hashicorp.com>

* remove parallel test runs

parallel runs create a race condition that fail the debug tests

* snapshot the timestamp at the beginning of the capture

- timestamp used to create the capture sub folder is snapshot only at the beginning of the capture and reused for subsequent captures
- capture append to the file if it already exist

* Revert "snapshot the timestamp at the beginning of the capture"

This reverts commit c2d03346

* Refactor captureDynamic to extract capture logic for each item in a different func

* snapshot the timestamp at the beginning of the capture

- timestamp used to create the capture sub folder is snapshot only at the beginning of the capture and reused for subsequent captures
- capture append to the file if it already exist

* Revert "snapshot the timestamp at the beginning of the capture"

This reverts commit c2d03346

* Refactor captureDynamic to extract capture logic for each item in a different func

* extract wait group outside the go routine to avoid a race condition

* capture pprof in a separate go routine

* perform a single capture for pprof data for the whole duration

* add missing vendor dependency

* add a change log and fix documentation to reflect the change

* create function for timestamp dir creation and simplify error handling

* use error groups and ticker to simplify interval capture loop

* Logs, profile and traces are captured for the full duration. Metrics, Heap and Go routines are captured every interval

* refactor Logs capture routine and add log capture specific test

* improve error reporting when log test fail

* change test duration to 1s

* make time parsing in log line more robust

* refactor log time format in a const

* test on log line empty the earliest possible and return

Co-authored-by: Freddy <freddygv@users.noreply.github.com>

* rename function to captureShortLived

* more specific changelog

Co-authored-by: Paul Banks <banks@banksco.de>

* update documentation to reflect current implementation

* add test for behavior when invalid param is passed to the command

* fix argument line in test

* a more detailed description of the new behaviour

Co-authored-by: Paul Banks <banks@banksco.de>

* print success right after the capture is done

* remove an unnecessary error check

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>

* upgraded github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57 => v0.0.0-20210601050228-01bbb1931b22

Co-authored-by: Daniel Nephin <dnephin@hashicorp.com>
Co-authored-by: Freddy <freddygv@users.noreply.github.com>
Co-authored-by: Paul Banks <banks@banksco.de>
2021-06-07 17:12:54 +00:00
..
7628.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
7899.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
7970.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8158.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8190.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8194.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8211.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8216.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8218.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8221.txt fix 1.9.0-beta1 changelog formatting (#8941) 2020-10-14 09:35:59 -05:00
8222.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8268.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8311.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8343.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8371.txt Introducing changelog-gen (#8387) 2020-08-06 23:15:29 +02:00
8458.txt Add http2 and grpc support to ingress gateways (#8458) 2020-08-27 15:34:08 -06:00
8470.txt update changelog snippet 2020-08-12 11:21:54 -05:00
8522.txt add primary keys to list keyring (#8522) 2020-08-18 09:50:24 +02:00
8537.txt Retroactively add changelog for PR 8537 2020-08-27 11:53:49 -04:00
8545.txt agent: expose the list of supported envoy versions on /v1/agent/self (#8545) 2020-08-26 10:04:11 -05:00
8547.txt agent: ensure that we normalize bootstrapped config entries (#8547) 2020-08-27 11:37:25 -05:00
8552.txt Added changelog for #8552 2020-08-28 23:01:04 +02:00
8560.txt Update vault CA for latest api client 2020-09-15 13:33:55 -07:00
8569.txt xds: use envoy's rbac filter to handle intentions entirely within envoy (#8569) 2020-08-27 12:20:58 -05:00
8575.txt Add helpers to the API client to help with getting information from `AgentMember` tags (#8575) 2020-08-27 11:00:48 -04:00
8585.txt Create 8585.txt 2020-09-14 14:16:47 -06:00
8588.txt add entry for 8588 (#8650) 2020-09-10 18:53:36 +02:00
8596.txt connect: all config entries pick up a meta field (#8596) 2020-09-02 14:10:25 -05:00
8599.txt AutopilotServerHealth now handles the 429 status code (#8599) 2021-03-12 14:41:25 +00:00
8601.txt connect: fix bug in preventing some namespaced config entry modifications (#8601) 2020-09-02 10:47:19 -05:00
8602.txt api: create fresh http client for unix sockets (#8602) 2020-09-06 12:27:39 -04:00
8603.txt Changelog entry for usage metrics 2020-09-02 10:48:11 -05:00
8606.txt Add support for -ca-path option in the connect envoy command (#8606) 2020-09-08 12:16:16 +02:00
8646.txt Create 8646.txt 2020-09-15 10:05:23 -07:00
8685.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
8694.txt changelog: add entries for ui_config and service metrics config (#8919) 2020-10-09 17:31:00 -04:00
8703.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
8704.txt use service datacenter for dns name (#8704) 2020-09-22 20:34:09 +02:00
8726.txt Add changelog file 2020-09-25 12:03:49 -04:00
8731.txt Consul Service meta wrongly computes and exposes non_voter meta (#8731) 2020-10-09 17:18:24 -04:00
8741.txt agent: make the json/hcl decoding of ConnectProxyConfig fully work with CamelCase and snake_case (#8741) 2020-09-24 13:58:52 -05:00
8745.txt server: make sure that the various replication loggers use consistent logging (#8745) 2020-09-24 15:49:38 -05:00
8746.txt agent: enable enable_central_service_config by default (#8746) 2020-10-01 09:19:14 -05:00
8747.txt agent: when enable_central_service_config is enabled ensure agent reload doesn't revert check state to critical (#8747) 2020-09-24 16:24:04 -05:00
8764.txt api: support GetMeta() and GetNamespace() on all config entry kinds (#8764) 2020-09-29 09:11:57 -05:00
8771.txt Add changelog entry 2020-10-20 16:42:06 -04:00
8774.txt Merge pull request #9027 from hashicorp/release/1.8.5 2020-10-26 10:59:48 -04:00
8781.txt Add per-agent reconnect timeouts (#8781) 2020-10-08 15:02:19 -04:00
8784.txt Add changelog note 2020-10-09 08:01:55 -07:00
8786.txt server: ensure that we also shutdown network segment serf instances on server shutdown (#8786) 2020-09-30 16:23:43 -05:00
8787.txt Enhance the output of consul snapshot inspect (#8787) 2020-10-09 14:57:29 -05:00
8788.txt changelog: add entries for UI topology viz (#8918) 2020-10-09 17:29:14 -04:00
8812.txt Merge pull request #8812 from jjshanks/GH-8728 2021-05-18 19:33:13 +00:00
8822.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
8834.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
8839.txt add missing changelog entry for #8839 2020-10-07 10:22:40 -05:00
8846.txt changelog: add entries for UI topology viz (#8918) 2020-10-09 17:29:14 -04:00
8855.txt command: remove conditional envoy bootstrap generation for versions <=1.10.0 since those are not supported (#8855) 2020-10-07 10:53:23 -05:00
8858.txt changelog: add entries for UI topology viz (#8918) 2020-10-09 17:29:14 -04:00
8875.txt agent: allow the /v1/connect/intentions/match endpoint to use the agent cache (#8875) 2020-10-08 14:51:53 -05:00
8877.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
8924.txt Fix: service LocallyRegisteredAsSidecar property is not persisted 2020-10-13 19:38:58 +02:00
9002.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9007.txt server: break up Intention.Apply monolithic method (#9007) 2020-11-13 15:16:34 +00:00
9008.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9009.txt changelog: add entry for fixing active CA root unset (#9323) 2020-12-03 18:45:42 +00:00
9024.txt Merge pull request #9027 from hashicorp/release/1.8.5 2020-10-26 10:59:48 -04:00
9036.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
9042.txt Merge pull request #9042 from lawliet89/tg-rewrite 2021-04-08 12:59:22 -06:00
9059.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9067.txt Merge pull request #9067 from naemono/6074-allow-config-MaxHeaderBytes 2021-01-05 17:29:33 +00:00
9081.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9088.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9099.txt changelog: add entries for 1.9.0-beta2 (#9129) 2020-11-06 22:19:14 +00:00
9101.txt agent: return the default ACL policy to callers as a header (#9101) 2020-11-12 16:39:16 +00:00
9103.txt Fixup the autopilot changelog (#9145) 2020-11-09 17:30:22 -05:00
9113.txt connect: switch the default gateway port from 443 to 8443 (#9116) 2020-11-07 01:48:02 +00:00
9119.txt changelog: add entry for Go 1.14.11 update 2020-11-09 16:07:38 -05:00
9141.txt ui: Changelog changes (#9209) 2020-11-17 11:15:35 -05:00
9142.txt Add changelog entry for autopilot state CLI (#9161) 2020-11-11 19:55:45 +00:00
9151.txt server: remove config entry CAS in legacy intention API bridge code (#9151) 2020-11-13 20:42:57 +00:00
9156.txt Add a paramter in state store methods to indicate whether a resource insertion is from a snapshot restoration (#9156) 2020-11-11 16:22:11 +00:00
9181.txt Merge pull request #9195 from hashicorp/mkcp/changelog/add-1dot9-metrics-flag-note 2020-11-13 22:46:14 +00:00
9186.txt server: skip deleted and deleting namespaces when migrating intentions to config entries (#9186) 2020-11-13 19:57:12 +00:00
9191.txt Refactor to call non-voting servers read replicas (#9191) 2020-11-17 15:54:38 +00:00
9198.txt changelog: 1.9.0 (#9265) 2020-11-24 12:21:43 -05:00
9204.txt Prevent panic if autopilot health is requested prior to leader establishment finishing. (#9204) 2020-11-16 17:14:56 -05:00
9207.txt Add DC and NS support for Envoy metrics (#9207) 2020-11-16 19:55:18 -07:00
9229.txt [1.9.0] command: when generating envoy bootstrap configs use the datacenter returned from the agent services endpoint (#9230) 2020-11-19 15:33:41 -06:00
9240.txt Require operator:write to get Connect CA config (#9240) 2020-11-23 06:27:20 -07:00
9247.txt Merge pull request #9247 from pierresouchay/streaming_predictible_order_for_health 2020-11-25 20:55:00 +00:00
9254.txt server: fix panic when deleting a non existent intention (#9254) 2020-11-24 18:44:58 +00:00
9262.txt Merge pull request #9262 from hashicorp/dnephin/docs-deprecate-old-filters 2020-12-15 22:12:13 +00:00
9271.txt Add changelog for fixing the namespace replication bug from #9271 (#9347) 2020-12-08 17:05:21 +00:00
9278.txt server: deletions of intentions by name using the intention API is now idempotent (#9278) 2021-01-04 17:27:50 +00:00
9284.txt Merge pull request #9284 from hashicorp/dnephin/agent-service-register 2020-11-27 20:50:53 +00:00
9296.txt ui: Add copyable IDs to the Role and Policy views (#9296) 2020-11-30 17:29:06 +00:00
9318.txt changelog: add entry for fixing active CA root unset (#9323) 2020-12-03 18:45:42 +00:00
9320.txt Log replication warnings when no error suppression is defined (#9320) 2021-02-10 23:32:04 +00:00
9351.txt acl: global tokens created by auth methods now correctly replicate to secondary datacenters (#9351) 2020-12-09 21:27:24 +00:00
9366.txt server: when wan federating via mesh gateways only do heuristic primary DC bypass on the leader (#9366) 2021-01-22 16:07:06 +00:00
9410.txt ui: [BUGFIX] Ensure namespace is used for node API requests (#9410) 2021-01-04 16:43:40 +00:00
9428.txt connect: connect CA Roots in the primary datacenter should use a SigningKeyID derived from their local intermediate (#9428) (#9733) 2021-02-09 16:55:11 -06:00
9432.txt ui: [BUGFIX] Request intention listing with ns parameter (#9432) 2021-01-04 17:22:46 +00:00
9440.txt Fix bug in usage metrics when multiple service instances are changed in a single transaction (#9440) 2021-01-12 21:32:29 +00:00
9442.txt ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:16:09 +00:00
9468.txt cli: Add consul intention list command (based on PR #6825) (#9468) 2021-01-12 20:15:29 +00:00
9485.txt chore: Adds changelog entry for accessibility improvements (#9509) 2021-01-08 18:20:40 +00:00
9487.txt Add changelog for #9487 (#9491) 2021-01-05 18:06:22 +00:00
9498.txt Merge pull request #9570 from hashicorp/bugfix/9498 2021-01-19 21:30:47 +00:00
9510.txt Merge pull request #9510 from pierresouchay/prometheus_metrics_help_duplicate_fix 2021-01-06 18:53:33 +00:00
9512.txt Merge pull request #9512 from pierresouchay/streaming_fix_grpc_tls2 2021-01-06 22:11:21 +00:00
9513.txt ui: Topology intention saving improvements (#9513) 2021-01-19 15:41:20 +00:00
9519.txt server: use the presense of stored federation state data as a sign that we already activated the federation state feature flag (#9519) 2021-01-28 16:35:19 +00:00
9524.txt chore: Changelog entry for #9524 (#9595) 2021-01-20 15:45:29 +00:00
9527.txt server: add OSS stubs supporting validation of source namespaces in service-intentions config entries (#9527) 2021-01-25 17:28:19 +00:00
9528.txt server: initialize mgw-wanfed to use local gateways more on startup (#9528) 2021-01-25 23:31:21 +00:00
9530.txt Display a warning when rpc.enable_streaming = true is set on a client (#9530) 2021-01-08 20:23:58 +00:00
9569.txt Fix -ui-content-path without regex (#9569) 2021-01-20 18:48:32 +00:00
9585.txt Add flags to support CA generation for Connect (#9585) 2021-01-27 07:55:24 +00:00
9589.txt Update topology mapping Refs on all proxy instance deletions (#9589) 2021-01-20 15:18:09 +00:00
9593.txt ui: Changelog for #9593 (#9598) 2021-01-20 18:19:20 +00:00
9594.txt ui: Removing formatting to display LockDelay in nanoseconds (#9594) 2021-01-20 17:04:29 +00:00
9626.txt Upgrade raft-autopilot and wait for autopilot it to stop when revoking leadership (#9644) 2021-01-27 16:15:37 +00:00
9650.txt xds: deduplicate mesh gateway listeners in a stable way (#9650) 2021-02-05 22:28:52 +00:00
9651.txt xds: prevent LDS flaps in mesh gateways due to unstable datacenter lists (#9651) 2021-02-08 16:20:32 +00:00
9660.txt chore: changelog for 9660 (#9668) 2021-01-29 16:09:14 +00:00
9672.txt Merge pull request #9672 from hashicorp/ca-force-skip-xc 2021-04-20 15:30:37 -05:00
9683.txt changelog: fixup release-note formatting (#9960) 2021-04-01 14:32:56 +00:00
9689.txt Avoid potential proxycfg/xDS deadlock using non-blocking send 2021-02-08 23:18:32 +00:00
9715.txt ui: [BUGFIX] Replace all replaceAll with split.join for older browsers without replaceAll (#9715) 2021-02-11 09:50:23 +00:00
9737.txt connect: update supported envoy point releases to 1.16.2, 1.15.3, 1.14.6, 1.13.7 (#9737) (#9753) 2021-02-10 13:28:12 -06:00
9738.txt Stop background refresh of cached data for requests that result in ACL not found errors (#9738) 2021-02-09 15:16:35 +00:00
9749.txt ui: [BUGFIX] Ensure we show the correct count of instances for each node (#9749) 2021-02-11 11:37:08 +00:00
9752.txt ui: Remove any trailing fullstop/period DNS characters from Gateways UI API (#9752) 2021-02-25 09:36:37 +00:00
9765.txt xds: only try to create an ipv6 expose checks listener if ipv6 is supported by the kernel (#9765) 2021-02-19 20:39:21 +00:00
9772.txt Merge pull request #9772 from hashicorp/streamin-fix-bad-cached-snapshot 2021-02-16 20:28:33 +00:00
9806.txt connect: if the token given to the vault provider returns no data avoid a panic (#9806) 2021-02-22 20:09:21 +00:00
9847.txt ui: CSP Improvements (#9847) 2021-03-17 10:47:11 +00:00
9851.txt Merge pull request #9851 from panascais-forks/fix-wan-ipv6-key 2021-03-10 16:59:23 +00:00
9901.txt ui: Ensure intention form cancel button works (#9901) 2021-03-19 15:15:23 +00:00
9923.txt changelog: fixup release-note formatting (#9960) 2021-04-01 14:32:56 +00:00
9967.txt [1.9.x] api: ensure v1/health/ingress/:service endpoint works properly when streaming is enabled (#9968) 2021-04-05 13:23:15 -05:00
9978.txt cache: fix bug where TTLs were ignored leading to leaked memory in client agents (#9978) 2021-04-08 10:09:29 +00:00
9979.txt cache: Fix bug where connection errors can cause early cache expiry (#9979) 2021-04-08 10:11:46 +00:00
9980.txt [1.9.x] command: when generating envoy bootstrap configs to stdout do not mix informational logs into the json (#9984) 2021-04-07 15:00:19 -05:00
10013.txt Move static token resolution into the ACLResolver (#10013) 2021-04-14 16:40:12 +00:00
10023.txt Merge pull request #10023 from hashicorp/fix-raw-kv-xss 2021-04-15 13:44:02 +00:00
10025.txt Merge pull request #10025 from hashicorp/dnephin/fix-snapshot-auth-methods 2021-04-14 21:19:24 +00:00
10062.txt ui: Adds human formatting to nanosecond based session durations (#10062) (#10141) 2021-05-04 14:01:41 +01:00
10073.txt Update changelog and add telemetry docs (#10107) 2021-04-23 20:05:38 +00:00
10090.txt Update brand assets (1.9.x) (#10090) 2021-05-24 11:43:27 +01:00
10091.txt Fix panic bug in snapshot inspect (#10091) (#10108) 2021-04-23 21:29:06 +01:00
10100.txt ui: Adds CRD popover 'informed action' for intentions managed by CRDs (#10100) 2021-05-04 16:24:35 +00:00
10105.txt [1.9.x] connect: update supported envoy versions to 1.16.3, 1.15.4, 1.14.7, 1.13.7 (#10105) 2021-04-29 15:49:16 -05:00
10121.txt ui: Add conditionals to Lock Session list items (#10121) 2021-05-11 15:40:50 +00:00
10152.txt ui: Remove extra nspace value from service upstreams (#10152) 2021-05-04 16:45:31 +00:00
10157.txt ui: Fix nspace spacing issue (#10157) 2021-05-10 10:20:13 +00:00
10163.txt Give descriptive error if auth method not found (#10163) 2021-05-03 20:39:55 +00:00
10174.txt ui: Adds ability to show a 'partial' list in list-collections (#10174) 2021-05-07 15:55:37 +00:00
10186.txt ui: [BUGFIX] De-duplicate Tag rendering (#10186) 2021-05-07 11:08:18 +00:00
10188.txt Add changelog 2021-05-10 16:03:51 -04:00
10189.txt Merge pull request #10189 from hashicorp/dnephin/http-api-health-query-meta 2021-05-06 18:05:50 +00:00
10225.txt ui: Miscellaneous Lock Session fixes (#10225) (backported #10257) 2021-05-24 11:10:28 +01:00
10232.txt [1.9.x] connect: update supported envoy versions to 1.16.4, 1.15.5, 1.14.6, and 1.13.7 (#10232) 2021-05-12 14:26:56 -05:00
10239.txt server: ensure that central service config flattening properly resets the state each time (#10245) 2021-05-14 13:20:49 -05:00
10240.txt agent: ensure we hash the non-deprecated upstream fields on ServiceConfigRequest (#10240) (#10244) 2021-05-14 10:49:18 -05:00
10273.txt debug: remove the CLI check for debug_enabled (#10273) 2021-05-31 15:29:05 -04:00
10279.txt generate a single debug file for a long duration capture (#10279) 2021-06-07 17:12:54 +00:00
10306.txt Bump raft-autopilot to the latest version (#10310) 2021-05-27 13:23:18 -04:00
10324.txt Merge pull request #10324 from hashicorp/dnephin/fix-envoy-bootstrap-exec 2021-06-01 17:03:30 +00:00
10338.txt Merge pull request #10338 from hashicorp/dnephin/fix-logging-indent 2021-06-03 13:26:03 -04:00
10340.txt usagemetrics: add cluster members to metrics API (#10340) (#10346) 2021-06-03 10:35:45 -07:00
10358.txt fix monitor to only start the monitor in json format when requested (#10358) 2021-06-07 16:09:32 +00:00
_619.txt Create _619.txt 2020-10-09 10:51:37 -04:00
_666.txt Add a paramter in state store methods to indicate whether a resource insertion is from a snapshot restoration (#9156) 2020-11-11 16:22:11 +00:00
_683.txt Add changelog entry for namespace licensing fix (#9203) 2020-11-16 17:14:45 -05:00
_745.txt Add changelog entry for change to the temporary client license duration (#9642) 2021-01-26 21:15:47 +00:00
_795.txt Merge pull request #10030 from hashicorp/fix-ent-audit-log-bypass 2021-04-15 16:14:39 +00:00
_855.txt Merge pull request #10014 from hashicorp/dnephin/changelog 2021-04-14 18:10:15 +00:00
_907.txt Add changelog entry for network area timeout updates (#10241) 2021-05-13 21:06:15 +00:00
_917.txt Merge pull request #10272 from hashicorp/dnephin/backport-namespace-license-fix 2021-05-21 16:35:34 +00:00
_923.txt changelog: add entry for network areas WAN config fix 2021-05-26 21:50:01 +00:00
_8621.txt Adds changelog entry for snapshot agent improvement (#8622) 2020-09-04 14:07:57 -06:00
_8825.txt Add streaming changelog file 2020-10-13 18:16:33 -04:00
_8984.txt changelog: update to hashicorp/sentinel@v0.16.0 in Enterprise (#8984) 2020-10-26 12:32:44 -04:00
changelog.tmpl changelog: fixup changelog.tmpl formatting 2020-11-17 11:37:52 -05:00
note.tmpl changelog: fixup note.tmpl syntax 2020-10-09 22:44:51 -04:00