Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Anchore Data Feed sync failed #1390

Open
caominhtoan opened this issue Sep 9, 2022 · 1 comment
Open

Anchore Data Feed sync failed #1390

caominhtoan opened this issue Sep 9, 2022 · 1 comment

Comments

@caominhtoan
Copy link

caominhtoan commented Sep 9, 2022

Is this a request for help?: Yes

Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
BUG REPORT

Version of Anchore Engine and Anchore CLI if applicable:
anchore-engine:v1.1.0

What happened:
Anchore has not been synchronized latest data feed, error of current feed sync process:

Timestamp Level Event Resource ID
2022-09-09T08:11:27.242666Z error system.feeds.sync.feed_failed grypedb f1f37ed4893e4bd78483a56e9e9309b2
2022-09-09T08:11:27.176887Z error system.feeds.sync.group_failed grypedb/grypedb:vulnerabilities 1f6234a1ebb244bd8afa34b6bf50e71c
...

Event details:

id f1f37ed4893e4bd78483a56e9e9309b2
details:
  cause: One or more groups failed to sync
level: error
message: Feed sync failed
resource:
  id: grypedb
  type: feed
  user_id: *
source:
  base_url: http://*
  hostid: anchore*
  request_id: null
  servicename: policy_engine
timestamp: '2022-09-09T08:11:27.242666Z'
type: system.feeds.sync.feed_failed

1f6234a1ebb244bd8afa34b6bf50e71c
details:
cause: No groups in result set. Expected 1
level: error
message: Feed group sync failed
resource:
id: grypedb/grypedb:vulnerabilities
type: feed_group
user_id: *
source:
base_url: http://*
hostid: anchore*
request_id: null
servicename: policy_engine
timestamp: '2022-09-09T08:11:27.176887Z'
type: system.feeds.sync.group_failed

When running the data feeds manually, anchore-cli system feeds sync
it completed but the data still has not been updated, checked by cmd anchore-cli system feeds list
Event log:

details:
sync_feed_types:
grypedb
level: info
message: Feeds sync task completed
resource:
id: null
type: feeds
user_id: *
source:
base_url: http://*
hostid: anchore*
request_id: null
servicename: policy_engine
timestamp: '2022-09-09T08:27:16.573241Z'
type: system.feeds.sync.completed

What did you expect to happen:
Automatically sync latest updates

Any relevant log output from /var/log/anchore:

What docker images are you using:

How to reproduce the issue:

Anything else we need to know:

@caominhtoan
Copy link
Author

Thanks for reading, it has been resolved.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant