Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: volume expansion is failing with power path #976

Closed
boyamurthy opened this issue Sep 7, 2023 · 0 comments
Closed

[BUG]: volume expansion is failing with power path #976

boyamurthy opened this issue Sep 7, 2023 · 0 comments
Labels
area/csi-powermax Issue pertains to the CSI Driver for Dell EMC PowerMax type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@boyamurthy
Copy link
Contributor

Bug Description

with Power path devices , node expand is failing with below error where it is not able to identify power path related commands .

Logs

time="2023-09-04T10:56:17Z" level=info msg="/csi.v1.Node/NodeExpandVolume: REQ 0020: VolumeId=csi-XYZ-pmax-1deac55fbc-volume-expansion-suite-f0b7e411-000120000548-00407, VolumePath=/var/lib/kubelet/pods/b0e1480d-0ed6-488b-90bd-213bf5bd73a1/volumes/kubernetes.io~csi/pmax-1deac55fbc/mount, CapacityRange=required_bytes:6442844160 , StagingTargetPath=/var/lib/kubelet/plugins/kubernetes.io/csi/csi-powermax.dellemc.com/5c064c74c5a2b26c352a6ea69fdb7d003cebd12db592126e61668cf67ddb13e0/globalmount, VolumeCapability=mount:<fs_type:"ext4" > access_mode:<mode:SINGLE_NODE_MULTI_WRITER > , XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"
time="2023-09-04T10:56:17Z" level=debug msg="Entering nodeProbe"
time="2023-09-04T10:56:17Z" level=debug msg="(ISCSI) Already logged into the array: 000120000548"
time="2023-09-04T10:56:17Z" level=debug msg="Exiting nodeProbe"
time="2023-09-04T10:56:17Z" level=debug msg="ppath checkcommand values is lsblk --pairs --output NAME,MAJ:MIN,RM,SIZE,RO,TYPE,MOUNTPOINT | awk '/emcpower.+pmax-1deac55fbc/ {print $0}'"
2.23
time="2023-09-04T10:56:17Z" level=info msg="found ppath: NAME="emcpowerd""
time="2023-09-04T10:56:17Z" level=info msg="powerpath - trying to find native devices for ppath: emcpowerd"
time="2023-09-04T10:56:17Z" level=debug msg="pp_inq cmd:chroot /noderoot sbin/pp_inq"
time="2023-09-04T10:56:17Z" level=error msg="Error powermt display /dev/emcpowerd: fork/exec chroot /noderoot sbin/pp_inq: no such file or directory"
time="2023-09-04T10:56:17Z" level=info msg="getSysBlockDevicesForVolumeWWN 11 0.000322"
time="2023-09-04T10:56:17Z" level=info msg="Rescanning unmounted (raw block) device sde to expand size"
time="2023-09-04T10:56:17Z" level=info msg="Executing rescan command on device (/sys/block/sde)"
time="2023-09-04T10:56:17Z" level=debug msg="Rescan output" output=
time="2023-09-04T10:56:17Z" level=info msg="Successful rescan on device (/sys/block/sde)"
2.23
lsblk P | awk '/sde/{c=2}c&&c-' | grep TYPE="mpath"
time="2023-09-04T10:56:17Z" level=info msg="/csi.v1.Node/NodeExpandVolume: REP 0020: CapacityBytes=0, XXX_NoUnkeyedLiteral={}, XXX_sizecache=0"

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

Execute volume expansion on powerpath installed host

Expected Behavior

Expansion should be successful .

CSM Driver(s)

CSI driver for Powermax.

Installation Type

No response

Container Storage Modules Enabled

No response

Container Orchestrator

all

Operating System

all

@boyamurthy boyamurthy added type/bug Something isn't working. This is the default label associated with a bug issue. area/csi-powermax Issue pertains to the CSI Driver for Dell EMC PowerMax labels Sep 7, 2023
@boyamurthy boyamurthy added this to the v1.8.0 milestone Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csi-powermax Issue pertains to the CSI Driver for Dell EMC PowerMax type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

1 participant