Freezer-agent ssl problem

Bug #1664631 reported by Saad Zaher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
Fix Released
Undecided
Saad Zaher

Bug Description

I was trying to backup my stuff using ssl connections but freezer failed however I was using the correct certificate.

OS_IDENTITY_API_VERSION=3
OS_AUTH_VERSION=3
OS_PROJECT_NAME=demo
OS_PROJECT_DOMAIN_NAME=Default
OS_USERNAME=admin
OS_USER_DOMAIN_NAME=Default
OS_PASSWORD=*********
OS_AUTH_URL=https://172.16.110.2:5000/v3
OS_ENDPOINT_TYPE=publicURL
OS_INTERFACE=public
OS_CACERT=/home/saad/Desktop/dev/freezer/agent/ca-110.crt
OS_COMPUTE_API_VERSION=2

nova list works fine
(agent) ➜ freezer git:(master) nova list
/home/saad/Desktop/dev/freezer/agent/local/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'tenant_id' argument is deprecated in Ocata and its use may result in errors in future releases. As 'project_id' is provided, the 'tenant_id' argument will be ignored.
  warnings.warn(msg)
+--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------+
| ID | Name | Status | Task State | Power State | Networks |
+--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------+
| 1dab7de1-f01a-4eb6-8c39-e69159a36af0 | Test001 | ACTIVE | - | Running | PROVIDER2-MGMT-NET=172.16.117.5, 172.16.117.6 |
| 8f772a13-82c9-4ef0-9a9b-7bbd985e4e03 | app001 | ACTIVE | - | Running | PROVIDER2-MGMT-NET=172.16.117.8 |
| 93d0624a-92da-4abc-af0c-d6c3c91fab7c | app001_DB | ACTIVE | - | Running | PROVIDER2-MGMT-NET=172.16.117.10, 172.16.117.11 |
| 21a96c50-a63c-4c41-ac5b-a3e94bb4aac4 | test006 | ACTIVE | - | Running | PROVIDER2-MGMT-NET=172.16.117.13 |
| 58693f2a-039a-45c9-a6ea-0990a8a4ef91 | test006 | ACTIVE | - | Running | PROVIDER2-MGMT-NET=172.16.117.14 |
+--------------------------------------+-----------+--------+------------+-------------+-------------------------------------------------+

freezer-agent --action backup --nova-inst-id 21a96c50-a63c-4c41-ac5b-a3e94bb4aac4 --backup-name saad_nova001 --container saad_nova0001 --mode nova --log-file saad.log --nova-restore-network caf644da-77b8-4d08-82f8-5414641599fc
/home/saad/Desktop/dev/freezer/agent/local/lib/python2.7/site-packages/novaclient/client.py:278: UserWarning: The 'interface' argument is deprecated in Ocata and its use may result in errors in future releases. As 'endpoint_type' is provided, the 'interface' argument will be ignored.
  warnings.warn(msg)
Critical Error: SSL exception connecting to https://172.16.110.2:5000/v3/auth/tokens: [SSL] PEM lib (_ssl.c:2603)

Saad Zaher (szaher)
Changed in freezer:
assignee: nobody → Saad Zaher (szaher)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/433759

Changed in freezer:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to freezer (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/433790

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (master)

Reviewed: https://review.openstack.org/433759
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=bc976c1463872e091204076949db3832bc0cf24e
Submitter: Jenkins
Branch: master

commit bc976c1463872e091204076949db3832bc0cf24e
Author: Saad Zaher <email address hidden>
Date: Tue Feb 14 16:24:59 2017 +0000

    Fix SSL connections to connect to swift, glance, nova

    Change-Id: Ida2624086ddbe412f2bfe4c3ef87c431a08eb3d9
    Closes-Bug: #1664631

Changed in freezer:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to freezer (stable/ocata)

Reviewed: https://review.openstack.org/433790
Committed: https://git.openstack.org/cgit/openstack/freezer/commit/?id=46624e1f69008ebeab946044940da6203c397271
Submitter: Jenkins
Branch: stable/ocata

commit 46624e1f69008ebeab946044940da6203c397271
Author: Saad Zaher <email address hidden>
Date: Tue Feb 14 16:24:59 2017 +0000

    Fix SSL connections to connect to swift, glance, nova

    Change-Id: Ida2624086ddbe412f2bfe4c3ef87c431a08eb3d9
    Closes-Bug: #1664631

tags: added: in-stable-ocata
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/freezer 5.0.0.0b1

This issue was fixed in the openstack/freezer 5.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/freezer 4.0.1

This issue was fixed in the openstack/freezer 4.0.1 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.