Guest User

2020.07_Install

a guest
Jul 22nd, 2020
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.67 KB | None | 0 0
  1. hemanth@hemanth:~$ sudo apt install lava-server
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. The following additional packages will be installed:
  6. lava-common lava-coordinator lava-dispatcher lava-dispatcher-host
  7. lava-server-doc
  8. Suggested packages:
  9. docker.io lavacli
  10. The following NEW packages will be installed:
  11. lava-common lava-coordinator lava-dispatcher lava-dispatcher-host
  12. lava-server lava-server-doc
  13. 0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
  14. Need to get 0 B/3,589 kB of archives.
  15. After this operation, 29.0 MB of additional disk space will be used.
  16. Do you want to continue? [Y/n] y
  17. Preconfiguring packages ...
  18. Selecting previously unselected package lava-common.
  19. (Reading database ... 315058 files and directories currently installed.)
  20. Preparing to unpack .../0-lava-common_2020.07+10+buster_all.deb ...
  21. Unpacking lava-common (2020.07+10+buster) ...
  22. Selecting previously unselected package lava-server-doc.
  23. Preparing to unpack .../1-lava-server-doc_2020.07+10+buster_all.deb ...
  24. Unpacking lava-server-doc (2020.07+10+buster) ...
  25. Selecting previously unselected package lava-server.
  26. Preparing to unpack .../2-lava-server_2020.07+10+buster_all.deb ...
  27. Unpacking lava-server (2020.07+10+buster) ...
  28. Selecting previously unselected package lava-coordinator.
  29. Preparing to unpack .../3-lava-coordinator_2020.07+10+buster_all.deb ...
  30. Unpacking lava-coordinator (2020.07+10+buster) ...
  31. Selecting previously unselected package lava-dispatcher-host.
  32. Preparing to unpack .../4-lava-dispatcher-host_2020.07+10+buster_all.deb ...
  33. Unpacking lava-dispatcher-host (2020.07+10+buster) ...
  34. Selecting previously unselected package lava-dispatcher.
  35. Preparing to unpack .../5-lava-dispatcher_2020.07+10+buster_all.deb ...
  36. Unpacking lava-dispatcher (2020.07+10+buster) ...
  37. Setting up lava-server-doc (2020.07+10+buster) ...
  38. Setting up lava-common (2020.07+10+buster) ...
  39. Setting up lava-coordinator (2020.07+10+buster) ...
  40. Created symlink /etc/systemd/system/multi-user.target.wants/lava-coordinator.service → /lib/systemd/system/lava-coordinator.service.
  41. Setting up lava-server (2020.07+10+buster) ...
  42. Updating configuration:
  43. * generate SECRET_KEY [SKIP]
  44. * generate DATABASES [SKIP]
  45. Run fixups:
  46. * fix permissions:
  47. - /var/lib/lava-server/home/
  48. - /var/lib/lava-server/default/
  49. - /var/lib/lava-server/default/media/
  50. - /var/lib/lava-server/default/media/job-output/
  51. - /etc/lava-server/dispatcher-config/
  52. - /etc/lava-server/dispatcher.d/
  53. - /var/lib/lava-server/default/media/job-output/2017/
  54. - /etc/lava-server/dispatcher-config/devices/
  55. - /etc/lava-server/dispatcher-config/devices/*
  56. - /etc/lava-server/dispatcher-config/device-types/
  57. - /etc/lava-server/dispatcher-config/device-types/*
  58. - /etc/lava-server/dispatcher-config/health-checks/
  59. - /etc/lava-server/dispatcher-config/health-checks/*
  60. * drop duplicated templates:
  61. * fix permissions:
  62. - /etc/lava-server/settings.conf
  63. - /etc/lava-server/instance.conf
  64. - /var/log/lava-server/
  65. - /var/log/lava-server/*
  66. - /etc/lava-server/secret_key.conf
  67. Create database:
  68. /var/run/postgresql:5432 - accepting connections
  69. psql -q
  70. lava-server manage migrate --noinput --fake-initial
  71. Operations to perform:
  72. Apply all migrations: admin, auth, contenttypes, lava_results_app, lava_scheduler_app, linaro_django_xmlrpc, sessions, sites
  73. Running migrations:
  74. Applying contenttypes.0001_initial... OK
  75. Applying auth.0001_initial... OK
  76. Applying admin.0001_initial... OK
  77. Applying admin.0002_logentry_remove_auto_add... OK
  78. Applying contenttypes.0002_remove_content_type_name... OK
  79. Applying auth.0002_alter_permission_name_max_length... OK
  80. Applying auth.0003_alter_user_email_max_length... OK
  81. Applying auth.0004_alter_user_username_opts... OK
  82. Applying auth.0005_alter_user_last_login_null... OK
  83. Applying auth.0006_require_contenttypes_0002... OK
  84. Applying auth.0007_alter_validators_add_error_messages... OK
  85. Applying auth.0008_alter_user_username_max_length... OK
  86. Applying linaro_django_xmlrpc.0001_initial... OK
  87. Applying lava_scheduler_app.0001_initial... OK
  88. Applying lava_scheduler_app.0002_add_lava-health_user... OK
  89. Applying lava_scheduler_app.0003_populate_master_node... OK
  90. Applying lava_scheduler_app.0004_add_pipeline_marks... OK
  91. Applying lava_scheduler_app.0005_auto_devicedictionarytable_pipelinestore... OK
  92. Applying lava_results_app.0001_initial... OK
  93. Applying lava_results_app.0002_auto_20150825_1926... OK
  94. Applying lava_results_app.0003_auto_20150908_1522... OK
  95. Applying lava_results_app.0004_auto_20150925_0002... OK
  96. Applying lava_results_app.0005_auto_20151124_1419... OK
  97. Applying lava_results_app.0006_auto_20160111_1318... OK
  98. Applying lava_results_app.0007_auto_20160225_1256... OK
  99. Applying lava_results_app.0008_auto_20160405_1543... OK
  100. Applying lava_results_app.0009_query_limit... OK
  101. Applying lava_results_app.0010_auto_20160504_0814... OK
  102. Applying lava_results_app.0011_namedtestattribute... OK
  103. Applying lava_results_app.0012_namedtestattribute_metadata... OK
  104. Applying lava_results_app.0013_buglinks... OK
  105. Applying lava_results_app.0014_xaxis_maxlength_increase... OK
  106. Applying lava_results_app.0015_add_test_case_result_index... OK
  107. Applying lava_results_app.0016_add_testcase_start_end_tc... OK
  108. Applying lava_results_app.0017_testdata_onetoone_field... OK
  109. Applying lava_scheduler_app.0006_auto_20150619_1035... OK
  110. Applying lava_scheduler_app.0007_devicetype_description... OK
  111. Applying lava_scheduler_app.0008_auto_20151014_1044... OK
  112. Applying lava_scheduler_app.0009_testjob_pipeline_compatibility... OK
  113. Applying lava_scheduler_app.0010_auto_20151103_1136... OK
  114. Applying lava_scheduler_app.0011_remove_testjob_log_file... OK
  115. Applying lava_scheduler_app.0012_auto_20160208_1600... OK
  116. Applying lava_scheduler_app.0013_auto_20160302_0404... OK
  117. Applying lava_scheduler_app.0014_add_testjob_index... OK
  118. Applying lava_scheduler_app.0015_drop_heartbeat... OK
  119. Applying lava_scheduler_app.0016_index_testjob_submit_time... OK
  120. Applying lava_scheduler_app.0017_custompermissions... OK
  121. Applying lava_scheduler_app.0018_notifications... OK
  122. Applying lava_scheduler_app.0019_extendeduser... OK
  123. Applying lava_scheduler_app.0020_notificationrecipient_uniquetogether... OK
  124. Applying lava_scheduler_app.0021_blacklist_to_array... OK
  125. Applying lava_scheduler_app.0022_create_devicetype_alias... OK
  126. Applying lava_scheduler_app.0023_update_aliases... OK
  127. Applying lava_scheduler_app.0024_do_not_cascade_deletions... OK
  128. Applying lava_scheduler_app.0025_switch_job_status_trigger_type... OK
  129. Applying lava_scheduler_app.0026_devicetype_disable_health_check... OK
  130. Applying lava_scheduler_app.0027_device_dict_onto_filesystem... OK
  131. Applying lava_scheduler_app.0028_notify_callback... OK
  132. Applying lava_scheduler_app.0029_remove_testjob__results_bundle... OK
  133. Applying lava_scheduler_app.0030_unused_scheduler_fields... OK
  134. Applying lava_scheduler_app.0031_add_worker_state_and_health... OK
  135. Applying lava_scheduler_app.0032_add_state_health_to_testjob_and_device... OK
  136. Applying lava_scheduler_app.0033_remove_old_status_fields... OK
  137. Applying lava_scheduler_app.0034_worker_last_ping... OK
  138. Applying lava_scheduler_app.0035_remove_testjob__results_link... OK
  139. Applying lava_scheduler_app.0036_remove_is_pipeline... OK
  140. Applying lava_scheduler_app.0037_notify_callback_separation... OK
  141. Applying lava_scheduler_app.0038_set_default_device_health_maintenance... OK
  142. Applying lava_scheduler_app.0039_remove_testjob_admin_notifications... OK
  143. Applying lava_scheduler_app.0040_change_device_type_alias... OK
  144. Applying lava_scheduler_app.0041_notification_charfield_to_textfield... OK
  145. Applying lava_scheduler_app.0042_add-table-length-setting... OK
  146. Applying lava_scheduler_app.0043_auth_refactoring... OK
  147. Applying lava_scheduler_app.0044_reintroduce_cancel_resubmit_permission... OK
  148. Applying lava_scheduler_app.0045_remove_submit_testjob_perm... OK
  149. Applying lava_scheduler_app.0046_permission_consolidation... OK
  150. Applying lava_scheduler_app.0047_job_limit... OK
  151. Applying lava_scheduler_app.0048_job_limit_constraint... OK
  152. Applying lava_scheduler_app.0049_add_worker_auth... OK
  153. Applying lava_scheduler_app.0050_worker_version... OK
  154. Applying lava_scheduler_app.0051_worker_master_version_notified... OK
  155. Applying lava_scheduler_app.0052_device_is_synced... OK
  156. Applying sessions.0001_initial... OK
  157. Applying sites.0001_initial... OK
  158. Applying sites.0002_alter_domain_unique... OK
  159. lava-server manage drop_materialized_views
  160. lava-server manage refresh_queries --all
  161. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
  162. NOTICE: not creating role lavaserver -- it already exists
  163. NOTICE: not creating role devel -- it already exists
  164. AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
  165. Created symlink /etc/systemd/system/multi-user.target.wants/lava-logs.service → /lib/systemd/system/lava-logs.service.
  166. Created symlink /etc/systemd/system/multi-user.target.wants/lava-master.service → /lib/systemd/system/lava-master.service.
  167. Created symlink /etc/systemd/system/multi-user.target.wants/lava-publisher.service → /lib/systemd/system/lava-publisher.service.
  168. Created symlink /etc/systemd/system/multi-user.target.wants/lava-server-gunicorn.service → /lib/systemd/system/lava-server-gunicorn.service.
  169. Setting up lava-dispatcher-host (2020.07+10+buster) ...
  170. Setting up lava-dispatcher (2020.07+10+buster) ...
  171. Created symlink /etc/systemd/system/multi-user.target.wants/lava-slave.service → /lib/systemd/system/lava-slave.service.
  172. Processing triggers for man-db (2.8.5-2) ...
  173. Scanning processes...
  174. Scanning linux images...
  175.  
  176. Running kernel seems to be up-to-date.
  177.  
  178. No services need to be restarted.
  179.  
  180. No containers need to be restarted.
  181.  
  182. No user sessions are running outdated binaries.
  183. hemanth@hemanth:~$ ls -la /etc/lava-server/
  184. total 44
  185. drwxr-xr-x 5 root root 4096 Jul 22 13:11 .
  186. drwxr-xr-x 148 root root 12288 Jul 22 13:11 ..
  187. drwxr-xr-x 5 lavaserver lavaserver 4096 Jul 22 13:11 dispatcher-config
  188. drwxr-xr-x 2 lavaserver lavaserver 4096 Jul 9 21:03 dispatcher.d
  189. -rw-r--r-- 1 root root 900 Jul 9 20:28 env.yaml
  190. -rw-r--r-- 1 root root 589 Jul 9 20:28 lava-logs
  191. -rw-r--r-- 1 root root 719 Jul 9 20:28 lava-master
  192. -rw-r--r-- 1 root root 496 Jul 9 20:28 lava-server-gunicorn
  193. drwxr-xr-x 2 root root 4096 Jul 22 13:03 settings.d
  194. hemanth@hemanth:~$ dpkg -l | grep lava
  195. ii lava-common 2020.07+10+buster all Linaro Automated Validation Architecture common
  196. ii lava-coordinator 2020.07+10+buster all LAVA coordinator daemon
  197. ii lava-dispatcher 2020.07+10+buster all Linaro Automated Validation Architecture dispatcher
  198. ii lava-dispatcher-host 2020.07+10+buster all LAVA dispatcher host tools
  199. ii lava-server 2020.07+10+buster all Linaro Automated Validation Architecture server
  200. ii lava-server-doc 2020.07+10+buster all Linaro Automated Validation Architecture documentation
Add Comment
Please, Sign In to add comment