Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[Sky ATP] error: [Error] Cannot enroll with empty hostname

0

0

Article ID: KB34377 KB Last Updated: 18 Jun 2019Version: 1.0
Summary:

This article outlines the reason that users may receive the "error:[Error] Cannot enroll with empty hostname," error while enrolling their SRX HA Cluster in Sky ATP, and explains what must be done to prevent the error.

 

Symptoms:

While enrolling their SRX HA Cluster in Sky ATP, users may receive the following error:

{primary:node0}
root@srx-1> op url <portal enrollment url>.slax
Platform is supported by Sky ATP: <device type>
Version <version> is valid for bootstrapping.
error: [Error] Cannot enroll with empty hostname
Please set hostname for your device

 

Cause:

Users may receive this error when they attempt to enroll their SRX HA Cluster without having both SRX devices connected.

 

Solution:

While enrolling the SRX HA Cluster in Sky ATP, both SRX devices in the HA Pair must be connected.

> show chassis cluster status
 

The output of the above command should contain both SRX nodes as shown below:

Monitor Failure codes:
    CS  Cold Sync monitoring        FL  Fabric Connection monitoring
    GR  GRES monitoring             HW  Hardware monitoring
    IF  Interface monitoring        IP  IP monitoring
    LB  Loopback monitoring         MB  Mbuf monitoring
    NH  Nexthop monitoring          NP  NPC monitoring
    SP  SPU monitoring              SM  Schedule monitoring
    CF  Config Sync monitoring      RE  Relinquish monitoring

Cluster ID: 1
Node   Priority Status               Preempt Manual   Monitor-failures

Redundancy group: 0 , Failover count: 1
node0  200      primary              no      no       None
node1  100      secondary            no      no       None

Redundancy group: 1 , Failover count: 1
node0  200      primary              no      no       None
node1  100      secondary            no      no       None
 

If the secondary node is missing from this output, it means that the peer is not connected and users will not be able to enroll the SRX HA Pair in Sky ATP.

 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search