-
Notifications
You must be signed in to change notification settings - Fork 21
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
🐛 ensure ebs connection config has type filesystem #2293
Conversation
@@ -112,7 +112,7 @@ func (blockEntries blockDevices) GetUnmountedBlockEntry() (*fsInfo, error) { | |||
} | |||
|
|||
func (entry blockDevice) IsNoBootVolume() bool { | |||
return entry.Uuid != "" && entry.FsType != "" && entry.FsType != "vfat" && entry.Label != "EFI" | |||
return entry.Uuid != "" && entry.FsType != "" && entry.FsType != "vfat" && entry.Label != "EFI" && entry.Label != "boot" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the reason my tests kept failing so much - i was testing against a rhel machine and i was picking up the boot volume, which we would then of course fail to mount and everything would go a little haywire
@@ -173,6 +173,7 @@ func NewAwsEbsConnection(id uint32, conf *inventory.Config, asset *inventory.Ass | |||
|
|||
// Create and initialize fs provider | |||
fsConn, err := connection.NewFileSystemConnection(id, &inventory.Config{ | |||
Type: "filesystem", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks to @czunker for the hint on this one
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @vjeffrey
picked up this hint from #2171
just trying to get the small we-definitely-want-this pieces in to try to break down this ebs scan issue a bit