Mailing List Archive

Ocata update for Pike on Ubuntu
Has anyone upgraded OpenStack Ocata to Pike using Ubuntu 16.04?

Can you share the experiences please?

Thank you.

--
Marcio Prado
Analista de TI - Infraestrutura e Redes
Fone: (35) 9.9821-3561
www.marcioprado.eti.br

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
Hi,

Am 24.04.2018 um 23:58 schrieb Marcio Prado:
> Has anyone upgraded OpenStack Ocata to Pike using Ubuntu 16.04?

we are currently evaluating/simulating the upgrade

> Can you share the experiences please?

well, until now we found

https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1766189

but thats not really an upgrade issue, it is a pike issue.

Fabian

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
I understood Fabian.

Thank you very much for your attention.

I'm also simulating the update ... Unsuccessfully.

News I share here.

Em 25-04-2018 03:59, Fabian Zimmermann escreveu:
> Hi,
>
> Am 24.04.2018 um 23:58 schrieb Marcio Prado:
>> Has anyone upgraded OpenStack Ocata to Pike using Ubuntu 16.04?
>
> we are currently evaluating/simulating the upgrade
>
>> Can you share the experiences please?
>
> well, until now we found
>
> https://bugs.launchpad.net/ubuntu/+source/cinder/+bug/1766189
>
> but thats not really an upgrade issue, it is a pike issue.
>
> Fabian

--
Marcio Prado
Analista de TI - Infraestrutura e Redes
Fone: (35) 9.9821-3561
www.marcioprado.eti.br

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
Hi,

Am 25.04.2018 um 13:30 schrieb Marcio Prado:
> I'm also simulating the update ... Unsuccessfully.

What issues are you running into?

Fabian

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
I performed the following steps:

1) REMOVE THE OCATA REPOSITORY
add-apt-repository --remove cloud-archive:ocata

2) ADD THE PIKE REPOSITORY
add-apt-repository cloud-archive:pike

3) UPDATE OPENSTACK
apt-get update
apt-get upgrade

reboot

apt-get update
apt-get upgrade

4) IF I DO NOT UPDATE THE OPENSTACK PACKAGES
apt-get install ALL LIST PACKAGES

5) UPDATE BD
keystone-manage token_flush
keystone-manage db_sync
glance-manage db_sync
cinder-manage db sync
nova-manage db sync
nova-manage api_db sync
neutron-db-manage upgrade heads
nova-manage db online_data_migrations
cinder-manage db online_data_migrations

The mistake is in Keystone. I have not had time to debug yet ...

[authz_core:error] client denied by server configuration:
/usr/bin/kestone-wsgi-public

Em 25-04-2018 08:58, Fabian Zimmermann escreveu:
> Hi,
>
> Am 25.04.2018 um 13:30 schrieb Marcio Prado:
>> I'm also simulating the update ... Unsuccessfully.
>
> What issues are you running into?
>
> Fabian

--
Marcio Prado
Analista de TI - Infraestrutura e Redes
Fone: (35) 9.9821-3561
www.marcioprado.eti.br
Re: Ocata update for Pike on Ubuntu [ In reply to ]
Hi,

Am 25.04.2018 um 15:05 schrieb Marcio Prado:
> The mistake is in Keystone. I have not had time to debug yet ...
>
> [authz_core:error] client denied by server configuration:
> /usr/bin/kestone-wsgi-public

first thought, sounds like apache-config is blocking the access.

Check your apache(2)/sites-enabled/


Fabian

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
Hi,

It really was Apache configuration.

I had to free access to the / usr / bin / directory in the
/etc/apache2/apache.conf file

But anyway, I type the login and password and do not log in.

And I can not even see logs.

Thanks for the tip.


Em 25-04-2018 10:50, Fabian Zimmermann escreveu:
> Hi,
>
> Am 25.04.2018 um 15:05 schrieb Marcio Prado:
>> The mistake is in Keystone. I have not had time to debug yet ...
>>
>> [authz_core:error] client denied by server configuration:
>> /usr/bin/kestone-wsgi-public
>
> first thought, sounds like apache-config is blocking the access.
>
> Check your apache(2)/sites-enabled/
>
>
> Fabian

--
Marcio Prado
Analista de TI - Infraestrutura e Redes
Fone: (35) 9.9821-3561
www.marcioprado.eti.br

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Re: Ocata update for Pike on Ubuntu [ In reply to ]
Hello everyone, I was able to update successfully.

Here are the steps:

UPDATE OPENSTACK VERSION OCETA FOR PIKE UBUNTU

UPDATE OF THE CONTROLLER Node

