![]() | |||||||||||||||
| HomeStoreNewsProductsPricingSupportInstallationsCorporateContact ASTi | |||||||||||||||
|
ASTi Application Note 92: Resolving Network Issues between the Target and ACE Studio Project Manager
This application note covers the following common network issues:
In order for ACE Studio, Target, Project Install and RMS to function correctly the network configuration must be setup properly. If the network configuration is not setup properly, it is easy for a user to run into an error message that says, “'hg', 'clone', 'https://target-name/project' returned non-zero exist status 255”. The most common place for this to occur is in ACE Studio when trying to open up a project, however it can also occur when trying to copy/clone a project in RMS or when the default project is installed during boot up. This application note provides possible causes and solutions to resolving this error.
Error Message
The error message seen will be similar to what you see below:
Command '['hg' , 'clone', 'https://RC-Quad-Core.local/projects/737ng-1.17'.' /tmp/ace-projects-aceuser/737ng-1.17_k954Xc/737ng-1.17']' returned non-zero exit status 255
The error message appears inside of ACE Studio, RMS, or in the log file on a default install on boot-up.
Possible Causes of the Error Message
There are several reasons why this message to appears. Generally, the cause is network related; however it could also be a disk space issue, multiple interfaces on the same physical switch, Master/Slave Target issue, etc.
In order to clear up this error EVERY possible cause should be investigated and resolved. All of the known causes are shown in the table below. Although the cause will vary from configuration to configuration ASTi recommends going through the list below one-by-one until this error message goes away and the Project Management is behaving normal. Continue reading below the table for details on each solution.
Network Settings
ACE Studio Virtual Machine not in Bridged Mode
Configure the Virtual Machine (VM) to operate in bridged mode. Additionally, verify that the PC that the VM is running on is on the same subnet as the Studio VM and the T4 Target.
![]()
If this error occurs when running ACE Studio on a Virtual Machine (Studio VM) it is most likely a networking issue or potentially an mDNS problem. For Studio VM to properly function the host's networking must be properly configured as well as the VM's networking. Due to the way ACE Studio communicates with Targets, it is possible for ACE Studio to list Targets and Projects correctly but not be able to open them. Target and Project information publication is all handled with multicast messages over IPv6 which can function even when the host machine or VM are configured incorrectly. In other words, the Target and ACE Studio may see each other via mDNS multicast, however when you go to open a Project via IPv4 it fails.
Check to make sure that you are using Bridged mode on the VM network interface. Bridged mode allows your VM to talk to the outside world via your host machine's network card by connecting your virtual network card to the physical network. NAT mode just doesn't seem to work as well due to the network IP sharing. NAT mode allows the VM to share the IP address of the host system, which is specifically useful for wireless Ethernet networking. This IP address sharing can cause problems with ACE Studio functionality.
Hard Disk is Full
If the T4 Target hard drive is full then the Project will not load and the clone error will occur. To check the current status of the hard-drive utilization go to the T4 RMS Health System:
RMS > Health > Platform Info > Disks
Verify that no partition is more than 90% utilized, if a partition is over 90% then some file-cleanup is necessary. The most likely cause is that the /var/log/messages file(s) have grown very large in size.
Two Target Ethernet interfaces are connected to the same physical LAN Switch
A problem occurs if you try to connect two of the Target interfaces to the same physical LAN Switch that the Studio is also on. In this case the Studio platform will see packets from both interfaces and get confused as to which IP address to resolve for hostname.local. In this case if you ping hostname.local from Studio you may see that the ping command works 50% of the time and fails about 50% of the time.
The solution for this is to ensure that only one Target interface can see the Studio interface. After this is completed reboot both platforms to ensure that the system functions correctly.
Bad Target/Switch Connection
Correct Target/Switch Connection
Master Target is Not Up and Running
If you are using the Multi-Target Project Management feature then you will get this error message if you try and open a Slave Project when the Master Project has failed or is not running. To resolve this ensure that the Master Target and project are running correctly. Or delete the Master Target Project link via RMS and manage the project locally. For further information on this please refer to Application Note 90.
Studio and Target are on Different Subnets
If the targetname.local is failing due to the Studio and Target being on different networks, using the following Open URL instructions will provide a work around. In RMS navigate to Project Management > Show Projects. Open the project you want to use. Copy the URL (with the IP address instead of the host name) in the title bar and paste it into ACE Studio under Project > Open URL.
In ACE Studio, enter the project's URL. For example, https://10.2.121.10/projects/<Project Name>.
In order to install the project the Target name must be deleted from the Telestra Editor. Clear the name by opening the project, right-click on the Telestra in the layout and select edit, and delete the field that says 'Target'.
|
| ||||||||||||||
| HomeStoreNewsProductsPricingSupportInstallationsCorporateContact ASTi | |||||||||||||||
| Copyright 1997-2012 ASTi | Legal Stuff | |||||||||||||||