-
Notifications
You must be signed in to change notification settings - Fork 272
Anchore Data Feed sync failed #1390
Description
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: