Re: [opnfv-users] opnfv upgrade Brahmaputra to Danube

2017-08-15 Thread James Okken
Thanks for the advice Morgan.

I've wiped the Fuel Brahmaputra node and installed Danube on it.
I am hoping to use octane to restore the Liberty environment back onto the 
Danube node.

I did "octane fuel-backup" and "octane fuel-repo-backup" before wiping 
Brahmaputra.

Now that Danube is installed I am trying to run octane fuel-restore but I am 
getting an error.

Does anyone have any input to what this means? Please...
(do I need to do something like install Colorado as stepping stone, restore, 
then backup again, then install Daunbe and restore again?

[root@fuel ~]# octane fuel-restore --from ./B.tar.gz --admin-password 
correctpass --debug
2017-08-15 20:26:41 ERRORoctane  unbound method get_request_raw() 
must be called with APIClient instance as first argument (got str instance 
instead)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in 
run_subcommand
result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 55, in run
self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/octane/commands/restore.py", line 58, 
in take_action
self.get_context(parsed_args))
  File "/usr/lib/python2.7/site-packages/octane/commands/restore.py", line 29, 
in restore_data
archivator.pre_restore_check()
  File 
"/usr/lib/python2.7/site-packages/octane/handlers/backup_restore/astute.py", 
line 93, in pre_restore_check
if creds and not auth.is_creds_valid(creds['user'], creds['password']):
  File "/usr/lib/python2.7/site-packages/octane/util/auth.py", line 24, in 
is_creds_valid
resp = client.APIClient.get_request_raw('/clusters')
TypeError: unbound method get_request_raw() must be called with APIClient 
instance as first argument (got str instance instead)
Traceback (most recent call last):
  File "/usr/bin/octane", line 10, in 
sys.exit(main())
  File "/usr/lib/python2.7/site-packages/octane/app.py", line 54, in main
return OctaneApp().run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 226, in run
result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 346, in 
run_subcommand
result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 55, in run
self.take_action(parsed_args)
  File "/usr/lib/python2.7/site-packages/octane/commands/restore.py", line 58, 
in take_action
self.get_context(parsed_args))
  File "/usr/lib/python2.7/site-packages/octane/commands/restore.py", line 29, 
in restore_data
archivator.pre_restore_check()
  File 
"/usr/lib/python2.7/site-packages/octane/handlers/backup_restore/astute.py", 
line 93, in pre_restore_check
if creds and not auth.is_creds_valid(creds['user'], creds['password']):
  File "/usr/lib/python2.7/site-packages/octane/util/auth.py", line 24, in 
is_creds_valid
resp = client.APIClient.get_request_raw('/clusters')
TypeError: unbound method get_request_raw() must be called with APIClient 
instance as first argument (got str instance instead)
[root@fuel ~]#

Thanks!
jokken
From: morgan.richo...@orange.com [mailto:morgan.richo...@orange.com]
Sent: Thursday, August 10, 2017 9:10 AM
To: James Okken; opnfv-users@lists.opnfv.org
Subject: Re: [opnfv-users] opnfv upgrade Brahmaputra to Danube

Hi James

I do not think there is any upgrade procedure at the moment
if you deployed a nosdn-nofeature scenario, I assume it is a pure OpenStack 
Fuel upgrade
but usually such upgrade means reinstallation of version N+2 aside of version N 
then migration...

such upgrade (especially from version N to version N+2) has been identified as 
a major pain points by the End user Advisory group.
A project named escalator had been created some time ago for this purpose 
https://wiki.opnfv.org/display/escalator
but as you can see it is not very active at the moment ..
[cid:image001.png@01D315E4.72DBCA90]
the topic is pretty complex...

during the last OPNFV summit there was a presentation from kddi/NEC/Redhat 
"Software-Defined Migration: How to Migrate Bunch of VMs and Volumes Within a 
Limited Time Frame" https://www.youtube.com/watch?v=_6kB1NTob8o

/Morgan

On 10/08/2017 00:17, James Okken wrote:

Hi all



We have OPNFV Brahmaputra release up and running well for a year now. Fuel 
deployed Openstack Liberty and it is hosting a good number of instances. We 
haven't created any advanced nfv solutions yet, but it is where we will be 
heading one day.

My task current to upgrade to OPNFV Danube/Newton. But I can't find a 
path/process on how to do this.

Can someone direct me with some high level steps or a document to follow?



I am confused if I should treat this as a Openstack Fuel upg

Re: [opnfv-users] opnfv upgrade Brahmaputra to Danube

2017-08-10 Thread morgan.richomme

Hi James

I do not think there is any upgrade procedure at the moment
if you deployed a nosdn-nofeature scenario, I assume it is a pure 
OpenStack Fuel upgrade
but usually such upgrade means reinstallation of version N+2 aside of 
version N then migration...


such upgrade (especially from version N to version N+2) has been 
identified as a major pain points by the End user Advisory group.
A project named escalator had been created some time ago for this 
purpose https://wiki.opnfv.org/display/escalator

but as you can see it is not very active at the moment ..

the topic is pretty complex...

during the last OPNFV summit there was a presentation from 
kddi/NEC/Redhat "Software-Defined Migration: How to Migrate Bunch of VMs 
and Volumes Within a Limited Time Frame" 
https://www.youtube.com/watch?v=_6kB1NTob8o


/Morgan

On 10/08/2017 00:17, James Okken wrote:


Hi all

We have OPNFV Brahmaputra release up and running well for a year now. 
Fuel deployed Openstack Liberty and it is hosting a good number of 
instances. We haven't created any advanced nfv solutions yet, but it 
is where we will be heading one day.


My task current to upgrade to OPNFV Danube/Newton. But I can't find a 
path/process on how to do this.


Can someone direct me with some high level steps or a document to follow?

I am confused if I should treat this as a Openstack Fuel upgrade, or 
if there is an actual OPNFV specific Fuel upgrade.


Also, once I get Fuel upgraded how do I get the existing 
environment/Openstack nodes upgraded (to Newton)?


Should I upgrade to Colorado/Mitaka first, or no?

Thanks for any advice you might give!!

-jokken



___
opnfv-users mailing list
opnfv-users@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-users



--
Morgan Richomme
Orange/ IMT/ OLN/ CNC/ NCA/ SINA

Network architect for innovative services
Future of the Network community member
Open source Orange community manager


tel. +33 (0) 296 072 106
mob. +33 (0) 637 753 326
morgan.richo...@orange.com


_

Ce message et ses pieces jointes peuvent contenir des informations 
confidentielles ou privilegiees et ne doivent donc
pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce 
message par erreur, veuillez le signaler
a l'expediteur et le detruire ainsi que les pieces jointes. Les messages 
electroniques etant susceptibles d'alteration,
Orange decline toute responsabilite si ce message a ete altere, deforme ou 
falsifie. Merci.

This message and its attachments may contain confidential or privileged 
information that may be protected by law;
they should not be distributed, used or copied without authorisation.
If you have received this email in error, please notify the sender and delete 
this message and its attachments.
As emails may be altered, Orange is not liable for messages that have been 
modified, changed or falsified.
Thank you.

___
opnfv-users mailing list
opnfv-users@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-users