Skip to content
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

restnoded restarts immediately after posting the decleartion #232

Closed
himalayanBuddy opened this issue Feb 19, 2020 · 3 comments
Closed

restnoded restarts immediately after posting the decleartion #232

himalayanBuddy opened this issue Feb 19, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@himalayanBuddy
Copy link

himalayanBuddy commented Feb 19, 2020

Environment

  • Application Services Version:
    {
    "version": "3.17.1",
    "release": "1",
    "schemaCurrent": "3.17.0",
    "schemaMinimum": "3.0.0"
    }
  • BIG-IP Version:
    Sys::Version
    Main Package
    Product BIG-IP
    Version 13.1.1.5
    Build 0.0.4
    Edition Point Release 5
    Date Wed Apr 24 21:26:13 PDT 2019

Summary

After sending post request to URI /mgmt/shared/appsvcs/declare, restnoded restarts.

Steps To Reproduce

Steps to reproduce the behavior:

  1. Submit the following declaration:
{
     "class": "AS3",
     "action": "deploy",
     "persist": true,
     "targetHost": "{{targetHost}}",
     "targetTokens": {
     "X-F5-Auth-Token": "{{authToken}}"
     },
     "declaration": {
         "class": "ADC",
         "schemaVersion": "3.17.0",
         "id": "simple test 1",
         "label": "sample_1",
         "remark": "Simple HTTP Service with Round-Robin Load Balancing",
         "updateMode": "selective",
         "Sample_01": {
             "class": "Tenant",
             "defaultRouteDomain": 0,
             "A1": {
                 "class": "Application",
                 "template": "http",
                 "serviceMain": {
                     "class": "Service_HTTP",
                     "virtualAddresses": [
                         "10.0.1.10"
                     ],
                     "pool": "web_pool"
                 },
                 "web_pool": {
                     "class": "Pool",
                     "monitors": [
                         "http"
                     ],
                     "members": [
                         {
                             "servicePort": 80,
                             "serverAddresses": [
                                 "192.0.1.10",
                                 "192.0.1.11"
                             ]
                         }
                     ]
                 }
             }
         }
     }
 }
  1. Observe the following error response:
 {
    "error": {
        "code": 404,
        "message": "",
        "innererror": {
            "referer": "restnoded",
            "originalRequestBody": "{xxxxx}",
            "errorStack": []
        }
    }
}

Expected Behavior

Partition, virtual server and pool member created.

Actual Behavior

Received 404 error message

/var/log/audit
status=[01020036:3: The requested value list (/Common/appsvcs/____appsvcs_lock) was not found.] cmd_data=delete ltm data-group internal /Common/appsvcs/____appsvcs_lock

/var/log/ltm
01020036:3: The requested value list (/Common/ServiceDiscovery/tasks) was not found.
The requested value list (/Common/appsvcs/____appsvcs_lock) was not found.

/var/log/restnoded
TypeError: Cannot read property 'code' of null
, at /var/config/rest/iapps/f5-appsvcs/lib/util/networkUtil.js:44:50
, at GetAddrInfoReqWrap.asyncCallback [as callback] (dns.js:64:16)
, at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:83:10)

Tue, 18 Feb 2020 18:08:35 GMT - info: path /var/config/rest/nodejskeystore/ is not exist
Tue, 18 Feb 2020 18:08:35 GMT - severe: [RestOperationDispatcher] 'shared/appsvcs/declare' not found.

@himalayanBuddy himalayanBuddy added bug Something isn't working untriaged Issue needs to be reviewed for validity labels Feb 19, 2020
@dstokesf5
Copy link
Contributor

We have a similar issue in our internal product backlog (AUTOTOOL-1065), however the bug has been appearing very infrequently and intermittently. Does this failure happen consistently for you?

@dstokesf5 dstokesf5 removed the untriaged Issue needs to be reviewed for validity label Feb 19, 2020
@himalayanBuddy
Copy link
Author

Yes it's consistent for me.

@dstokesf5 dstokesf5 added this to the v3.18.0 milestone Feb 28, 2020
@dstokesf5
Copy link
Contributor

AUTOTOOL-1065 was resolved in version 3.18.0. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants