question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

onedb fsck not count leases from reserverd networks

See original GitHub issue

Bug Report

Version of OpenNebula

  • 5.2.2
  • 5.4.0
  • 5.4.1
  • 5.4.2
  • 5.4.3
  • 5.4.4
  • 5.4.5
  • 5.4.6
  • 5.4.7
  • Development build

Component

  • Authorization (LDAP, x509 certs…)
  • Command Line Interface (CLI)
  • Contextualization
  • Documentation
  • Federation and HA
  • Host, Clusters and Monitorization
  • KVM
  • Networking
  • Orchestration (OpenNebula Flow)
  • Packages
  • Scheduler
  • Storage & Images
  • Sunstone
  • Upgrades
  • User, Groups, VDCs and ACL
  • vCenter

Description

I have virtual network with 23, and network reservation for each user from it.

Expected Behavior

onedb fsck checks network leases in reserved network too.

Actual Behavior

onedb fsck break network quotas set it to “0”:

User 350 quotas: VNet 23        LEASES_USED has 1       is      0
User 351 quotas: VNet 23        LEASES_USED has 1       is      0
User 352 quotas: VNet 23        LEASES_USED has 1       is      0
User 353 quotas: VNet 23        LEASES_USED has 1       is      0
User 355 quotas: VNet 23        LEASES_USED has 1       is      0
User 356 quotas: VNet 23        LEASES_USED has 1       is      0
Group 150 quotas: VNet 23       LEASES_USED has 1       is      0
Group 151 quotas: VNet 23       LEASES_USED has 1       is      0
Group 152 quotas: VNet 23       LEASES_USED has 1       is      0
Group 153 quotas: VNet 23       LEASES_USED has 1       is      0
Group 155 quotas: VNet 23       LEASES_USED has 1       is      0
Group 156 quotas: VNet 23       LEASES_USED has 1       is      0

How to reproduce

  • Create network reservation
  • Run onedb fsck

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
al3xhhcommented, Jun 3, 2019
0reactions
kvapscommented, Mar 10, 2020

got it, I’ll report it in new issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

[SOLVED] Error running onedb fsck a second time in 5.x
onedb fsck -S localhost -u oneadmin -d opennebula. fsck has detected some issues like: Cluster 0 has not the proper reserved VNC ports....
Read more >
https://raw.githubusercontent.com/OpenNebula/one/o...
LOCAL_VERSION ) raise <<-EOT Version mismatch: fsck file is for version ... has not the proper reserved VNC ports") end @db[:cluster_vnc_bitmap].insert( :id ...
Read more >
Opennebula 4.6 All Guide | PDF | Virtual Machine - Scribd
OpenNebula front-end since VMFS is not *nix compatible. ... Virtual Network: A group of IP leases that VMs can use to automatically obtain...
Read more >
11th USENIX Symposium on Operating Systems Design and ...
All Rights Reserved ... battle: we show that the Linux network and file system ... We did not consider VSIC interrupts in our...
Read more >
SUSE Linux Enterprise High Availability Extension 11 SP2
It supports Fibre Channel or iSCSI storage area networks (SANs). Shared disk systems are also supported, but they are not a requirement.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found