Skip to content

'imagetool cache addPatch' is not able to find some patches on Oracle Support #27

@lukasged

Description

@lukasged

I'm using the tool imagetool cache addPatch to prepare patches for WebLogic Server, but the tool is able to add only some of them.

For example, it works correctly for adding the latest PSU for WLS. Here is the full command that I run to achieve that:

$ imagetool cache addPatch \
    --type wls \
    --version 12.2.1.3.0 \
    --patchId p29016089 \
    --path "${CACHE_DIR}/p29016089_122130_Generic.zip" \
    --user ${ORACLE_SUPPORT_USER} \
    --password ${ORACLE_SUPPORT_PASSWORD}
[2019-06-14 15:53:35] [com.oracle.weblogic.imagetool.cli.cache.AddPatchEntry] [INFO   ] Added Patch entry 29016089_12.2.1.3.0=/tmp/weblogic-image-tool-cache/p29016089_122130_Generic.zip for wls

But then I try to add some patches like the latest OPatch or the patch 26045997 for example, and the command fails indicating that it was not found in Oracle Support. The full command for adding the patch 26045997 and its output is the following:

$ imagetool cache addPatch \
    --type wls \
    --version 12.2.1.3.0 \
    --patchId p26045997 \
    --path "${CACHE_DIR}/p26045997_122130_Generic.zip" \
    --user ${ORACLE_SUPPORT_USER} \
    --password ${ORACLE_SUPPORT_PASSWORD}
[2019-06-14 16:06:10] [com.oracle.weblogic.imagetool.cli.CLIDriver] [SEVERE ] Response code: -1, message: Unable to find patchId p26045997 on Oracle Support

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions