Skip to content

[3.0.1] Improve PUA startup time #32

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

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ena-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
---
metadata:
schemaVersion: 2.0.0
release: 1.0.0
release: 1.0.1-dev
repository:
codename: 3.0
component: main
Expand All @@ -25,7 +25,7 @@ packages:
version: 1.3.1
ociArtifact: edge-orch/en/deb/platform-telemetry-agent
- name: platform-update-agent
version: 1.4.2
version: 1.4.3
ociArtifact: edge-orch/en/deb/platform-update-agent
- name: caddy
version: 2.7.6
Expand Down
2 changes: 1 addition & 1 deletion platform-update-agent/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.4.2
1.4.3
2 changes: 1 addition & 1 deletion platform-update-agent/configs/platform-update-agent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ INBCGranularLogsPath: '/var/log/inbm-update-log.log'
metricsEndpoint: 'unix:///run/platform-observability-agent/platform-observability-agent.sock'
metricsInterval: 10s
statusEndpoint: 'unix:///run/node-agent/node-agent.sock'
tickerInterval: 20s
tickerInterval: 10s
jwt:
accessTokenPath: '/etc/intel_edge_node/tokens/platform-update-agent/access_token'
immediateDownloadWindow: 10m
Expand Down
4 changes: 0 additions & 4 deletions platform-update-agent/internal/installer/installer.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,6 @@ func (i *Installer) ProvisionInbm(ctx context.Context) error {
return fmt.Errorf("failed to execute shell command - %v", err)
}

if err := i.modifyConfiguration(ctx); err != nil {
return fmt.Errorf("failed to modify INBC configuration - %v", err)
}

file, err := os.Create(inbmConfigSuccessPath)
if err != nil {
log.Errorf("Creating file failed: %s", inbmConfigSuccessPath)
Expand Down