IBM Support

LI81777: PORTAL SITE FAILS TO RESTORE AFTER ITS DELETION

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If  you used to have existing developer portal site(s) and
    deleted it/them when you then try to restore it/them, it may
    fail and you will see the following in the admin contain pod
    logs
    ===
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:12: restore_site: have been changed to 750.
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:12: restore_site: Webserver subdir configuration for
    domain path                         [success]
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:12: restore_site:
    /var/aegir/config/server_master/nginx/subdir.d/potal-host-redact
    ed
    ...
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:22: restore_site: Running: drush8 --format=json sa
    @porg-name.catalog-name.potal-host-redacted
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:22: restore_site: Running: drush8
    @porg-name.catalog-name.potal-host-redacted pm-list
    --type=Module --status=enabled
    ...
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:27: restore_site: Running: drush8
    @porg-name.catalog-name.potal-host-redacted deleteconfig
    ...
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:28: restore_site: Command deleteconfig needs the
    following extension(s) enabled to run:    [error]
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:28: restore_site: ibm_apim.
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:28: restore_site: The drush command 'deleteconfig' could
    not be executed.                  [error]
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:28: restore_site: Error occurred in script restore_site
    at line: 482.
    [     queue stderr] 19593 4d0b57:13bd76:7e0f23 2020-10-08
    08:02:28: restore_site: Line exited with status: 1
    ====
    

Local fix

Problem summary

  • Deleting existing Developer Portal site(s) and then restoring
    them may fail.
    
    Errors similar to the following may be observed in the admin
    container pod logs:
    
    [     queue stderr] ... restore_site: Command deleteconfig needs
    the following extension(s) enabled to run:    [error]
    [     queue stderr] ... restore_site: ibm_apim.
    [     queue stderr] ... restore_site: The drush command
    'deleteconfig' could not be executed.                  [error]
    [     queue stderr] ... Error occurred in script restore_site at
    line: 482.
    [     queue stderr] ... restore_site: Line exited with status: 1
    

Problem conclusion

  • The product is updated in v2018.4.1.13ifix3 and v10.0.1.1 to
    address the issue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    LI81777

  • Reported component name

    API CONNECT ENT

  • Reported component ID

    5725Z2201

  • Reported release

    A0X

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-10-16

  • Closed date

    2021-01-31

  • Last modified date

    2021-01-31

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    API CONNECT ENT

  • Fixed component ID

    5725Z2201

Applicable component levels

  • RA0X PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSMNED","label":"IBM API Connect"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A0X","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
29 September 2021