[opnfv-tech-discuss] [infra] xci-aio deployment failed on on an Intel NUC Kit NUC6i7KYK

2017-07-17 Thread Dave Urschatz
I’m trying the XCI deployer on an Intel® NUC Kit NUC6i7KYK

Deployments are failing.
I’m new to this deployer and I’m wondering if something obvious is happening?
Or do I need to dig deeper?

The deployment was done as follows:
$ git clone https://gerrit.opnfv.org/gerrit/releng.git
$ cd releng/prototypes/xci
~/releng/prototypes/xci$ export XCI_FLAVOR=aio
~/releng/prototypes/xci$ ./xci-deploy.sh

It runs through quite a bit and fails here:
NO MORE HOSTS LEFT *
to retry, use: --limit 
@/tmp/.xci-deploy-env/releng/prototypes/xci/playbooks/configure-opnfvhost.retry

PLAY RECAP *
opnfv  : ok=5changed=3unreachable=0failed=1


About the system:
32GB Mem
1TB SSD

$ lscpu
Architecture:  x86_64
CPU op-mode(s):32-bit, 64-bit
Byte Order:Little Endian
CPU(s):8
On-line CPU(s) list:   0-7
Thread(s) per core:2
Core(s) per socket:4
Socket(s): 1
NUMA node(s):  1
Vendor ID: GenuineIntel
CPU family:6
Model: 94
Model name:Intel(R) Core(TM) i7-6770HQ CPU @ 2.60GHz
Stepping:  3
CPU MHz:   800.007
CPU max MHz:   3500.
CPU min MHz:   800.
BogoMIPS:  5183.91
Virtualization:VT-x
L1d cache: 32K
L1i cache: 32K
L2 cache:  256K
L3 cache:  6144K
NUMA node0 CPU(s): 0-7
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca 
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx 
pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl 
xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl 
vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe 
popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch 
epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle 
avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec 
xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp


Advice, pointers welcome…
Best Regards,
Dave

Dave Urschatz
Senior Technical Lead
[cid:image001.jpg@01D2FF1E.6FB8A7C0]
555 Legget Drive| Tower A | Suite 600| Ottawa ON | K2K 2X3 | 613-963-1201

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


Re: [opnfv-tech-discuss] [infra] xci-aio deployment failed on on an Intel NUC Kit NUC6i7KYK

2017-07-18 Thread Markos Chandras
On 07/17/2017 10:02 PM, Dave Urschatz wrote:
> I’m trying the XCI deployer on an Intel® NUC Kit NUC6i7KYK
> 
>  
> 
> Deployments are failing.
> 
> I’m new to this deployer and I’m wondering if something obvious is
> happening?
> 
> Or do I need to dig deeper? 
> 
>  
> 
> The deployment was done as follows:
> 
> $ git clone https://gerrit.opnfv.org/gerrit/releng.git
> 
> $ cd releng/prototypes/xci
> 
> ~/releng/prototypes/xci$ export XCI_FLAVOR=aio
> 
> ~/releng/prototypes/xci$ ./xci-deploy.sh
> 
>  
> 
> It runs through quite a bit and fails here:
> 
> NO MORE HOSTS LEFT
> *
> 
> to retry, use: --limit
> @/tmp/.xci-deploy-env/releng/prototypes/xci/playbooks/configure-opnfvhost.retry
> 
>  
> 
> PLAY RECAP
> *
> 
> opnfv  : ok=5changed=3unreachable=0failed=1
> 
>  
Hello,

What distribution are you running?

This alone does not help much. We need more information. Ideally, in the
last few lines before this one, you should see a 'fatal' failure. That
may help us identify the cause

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
___
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss


Re: [opnfv-tech-discuss] [infra] xci-aio deployment failed on on an Intel NUC Kit NUC6i7KYK

2017-07-19 Thread Dave Urschatz
Hi Markos.

Thanks for your reply.

The distribution is Ubuntu 16.04 as per XCI Wiki.

Here is the failure:

"fatal: [aio1]: FAILED! => {", "\"attempts\": 3, ", "\"changed\": 
false, ", "\"cmd\": [", "\"python\", ", "
\"/opt/get-pip.py\", ", "\"--isolated\", ", "\"pip==9.0.1\", ", 
"\"setuptools==33.1.1\", ", "\"wheel==0.29.0\"", "], ", "   
 \"delta\": \"0:00:01.317586\", ", "\"end\": \"2017-07-15 
01:30:31.556473\", ", "\"failed\": true, ", "\"invocation\": {", "  
  \"module_args\": {", "\"_raw_params\": \"python /opt/get-pip.py 
--isolated \\n \\n pip==9.0.1 setuptools==33.1.1 wheel==0.29.0\", ", "  
  \"_uses_shell\": false, ", "\"chdir\": null, ", "
\"creates\": null, ", "\"executable\": null, ", "
\"removes\": null, ", "\"warn\": true", "}", "}, ", "   
 \"rc\": 2, ", "\"start\": \"2017-07-15 01:30:30.238887\", ", "
\"stderr\": \"Exception:\\nTraceback (most recent call last):\\n  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/basecommand.py\\\", line 215, in main\\n
status = self.run(options, args)\\n  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/commands/install.py\\\", line 342, in run\\n
prefix=options.prefix_path,\\n  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_set.py\\\", line 784, in install\\n
**kwargs\\n  File \\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_install.py\\\", line 
851, in install\\nself.move_wheel_files(self.source_dir, root=root, 
prefix=prefix)\\n  File \\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_install.py\\\", 
line 1064, in move_wheel_files\\nisolated=self.isolated,\\n  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/wheel.py\\\", line 247, in move_wheel_files\\n   
 prefix=prefix,\\n  File \\\"/tmp/tmpV8cx9j/pip.zip/pip/locations.py\\\", line 
140, in distutils_scheme\\nd = Distribution(dist_args)\\n  File 
\\\"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\\\", line 365, in 
__init__\\nself._finalize_requires()\\n  File 
\\\"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\\\", line 372, in 
_finalize_requires\\nif not self.install_requires:\\nAttributeError: 
Distribution instance has no attribute 'install_requires'\", ", "
\"stderr_lines\": [", "\"Exception:\", ", "\"Traceback (most 
recent call last):\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/basecommand.py\\\", line 215, in main\", ", "
\"status = self.run(options, args)\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/commands/install.py\\\", line 342, in run\", ", 
"\"prefix=options.prefix_path,\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_set.py\\\", line 784, in install\", ", " 
   \"**kwargs\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_install.py\\\", line 851, in install\", 
", "\"self.move_wheel_files(self.source_dir, root=root, 
prefix=prefix)\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/req/req_install.py\\\", line 1064, in 
move_wheel_files\", ", "\"isolated=self.isolated,\", ", "\" 
 File \\\"/tmp/tmpV8cx9j/pip.zip/pip/wheel.py\\\", line 247, in 
move_wheel_files\", ", "\"prefix=prefix,\", ", "\"  File 
\\\"/tmp/tmpV8cx9j/pip.zip/pip/locations.py\\\", line 140, in 
distutils_scheme\", ", "\"d = Distribution(dist_args)\", ", "   
 \"  File \\\"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\\\", 