1) PAUSE ALL SERVICES
service glance-registry stop
service glance-api stop
service nova-api stop
service nova-conductor stop
service nova-consoleauth stop
service nova-novncproxy stop
service nova-scheduler stop
service neutron-server stop
service neutron-linuxbridge-agent stop
service neutron-dhcp-agent stop
service neutron-metadata-agent stop
service neutron-l3-agent stop
service apache2 stop

2) REMOVE THE OCATA REPOSITORY
add-apt-repository --remove cloud-archive:ocata

3) ADD THE PIKE REPOSITORY
add-apt-repository cloud-archive:pike

4) UPDATE PACKAGES
apt-get update
apt-get upgrade

5) FORCED OPENSTACK PACKAGE UPDATE
apt-get install list of all packages not installed

6) ACCEPT THE INSTALLATION AND SUB-SUBSTITUTION OF THE CONFIGURATION
FILES (A COPY OF THE PRESENT CONFIGURATIONS SHALL BE MADE)
Choose the option: Y

In my case, the substitute archives were:

/etc/nova/nova.conf
/etc/keystone/keystone-paste.ini
/etc/keystone/keystone.conf
/etc/neutron/l3_agent.ini
/etc/neutron/neutron.conf
/etc/neutron/plugins/ml2/linuxbridge_agent.ini
/etc/neutron/metadata_agent.ini
/etc/neutron/dhcp_agent.ini
/etc/neutron/plugins/ml2/ml2_conf.ini
/etc/glance/glance-registry.conf
/etc/glance/glance-api.conf
/etc/openstack-dashboard/local_settings.py

Note: The old configuration files have an extension: .dpkg.conf

7) COMPARE THE SUBMITTED FILES OF ITEM 6, WITH THE FILES .dpkg.conf
MAKING THE CHANGES NECESSARY

8) UPDATE DATA BANK
su -s /bin/sh -c "keystone-manage token_flush" keystone
su -s /bin/sh -c "keystone-manage db_sync" keystone
su -s /bin/sh -c "glance-manage db_sync" glance
su -s /bin/sh -c "nova-manage db sync" nova
su -s /bin/sh -c "nova-manage api_db sync" nova
su -s /bin/sh -c "neutron-db-manage upgrade heads" neutron
su -s /bin/sh -c "nova-manage db online_data_migrations" neutron

9) REMOVING UNNECESSARY PACKAGES
apt autoremove

10) RESET SYSTEM
reboot

UPDATE NODES COMPUTER

1) PAUSE ALL SERVICES
/etc/init.d/nova-compute stop
/etc/init.d/neutron-linuxbridge-agent stop
/etc/init.d/neutron-linuxbridge-cleanup stop
/etc/init.d/ceilometer-agent-compute stop

2) REMOVE THE OCATA REPOSITORY
add-apt-repository --remove cloud-archive:ocata

3) ADD THE PIKE REPOSITORY
add-apt-repository cloud-archive:pike

4) UPDATE PACKAGES
apt-get update
apt-get upgrade

5) FORCED OPENSTACK PACKAGE UPDATE
apt-get install list of all packages not installed

6) ACCEPT THE INSTALLATION AND SUB-SUBSTITUTION OF THE CONFIGURATION
FILES (A COPY OF THE PRESENT CONFIGURATIONS SHALL BE MADE)
School option: Y

In my case, the substitute archives were:
/etc/libvirt/libvirtd.conf
/etc/ceilometer/ceilometer.conf
/etc/nova/nova.conf
/etc/neutron/neutron.conf
/etc/neutron/plugins/ml2/linuxbridge_agent.ini

7) COMPARE THE SUBMITTED FILES OF ITEM 6, WITH THE FILES .dpkg.conf
MAKING THE CHANGES NECESSARY

9) REMOVING UNNECESSARY PACKAGES
apt autoremove

10) RESET SYSTEM
reboot


Em 26-04-2018 08:17, Marcio Prado escreveu:
> Hi,
>
> It really was Apache configuration.
>
> I had to free access to the / usr / bin / directory in the
> /etc/apache2/apache.conf file
>
> But anyway, I type the login and password and do not log in.
>
> And I can not even see logs.
>
> Thanks for the tip.
>
>
> Em 25-04-2018 10:50, Fabian Zimmermann escreveu:
>> Hi,
>>
>> Am 25.04.2018 um 15:05 schrieb Marcio Prado:
>>> The mistake is in Keystone. I have not had time to debug yet ...
>>>
>>> [authz_core:error] client denied by server configuration:
>>> /usr/bin/kestone-wsgi-public
>>
>> first thought, sounds like apache-config is blocking the access.
>>
>> Check your apache(2)/sites-enabled/
>>
>>
>> Fabian

--
Marcio Prado
Analista de TI - Infraestrutura e Redes
Fone: (35) 9.9821-3561
www.marcioprado.eti.br

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack