Skip to content

When os_patching reports patches but there is not enough space to install them, it reports success #39

Description

@rnelson0

Unlike #35, where there is no space to determine if there are patches, this system had enough space to determine there were patches. When the update task ran, yum failed to complete the update but the task reported success. A full log is here, the relevant portion of the debug key is:

Install       7 Package(s)
Upgrade     144 Package(s)
Remove        1 Package(s)

Total download size: 208 M
Downloading Packages:


Error Downloading Packages:
  iproute-2.6.32-57.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6Server/rhel-6-server-rpms/packages
    * free   0 
    * needed 386 k
  man-pages-overrides-6.10.0-1.el6.noarch: Insufficient space in download directory /var/cache/yum/x86_64/6Server/rhel-6-server-rpms/packages
    * free   0 
    * needed 1.1 M
  ORBit2-2.14.17-7.el6.x86_64: Insufficient space in download directory /var/cache/yum/x86_64/6Server/rhel-6-server-rpms/packages
    * free   0 
    * needed 172 k
  ... <repeate for all packages>

The task also reports "return" : "Success", instead of the expected failure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions