Bug #2201

No capacity detected when using LVM datastore

Added by Giovanni Toraldo almost 8 years ago. Updated almost 8 years ago.

Status:ClosedStart date:07/22/2013
Priority:NormalDue date:
Assignee:Jaime Melis% Done:

0%

Category:Drivers - Storage
Target version:Release 4.2
Resolution:fixed Pull request:
Affected Versions:OpenNebula 4.0

Description

Hi,

I've been struggling in setup ONE 4.1.80-1 with LVM datastore.

In logs I am getting:

oneadmin@mokujin:~$ /var/lib/one/remotes/datastore/lvm/monitor PERTX0RSSVZFUl9BQ1RJT05fREFUQT48REFUQVNUT1JFPjxJRD4xMDI8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT52ZzA8L05BTUU+PFBFUk1JU1NJT05TPjxPV05FUl9VPjE8L09XTkVSX1U+PE9XTkVSX00+MTwvT1dORVJfTT48T1dORVJfQT4wPC9PV05FUl9BPjxHUk9VUF9VPjE8L0dST1VQX1U+PEdST1VQX00+MDwvR1JPVVBfTT48R1JPVVBfQT4wPC9HUk9VUF9BPjxPVEhFUl9VPjA8L09USEVSX1U+PE9USEVSX00+MDwvT1RIRVJfTT48T1RIRVJfQT4wPC9PVEhFUl9BPjwvUEVSTUlTU0lPTlM+PERTX01BRD5sdm08L0RTX01BRD48VE1fTUFEPmx2bTwvVE1fTUFEPjxCQVNFX1BBVEg+L3Zhci9saWIvb25lL2RhdGFzdG9yZXMvMTAyPC9CQVNFX1BBVEg+PFRZUEU+MDwvVFlQRT48RElTS19UWVBFPjA8L0RJU0tfVFlQRT48Q0xVU1RFUl9JRD4tMTwvQ0xVU1RFUl9JRD48Q0xVU1RFUj48L0NMVVNURVI+PFRPVEFMX01CPjA8L1RPVEFMX01CPjxGUkVFX01CPjA8L0ZSRUVfTUI+PFVTRURfTUI+MDwvVVNFRF9NQj48SU1BR0VTPjwvSU1BR0VTPjxURU1QTEFURT48RFNfTUFEPjwhW0NEQVRBW2x2bV1dPjwvRFNfTUFEPjxUTV9NQUQ+PCFbQ0RBVEFbbHZtXV0+PC9UTV9NQUQ+PFZHX05BTUU+PCFbQ0RBVEFbdmcwXV0+PC9WR19OQU1FPjwvVEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+ 102
ERROR: monitor: Command "" failed: 
ERROR MESSAGE --8<------
Cannot monitor VG_OPTS="--units M -C --noheadings --nosuffix vg0" 

TOTAL_MB=$(sudo vgdisplay -o vg_size $VG_OPTS | tr -d ' ')
FREE_MB=$(sudo vgdisplay -o vg_free $VG_OPTS | tr -d ' ')
USED_MB=$(echo "$TOTAL_MB - $FREE_MB" | bc -l)

echo "USED_MB=$USED_MB" 
echo "TOTAL_MB=$TOTAL_MB" 
echo "FREE_MB=$FREE_MB" 
ERROR MESSAGE ------>8--

Associated revisions

Revision 5e264b74
Added by Jaime Melis almost 8 years ago

Bug #2201: No capacity detected when using LVM datastore
(cherry picked from commit e5b09835eed56477fc7f3ead5b1964c067af18d7)

Revision 079967d1
Added by Jaime Melis almost 8 years ago

Bug #2201: No capacity detected when using LVM datastore
(cherry picked from commit e5b09835eed56477fc7f3ead5b1964c067af18d7)
(cherry picked from commit 5e264b74a933bb06a2cbdd38adca8cc4a26b4dd6)

History

#1 Updated by Ruben S. Montero almost 8 years ago

  • Target version set to Release 4.2

#2 Updated by Ruben S. Montero almost 8 years ago

  • Assignee set to Jaime Melis

#3 Updated by Jaime Melis almost 8 years ago

  • Status changed from Pending to Closed
  • Resolution set to fixed

Fixed.

Also available in: Atom PDF