Use this topic to solve issues that might occur in a PowerVC region.
The following log files for
PowerVC are
available in the
/var/log/powervc/ directory:
- glance-powervc.log
- neutron-powervc.log
- nova-powervc.log
- cinder-powervc.log
The logging level of each log file is controlled by the
conf file
of the base component. For more information, see your
OpenStack documentation.
- Unable to create or delete volumes in PowerVC
- When the openstack-cinder-powervc service
fails, due to lack of SSL certificate or another issue, the openstack-cinder-volume service
might also fail. To solve the problem, restart the openstack-cinder-volume service
on the OpenStack Controller.
- Authentication errors communicating with either keystone of PowerVC
- Confirm OpenStack credentials
are correct.
- Confirm PowerVC credentials
are correct.
- Confirm PowerVC SSL
certificate is at /etc/pki/tls/certs/powervc.crt on
the OpenStack Controller.
- Confirm that the PowerVC can
communicate with the PowerVC server
by the means specified by the ssl certificate. This can be by IP address,
host name, or FQDN, depending on the installation of PowerVC.
This is resolved by either ensuring that both OpenStack Controller and PowerVC server
are set up on the same DNS server correctly. Alternatively, put an
appropriate entry in the /etc/hosts file of the OpenStack Controller.
- Authentication errors regarding staging user/tenant
- Confirm that the staging user is a member of the staging tenant.
- Live Migration does not occur
-
- Volume Resize Operations do not occur or fail
- SSP backed storage does not support resize of disk:
2014-11-11 04:49:34.916 4750 ERROR oslo.messaging.rpc.dispatcher [-]
Exception during message handling: Get error: RPCException: Cinder API error:
NV-37CDE0F The host 228b02eb0e47e611e4b5060000c9f82a76 for boot volume
991b9732-041d-4dab-8ef8-75006216920d does not support extend volume.
Shared
Volume Controller FlashCopy operations can only occur serially per
image. If it is doing a copy or extending operation on a boot volume,
you cannot start a new operation to make changes to the volume. You
can check the Shared Volume Controller UI to see whether a flashcopy
is in progress to the target volume or the current target volume is
being extended:2014-11-11 01:24:58.006 2095 TRACE nova.openstack.common.loopingcall
ResizeError: Get error: PVCExpendvdiskFCMapException: Flashcopy is in
progress for boot volume, volume size didn't change. Please try again later.
(HTTP 409) (Request-ID: req-29350427-32b3-4721-baca-504c5216b041)
during resizing the instance in the PowerVC
- Changing the PowerVC user
name and password on the OpenStack Controller if
the PowerVC user
name or password changes
- On the OpenStack Controller,
edit the following file:
/etc/powervc/powervc.conf
Note: Take a backup of the file before making any
changes.
- Navigate to [powervc] and locate admin_user and admin_password.
- Change the user name and password by using admin_user and admin_password.
Note: The
password must be encrypted so use openstack-obfuscate <password> to
generate.
- Click Save.
- Restart the following services:
service openstack-glance-powervc restart
service openstack-neutron-powervc restart
service openstack-nova-powervc restart
service openstack-cinder-powervc restart
service openstack-cinder-volume restart
- Unable to attach volumes to Instances on Shared Storage Pool backed
environment
- Volume attach on Shared Storage Pool backed environments require
that the Resource Monitoring and Control (RMC) software is installed
and running on deployed instances. If the particular instance that
you are deploying never appears to have RMC running, in other words
the health of the virtual machine is warning, it
is necessary to reset it (relevant to all operating system types)
or install it, if it was not already installed (relevant to Linux on Power). AIX must have
RMC included by default.
To install the RMC for Linux on Power, follow the
instructions at http://www.ibm.com/support/customercare/sas/f/lopdiags/home.html to install the service and productivity tools.
To
reset RMC, perform the following commands on a running instance and
then recapture by using the usual process:
# /usr/sbin/rsct/bin/rmcctrl -z
# /usr/sbin/rsct/bin/rmcctrl -A
# /usr/sbin/rsct/bin/rmcctrl -p
After the previous commands
are run, the status of the virtual machine in the
PowerVC UI must
change from
warning to
OK. Changing
the status might take several minutes.
- rstrip error in nova-powervc.log and
some actions such as starting or stopping the virtual machine is not
responsive
- Stop and start the services in the OpenStack Controller by
using SCOrchestrator.py, if the following error
is displayed in the nova-powervc.log:
2014-12-17 02:57:10.348 26453 ERROR powervc.nova.driver.compute.manager [-]
Exception: Exception: 'NoneType' object has no attribute 'rstrip'
- OpenStack Controller does
not support secure connection to PowerVC server with
mixed-case or uppercase host name
- This problem affects only secure connections; insecure connections
are unaffected. The following error is displayed:
Host "hostname" does not match x509 certificate contents: CommonName "hostNAME",
subjectAltName "DNS:hostNAME, DNS IP"
To
fix this problem, complete the following steps:
- Reconfigure the PowerVC server so
that the host name is specified in lowercase letters. Include the
fully qualified domain name.
- Reconfigure the PowerVC application
by using the powervc-config command.
- Run the powervc-replace-cert command
to generate a new powervc.crt file that is based
on the new host name.
- Restart the httpd service on the PowerVC server.
- Replace the powervc.crt file on the OpenStack Controller with
the new powervc.crt file generated in step 3.
- Restart the PowerVC services
on the OpenStack Controller.
- Deploy single virtual server offering always produces a no
valid host found error
- PowerVC has
a mechanism known as Storage Connectivity Groups, it is a way of grouping
storage in PowerVC.
Some images only support certain Storage Connectivity Groups depending
on the storage types they were created from. The Deploy
single virtual server offering has no knowledge of the
Storage Connectivity Group and thus it always attempts to deploy an
AIX or Linux on Power server
to the first Storage Connectivity Group that is listed in the /etc/powervc.conf file
on the PowerVC OpenStack Controller. If
this Storage Connectivity Group is not supported by the image being
deployed, the deployment fails with the no valid host found error
message. See Heat template examples for
an example of how to deploy an AIX or Linux on Power server using
Heat that is able to leverage Storage Connectivity Groups.