ManageIQ / manageiq-pods

ManageIQ on Kubernetes and OpenShift
Apache License 2.0
51 stars 100 forks source link

Smaller images investigation #736

Open Fryguy opened 3 years ago

Fryguy commented 3 years ago

Ran the following on our manageiq-ui-worker podified image and I see the below for package sizes:

rpm -qa --queryformat '%10{size} - %-25{name} \t %{version}\n' | sort -nr | head -n 100
Original details - see later posts for updates ``` [root@f417e65db954 /]# rpm -qa --queryformat '%10{size} - %-25{name} \t %{version}\n' | sort -nr | head -n 100 457007231 - manageiq-gemset 13.0.0 111794506 - manageiq-ui 13.0.0 100970189 - ansible 2.9.24 68818612 - openscap 1.3.5 61689207 - gcc 8.5.0 56549434 - geolite2-city 20180605 38968954 - manageiq-core 13.0.0 38168125 - nodejs 12.22.3 36644942 - wmi 1.3.14 34013565 - git-core 2.27.0 33716339 - libicu 60.3 33060312 - nodejs-docs 12.22.3 32310333 - python3-libs 3.6.8 29681414 - cpp 8.5.0 28395840 - nodejs-full-i18n 12.22.3 26036720 - python2-libs 2.7.18 24926720 - binutils 2.30 23728688 - mozjs60 60.9.0 21663376 - samba-client-libs 4.14.5 20921752 - python3-babel 2.5.1 16214561 - python3-vspk 5.3.2 15698925 - npm 6.14.13 15646740 - glibc 2.28 14391428 - perl-interpreter 5.26.3 12482794 - git-core-doc 2.27.0 12275352 - glib2 2.56.4 11565734 - util-linux 2.32.1 11189195 - systemd 239 11082340 - ruby-libs 2.6.7 10826801 - freeipmi 1.6.8 10200695 - perl-Encode 2.97 9922363 - gnupg2 2.2.20 9815016 - cracklib-dicts 2.9.6 9284881 - NetworkManager-libnm 1.32.4 9248996 - glibc-common 2.28 9202588 - libxml2-devel 2.9.7 8801737 - python3-netaddr 0.7.19 8324320 - hwdata 0.314 8264117 - qemu-img 6.0.0 8211094 - python2-pip 9.0.3 8009345 - systemd-udev 239 7480993 - platform-python-pip 9.0.3 7408241 - NetworkManager 1.32.4 6861468 - bash 4.4.20 6660142 - GConf2 3.2.6 6386381 - file-libs 5.33 6281419 - glibc-langpack-en 2.28 6160361 - python3-docutils 0.14 6105197 - perl-libs 5.26.3 5936193 - python3-ovirt-engine-sdk4 4.4.13 5659880 - python3-policycoreutils 2.9 5307300 - kernel-headers 4.18.0 5025844 - python3-lxml 4.2.3 4561344 - postfix 3.5.8 4556468 - subscription-manager 1.28.13 4540286 - systemd-libs 239 4488264 - httpd 2.4.37 4261616 - glusterfs-client-xlators 8.5 4217216 - gsettings-desktop-schemas 3.32.0 4216866 - groff-base 1.22.3 4034012 - python3-libdnf 0.55.0 4018905 - shadow-utils 4.6 3915158 - python3-passlib 1.7.2 3825697 - libsodium-devel 1.0.18 3757208 - openssl-libs 1.1.1g 3669178 - cockpit-system 249 3424334 - geolite2-country 20180605 3346137 - python3-future 0.18.2 3270833 - isl 0.16.1 3270660 - net-snmp-libs 5.8 3168332 - python2-setuptools 39.0.1 2990455 - gnutls 3.6.14 2930503 - platform-python-setuptools 39.2.0 2876729 - tar 1.30 2873607 - python3-cryptography 3.2.1 2866122 - glusterfs 8.5 2760053 - PackageKit 1.1.12 2706225 - python3-setools 4.3.0 2699886 - gawk 4.2.1 2657576 - gdk-pixbuf2 2.36.12 2627103 - pam 1.3.1 2611832 - python3-jinja2 2.10.1 2607520 - setroubleshoot-plugins 3.3.13 2569940 - openssh-clients 8.0p1 2549569 - kbd-misc 2.0.4 2442451 - shared-mime-info 1.9 2395905 - iproute 5.12.0 2385867 - sos 4.1 2343195 - libdnf 0.55.0 2305955 - cockpit-ws 249 2282856 - net-snmp-agent-libs 5.8 2237891 - krb5-libs 1.18.2 2160874 - python3-psutil 5.6.3 2086913 - rpm 4.14.3 2085187 - dnf 4.4.2 2077004 - libuser 0.62 2075095 - cryptsetup-libs 2.3.3 2030257 - glibc-headers 2.28 1922619 - pcre2-devel 10.32 1918153 - openssh 8.0p1 ```

@bdunne I'm wondering if there are things in this list maybe we can drop or shrink?

Fryguy commented 3 years ago

Also ran the following on our specific RPMs:

rpm -qlv manageiq-gemset | sed 's/^.\{40\}//' | sort -nr | head -n 100
Original details - see later posts for updates ```sh [root@f417e65db954 /]# rpm -qlv manageiq-gemset | sed 's/^.\{40\}//' | sort -nr | head -n 100 8634551 Aug 12 00:04 /opt/manageiq/manageiq-gemset/gems/autoprefixer-rails-10.3.1.0/vendor/autoprefixer.js 3711784 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.0.0/lib/VMwareWebService/wsdl41/vimws25MappingRegistry.rb 3424752 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/sassc-2.4.0/ext/libsass.so 3424752 Aug 12 00:30 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/sassc-2.4.0/sassc/libsass.so 2557537 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/service.rb 2364904 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/3.0/nokogiri.so 2360840 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.7/nokogiri.so 2356712 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.6/nokogiri.so 2356712 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.5/nokogiri.so 2287266 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.254.0/lib/aws-sdk-ec2/client.rb 2247107 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.254.0/lib/aws-sdk-ec2/types.rb 2224221 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/service.rb 1978130 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/service.rb 1868190 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/classes.rb 1788786 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/rbvmomi-3.0.0/vmodl.db 1747488 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/rdkafka-0.9.0/ext/librdkafka.so 1684120 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/rugged-1.1.1/ext/rugged/rugged.so 1684120 Aug 12 00:30 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/rugged-1.1.1/rugged/rugged.so 1643075 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/classes.rb 1520748 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/classes.rb 1458869 Aug 12 00:02 /opt/manageiq/manageiq-gemset/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb 1437417 Aug 12 00:02 /opt/manageiq/manageiq-gemset/gems/unf_ext-0.0.7.7/ext/unf_ext/unf/table.hh 1364386 Aug 12 00:04 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/types.rb 1329254 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.254.0/lib/aws-sdk-ec2/client_api.rb 1327181 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/ja.json 1296549 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/pt_BR.json 1285720 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/fr.json 1281921 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/es.json 1260741 Aug 12 00:04 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/services.rb 1250306 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/ko.json 1222764 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/de.json 1212035 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/it.json 1077502 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/zh_TW.json 1060735 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/zh_CN.json 1001797 Aug 12 00:02 /opt/manageiq/manageiq-gemset/gems/mail-2.7.1/lib/mail/values/unicode_tables.dat 984211 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/assets/images/layout/bg-login.png 947986 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/database/database_client.rb 910909 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.125.0/lib/aws-sdk-rds/client.rb 907623 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.0.0/lib/VMwareWebService/wsdl41/vim.wsdl 904323 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.0.0/lib/VMwareWebService/wsdl41/vim-types.xsd 874307 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-LightItalic-webfont.svg 874173 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-Italic-webfont.svg 873842 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-SemiboldItalic-webfont.svg 873543 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-ExtraBoldItalic-webfont.svg 873356 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-BoldItalic-webfont.svg 871077 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-Regular-webfont.svg 870865 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-ExtraBold-webfont.svg 870623 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-Semibold-webfont.svg 870463 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-Bold-webfont.svg 869992 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/OpenSans-Light-webfont.svg 867588 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/core/virtual_network_client.rb 783039 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.125.0/lib/aws-sdk-rds/types.rb 719237 Aug 12 00:13 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/yarn.lock 695131 Aug 12 00:02 /opt/manageiq/manageiq-gemset/gems/qpid_proton-0.30.0/ext/cproton/cproton.c 687421 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/log_analytics/log_analytics_client.rb 668188 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/data_catalog/data_catalog_client.rb 648201 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/representations.rb 646180 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/javascript/oldjs/locale/en.json 634139 Aug 12 00:04 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/readers.rb 625373 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-s3-1.98.0/lib/aws-sdk-s3/client.rb 583372 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-s3-1.98.0/lib/aws-sdk-s3/types.rb 579363 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-iam-1.59.0/lib/aws-sdk-iam/client.rb 572842 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/representations.rb 560066 Aug 12 00:00 /opt/manageiq/manageiq-gemset/gems/mime-types-2.6.1/data/mime-types.json 559887 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_4/classes.rb 537048 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/sheets_v4/classes.rb 532110 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/representations.rb 520543 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_3/classes.rb 515164 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/content_v2_1/classes.rb 514208 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_4/service.rb 511908 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_3/service.rb 495560 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/qpid_proton-0.30.0/ext/cproton/cproton.so 495560 Aug 12 00:30 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/qpid_proton-0.30.0/cproton.so 487575 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/data_integration/data_integration_client.rb 484256 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-iam-1.59.0/lib/aws-sdk-iam/types.rb 484057 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/apigee_v1/service.rb 453394 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/content_v2/classes.rb 445557 Aug 12 00:10 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-nsxt-d0c7629b7b3f/yarn.lock 444379 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/patternfly-sass-3.59.5/dist/fonts/fontawesome-webfont.svg 443406 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/identity/identity_client.rb 433665 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/vision_v1/classes.rb 431696 Aug 12 00:30 /opt/manageiq/manageiq-gemset/gems/unf_ext-0.0.7.7/ext/unf_ext/unf_ext.so 431696 Aug 12 00:30 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/unf_ext-0.0.7.7/unf_ext.so 428250 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.125.0/lib/aws-sdk-rds/client_api.rb 422240 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/ruport-1.7.0.3/examples/data/tattle.dump 421858 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/vision_v1p2beta1/classes.rb 421858 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/vision_v1p1beta1/classes.rb 401286 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dialogflow_v3beta1/classes.rb 399701 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/railties-6.0.3.7/lib/rails/templates/rails/welcome/index.html.erb 397229 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/aws-sdk-cloudformation-1.55.0/lib/aws-sdk-cloudformation/types.rb 395758 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/healthcare_v1beta1/service.rb 391555 Aug 12 00:01 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-6999e79642c8/app/assets/images/layout/bg-modal-about-pf.png 390452 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/font-awesome-sass-4.6.2/assets/fonts/font-awesome/fontawesome-webfont.svg 387984 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/cloud_guard/cloud_guard_client.rb 383226 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/database/database_client_composite_operations.rb 378530 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/ibm_vpc-0.2.0/lib/ibm_vpc/vpc_v1.rb 378241 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/logging_v2/service.rb 375411 Aug 12 00:09 /opt/manageiq/manageiq-gemset/gems/oci-2.15.0/lib/oci/opsi/operations_insights_client.rb 373111 Aug 12 00:04 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/writers.rb 369956 Aug 12 00:08 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/displayvideo_v1/classes.rb ```
Fryguy commented 3 years ago
rpm -qlv manageiq-core | sed 's/^.\{40\}//' | sort -nr | head -n 100
Original details - see later posts for updates ``` [root@f417e65db954 /]# rpm -qlv manageiq-core | sed 's/^.\{40\}//' | sort -nr | head -n 100 3167343 Aug 12 00:00 /var/www/miq/vmdb/locale/ja/manageiq.po 3142088 Aug 12 00:00 /var/www/miq/vmdb/locale/pt_BR/manageiq.po 3131189 Aug 12 00:00 /var/www/miq/vmdb/locale/fr/manageiq.po 3127414 Aug 12 00:00 /var/www/miq/vmdb/locale/es/manageiq.po 3090377 Aug 12 00:00 /var/www/miq/vmdb/locale/ko/manageiq.po 3068312 Aug 12 00:00 /var/www/miq/vmdb/locale/de/manageiq.po 3057572 Aug 12 00:00 /var/www/miq/vmdb/locale/it/manageiq.po 2917629 Aug 12 00:00 /var/www/miq/vmdb/locale/zh_TW/manageiq.po 2902947 Aug 12 00:00 /var/www/miq/vmdb/locale/zh_CN/manageiq.po 2496590 Aug 12 00:00 /var/www/miq/vmdb/locale/manageiq.pot 2496587 Aug 12 00:00 /var/www/miq/vmdb/locale/en/manageiq.po 996027 Aug 12 00:22 /var/www/miq/vmdb/tmp/cache/sti_loader.yml 340566 Aug 12 00:00 /var/www/miq/vmdb/CHANGELOG.md 229372 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_product_features.yml 110385 Aug 12 00:00 /var/www/miq/vmdb/locale/en.yml 62951 Aug 12 00:00 /var/www/miq/vmdb/app/models/vm_or_template.rb 58968 Aug 12 00:00 /var/www/miq/vmdb/app/models/host.rb 53274 Aug 12 00:00 /var/www/miq/vmdb/lib/miq_expression.rb 51577 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_request_workflow.rb 43482 Aug 12 00:00 /var/www/miq/vmdb/lib/extensions/ar_adapter/ar_dba.rb 42156 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_provision_virt_workflow.rb 41648 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_action.rb 39916 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_searches.yml 38604 Aug 12 00:00 /var/www/miq/vmdb/app/models/ext_management_system.rb 35561 Aug 12 00:00 /var/www/miq/vmdb/config/settings.yml 34206 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/customization_templates.yml 33836 Aug 12 00:00 /var/www/miq/vmdb/lib/rbac/filterer.rb 33017 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_report/generator.rb 32958 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_alert.rb 31997 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/classifications.yml 31036 Aug 12 00:00 /var/www/miq/vmdb/app/models/storage.rb 28350 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_user_roles.yml 26596 Aug 12 00:00 /var/www/miq/vmdb/app/models/infra_conversion_job.rb 25059 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_queue.rb 24592 Aug 12 00:00 /var/www/miq/vmdb/app/models/mixins/relationship_mixin.rb 22992 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_report_formats.yml 22932 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_event_definition_events.yml 21716 Aug 12 00:00 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_dialogs.yaml 21069 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_request.rb 20839 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_widget.rb 20781 Aug 12 00:00 /var/www/miq/vmdb/app/models/vim_performance_analysis.rb 20491 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_schedule_worker/runner.rb 20189 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_compare.rb 19654 Aug 12 00:00 /var/www/miq/vmdb/lib/ansible/runner.rb 19598 Aug 12 00:00 /var/www/miq/vmdb/lib/manageiq/reporting/formatter/chart_common.rb 19044 Aug 12 00:00 /var/www/miq/vmdb/app/models/service_template.rb 18941 Aug 12 00:00 /var/www/miq/vmdb/app/models/mixins/authentication_mixin.rb 18803 Aug 12 00:24 /var/www/miq/vmdb/content/ansible_consolidated/roles/manageiq-core.manageiq-automate/library/manageiq_automate.py 18617 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_shortcuts.yml 18499 Aug 12 00:00 /var/www/miq/vmdb/app/models/conversion_host.rb 18377 Aug 12 00:00 /var/www/miq/vmdb/app/models/classification.rb 17565 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_schedule.rb 17555 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_policy.rb 17360 Aug 12 00:00 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_template.yaml 16843 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_worker.rb 16360 Aug 12 00:00 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_clone_to_vm.yaml 16032 Aug 12 00:00 /var/www/miq/vmdb/lib/miq_ldap.rb 15717 Aug 12 00:00 /var/www/miq/vmdb/app/models/service_template_transformation_plan_task.rb 15518 Aug 12 00:00 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_microsoft_dialogs_template.yaml 15240 Aug 12 00:00 /var/www/miq/vmdb/app/models/user.rb 15219 Aug 12 00:00 /var/www/miq/vmdb/app/models/service.rb 15151 Aug 12 00:00 /var/www/miq/vmdb/app/models/ems_refresh/save_inventory.rb 15114 Aug 12 00:00 /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb 14607 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_server.rb 14349 Aug 12 00:00 /var/www/miq/vmdb/app/models/mixins/scanning_mixin.rb 14099 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_report_result.rb 14072 Aug 12 00:00 /var/www/miq/vmdb/lib/git_worktree.rb 13637 Aug 12 00:00 /var/www/miq/vmdb/lib/tasks/locale.rake 13576 Aug 12 00:00 /var/www/miq/vmdb/app/models/metric/rollup.rb 13555 Aug 12 00:00 /var/www/miq/vmdb/app/models/service/aggregation.rb 13392 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/README.md 12927 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/miq_policy_sets.yml 12789 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_worker/runner.rb 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqtail-request 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqtail 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqssh 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqscp 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqgrep-request 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqgrep-collate 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqgrep 12557 Aug 12 00:00 /var/www/miq/vmdb/tools/miqssh/miqcollect 12556 Aug 12 00:00 /var/www/miq/vmdb/Gemfile 12477 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_task.rb 12338 Aug 12 00:00 /var/www/miq/vmdb/app/models/mixins/miq_provision_mixin.rb 12305 Aug 12 00:00 /var/www/miq/vmdb/db/fixtures/notification_types.yml 11610 Aug 12 00:00 /var/www/miq/vmdb/lib/tasks/evm_automate.rake 11583 Aug 12 00:00 /var/www/miq/vmdb/app/models/ems_refresh/save_inventory_network.rb 11578 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_group.rb 11563 Aug 12 00:00 /var/www/miq/vmdb/app/models/chargeback.rb 11465 Aug 12 00:00 /var/www/miq/vmdb/app/models/manageiq/providers/inventory/persister/builder/container_manager.rb 11404 Aug 12 00:00 /var/www/miq/vmdb/app/models/tenant.rb 11399 Aug 12 00:00 /var/www/miq/vmdb/app/models/chargeback_rate_detail.rb 11391 Aug 12 00:00 /var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb 11358 Aug 12 00:00 /var/www/miq/vmdb/LICENSE.txt 11358 Aug 12 00:00 /var/www/miq/vmdb/lib/generators/manageiq/plugin/templates/LICENSE.txt 11357 Aug 12 00:24 /var/www/miq/vmdb/content/ansible_consolidated/roles/manageiq-core.manageiq-vmdb/LICENSE 11357 Aug 12 00:24 /var/www/miq/vmdb/content/ansible_consolidated/roles/manageiq-core.manageiq-automate/LICENSE 11342 Aug 12 00:00 /var/www/miq/vmdb/app/models/authenticator/base.rb 11280 Aug 12 00:00 /var/www/miq/vmdb/app/models/miq_report.rb 11144 Aug 12 00:00 /var/www/miq/vmdb/app/models/vm_scan/dispatcher.rb ```
Fryguy commented 3 years ago
rpm -qlv manageiq-ui | sed 's/^.\{40\}//' | sort -nr | head -n 100
Original details - see later posts for updates ``` [root@f417e65db954 /]# rpm -qlv manageiq-ui | sed 's/^.\{40\}//' | sort -nr | head -n 100 30921296 Aug 12 00:21 /var/www/miq/vmdb/public/packs/vendor-334386d4640b4778b379.js.map 22009386 Aug 12 00:21 /var/www/miq/vmdb/public/packs/vendor-334386d4640b4778b379.js 4249545 Aug 12 00:21 /var/www/miq/vmdb/public/packs/vendor-334386d4640b4778b379.js.gz 3915243 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/js/app-f38b39a2534ac351e08f.js 1264616 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-v2v/migration-6946721133e7036e747a.js.map 1175709 Aug 12 00:21 /var/www/miq/vmdb/public/packs/shims-bea0682b74c6760485fc.js.map 984211 Aug 12 00:01 /var/www/miq/vmdb/public/assets/layout/bg-login-3cd3590654de928603d6c31bb2948d015438865d825806f9ca615aabe8aa136c.png 874307 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/19e140257cfe1a13f3106b51e72e0146.svg 874307 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-LightItalic-webfont-132583e4d3cccfaf1196fe5ad00bb0cbf393a5a1b4854702e54931259d432b18.svg 874173 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/b4a6cb27f4b32bbc06e6e4daca19e733.svg 874173 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Italic-webfont-476362f7ea6cfc6f9d5eb01736ca658424668c8e5c1916136047357c4a5a542b.svg 873842 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/9ff71d972876b74365e958b6c568f48a.svg 873842 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-SemiboldItalic-webfont-b8700763a5130cc7fab1fe9ae6b567fbef80b9de888c1783b3e5247e8dff1012.svg 873543 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/9aa1b5ca94d0bec3948d43436b3f3641.svg 873543 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBoldItalic-webfont-d0c0ffba7921d4cfec0431463cc3e8c75007075a590cc1b8fd1e7924ff334549.svg 873356 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/0e90d4f3942b6da276b80ce486a147b5.svg 873356 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-BoldItalic-webfont-af2ce123ebedf0f404c77e833bf13c29e28fb3f56e2f5f1df342f65881700077.svg 871077 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/77786a1b5681506a4a372f2b9ae61bc4.svg 871077 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Regular-webfont-51a61f77bd39b766d303af9a0c6b2e5dd5d74bf0d437a8e8aa5f8953880fc262.svg 870865 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/d0218041fe287f1f17a88823940fe59c.svg 870865 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBold-webfont-cb8a0ad37420b51ef6d13c9a037bf36db3e23545f64332be05b7a2801d8c915e.svg 870623 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/c851a4ed62e506c93b77011f7b68dc4d.svg 870623 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Semibold-webfont-4271dafebe3cc50f62c20383b2652d04fa7dd9fa4dfb64c773097a4d8c9c7455.svg 870463 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/c537d95794e4189d6e71f5d46702d122.svg 870463 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Bold-webfont-c72500f0ff9465154f3139bdd7b2609b639774d744191ea8d16b3c9272dfd992.svg 869992 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/f8552281c8e23e52076fd8e573c422d6.svg 869992 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Light-webfont-16c27065b634e2a894dc08518edb346fe4d50fc235e80b9dae72039472dd3378.svg 777679 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-ui-classic/component-definitions-common-c458b9dca74f6e5e9cc3.js.map 644857 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/app-c95f1543bc6cf485d654.css 615827 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/console_webmks-9fe6e6f9eaee7b36ec44.css 603681 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/console_webmks-9fe6e6f9eaee7b36ec44.css.map 574882 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/js/console_webmks-6f498e257e7949811c79.js 509753 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/app-c95f1543bc6cf485d654.css.map 485364 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-ui-classic/application-common-b64726dc05dfff67e412.js.map 478976 Aug 12 00:13 /var/www/miq/vmdb/public/assets/application-25e1e99b1a05151c031da12d9599f106ed5c7b27f3617293cb26833ce6c42a06.css 449331 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-ui-classic/application-common-b64726dc05dfff67e412.js 444379 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/c1e38fd9e0e74ba58f7a2b77ef29fdd3.svg 444379 Aug 12 00:08 /var/www/miq/vmdb/public/assets/fontawesome-webfont-ad6157926c1622ba4e1d03d478f1541368524bfc46f51e42fe0d945f7ef323e4.svg 402778 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-v2v/migration-6946721133e7036e747a.js 391555 Aug 12 00:01 /var/www/miq/vmdb/public/assets/layout/bg-modal-about-pf-56f762638ab86a2be2e8519721c04916510cc1959442024c78f89c59c281e476.png 390452 Aug 12 00:08 /var/www/miq/vmdb/public/assets/font-awesome/fontawesome-webfont-6b0adce775f4d57ac800f23b05af72ced748ae51ba67a65b67b7316f1ed331b3.svg 362286 Aug 12 00:21 /opt/manageiq/manifest/webpack_modules_manifest.json 336044 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/images/bg-modal-about-pf.png 264819 Aug 12 00:21 /var/www/miq/vmdb/public/packs/shims-bea0682b74c6760485fc.js 245040 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-ui-classic/component-definitions-common-c458b9dca74f6e5e9cc3.js 224592 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/043771c999cd4d47d9f33c9c7e42c392.ttf 224592 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Bold-webfont-5894a3649b213cf5b2d673b6e7a871815fd1d120fa68a463592f27db14eae323.ttf 224152 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/images/os/os-linux_generic.svg 224152 Aug 12 00:01 /var/www/miq/vmdb/public/assets/svg/os-linux_generic-da321b93f0c529d635b854348eef984f75c5aa233bb4b6a1b436d441eb61b6c1.svg 222584 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/8dafb2ac05778278072ad2668b8df231.ttf 222584 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBold-webfont-0fcbdb5cbeea00ae532352c7c94a7d288ebc911ba85f4d595012032dcab64ba8.ttf 222412 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/3d5923f94fc319b5652a7feb9dfa2b28.ttf 222412 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Light-webfont-cf5f5184c1441a1660aa52526328e9d5c2793e77b6d8d3a3ad654bdb07ab8424.ttf 221328 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/029b9bc9d72f4d799803735f6295f763.ttf 221328 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Semibold-webfont-aa3b0ef53db12e3d45094030cac0e69d384e44cc5978643dd4390041cad546e2.ttf 217360 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/17e98b9e5586529b13ccb1f7af16861c.ttf 217360 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Regular-webfont-e64e508b2aa2880f907e470c4550980ec4c0694d103a43f36150ac3f93189bee.ttf 213420 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/834e159ebdb3097d4619d70d256f7be3.ttf 213420 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBoldItalic-webfont-0eeca981116621a96a484ecc58fbfcdc78fda0065fd21fd13707b63bf8a9912c.ttf 213292 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/1c9d53ac65b20d03c4d08ff2cf922862.ttf 213292 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-BoldItalic-webfont-3ca680f2444cc9e50447d057c006464566e92f2e77b0b6e26491e5bd757ed4e7.ttf 213128 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/4f712f17699ad78028280a6ffd0ce325.ttf 213128 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-LightItalic-webfont-4482d18b30c4534b5481d594b7c0bc7a9913a7c4c261985e452010a89ab755fc.ttf 212896 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/9585580230392fee3fdc7d8e632e404e.ttf 212896 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Italic-webfont-a54dc8488f8193bf30c3820cf6f261f911f9d328d699e1a1b8042641554cec70.ttf 212820 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/2010272e7b458452ae46966c2ae09829.ttf 212820 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-SemiboldItalic-webfont-30536248e59274548d51245662f9deec7fb52946faba33aade28c41473bdd39b.ttf 179051 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/gettext/json/manageiq-ui-service.json 165742 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/8b43027f47b20503057dfbbaa9401fef.eot 165742 Aug 12 00:08 /var/www/miq/vmdb/public/assets/fontawesome-webfont-7bfcab6db99d5cfbf1705ca0536ddc78585432cc5fa41bbd7ad0f009033b2979.eot 165548 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/1e59d2330b4c6deb84b340635ed36249.ttf 165548 Aug 12 00:08 /var/www/miq/vmdb/public/assets/fontawesome-webfont-aa58f33f239a0fb02f5c7a6c45c043d7a9ac9a093335806694ecd6d4edc0d6a8.ttf 163022 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/d16454352162210a76d9b7bc1a5b9878.svg 163022 Aug 12 00:02 /var/www/miq/vmdb/public/assets/font-fabulous/font-fabulous-43526b87568bf40f4ac661c2d7d01421044d9d669637fe721a0a2e7f268681c9.svg 152364 Aug 12 00:08 /var/www/miq/vmdb/public/assets/font-awesome/fontawesome-webfont-8630313bee77f64206067ed80eb6a7c721b0bbfc91c94210966969d4dcc43ba7.ttf 149585 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/714208b18d35e0a31d32e1e5fafd4add.svg 149585 Aug 12 00:08 /var/www/miq/vmdb/public/assets/PatternFlyIcons-webfont-5b7751382761307ca3ecfc7b20573dbb98ef571467cb15e0d63c4d3b5d8bbb4e.svg 139410 Aug 12 00:24 /opt/manageiq/manifest/webpack_modules_manifest_service_ui.json 134485 Aug 12 00:08 /var/www/miq/vmdb/public/assets/fontawesome-webfont-ad6157926c1622ba4e1d03d478f1541368524bfc46f51e42fe0d945f7ef323e4.svg.gz 118291 Aug 12 00:08 /var/www/miq/vmdb/public/assets/font-awesome/fontawesome-webfont-6b0adce775f4d57ac800f23b05af72ced748ae51ba67a65b67b7316f1ed331b3.svg.gz 116596 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Bold-webfont-5894a3649b213cf5b2d673b6e7a871815fd1d120fa68a463592f27db14eae323.ttf.gz 116141 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBold-webfont-0fcbdb5cbeea00ae532352c7c94a7d288ebc911ba85f4d595012032dcab64ba8.ttf.gz 116043 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Semibold-webfont-aa3b0ef53db12e3d45094030cac0e69d384e44cc5978643dd4390041cad546e2.ttf.gz 115697 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Light-webfont-cf5f5184c1441a1660aa52526328e9d5c2793e77b6d8d3a3ad654bdb07ab8424.ttf.gz 113933 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Regular-webfont-e64e508b2aa2880f907e470c4550980ec4c0694d103a43f36150ac3f93189bee.ttf.gz 112412 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-SemiboldItalic-webfont-30536248e59274548d51245662f9deec7fb52946faba33aade28c41473bdd39b.ttf.gz 112220 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBoldItalic-webfont-0eeca981116621a96a484ecc58fbfcdc78fda0065fd21fd13707b63bf8a9912c.ttf.gz 111881 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-LightItalic-webfont-4482d18b30c4534b5481d594b7c0bc7a9913a7c4c261985e452010a89ab755fc.ttf.gz 111867 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Italic-webfont-a54dc8488f8193bf30c3820cf6f261f911f9d328d699e1a1b8042641554cec70.ttf.gz 111764 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-BoldItalic-webfont-3ca680f2444cc9e50447d057c006464566e92f2e77b0b6e26491e5bd757ed4e7.ttf.gz 108738 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/060b2710bdbbe3dfe48b58d59bd5f1fb.svg 108738 Aug 12 00:08 /var/www/miq/vmdb/public/assets/glyphicons-halflings-regular-42f60659d265c1a3c30f9fa42abcbb56bd4a53af4d83d316d6dd7a36903c43e5.svg 103318 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/images/os/os-linux_ubuntu.png 101668 Aug 12 00:21 /var/www/miq/vmdb/public/packs/manageiq-providers-nsxt/component-definitions-common-8713fa97aa1bc8c47ef8.js.map 100579 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/81ca46fd4b32d0a55978c7c49d6eb114.eot 100579 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Semibold-webfont-1dae099938390a2129a1ffa43a6e06827fd0a6c065551bdcb09373972a237754.eot 100333 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/af81c56a0d55458f515886fa02bd2574.eot 100333 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-Bold-webfont-40bbc553b60675639b2d52fb91f3a885ee0af0825c6d2a132a2a32308a537aa0.eot 100097 Aug 12 00:24 /var/www/miq/vmdb/public/ui/service/styles/ee6ecefd6f9073f625cead50f62dc030.eot 100097 Aug 12 00:08 /var/www/miq/vmdb/public/assets/OpenSans-ExtraBold-webfont-ed1d70da573d78cb248be4a3e2710d99a2e22e3f96a078ea3f85c0e1447bae26.eot ```
kbrock commented 3 years ago

rpm_contents

lets go clockwise starting with 12:00

time color size dir contents
12:00 purple 61mb bundle/gems classic-ui: 29MB w/ app/javascript/locale: 12MB
1:00 pink 64mb vmdb../packs vendor.js.map: 31mb, vendor.js: 22mb, vendor.js.gz: 4mb
2:00 pink 26mb ui/service styles:18mb, assets:24mb, mostly with way too many ttf fonts
2:45 salmon 32mb locale 10 locales @3.2mb
3:00 orange 147mb azure gem
6:00 lime 74mb google-api
7:00 green 70mb oci
7:45 green 27mb azure again I kid you not

I blew out the green (gems) section which is 613.5mb:

disk_gems

note: graph shows whole gemset while file listing on the right is particular to just the gems. second biggest purple is content (automate being the whole disk usage)

Fryguy commented 3 years ago

azure is such a nasty gem - I wonder if we can find a way to affect upstream to avoid so much on-disk space wasting.

kbrock commented 3 years ago

proposal

Remember that the total image size is around 800mb but different filesystems will show different numbers lets not focus more on >50mb wins. Cleaning up what is downloaded to the client has a bigger win than disk space.

Having multiple ui frameworks is hurting us. Standardizing on common fonts would gain us a lot. Reducing the fonts to just those that we use and using them across both ui interfaces (removing extra formats as mentioned before) is a big win - probably more than 100mb

I do wonder if removing fonts and sass from our pipelines would give us a big boost for rpm/image build time (a lot here) and disk usage. We could tweak our font usage too (this topic is over mentioned. sorry.)

agrare commented 3 years ago

azure_mgmt_* are used by the azure_stack provider, and has been discontinued by microsoft unfortunately https://github.com/Azure/azure-sdk-for-ruby#important-announcement so I doubt we'll be able to effect any major changes there.

kbrock commented 3 years ago

azure_mgmt_* are used by the azure_stack provider, and has been discontinued by microsoft unfortunately https://github.com/Azure/azure-sdk-for-ruby#important-announcement so I doubt we'll be able to effect any major changes there.

It is no longer supported and they have an alternate interface. Moving to the new one should be a win. no?

Alternatively, if we can determine which azure api we are using and delete the ones that we are not would reduce the gem down from 146mb to 8mb. but this is hackery and would be better if we could get off of it.

That is signing up @agrare for work though. Not sure if they have an easy migration plan. (or if it is within my scope)

agrare commented 3 years ago

It is no longer supported and they have an alternate interface. Moving to the new one should be a win. no?

Are you talking about MsRestAzure? This is not much more than a thin wrapper around the Rest APIs (see https://github.com/Azure/azure-sdk-for-ruby/blob/master/docs/create_a_virtual_machine.md)

Should we move to this? Yes, eventually Is it going to take a lot of refactoring and a lot of time/effort? Yes

So not a trivial drop-in replacement by any means

kbrock commented 3 years ago

Our ruby and javascript calls:

Wonder what part of our app still uses the asset pipeline vs webpacker. If we just used webpacker, we would be able to remove a lot of processing and files from ruby.

part of the reason I would like to simplify patternfly and sass is it would be simpler for us to define the font formats we use (and delete all the extra ones) rather than have fonts automatically included and loose control of pruning these out

kbrock commented 3 years ago

@Fryguy mentioned there are duplicate so files in both extensions/ and /gems/*/{lib,ext} I thought ext was where native gems were compiles. But many of these seem to have other plans. Nokogiri looks like it has a number of entries for a number of different versions of something.

Total savings on the table is: 13mb I think I remember that ruby code used different mechanisms to load a .so so the directory it needed to be found was different. I seem to remember that some used something closer to require/the path and found them in extensions, others used something closer to require_relative/rb files and found it in /gems/

Is this triggering anything for anyone?

$ find . -name \*.so -exec du -k {} \; | sort -nr
3348    ./opt/manageiq/manageiq-gemset/gems/sassc-2.4.0/ext/libsass.so
3348    ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/sassc-2.4.0/sassc/libsass.so
2312    ./opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/3.0/nokogiri.so
2308    ./opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.7/nokogiri.so
2304    ./opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.6/nokogiri.so
2304    ./opt/manageiq/manageiq-gemset/gems/nokogiri-1.12.3-x86_64-linux/lib/nokogiri/2.5/nokogiri.so
1708    ./opt/manageiq/manageiq-gemset/gems/rdkafka-0.9.0/ext/librdkafka.so
1648    ./opt/manageiq/manageiq-gemset/gems/rugged-1.1.1/ext/rugged/rugged.so
1648    ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/rugged-1.1.1/rugged/rugged.so
484 ./opt/manageiq/manageiq-gemset/gems/qpid_proton-0.30.0/ext/cproton/cproton.so
484 ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/qpid_proton-0.30.0/cproton.so
424 ./opt/manageiq/manageiq-gemset/gems/unf_ext-0.0.7.7/ext/unf_ext/unf_ext.so
424 ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/unf_ext-0.0.7.7/unf_ext.so
304 ./opt/manageiq/manageiq-gemset/gems/pg-1.2.3/ext/pg_ext.so
304 ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/pg-1.2.3/pg_ext.so
232 ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/ffi-1.15.3/ffi_c.so
136 ./opt/manageiq/manageiq-gemset/gems/nio4r-2.5.8/ext/nio4r/nio4r_ext.so
136 ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/nio4r-2.5.8/nio4r_ext.so
84  ./opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/ext/ovirtsdk4c/ovirtsdk4c.so
84  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/ovirt-engine-sdk-4.4.1/ovirtsdk4c.so
64  ./opt/manageiq/manageiq-gemset/gems/escape_utils-1.2.1/ext/escape_utils/escape_utils.so
64  ./opt/manageiq/manageiq-gemset/gems/byebug-11.1.3/ext/byebug/byebug.so
64  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/escape_utils-1.2.1/escape_utils/escape_utils.so
64  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/byebug-11.1.3/byebug/byebug.so
60  ./opt/manageiq/manageiq-gemset/gems/puma-4.3.8/ext/puma_http11/puma_http11.so
60  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/puma-4.3.8/puma/puma_http11.so
52  ./opt/manageiq/manageiq-gemset/gems/json-2.5.1/ext/json/ext/generator/generator.so
52  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/json-2.5.1/json/ext/generator.so
44  ./opt/manageiq/manageiq-gemset/gems/http-parser-1.2.3/ext/x86_64-linux/libhttp-parser-ext.so
40  ./opt/manageiq/manageiq-gemset/gems/bcrypt_pbkdf-1.1.0/ext/mri/bcrypt_pbkdf_ext.so
40  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/bcrypt_pbkdf-1.1.0/bcrypt_pbkdf_ext.so
36  ./opt/manageiq/manageiq-gemset/gems/json-2.5.1/ext/json/ext/parser/parser.so
36  ./opt/manageiq/manageiq-gemset/gems/hamlit-2.11.1/ext/hamlit/hamlit.so
36  ./opt/manageiq/manageiq-gemset/gems/bcrypt-3.1.16/ext/mri/bcrypt_ext.so
36  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/json-2.5.1/json/ext/parser.so
36  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/hamlit-2.11.1/hamlit/hamlit.so
36  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/bcrypt-3.1.16/bcrypt_ext.so
28  ./opt/manageiq/manageiq-gemset/gems/racc-1.5.2/ext/racc/cparse/cparse.so
28  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/racc-1.5.2/racc/cparse.so
24  ./opt/manageiq/manageiq-gemset/gems/surro-gate-1.0.5/ext/surro-gate/selector_ext.so
24  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/surro-gate-1.0.5/surro-gate/selector_ext.so
12  ./opt/manageiq/manageiq-gemset/gems/websocket-driver-0.6.5/ext/websocket-driver/websocket_mask.so
12  ./opt/manageiq/manageiq-gemset/gems/memory_buffer-0.1.0/ext/memory_buffer/memory_buffer.so
12  ./opt/manageiq/manageiq-gemset/gems/linux_block_device-0.2.1/ext/linux_block_device/linux_block_device.so
12  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/websocket-driver-0.6.5/websocket_mask.so
12  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/memory_buffer-0.1.0/memory_buffer/memory_buffer.so
12  ./opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.6.0/linux_block_device-0.2.1/linux_block_device/linux_block_device.so

I can't find a rhyme or reason around the .so files. It looks like some of them have extensions and some of them are in the build directory.

kbrock commented 3 years ago

looking at js filies, I noticed a bunch of seemingly duplicate js files

# find js files, figure out their disk usage (in k) # put the filename at the beginning of the line for duplicate detection
find . -name \*.js -exec du -sk {} \; | sed 's|^\([^.]*\)\(\..*/\)\(.*\)|\3 \1\2\3|g' | sort

If you wanted to list the disk space at the beginning, then you out probably use something like \1\3 \2

findings

noVNC is listed 2 times (ui classic and ui self service), and each of the installs has a vendor,core, are duplicated in the lib directory. So there are potentially 4 copies of each file.

So it seem strange when we have 6 copies of jquery and I think they are served as one of our app bundles (need to look back into asset pipeline how we are bundling jquery)

high level

Our appliance is built to be able to be able to bundle / build the app. So it will, by definition, have most of the files in a build section and the destination section. So many resources will be duplicated. Not sure if that is the reasoning behind the so files.

Fryguy commented 3 years ago

https://github.com/ManageIQ/manageiq-ui-classic/pull/7838 may help drop sass and by extension, uglifier, execjs, nodejs

Fryguy commented 2 years ago

nodejs (https://github.com/ManageIQ/manageiq-ui-classic/issues/8300) is gone now as is python 2 (https://github.com/ManageIQ/manageiq-rpm_build/pull/287)

Fryguy commented 2 years ago

Updated numbers from the najdorf-1 build:

largest rpms ```bash $ rpm -qa --queryformat '%10{size} - %-25{name} \t %{version}\n' | sort -nr | head -n 100 564758587 - manageiq-gemset 14.0.0 315625962 - ansible 5.4.0 68839810 - openscap 1.3.6 67498057 - nodejs-docs 14.18.2 61782719 - gcc 8.5.0 56549434 - geolite2-city 20180605 38371133 - nodejs 14.18.2 36644942 - wmi 1.3.14 34373278 - python38-libs 3.8.13 33716339 - libicu 60.3 32307174 - python3-libs 3.6.8 29722862 - cpp 8.5.0 28664528 - nodejs-full-i18n 14.18.2 26869133 - python38-babel 2.7.0 25765677 - git-core 2.31.1 24937519 - binutils 2.30 20251376 - samba-client-libs 4.16.2 19843939 - manageiq-core 14.0.0 16214561 - python3-vspk 5.3.2 15760633 - npm 6.14.15 14391691 - perl-interpreter 5.26.3 13009671 - git-core-doc 2.31.1 12275648 - glib2 2.56.4 11696518 - ruby-libs 2.7.4 11562761 - util-linux 2.32.1 11252615 - systemd 239 10826801 - freeipmi 1.6.8 10200695 - perl-Encode 2.97 9922363 - gnupg2 2.2.20 9836178 - ansible-core 2.12.7 9815016 - cracklib-dicts 2.9.6 9202588 - libxml2-devel 2.9.7 8828956 - glibc-common 2.28 7784945 - python38-pip 19.3.1 7116858 - platform-python-pip 9.0.3 6861468 - bash 4.4.20 6760624 - glibc 2.28 6660142 - GConf2 3.2.6 6386573 - file-libs 5.33 6284703 - glibc-langpack-en 2.28 6160361 - python3-docutils 0.14 6105244 - perl-libs 5.26.3 5446691 - kernel-headers 4.18.0 4571806 - systemd-libs 239 4499603 - httpd 2.4.37 4311720 - glusterfs-client-xlators 6.0 4216866 - groff-base 1.22.3 4067933 - shadow-utils 4.6 4063642 - python3-libdnf 0.63.0 3825697 - libsodium-devel 1.0.18 3765586 - openssl-libs 1.1.1k 3424334 - geolite2-country 20180605 3346107 - python3-future 0.18.2 3270833 - isl 0.16.1 3270700 - net-snmp-libs 5.8 3040395 - python38-setuptools 41.6.0 3007935 - gnutls 3.6.16 2930503 - platform-python-setuptools 39.2.0 2883786 - glusterfs 6.0 2876729 - tar 1.30 2861402 - python38-cryptography 2.8 2699774 - gawk 4.2.1 2628160 - pam 1.3.1 2569564 - openssh-clients 8.0p1 2490668 - iproute 5.18.0 2413667 - libdnf 0.63.0 2282864 - net-snmp-agent-libs 5.8 2238019 - krb5-libs 1.18.2 2145887 - cryptsetup-libs 2.3.7 2087166 - rpm 4.14.3 2086072 - dnf 4.7.0 2041442 - python3-psutil 5.4.3 2031080 - glibc-headers 2.28 1952764 - libuser 0.62 1922619 - pcre2-devel 10.32 1918041 - openssh 8.0p1 1905194 - python3-dnf 4.7.0 1903352 - libdb 5.3.28 1891990 - tzdata 2022a 1857708 - libstdc++ 8.5.0 1816681 - findutils 4.6.0 1810828 - libunistring 0.9.9 1753146 - libxml2 2.9.7 1749064 - OpenIPMI-libs 2.0.31 1740536 - glusterfs-libs 6.0 1714611 - rubygem-rdoc 6.2.1.1 1640340 - gmp 6.1.2 1637887 - p11-kit 0.23.22 1637020 - nfs-utils 2.3.3 1521892 - brotli 1.0.6 1402074 - python3-gpg 1.13.1 1369962 - diffutils 3.6 1360649 - coreutils-single 8.30 1359290 - rubygem-bundler 2.2.24 1358719 - python3-libxml2 2.9.7 1332780 - libcurl-devel 7.61.1 1325271 - perl-Net-SSLeay 1.88 1270044 - socat 1.7.4.1 1269734 - libgcrypt 1.8.5 1208830 - tpm2-tss 2.3.2 ```
manageiq-gemset ```bash $ rpm -qlv manageiq-gemset | sed 's/^.\{40\}//' | sort -nr | head -n 100 14892236 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/intersight-openapi-v3-1.0.9.4870.yaml 7106048 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/intersight_client-0.1.2.gem 3711784 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.1.0/lib/VMwareWebService/wsdl41/vimws25MappingRegistry.rb 3424440 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/sassc-2.4.0/ext/libsass.so 3424440 Jul 12 22:26 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.7.0/sassc-2.4.0/sassc/libsass.so 2754432 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.312.0/lib/aws-sdk-ec2/client.rb 2712132 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.312.0/lib/aws-sdk-ec2/types.rb 2557537 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/service.rb 2405960 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.13.6-x86_64-linux/lib/nokogiri/3.0/nokogiri.so 2401864 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.13.6-x86_64-linux/lib/nokogiri/3.1/nokogiri.so 2401864 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.13.6-x86_64-linux/lib/nokogiri/2.7/nokogiri.so 2397768 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/nokogiri-1.13.6-x86_64-linux/lib/nokogiri/2.6/nokogiri.so 2224221 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/service.rb 2094104 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/rdkafka-0.11.1/ext/librdkafka.so 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/.yarn/releases/yarn-3.0.2.cjs 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-redfish-a824c8a3fe7a/.yarn/releases/yarn-3.0.2.cjs 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-nuage-9a8c094b4b4e/.yarn/releases/yarn-3.0.2.cjs 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-nsxt-5b630db289d5/.yarn/releases/yarn-3.0.2.cjs 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-lenovo-2432442a647c/.yarn/releases/yarn-3.0.2.cjs 1980728 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-providers-ibm_cloud-f4b3810b7b65/.yarn/releases/yarn-3.0.2.cjs 1978130 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/service.rb 1945721 Jul 12 22:12 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/.yarn/install-state.gz 1868190 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/classes.rb 1842664 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/rugged-1.4.3/ext/rugged/rugged.so 1842664 Jul 12 22:26 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.7.0/rugged-1.4.3/rugged/rugged.so 1775076 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/hyperflex_api.rb 1643075 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/classes.rb 1524715 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-ec2-1.312.0/lib/aws-sdk-ec2/client_api.rb 1520748 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/classes.rb 1458869 Jul 12 22:05 /opt/manageiq/manageiq-gemset/gems/mail-2.7.1/lib/mail/parsers/address_lists_parser.rb 1437417 Jul 12 22:04 /opt/manageiq/manageiq-gemset/gems/unf_ext-0.0.8.1/ext/unf_ext/unf/table.hh 1364518 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/README.md 1364386 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/types.rb 1320864 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/ja.json 1292716 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/storage_api.rb 1291160 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/pt_BR.json 1281114 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/fr.json 1276268 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/es.json 1260741 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/services.rb 1242327 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/ko.json 1219228 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/de.json 1207376 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/it.json 1073415 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/zh_TW.json 1070616 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/rbvmomi2-3.3.0/vmodl.db 1059746 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/zh_CN.json 1044082 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/iam_api.rb 1039099 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/database/database_client.rb 1012825 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.146.0/lib/aws-sdk-rds/client.rb 1007133 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/fabric_api.rb 1001797 Jul 12 22:05 /opt/manageiq/manageiq-gemset/gems/mail-2.7.1/lib/mail/values/unicode_tables.dat 984211 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/assets/images/layout/bg-login.png 971335 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/niatelemetry_api.rb 907623 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.1.0/lib/VMwareWebService/wsdl41/vim.wsdl 904323 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/vmware_web_service-3.1.0/lib/VMwareWebService/wsdl41/vim-types.xsd 900708 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/data_safe/data_safe_client.rb 893085 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/kubernetes_api.rb 890032 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/core/virtual_network_client.rb 869803 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.146.0/lib/aws-sdk-rds/types.rb 791963 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/firmware_api.rb 769162 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/capability_api.rb 745429 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/log_analytics/log_analytics_client.rb 705048 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/aws-sdk-s3-1.114.0/lib/aws-sdk-s3/client.rb 695131 Jul 12 22:05 /opt/manageiq/manageiq-gemset/gems/qpid_proton-0.30.0/ext/cproton/cproton.c 682286 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/aws-sdk-s3-1.114.0/lib/aws-sdk-s3/types.rb 670065 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/data_catalog/data_catalog_client.rb 648438 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/opsi/operations_insights_client.rb 648201 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_alpha/representations.rb 640209 Jul 12 22:21 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/yarn.lock 639341 Jul 12 22:04 /opt/manageiq/manageiq-gemset/bundler/gems/manageiq-ui-classic-76f4f95d36bb/app/javascript/oldjs/locale/en.json 634139 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/ovirt-engine-sdk-4.4.1/lib/ovirtsdk4/readers.rb 623513 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/equipment_api.rb 595537 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/models/bios_policy.rb 595081 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/models/bios_policy_all_of.rb 590794 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/workflow_api.rb 588295 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/virtualization_api.rb 583145 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-iam-1.68.0/lib/aws-sdk-iam/client.rb 572842 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_beta/representations.rb 566680 Jul 12 22:04 /opt/manageiq/manageiq-gemset/gems/aws-partitions-1.587.0/partitions.json 560066 Jul 12 22:04 /opt/manageiq/manageiq-gemset/gems/mime-types-2.6.1/data/mime-types.json 559887 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_4/classes.rb 550422 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/data_integration/data_integration_client.rb 537048 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/sheets_v4/classes.rb 534487 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/appliance_api.rb 532823 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/oci-2.17.0/lib/oci/identity/identity_client.rb 532110 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/compute_v1/representations.rb 520543 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_3/classes.rb 515164 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/content_v2_1/classes.rb 514208 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_4/service.rb 511908 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/dfareporting_v3_3/service.rb 495592 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/qpid_proton-0.30.0/ext/cproton/cproton.so 495592 Jul 12 22:26 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.7.0/qpid_proton-0.30.0/cproton.so 486177 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-iam-1.68.0/lib/aws-sdk-iam/types.rb 484057 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/apigee_v1/service.rb 469533 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3/lib/intersight_client/api/vnic_api.rb 453394 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/content_v2/classes.rb 435343 Jul 12 22:06 /opt/manageiq/manageiq-gemset/gems/aws-sdk-rds-1.146.0/lib/aws-sdk-rds/client_api.rb 433665 Jul 12 22:07 /opt/manageiq/manageiq-gemset/gems/google-api-client-0.50.0/generated/google/apis/vision_v1/classes.rb 431104 Jul 12 22:26 /opt/manageiq/manageiq-gemset/gems/unf_ext-0.0.8.1/ext/unf_ext/unf_ext.so 431104 Jul 12 22:26 /opt/manageiq/manageiq-gemset/extensions/x86_64-linux/2.7.0/unf_ext-0.0.8.1/unf_ext.so 428321 Jul 12 22:10 /opt/manageiq/manageiq-gemset/gems/ibm_vpc-0.4.0/lib/ibm_vpc/vpc_v1.rb ```
manageiq-core ```bash $ rpm -qlv manageiq-core | sed 's/^.\{40\}//' | sort -nr | head -n 100 rpm -qlv manageiq-core | sed 's/^.\{40\}//' | sort -nr | head -n 100 1599003 Jul 12 22:21 /var/www/miq/vmdb/locale/ja/LC_MESSAGES/manageiq.mo 1568000 Jul 12 22:21 /var/www/miq/vmdb/locale/pt_BR/LC_MESSAGES/manageiq.mo 1557975 Jul 12 22:21 /var/www/miq/vmdb/locale/fr/LC_MESSAGES/manageiq.mo 1553113 Jul 12 22:21 /var/www/miq/vmdb/locale/es/LC_MESSAGES/manageiq.mo 1520306 Jul 12 22:21 /var/www/miq/vmdb/locale/ko/LC_MESSAGES/manageiq.mo 1496100 Jul 12 22:21 /var/www/miq/vmdb/locale/de/LC_MESSAGES/manageiq.mo 1484246 Jul 12 22:21 /var/www/miq/vmdb/locale/it/LC_MESSAGES/manageiq.mo 1351451 Jul 12 22:21 /var/www/miq/vmdb/locale/zh_TW/LC_MESSAGES/manageiq.mo 1338647 Jul 12 22:21 /var/www/miq/vmdb/locale/zh_CN/LC_MESSAGES/manageiq.mo 1101814 Jul 12 22:19 /var/www/miq/vmdb/tmp/cache/sti_loader.yml 340566 Jul 12 22:03 /var/www/miq/vmdb/CHANGELOG.md 231038 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_product_features.yml 109376 Jul 12 22:03 /var/www/miq/vmdb/locale/en.yml 62038 Jul 12 22:03 /var/www/miq/vmdb/app/models/vm_or_template.rb 58182 Jul 12 22:03 /var/www/miq/vmdb/app/models/host.rb 53454 Jul 12 22:03 /var/www/miq/vmdb/lib/miq_expression.rb 51577 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_request_workflow.rb 43482 Jul 12 22:03 /var/www/miq/vmdb/lib/extensions/ar_adapter/ar_dba.rb 42246 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_provision_virt_workflow.rb 41648 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_action.rb 39916 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_searches.yml 37244 Jul 12 22:03 /var/www/miq/vmdb/app/models/ext_management_system.rb 35317 Jul 12 22:03 /var/www/miq/vmdb/config/settings.yml 34206 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/customization_templates.yml 33824 Jul 12 22:03 /var/www/miq/vmdb/lib/rbac/filterer.rb 33359 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_user_roles.yml 33017 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_report/generator.rb 32988 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_alert.rb 31266 Jul 12 22:03 /var/www/miq/vmdb/app/models/storage.rb 30605 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/classifications.yml 25104 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_queue.rb 24592 Jul 12 22:03 /var/www/miq/vmdb/app/models/mixins/relationship_mixin.rb 22992 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_report_formats.yml 22932 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_event_definition_events.yml 21716 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_dialogs.yaml 20865 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_request.rb 20811 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_widget.rb 20781 Jul 12 22:03 /var/www/miq/vmdb/app/models/vim_performance_analysis.rb 20658 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_schedule_worker/runner.rb 20291 Jul 12 22:03 /var/www/miq/vmdb/lib/ansible/runner.rb 20189 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_compare.rb 19598 Jul 12 22:03 /var/www/miq/vmdb/lib/manageiq/reporting/formatter/chart_common.rb 19056 Jul 12 22:03 /var/www/miq/vmdb/app/models/service_template.rb 18941 Jul 12 22:03 /var/www/miq/vmdb/app/models/mixins/authentication_mixin.rb 18803 Jul 12 22:21 /usr/share/ansible/roles/manageiq-core.manageiq-automate/library/manageiq_automate.py 18377 Jul 12 22:03 /var/www/miq/vmdb/app/models/classification.rb 18170 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_shortcuts.yml 17603 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_policy.rb 17437 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_worker.rb 17360 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_template.yaml 16360 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_redhat_dialogs_clone_to_vm.yaml 16261 Jul 12 22:03 /var/www/miq/vmdb/lib/miq_ldap.rb 15918 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_schedule.rb 15860 Jul 12 22:03 /var/www/miq/vmdb/app/models/user.rb 15696 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_server.rb 15518 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_microsoft_dialogs_template.yaml 15221 Jul 12 22:03 /var/www/miq/vmdb/app/models/service.rb 15151 Jul 12 22:03 /var/www/miq/vmdb/app/models/ems_refresh/save_inventory.rb 15114 Jul 12 22:03 /var/www/miq/vmdb/app/models/mixins/miq_provision_quota_mixin.rb 14349 Jul 12 22:03 /var/www/miq/vmdb/app/models/mixins/scanning_mixin.rb 14099 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_report_result.rb 14090 Jul 12 22:03 /var/www/miq/vmdb/lib/git_worktree.rb 13576 Jul 12 22:03 /var/www/miq/vmdb/app/models/metric/rollup.rb 13567 Jul 12 22:03 /var/www/miq/vmdb/app/models/service/aggregation.rb 13392 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/README.md 13336 Jul 12 22:03 /var/www/miq/vmdb/lib/tasks/locale.rake 12927 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/miq_policy_sets.yml 12789 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_worker/runner.rb 12628 Jul 12 22:03 /var/www/miq/vmdb/Gemfile 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqtail-request 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqtail 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqssh 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqscp 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqgrep-request 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqgrep-collate 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqgrep 12557 Jul 12 22:03 /var/www/miq/vmdb/tools/miqssh/miqcollect 12477 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_task.rb 12338 Jul 12 22:03 /var/www/miq/vmdb/app/models/mixins/miq_provision_mixin.rb 12092 Jul 12 22:03 /var/www/miq/vmdb/db/fixtures/notification_types.yml 11610 Jul 12 22:03 /var/www/miq/vmdb/lib/tasks/evm_automate.rake 11583 Jul 12 22:03 /var/www/miq/vmdb/app/models/ems_refresh/save_inventory_network.rb 11578 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_group.rb 11563 Jul 12 22:03 /var/www/miq/vmdb/app/models/chargeback.rb 11503 Jul 12 22:03 /var/www/miq/vmdb/app/models/manageiq/providers/inventory/persister/builder/container_manager.rb 11404 Jul 12 22:03 /var/www/miq/vmdb/app/models/tenant.rb 11399 Jul 12 22:03 /var/www/miq/vmdb/app/models/chargeback_rate_detail.rb 11358 Jul 12 22:03 /var/www/miq/vmdb/LICENSE.txt 11358 Jul 12 22:03 /var/www/miq/vmdb/lib/generators/manageiq/plugin/templates/LICENSE.txt 11357 Jul 12 22:21 /usr/share/ansible/roles/manageiq-core.manageiq-vmdb/LICENSE 11357 Jul 12 22:21 /usr/share/ansible/roles/manageiq-core.manageiq-automate/LICENSE 11342 Jul 12 22:03 /var/www/miq/vmdb/app/models/authenticator/base.rb 11280 Jul 12 22:03 /var/www/miq/vmdb/app/models/miq_report.rb 11270 Jul 12 22:03 /var/www/miq/vmdb/app/models/ems_event.rb 11144 Jul 12 22:03 /var/www/miq/vmdb/app/models/vm_scan/dispatcher.rb 11134 Jul 12 22:03 /var/www/miq/vmdb/app/models/manageiq/providers/cloud_manager/vm.rb 11085 Jul 12 22:03 /var/www/miq/vmdb/lib/manageiq/reporting/formatter/text.rb 10925 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_amazon_dialogs_template.yaml 10909 Jul 12 22:03 /var/www/miq/vmdb/app/models/manageiq/providers/base_manager/refresher.rb 10845 Jul 12 22:03 /var/www/miq/vmdb/product/dialogs/miq_dialogs/miq_provision_google_dialogs_template.yaml ```
Fryguy commented 2 years ago

Seems intersight_client is a huge gem cc @agrare

$ du -sh /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3
114M    /opt/manageiq/manageiq-gemset/gems/intersight_client-0.1.3

~7 MB of that is a quick win - I'll send an update to their repo as 0.1.3 is including the .gem file from 0.1.2~ EDIT: Seems https://github.com/xlab-si/intersight-sdk-ruby/pull/16 actually already took care of this by ensuring only git committed files and so 0.1.4 has that fixed, but we hadn't pulled that into najdorf-1.

Fryguy commented 2 years ago

changing intersight client to drop docs and spec would save 76MB disk space - opened an issue on upstream to discuss: https://github.com/xlab-si/intersight-sdk-ruby/issues/17

miq-bot commented 1 year ago

This issue has been automatically marked as stale because it has not been updated for at least 3 months.

If you can still reproduce this issue on the current release or on master, please reply with all of the information you have about it in order to keep the issue open.

Thank you for all your contributions! More information about the ManageIQ triage process can be found in the triage process documentation.

kbrock commented 1 year ago

That intersight yaml file is really big. Bet it has support for a ton of versioned endpoints

Also, the provider gems are all much bigger than I would have expected. Are we bringing in specs with links to core or something?

Think fixing providers would be a quick/low risk 10-20mb