Skip to content

[generate_dump]: Skip the sparse file /var/log/lastlog#104

Merged
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:dump
Sep 20, 2017
Merged

[generate_dump]: Skip the sparse file /var/log/lastlog#104
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:dump

Conversation

@stcheng
Copy link
Copy Markdown
Contributor

@stcheng stcheng commented Sep 19, 2017

This sparse file is HUGE and without ignoring this file, it will take
forever to gzip this file and ultimately causing the script to hang.

This sparse file is HUGE and without ignoring this file, it will take
forever to gzip this file and ultimately causing the script to hang.
@stcheng stcheng merged commit cdf2fe6 into sonic-net:master Sep 20, 2017
@stcheng stcheng deleted the dump branch September 20, 2017 00:24
zhenggen-xu pushed a commit to zhenggen-xu/sonic-utilities that referenced this pull request Jun 6, 2018
* msft_github/master:
  Enhancement of 'show' commands and addition of 'debug', and 'undebug'… (sonic-net#113)
  CLI support for Layer 2 MAC/FDB show  (sonic-net#106)
  [show]: Add 'show interfaces alias' command to display port name/alias mapping (sonic-net#107)
  Add 'ipv6' group along with 'bgp' and 'route' subcommands; Remove duplicate commands ('bgp,' 'route') from under root group (sonic-net#102)
  [generate_dump]: Skip the sparse file /var/log/lastlog (sonic-net#104)
  Added syncd SAI dump to sysdump script (sonic-net#89)
  Adapt to new minigraph_parser schema (sonic-net#103)
  [core dump] remove number of parameter assumption from script coredump-compress
  [FastReboot]: Update FR to make it working with 1.0.3 (sonic-net#95)
vdahiya12 pushed a commit to vdahiya12/sonic-utilities that referenced this pull request Jul 23, 2021
PSUd changes to computer power-budget for Modular chassis

HLD: sonic-net/SONiC#646

PSUd will introduce power requirements calculations. Platform APIs are introduced to provide consumers and total consumed power. Number of PSUs will help provide total supplied power

**Output of STATE-DB:**
```
  "CHASSIS_INFO|chassis_power_budget 1": {
    "expireat": 1603182970.639244,
    "ttl": -0.001,
    "type": "hash",
    "value": {
      "SUPERVISOR consumed_power": "80.0",
      "FABRIC-CARD consumed_power": "185.0",
      "FAN consumed_power": "999",
      "LINE-CARD consumed_power": "1000.0",
      "PSU supplied_power": "9000.0"
    }
  },
```
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 18, 2022
#### Why I did it
```
Update submodule sonic-restapi
bd97dfe Fix urllib3 CVE-2021-33503 issue (#104)
f159bfa Upgrade the containers to be based on Debian Buster (#103)
a1830c1 (origin/201911) Fix OpenAPI spec to be readable by autorest (#101)
```
stepanblyschak referenced this pull request in stepanblyschak/sonic-utilities Apr 28, 2022
mihirpat1 pushed a commit to mihirpat1/sonic-utilities that referenced this pull request Sep 15, 2023
…r_info_dict for platform api 1.0 (sonic-net#104)

Fixes the following bug reproduced on SONiC.HEAD.729-dirty-20200727.075328:
```
pmon#supervisord: xcvrd Traceback (most recent call last):
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 1207, in <module>
INFO pmon#supervisord: xcvrd     main()
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 1204, in main
INFO pmon#supervisord: xcvrd     xcvrd.run()
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 1165, in run
INFO pmon#supervisord: xcvrd     self.init()
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 1144, in init
INFO pmon#supervisord: xcvrd     post_port_sfp_dom_info_to_db(is_warm_start, self.stop_event)
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 430, in post_port_sfp_dom_info_to_db
INFO pmon#supervisord: xcvrd     post_port_sfp_info_to_db(logical_port_name, int_tbl, transceiver_dict, stop_event)
INFO pmon#supervisord: xcvrd   File "/usr/bin/xcvrd", line 260, in post_port_sfp_info_to_db
INFO pmon#supervisord: xcvrd     ('application_advertisement',port_info_dict['application_advertisement'])])
INFO pmon#supervisord: xcvrd KeyError: 'application_advertisement'
```

Signed-off-by: Volodymyr Boyko <volodymyrx.boiko@intel.com>
cyw233 pushed a commit to cyw233/sonic-utilities that referenced this pull request Mar 2, 2026
[code sync] Merge code from sonic-net/sonic-utilities:202405 to 202405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants