Hi Ezpeer,

I assume you could create VM without issue if not configure pci-sriov.

But for the pci-sriov issue, I don’t have much idea.

Maybe you could have a try with another HW, or have a try with STX latest ISO.

 

 

Best Regards

Shuicheng

 

From: Ezpeer Chen [mailto:ezpeerchen@gmail.com]
Sent: Tuesday, June 25, 2019 10:39 AM
To: Lin, Shuicheng <shuicheng.lin@intel.com>
Cc: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] STX 1.0 automatically shutdown and power off.

 


Dear Shuicheng,  

How could i know what cause my system shutdown?

=================================================
controller-0:~$ cat /etc/build.info
SW_VERSION="18.10"
BUILD_TARGET="Unknown"
BUILD_TYPE="Informal"
BUILD_ID="n/a"

JOB="n/a"
BUILD_BY="builder"
BUILD_NUMBER="n/a"
BUILD_HOST="258041cdd9ff"
BUILD_DATE="2018-11-10 23:06:44 +0000"

BUILD_DIR="/"
WRS_SRC_DIR="/localdisk/designer/builder/2018.10_src/cgcs-root"
WRS_GIT_BRANCH="HEAD"
CGCS_SRC_DIR="/localdisk/designer/builder/2018.10_src/cgcs-root/stx"
CGCS_GIT_BRANCH="HEAD"
controller-0:~$
=================================================

 

 

 

image.png

 

Lin, Shuicheng <shuicheng.lin@intel.com> 2019624 週一 下午7:40寫道:

Hi Ezpeer,

It seems there is only 1 ISO in cengn for STX 1.0 release.

Here it is:

http://mirror.starlingx.cengn.ca/mirror/starlingx/r2018.10/centos/2018.10.0/outputs/iso/

 

You could check whether your ISO is the same as this or not by looking at the build date in “/etc/build.info”.

 

Best Regards

Shuicheng

 

From: Ezpeer Chen [mailto:ezpeerchen@gmail.com]
Sent: Monday, June 24, 2019 10:16 AM
To: Lin, Shuicheng <shuicheng.lin@intel.com>
Cc: starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] STX 1.0 automatically shutdown and power off.

 

 

 Dear Shuicheng,  


Even i don't create VM , this issue still happened again. 

 

My steps didn't create VM. (Last email)

 

Any stable STX 1.0 could download? or It is the latest version of STX 1.0.

 




Thanks a lot.

 

 

Lin, Shuicheng <shuicheng.lin@intel.com> 2019622 週六 上午11:27寫道:

Hi Ezpeer,

I checked the log, it is the same reason as previous.

Have you tried to create VM without pci-sriov? Will the issue still occur?

If not, then we could narrow down to focus on the pci-sriov part.

 

Best Regards

Shuicheng

 

From: Ezpeer Chen [mailto:ezpeerchen@gmail.com]
Sent: Thursday, June 20, 2019 6:04 PM
To: Lin, Shuicheng <
shuicheng.lin@intel.com>
Cc:
starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] STX 1.0 automatically shutdown and power off.

 


Dear Shuicheng,  


Update new information


I reinstall STX 1.0 (2018/10).



My installation Step:

1. Install STX 1.0 (2018/10) all-in-one simplex

2. Configure pci-sriov interface

   # source /etc/nova/openrc
   #neutron providernet-create providernet-a --type=flat
   #neutron providernet-create providernet-b --type=vlan
   #neutron providernet-range-create --name providernet-b-range1 --range 100-400 providernet-b
   #system host-if-modify -c pci-sriov controller-0 enp2s0f0 -p providernet-a -N 7
   #system host-if-modify -c data controller-0 enp2s0f1 -p providernet-b

   .....configure storage

   #system host-unlock controller-0
 
   System auto reboot

3. After reboot to prompt, about 10-20 minutes issue occurred.


Log files:
https://drive.google.com/open?id=1QViho0khiMQpYDOcF5ACZV2cwymgNEMS





Best Regards  

 

Ezpeer Chen <ezpeerchen@gmail.com> 2019620 週四 下午5:20寫道:

Dear Shuicheng,  


In my environment, i need to test pci-sriov feature.

My installation Step:

1. Install STX 1.0 (2018/10) all-in-one simplex

2. Configure pci-sriov interface

3. Create network and VM on one vf port

4. Issue occurred




Best Regards  

 

 

Lin, Shuicheng <shuicheng.lin@intel.com> 2019620 週四 下午4:41寫道:

Hi Ezpeer,

For the sm.log (/var/log/sm.log), it seems service process fail to run, and lead to sm think system is in unhealthy state, and try to reboot system to recover.

It should be reboot, but not sure why it is shutdown in your environment and also auth.log shows “systemd-logind[893]: info Power key pressed./info Powering Off...

 

In the sm.log, I also see the network adapter is up/down randomly. It may be the cause of the service process failure.

I also find VF Ethernet is enabled in the system also.

To isolate the issue cause, could you help try to disable the VF Ethernet in BIOS, and use PF Ethernet only?

Thanks.

 

 

Best Regards

Shuicheng

 

From: Ezpeer Chen [mailto:ezpeerchen@gmail.com]
Sent: Thursday, June 20, 2019 2:27 PM
To: Lin, Shuicheng <
shuicheng.lin@intel.com>
Cc:
starlingx-discuss@lists.starlingx.io
Subject: Re: [Starlingx-discuss] STX 1.0 automatically shutdown and power off.

 

Dear Shuicheng,

Platform: STX 1.0 ( http://mirror.starlingx.cengn.ca/mirror/starlingx/r2018.10/centos/latest_build/outputs/iso/)

 

1.  bare-metal system ,  MY host pc Controller-0 shutdown without reboot

2.  provisioned system  , all-in-one simplex

3.  collet cmd log file:

 

Thanks for your help.

 

Best Regards 

 

Lin, Shuicheng <shuicheng.lin@intel.com> 2019620 週四 下午1:56寫道:

Hi Ezpeer,

Is it virtual machine or bare-metal system?

Is it a provisioned system? And what is the system configuration, simplex/duplex or multi node?

StarlingX itself will not do auto-shutdown, but it may auto-reboot if there is critical error.

Most of StarlingX’s log is at /var/log folder.

 

You could run “collect” cmd in your fail system after the issue occur, and upload the generated logfile to somewhere others could access.

Then I will have a check with it.

 

Best Regards

Shuicheng

 

From: Ezpeer Chen [mailto:ezpeerchen@gmail.com]
Sent: Thursday, June 20, 2019 11:41 AM
To: starlingx-discuss@lists.starlingx.io
Subject: [Starlingx-discuss] STX 1.0 automatically shutdown and power off.

 

Dear all,

My STX 1.0 will be automatically shutdown and power off.

Where could i check the logs about this issue?


Thanks a lot.