Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

feat: collect Windows CSE logs during log collection#2858

Merged
marosset merged 1 commit intoAzure:masterfrom
marosset:collect-windows-cse-logs
Mar 7, 2020
Merged

feat: collect Windows CSE logs during log collection#2858
marosset merged 1 commit intoAzure:masterfrom
marosset:collect-windows-cse-logs

Conversation

@marosset
Copy link
Contributor

@marosset marosset commented Mar 6, 2020

Reason for Change:

Issue Fixed:

Requirements:

Notes:

& 'c:\k\debug\collectlogs.ps1' | write-Host
$netLogs = Get-ChildItem (Get-ChildItem -Path c:\k\debug -Directory | Sort-Object LastWriteTime -Descending | Select-Object -First 1).FullName | Select-Object -ExpandProperty FullName
$paths += $netLogs
$paths += "c:\AzureData\CustomDataSetupScript.log"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: in the future let's process this and windows cse scripts via go templating so we can refer to this string programmatically (as a common reference that cse + log collection script can both use)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We intentionally don't want this script to be processed via go templating.
We want users to be able to curl this and run it if it isn't already on the node.

Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@codecov
Copy link

codecov bot commented Mar 6, 2020

Codecov Report

Merging #2858 into master will not change coverage by %.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2858   +/-   ##
=======================================
  Coverage   72.47%   72.47%           
=======================================
  Files         140      140           
  Lines       25612    25612           
=======================================
  Hits        18562    18562           
  Misses       5981     5981           
  Partials     1069     1069           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1f02f57...c884676. Read the comment docs.

@marosset marosset merged commit 96c8c3e into Azure:master Mar 7, 2020
@marosset marosset deleted the collect-windows-cse-logs branch March 7, 2020 00:16
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request Apr 20, 2020
andyliuliming pushed a commit that referenced this pull request Apr 21, 2020
* chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790)

* chore: update Azure CNI to v1.0.33 (#2825)

* feat: collect Windows CSE logs during log collection (#2858)

* fix: Windows no outbound fixes (#2883)

* fix: fixing nssm logging in windows CSE (#2890)

* fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954)

* feat: Updating AKS to use April 2020 Windows VHDs by default (#3060)

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
Co-authored-by: Jaeryn <13284103+jaer-tsun@users.noreply.github.com>
Co-authored-by: Kalya Subramanian <42158129+ksubrmnn@users.noreply.github.com>
AbelHu added a commit to AbelHu/aks-engine that referenced this pull request Apr 22, 2020
* chore: adding azure-cni v1.0.33 artifacts to VHDs (Azure#2790)

* chore: update Azure CNI to v1.0.33 (Azure#2825)

* feat: collect Windows CSE logs during log collection (Azure#2858)

* fix: Windows no outbound fixes (Azure#2883)

* fix: fixing nssm logging in windows CSE (Azure#2890)

* fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (Azure#2954)

* feat: Updating AKS to use April 2020 Windows VHDs by default (Azure#3060)

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
Co-authored-by: Jaeryn <13284103+jaer-tsun@users.noreply.github.com>
Co-authored-by: Kalya Subramanian <42158129+ksubrmnn@users.noreply.github.com>
xuto2 pushed a commit that referenced this pull request Apr 23, 2020
* Upgrade Windows VHD image to April release (#3111)

* chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790)

* chore: update Azure CNI to v1.0.33 (#2825)

* feat: collect Windows CSE logs during log collection (#2858)

* fix: Windows no outbound fixes (#2883)

* fix: fixing nssm logging in windows CSE (#2890)

* fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954)

* feat: Updating AKS to use April 2020 Windows VHDs by default (#3060)

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
Co-authored-by: Jaeryn <13284103+jaer-tsun@users.noreply.github.com>
Co-authored-by: Kalya Subramanian <42158129+ksubrmnn@users.noreply.github.com>

* feat: adding kubelet and csi-proxy-server as windows defender excluded processes (#2967) (#3118)

Co-authored-by: Mark Rossetti <marosset@microsoft.com>

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
Co-authored-by: Jaeryn <13284103+jaer-tsun@users.noreply.github.com>
Co-authored-by: Kalya Subramanian <42158129+ksubrmnn@users.noreply.github.com>
AbelHu pushed a commit to AbelHu/aks-engine that referenced this pull request Apr 23, 2020
andyliuliming pushed a commit that referenced this pull request Apr 23, 2020
* feat: Adding WindowsNodeReset.ps1 script to reset/cleanup state for nodes (#2457)

* Adding WindowsNodeReset.ps1 script to reset/cleanup state for windox^C nodes

* fix linting errors

* fixing  comments per CR feedback

* chore: adding azure-cni v1.0.33 artifacts to VHDs (#2790)

* chore: update Azure CNI to v1.0.33 (#2825)

* feat: collect Windows CSE logs during log collection (#2858)

* fix: Windows no outbound fixes (#2883)

* fix: fixing nssm logging in windows CSE (#2890)

* fix: Get WindowsVersion from registry instead of calling Get-ComputerInfo (#2954)

* feat: adding kubelet and csi-proxy-server as windows defender excluded processes (#2967)

* feat: Updating AKS to use April 2020 Windows VHDs by default (#3060)

* feat: Updating Windows VHDs with 4B patches (#3115)

Co-authored-by: Mark Rossetti <marosset@microsoft.com>
Co-authored-by: Jaeryn <13284103+jaer-tsun@users.noreply.github.com>
Co-authored-by: Kalya Subramanian <42158129+ksubrmnn@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants