Forum Discussion

Vlad_Darevskiy_'s avatar
Vlad_Darevskiy_
Icon for Altocumulus rankAltocumulus
Apr 08, 2016
Solved

LineRate 2.6.1 License activation fails

Hi,I am in the process of licensing the LineRate v2.6.1 and having some issues.

 

My installation is VMWare based. it has 3 network cards as required. the network is configured and I can ping api.f5.com

 

with following results:

 

*UNLICENSED:LROS bash "ping api.f5.com" PING api.f5.com (104.219.104.164): 56 data bytes 64 bytes from 104.219.104.164: icmp_seq=0 ttl=235 time=114.681 ms 64 bytes from 104.219.104.164: icmp_seq=1 ttl=235 time=121.781 ms 64 bytes from 104.219.104.164: icmp_seq=2 ttl=235 time=120.207 ms ^C --- api.f5.com ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 114.681/118.890/121.781/3.045 ms

 

I run:

 

configure licensing regkey phone-home userid "" secret "" activation auto

 

Then I run: bash "sudo tail /var/log/controller.messages"

 

It results in the following output:

 

Apr 8 10:48:50 LROS LROS: Licensing: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:48:50 LROS LROS: Licensing: upload of empty bundle failed with status -1: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:48:50 LROS LROS: WARN: Unable to login with configured user: , trying fallback user. Apr 8 10:48:53 LROS LROS: Licensing: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:48:53 LROS LROS: Licensing: upload of empty bundle failed with status -1: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:48:53 LROS LROS: Activating license: Failed to upload bundle. Apr 8 10:48:53 LROS LROS: INFO: base license is now inactive Apr 8 10:49:18 LROS LROS: INFO: base license is now inactive Apr 8 10:49:18 LROS LROS: License is expired. Apr 8 10:49:18 LROS LROS: INFO: base license is now inactive Apr 8 10:50:40 LROS LROS: Licensing: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:50:40 LROS LROS: Licensing: upload of empty bundle failed with status -1: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 10:50:40 LROS LROS: WARN: Unable to login with configured user: , trying fallback user.

 

When I run: show licensing brief

 

I get the following:

 

WARNING: No licenses are active. Use 'show licensing detailed' for information on specific licenses. RegKey:

 

Feature Status Expiration HTTP Req/min Limit TCP Conn/min Limit Mbps Limit Burst Duration (min) Process Limit Phone Home Product Mode

base inactive No bundle uploaded. 180 120 5 1 1 on Precision Load Balancer

 

INFO: Automatic license renewal enabled.

 

Running command: show licensing detailed

 

Renders this:

 

base: State: License is expired. Bundle upload has not occurred. Status: inactive Inactive reason: License is expired. Bundle upload has not occurred. Expiration: No bundle uploaded. Username: n/a Version: 5b UUID: 42131404-E483-B76E-A08B-918EC0407D70 HTTP Requests Per Min: 180 TCP Connections Per Min: 120 Mb Per Sec: 5 Burst Duration (min): 1 Processes: 1 Phone Home: on Product Mode: Precision Load Balancer

 

Am I missing something? Please advaise

 

  • Running the following fixed my issue:

     

    configure

     

    ip dns

     

    name-server 208.67.222.222 208.67.220.220

     

    I basically pointed to a different public DNS server as for some reason those from google did not work.

     

    Thanks.

     

13 Replies

  • Andrew_Ragone_2's avatar
    Andrew_Ragone_2
    Historic F5 Account

    Hi Vlad, it looks like there is a name server misconfigured (or not configured at all). This is critical for the bundle upload to happen, and it not per the "Bundle upload has not occurred." message. In configure mode, ensure you have a DNS server configured. An example of how to do this with Google's Public DNS servers is below:

    ip dns
        name-server 8.8.8.8 8.8.4.4
        admin-status online
    

    Try that and let us know how it goes. Also, please ensure you are setting your F5 account's user-id and password for the

    configure licensing regkey phone-home userid "" secret "" activation auto
    command. I see that you redacted this with in other parts of your post, but want to ensure you are doing this for phone-home configuration as well.

    -Andrew

    • Vlad_Darevskiy_'s avatar
      Vlad_Darevskiy_
      Icon for Altocumulus rankAltocumulus
      Just to be clear you are suggesting that I run the following exactly: ip dns name-server 8.8.8.8 8.8.4.4 admin-status online and then rerun: configure phone-home userid "..." secret "..." activation auto please advise? Vlad
    • Andrew_Ragone_2's avatar
      Andrew_Ragone_2
      Historic F5 Account
      That is certainly a generic way to get the DNS server configured. You may want to swap 8.8.8.8 or 8.8.4.4 out to your company's standard DNS servers, though. That would be acceptable.
    • Vlad_Darevskiy_'s avatar
      Vlad_Darevskiy_
      Icon for Altocumulus rankAltocumulus
      did what you suggested: ip dns name-server 8.8.8.8 8.8.4.4 admin-status online then rerun phone-home with userid and secret... No change. the controller.messages prints: Apr 8 13:13:45 LROS LROS: Licensing: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 13:13:45 LROS LROS: Licensing: upload of empty bundle failed with status -1: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 13:13:45 LROS LROS: WARN: Unable to login with configured user: myUserName, trying fallback user. Apr 8 13:13:48 LROS LROS: Licensing: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 13:13:48 LROS LROS: Licensing: upload of empty bundle failed with status -1: Login failed with exit code: 6, output: curl: (6) name lookup timed out Apr 8 13:13:48 LROS LROS: Activating license: Failed to upload bundle. Apr 8 13:13:48 LROS LROS: INFO: base license is now inactive Apr 8 13:14:15 LROS LROS: INFO: base license is now inactive Apr 8 13:14:15 LROS LROS: License is expired.
  • The results from show running config were posted last Friday:

     

    ip dns name-server 8.8.8.8 8.8.4.4 admin-status online !

     

    phone-home userid "MyUserName" secret encrypted "MyEncryptedPassword" !

     

    licensing regkey MY-REG-KEY activation auto feature base

     

  • Running the following fixed my issue:

     

    configure

     

    ip dns

     

    name-server 208.67.222.222 208.67.220.220

     

    I basically pointed to a different public DNS server as for some reason those from google did not work.

     

    Thanks.