[Rdo-list] Attempt to install RDO Kilo via packstack on F23

Boris Derzhavets bderzhavets at hotmail.com
Sat Feb 27 23:20:18 UTC 2016


Hacking GlanceClient on F23 works for me in meantime  :-

https://review.openstack.org/gitweb?p=openstack/python-glanceclient.git;a=patch;h=eb1d8c5c94b8fac86c12f78732107b1034749c7f


________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Boris Derzhavets <bderzhavets at hotmail.com>
Sent: Saturday, February 27, 2016 3:37 PM
To: Alan Pevec
Cc: rdo-list at redhat.com
Subject: Re: [Rdo-list] Attempt to install RDO Kilo via packstack on F23

The unclear thing to me :-
    What has been changed in F23 causing Nova have  to support Glance V2 .
which  is not available on RDO Kilo :-
See :-
https://bugs.launchpad.net/python-glanceclient/+bug/1479296 , #3
https://specs.openstack.org/openstack/nova-specs/specs/mitaka/approved/use-glance-v2-api.html

________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Boris Derzhavets <bderzhavets at hotmail.com>
Sent: Saturday, February 27, 2016 1:51 PM
To: Alan Pevec
Cc: rdo-list at redhat.com
Subject: Re: [Rdo-list] Attempt to install RDO Kilo via packstack on F23

I've made fresh install RDO Kilo via packstack on F23 using repo
  https://repos.fedorapeople.org/repos/openstack/openstack-kilo/f22/
and got the most recent versions  of  openstack-packstack-2015.1-0.14  and  openstack-puppet-modules-2015.1.12-6.fc23

When I attempt to launch VM nova-scheduler is clean now , but error each time appears in nova-api.log :-
.  .  .  .
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack     queued = getattr(image, 'status') == 'queued'
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 491, in __getattr__
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack     self.get()
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 509, in get
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack     new = self.manager.get(self.id)
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack   File "/usr/lib/python2.7/site-packages/glanceclient/openstack/common/apiclient/base.py", line 494, in __getattr__
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack     raise AttributeError(k)
2016-02-27 21:41:18.368 2431 TRACE nova.api.openstack AttributeError: id

Complete log is attached.
________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Boris Derzhavets <bderzhavets at hotmail.com>
Sent: Friday, February 26, 2016 4:13 PM
To: Alan Pevec
Cc: rdo-list at redhat.com
Subject: Re: [Rdo-list] Attempt to install RDO Kilo via packstack on F23

  However,

  openstack-packstack-2015.1-0.14.dev1616.g5526c38.fc23.src.rpm           2015-12-01 23:42  168K
  openstack-puppet-modules-2015.1.9-4.fc23.src.rpm                                     2015-07-31 09:24  2.1M

  Build of the first one results install
  dnf -y install \
  openstack-packstack-2015.1-0.14.dev1616.g5526c38.fc23.noarch.rpm \
  openstack-packstack-doc-2015.1-0.14.dev1616.g5526c38.fc23.noarch.rpm \
  openstack-packstack-puppet-2015.1-0.14.dev1616.g5526c38.fc23.noarch.rpm

  It looks like 2015.1-0 was built latter then 2015.1.9, but naming of
  packages has been changed.

________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Boris Derzhavets <bderzhavets at hotmail.com>
Sent: Friday, February 26, 2016 3:10 PM
To: Alan Pevec
Cc: rdo-list at redhat.com
Subject: Re: [Rdo-list] Attempt to install RDO Kilo via packstack on F23

The default one openstack-packstack-2015.1.9-4 gaves some error immediately and packstack
crashes right away. So absence of patch is understandable. I was looking for openstack-packstack-2015.1.10
but was unable to find. I picked up pretty old version. I see for now.

Sorry.
________________________________________
From: rdo-list-bounces at redhat.com <rdo-list-bounces at redhat.com> on behalf of Boris Derzhavets <bderzhavets at hotmail.com>
Sent: Friday, February 26, 2016 2:42 PM
To: Alan Pevec
Cc: rdo-list at redhat.com
Subject: [Rdo-list] Attempt to install RDO Kilo via packstack on F23

To be able to complete install I was forced:-

1. Build openstack-packstack via the most recent
    openstack-packstack-2015.1-0.14.dev1616.g5526c38.fc23.src.rpm  from f21 repo
2. Rebuilt pm-utils-1.4.1-31.fc22.src.rpm on F23  and installed  pm-utils , which is wanted by nova puppet
    to be installed.
3. I didn't activate any additional rdo repos
4 . Packstack completed OK (CONFIG_PROVISION_DEMO=n )
5. Attempt  to launch CirrOS VM gives in nova-scheduler.log

 2016-02-26 00:42:05.027 1332 ERROR nova.openstack.common.periodic_task [req-bae09f16-87f4-4b2f-a9a9-548e63a4e7c9 - - - - -] Error during SchedulerManager._run_periodic_tasks: 'HostManager' object has no attribute 'run_periodic_tasks'
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task Traceback (most recent call last):
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/site-packages/nova/openstack/common/periodic_task.py", line 224, in run_periodic_tasks
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task     task(self, context)
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task   File "/usr/lib/python2.7/site-packages/nova/scheduler/manager.py", line 75, in _run_periodic_tasks
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task     self.driver.run_periodic_tasks(context)
2016-02-26 00:42:05.027 1332 TRACE nova.openstack.common.periodic_task AttributeError: 'HostManager' object has no attribute 'run_periodic_tasks'

I also was unable edit via dashboard as admin features of uploaded images.
/var/log/glance/api.log contains errors like image is queued .

I am under impression that F23 regardless Python 2.70.1 was used to run openstack services
is not supposed to run Kilo.

Openstack-status looked really nice.

Patch mentioned in https://www.redhat.com/archives/rdo-list/2015-August/msg00007.html
I mean  https://review.openstack.org/gitweb?p=openstack/puppet-nova.git;a=commitdiff;h=3d1ff0e1354084fb4790d2f8a85509de7fe3b6ba
is gone from  nova/manifests/scheduler.pp
Second file patched spec/classes/nova_scheduler_spec.rb I was unable to find on the drive.

Thank you.
Boris


_______________________________________________
Rdo-list mailing list
Rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com

_______________________________________________
Rdo-list mailing list
Rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com

_______________________________________________
Rdo-list mailing list
Rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com

_______________________________________________
Rdo-list mailing list
Rdo-list at redhat.com
https://www.redhat.com/mailman/listinfo/rdo-list

To unsubscribe: rdo-list-unsubscribe at redhat.com




More information about the dev mailing list