You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -183,6 +201,11 @@ The total amount of storage needed depends on the mission use of reports, specif
183
201
|7
184
202
|===
185
203
204
+
The ANMS is designed to operate on a network where the MGSS Common Access Manager (CAM) is used to manage user accounts and a CAM Gateway is used as a reverse proxy within the ANMS installation to enforce user login sessions and access permissions.
205
+
The ANMS has been exercised with CAM v5.1.0 in a test environment outside of the MGSS environment.
206
+
To deploy the ANMS in an environment without a CAM instance available (or without using it) the ANMS can be built with a CAM Gateway emulator as described in <<sec-deployment-camemu>>.
207
+
In any case, deployment and configuration of CAM itself is outside the scope of this document and is described in detail in the <<cam-pg>>.
208
+
186
209
[#sec-deployment-camemu]
187
210
==== Using a CAM Gateway Emulator
188
211
@@ -515,6 +538,7 @@ sudo semanage dontaudit off
515
538
----
516
539
517
540
541
+
[#sec-checkout]
518
542
=== Checkout Procedures
519
543
520
544
Each of the following checkout procedures makes progressively more detailed and more normal-operations-like tests of the external interfaces with the ANMS.
@@ -623,16 +647,120 @@ PORT STATE SERVICE
623
647
docker exec ion-manager ion_ping_peers 1 2 3
624
648
----
625
649
626
-
== Troubleshooting
650
+
== Product Support
627
651
628
-
=== Puppet
652
+
There are two levels of support for the ANMS: troubleshooting by the administrator or user attempting to install or operate the ANMS, which is detailed in <<sec-troubleshooting>>, and upstream support via the ANMS public GitHub project, accessible as described in <<sec-contact>>.
653
+
Attempts to troubleshoot should be made before submitting issue tickets to the upstream project.
629
654
630
-
[qanda]
631
-
Errors related to the SELinux modules for the ANMS containers during installation of the ANMS on the local host, as discussed in <<sec-proc-install>>::
632
-
Add the following line to the Puppet common.yaml file, typically found at `+puppet/data/common.yaml+`.
655
+
[#sec-troubleshooting]
656
+
=== Troubleshooting
657
+
658
+
==== Installation
659
+
660
+
This section covers issues that can occur during installation (see <<sec-proc-install>>) of the ANMS.
661
+
662
+
===== SELinux Blocked Behavior
663
+
664
+
If there are errors related to the SELinux modules for the ANMS containers during installation of the ANMS on the local host, as discussed in <<sec-proc-install>>,
665
+
add the following line to the Puppet `common.yaml` file, typically found at `puppet/data/common.yaml`, and redeploy.
633
666
----
634
667
selinux::mode: permissive
635
668
----
669
+
This will result in the host being in permissive mode which allows activity not defined in SELinux modules but records those events to the system audit log.
670
+
See <<sec-proc-mon-selinux>> for details on observing the audit log events.
671
+
672
+
CAUTION: The SELinux permissive mode is for troubleshooting only and must not be present in a production installation.
673
+
674
+
675
+
==== Operations
676
+
677
+
This section covers issues that can occur after successful installation (see <<sec-proc-install>>) and checkout (see <<sec-checkout>>) of the ANMS.
678
+
679
+
===== Grafana Containers
680
+
681
+
If the Grafana panels in the `Monitor` tab displays `Connection was reset` errors, the Grafana container may not have started successfully.
682
+
683
+
Restart the container with `docker-compose up grafana` (run from within the `anms/` folder).
684
+
685
+
If restarting the container does not resolve the problem, and the Grafana startup
686
+
contains errors related to only having read-only access to the database, permissions on
687
+
various files in the source code will need to be updated for Grafana to run.
688
+
689
+
For both the `docker_data/grafana_vol/` folder and the `docker_data/grafana_vol/grafana.db`
690
+
file, change the group to `docker` and the permissions to `777`:
After changing these permissions, run `docker-compose up grafana` again, and the Grafana
700
+
container should start sucessfully.
701
+
702
+
===== Agent Registration Issues on ANMS Startup
703
+
704
+
If an Agent is not present in the `Agents` tab on start up, it is likely due to an error in one of the ION containers and their connection to the underlying database.
705
+
706
+
To resolve the issue, restart the ION containers using `docker-compose restart n1 n2`.
707
+
708
+
===== New Agent Registration Issues
709
+
710
+
If registering a new Agent does not result in an update to the displayed Agents in the ANMS Agent tab, check that it has been registered to the Manager via the nm-manager CLI.
711
+
The nm-manager CLI is accessible from a terminal, and this check can be done using a command such as:
If this restart does not resolve the issue, check `nginx.conf` in the root of the ammos-anms project.
751
+
Ensure that `anms-ui` or `localhost` are set to port `80` and the hostname is correct.
752
+
753
+
754
+
[#sec-contact]
755
+
=== Contacting or Contributing
756
+
757
+
The ANMS is hosted on a GitHub repository <<anms-source>> with submodule references to several other repositories.
758
+
There is a https://github.com/NASA-AMMOS/anms/blob/main/CONTRIBUTING.md[`CONTRIBUTING.md`] document in the ANMS repository which describes detailed procedures for submitting tickets to identify defects and suggest enhancements.
759
+
760
+
Separate from the source for the ANMS proper, the ANMS Product Guide and User Guide are hosted on a GitHub repository <<anms-docs>>, with its own https://github.com/NASA-AMMOS/anms-docs/blob/main/CONTRIBUTING.md[`CONTRIBUTING.md`] document for submitting tickets about either the Product Guide or User Guide.
761
+
762
+
While the GitHub repositories are the primary means by which users should submit detailed tickets, other inquiries can be made directly via email to the the support address mailto:dtnma-support@jhuapl.edu[,ANMS Support].
If the results confirm that the Agent is registered but it still does not show on the Agents tab of the ANMS, there may be an
1065
-
issue with connection between the Manager and ANMS database.
1066
-
1067
-
This can be manually resolved by adding the Agent via the adminer DB tool that is deployed as part of the docker-compose tool at http://localhost/.
1068
-
The connection information is described in <<sec-amp-database-querying>>.
1069
-
1026
+
There are two levels of support for the ANMS: troubleshooting by the administrator or user attempting to operate the ANMS, which is detailed in <<sec-troubleshooting>>, and upstream support via the ANMS public GitHub project, accessible as described in <<sec-contact>>.
1027
+
Attempts to troubleshoot should be made before submitting issue tickets to the upstream project.
1070
1028
1071
-
[#sec-amp-database-querying]
1072
-
=== AMP Database Querying
1029
+
[#sec-troubleshooting]
1030
+
=== Troubleshooting
1073
1031
1074
-
To see what is present in the underlying AMP database, use the adminer access point.
1032
+
The following situations provide troubleshooting guidance for the ANMS from the perspective of a normal or administrative user, typically operating the ANMS via a web browser.
1033
+
Each situation consists of an observed state followed by a recommended troubleshooting activity.
1075
1034
1076
-
With ANMS running, go to `localhost:8080` and log in to the database with:
1077
-
- System: `PostgreSQL`
1078
-
- Server: `postgres`
1079
-
- Username: `root`
1080
-
- Password: `root`
1081
-
- Database `amp_core`
1082
1035
1036
+
[qanda]
1037
+
The Grafana panels in the `Monitor` tab displays `Connection was reset` errors::
1038
+
The Grafana container may not have started successfully. Contact a system administrator to restart the component.
1083
1039
1084
-
=== ANMS UI Visibility
1040
+
An Agent is not present in the `Agents` tab on start up::
1041
+
This is likely due to an error in one of the ION containers and their connection to the underlying database. Contact a system administrator to restart the component.
1085
1042
1086
-
==== ANMS-UI is not visible at hostname:9030
1043
+
Registering a new Agent does not result in an update to the displayed Agents in the ANMS Agent tab::
1044
+
Contact a system administrator to verify that the Agent has been registered to the Manager via CLI tools.
1087
1045
1088
-
This error may indicate that the anms-ui docker is experiencing issues receiving HTTP requests.
1089
-
This is most likely related to the `host` or `bind address` specified in `anms-ui/server/shared/config.py`,
1090
-
or an environment variable that overrides this.
1091
1046
1092
-
==== ANMS-UI is not visible at hostname
1047
+
[#sec-contact]
1048
+
=== Contacting or Contributing
1093
1049
1094
-
If http://hostname:9030 (replace hostname with the server's hostname) displays the ANMS UI, but
1095
-
http://hostname does not render the same page, this indicates an issue with NGinx.
1050
+
The ANMS is hosted on a GitHub repository <<anms-source>> with submodule references to several other repositories.
1051
+
There is a https://github.com/NASA-AMMOS/anms/blob/main/CONTRIBUTING.md[`CONTRIBUTING.md`] document in the ANMS repository which describes detailed procedures for submitting tickets to identify defects and suggest enhancements.
1096
1052
1097
-
Check the status of NGix in the docker-compose services list. It may be necessary to restart nginx via
Separate from the source for the ANMS proper, the ANMS Product Guide and User Guide are hosted on a GitHub repository <<anms-docs>>, with its own https://github.com/NASA-AMMOS/anms-docs/blob/main/CONTRIBUTING.md[`CONTRIBUTING.md`] document for submitting tickets about either the Product Guide or User Guide.
1099
1054
1100
-
If this restart does not resolve the issue, check `nginx.conf` in the root of the ammos-anms project.
1101
-
Ensure that `anms-ui` or `localhost` are set to port `80` and the hostname is correct.
1055
+
While the GitHub repositories are the primary means by which users should submit detailed tickets, other inquiries can be made directly via email to the the support address mailto:dtnma-support@jhuapl.edu[,ANMS Support].
0 commit comments