line 365, in __init__\", ", "\"self._finalize_requires()\", ", "
\"  File \\\"/usr/local/lib/python2.7/dist-packages/setuptools/dist.py\\\", 
line 372, in _finalize_requires\", ", "\"if not 
self.install_requires:\", ", "\"AttributeError: Distribution instance 
has no attribute 'install_requires'\"", "], ", "\"stdout\": 
\"Requirement already up-to-date: pip==9.0.1 in 
/usr/local/lib/python2.7/dist-packages\\nCollecting setuptools==33.1.1\\n  
Using cached setuptools-33.1.1-py2.py3-none-any.whl\\nCollecting 
wheel==0.29.0\\n  Using cached wheel-0.29.0-py2.py3-none-any.whl\\nInstalling 
collected packages: setuptools, wheel\\n  Found existing installation: 
setuptools 36.2.0\\nUninstalling setuptools-36.2.0:\\n  Successfully 
uninstalled setuptools-36.2.0\\n  Rolling back uninstall of setuptools\", ", "  
  \"stdout_lines\": [", "\"Requirement already up-to-date: pip==9.0.1 
in /usr/local/lib/python2.7/dist-packages\", ", "\"Collecting 
setuptools==33.1.1\", ", "\"  Using cached 
setuptools-33.1.1-py2.py3-none-any.whl\", ", "\"Collecting 
wheel==0.29.0\", ", "\"  Using cached 
wheel-0.29.0-py2.py3-none-any.whl\", ", "\"Installing collected 
packages: setuptools, wheel\", ", "\"  Found existing installation: 
setuptools 36.2.0\", ", "\"Uninstalling setuptools-36.2.0:\", ", "  
  \"  Successfully

Re: [opnfv-tech-discuss] [infra] xci-aio deployment failed on on an Intel NUC Kit NUC6i7KYK

2017-07-19 Thread Markos Chandras
Hello,

On 19/07/17 13:30, Dave Urschatz wrote:
> Hi Markos.
> 
> Thanks for your reply.
> 
> The distribution is Ubuntu 16.04 as per XCI Wiki.
> 
> Here is the failure:
> 

The real problem is this

> self.install_requires:\\nAttributeError: Distribution instance has no 
> attribute 'install_requires'\",

This has been reported in upstream openstack
http://lists.openstack.org/pipermail/openstack-dev/2017-July/119694.html

This is caused by the latest setuptools release

The upstream OpenStack Ansible project has a workaround in place
https://review.openstack.org/#/c/483874/

but we don't have that in the XCI yet

Your best bet right now is to do the following

export OPENSTACK_OSA_VERSION=d4ae08646d1c1192e5806be2f81b1748f520fd39
./xci-deploy.sh

but it's not guarantee to work at this point.

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg
___
opnfv-tech-discuss mailing list
opnfv-tech-discuss@lists.opnfv.org
https://lists.opnfv.org/mailman/listinfo/opnfv-tech-discuss


Re: [opnfv-tech-discuss] [infra] xci-aio deployment failed on on an Intel NUC Kit NUC6i7KYK

2017-07-19 Thread Dave Urschatz

Hi Markos.

That worked. Thank you.
xci: aio has been installed

I will also attempt the same on SuperMicro and Kontron hardware in the next 
several days.

Regards,
Dave

 

On 2017-07-19, 8:35 AM, "Markos Chandras"  wrote:

Hello,

On 19/07/17 13:30, Dave Urschatz wrote:
> Hi Markos.
> 
> Thanks for your reply.
> 
> The distribution is Ubuntu 16.04 as per XCI Wiki.
> 
> Here is the failure:
> 

The real problem is this

> self.install_requires:\\nAttributeError: Distribution instance has no 
attribute 'install_requires'\",

This has been reported in upstream openstack
http://lists.openstack.org/pipermail/openstack-dev/2017-July/119694.html

This is caused by the latest setuptools release

The upstream OpenStack Ansible project has a workaround in place
https://review.openstack.org/#/c/483874/

but we don't have that in the XCI yet

Your best bet right now is to do the following

export OPENSTACK_OSA_VERSION=d4ae08646d1c1192e5806be2f81b1748f520fd39
./xci-deploy.sh

but it's not guarantee to work at this point.

-- 
markos

SUSE LINUX GmbH | GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg) Maxfeldstr. 5, D-90409, Nürnberg


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